Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    AndrewPasika
    @AndrewPasika
    You can see it Analytics tab
    create index pattern with your tenant ID: {tenant-ID}-*, select time field. Then go to Discover tab and view data
    WilliamGFish
    @WilliamGFish
    I'll try that, maybe someone needs to be assigned to review the documentation. I know its a job that no-one seems to relish but it needs to be done.
    WilliamGFish
    @WilliamGFish
    Getting there.... I was hoping that it would be straight forward. I was concidering creating a sample app for ZephyrOS, if its not clear how to get KAA working could be an issue.
    AndrewPasika
    @AndrewPasika
    Screenshot 2020-11-27 at 12.37.21.png
    @WilliamGFish Sorry, I didn’t pay attention that you have nested JSON fields. Update your configuration to the above one.
    Hasnaparveen1999
    @Hasnaparveen1999
    How do we create a bucket in kaa cloud?(Whenever 'create bucket' option under files is used, it shows "Do not have enough permissions to access this resource".) And can the bucket be accessed from the device client?(Uploading and downloading the files to/in the bucket? )
    1 reply
    Udara Rathnapala
    @RathnapalaUdara_twitter
    hi, I'm facing an issue with executing the curl command in the tutorials when trying to connect my first device.
    AndrewPasika
    @AndrewPasika
    What response do you get?
    Udara Rathnapala
    @RathnapalaUdara_twitter
    PS C:\Users\udara> curl --location --request POST 'http://connect.cloud.kaaiot.com:443/kpl/buuld1tbhnjfabjdrop0-v1/epmx/token1/get'\ --data-raw '{}'
    Invoke-WebRequest : A positional parameter cannot be found that accepts argument '--request'.
    At line:1 char:1
    • curl --location --request POST 'http://connect.cloud.kaaiot.com:443/k ...
    • ~~~~~~~~~~~~~~~~~
      • CategoryInfo : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException
      • FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
    AndrewPasika
    @AndrewPasika
    Could you try Postman?
    Seems like problem on your host
    Udara Rathnapala
    @RathnapalaUdara_twitter
    same thing occurring 😔
    AndrewPasika
    @AndrewPasika
    via Postman?
    could you share Postman screen?
    Udara Rathnapala
    @RathnapalaUdara_twitter
    sorry, I haven't work with Postman, so it will take bit time to learn it
    Ek ajnabee
    @WhereIsNitish_twitter
    hey guys
    Eduardo M.
    @aguilaair
    Hey everyone
    imagen.png
    Is Kaa down?
    Elena363
    @Elena363
    Hello, there was some issue for a short time, it has been soon resolved. We apologize for inconvenience. Kaa is up and running now
    Anjana Anil
    @anjanaanil
    What is the api link for accessing telemetry data from kaa cloud. I am currently using '{baseKaaPlatformUrl}/epts/api/v1/time-series/config' which is giving me a cors policy error. I have enabled the web origin in kaa frontend client.I am not facing any issue while accessing metadata using this link : baseKaaPlatformUrl}/epr/api/v1/endpoints?include=metadata. How to access the telemetry data for custom dashboard
    2 replies
    Udara Rathnapala
    @RathnapalaUdara_twitter
    hello.
    {"connected":true,"description":"My device","model":"BFG 9000","connectivity_ts":"2020-12-10T11:58:17.313Z","mac":"00-14-22-01-23-45"}curl: (3) URL using bad/illegal format or missing URL
    2 replies
    Udara Rathnapala
    @RathnapalaUdara_twitter
    does anyone can tell while executing the retrieve all endpoint metadata attributes from the platform using cURL, why the outcome comes like URL using bad/ illegal format or missing
    Rufus333
    @Rufus333
    @AndrewPasika are you around?
    Anjana Anil
    @anjanaanil
    Is kaa down ? I am facing issues with login.
    Udara Rathnapala
    @RathnapalaUdara_twitter
    I'm facing a issue with selecting the time shield in kibana while creating the mentor. Because it wont show @timestamp. Can someone tell me how to solve this.
    AB
    @albionj_ab_twitter
    Hi, have managed to get data from my device but it is in the format [596,600,601]. even if send a single register it shows up as [596]. So how do I extract the array into separate numerical data points/variables?
    2 replies
    ali samir
    @AliZidan39_twitter
    Does anyone know how to connect to Kaa API and get the data sent by devices to the client application? help, please
    40 replies
    ali samir
    @AliZidan39_twitter
    Hello, Is there anyone who connect an android app to kaa using mqtt ?
    kingxcold
    @kingxcold
    hi, I was following the "sending commands to device" tutorial but I am facing a problem whenever I try to curl a command it return {"reasonPhrase":"Payload is not valid JSON object"} so what's the problem ?
    3 replies
    kingxcold
    @kingxcold
    is there any rest api that allows me to invoke commands externally?
    10 replies
    Peyman Yousefi
    @peyman.yousefi3_gitlab
    Hi, in order of limiting user activity on the dashboard, I managed to add some permissions on desired resources successfully. BUT, with READ permissions, the command buttons will be deactivated. it works normally when I add "application:update" permission which also lets the user to Edit or even add a dashboard. Is there a workaround?
    5 replies
    Peyman Yousefi
    @peyman.yousefi3_gitlab
    Hi, is there a way to reflect the response code from a command in the dashboard? to see if the command executed correctly by the endpoint or not?
    2 replies
    Peyman Yousefi
    @peyman.yousefi3_gitlab
    I saw an unexpected event in the dashboard. I have a command button that gets feedback from EPR, also a map with the same source of feedback. after a metadata update, the map changed ok but the command button keeps its previous state and didn't change for at least two minutes that I have been watched. This situation didn't repeat and everything works fine after another metadata update but I am afraid it happens again in the hand of a customer! Do you guys have any idea what could happen?
    4 replies
    Shax
    @shaxxx
    Hi there, I'm a new user of cloud.kaaiot.com, made a fresh account, single root user, created an app, added ESP32 device, sent data to cloud and commands back, so all good there. However, I'm trying to create a "watchdog" alert for my movement sensor to let me know if there is no movement for last 12 hours.
    This is my first touch with ElasticSearch and Kibana, but it looks like this is something that should be doable. However, if I try to create an Alert, I need to create a Monitor. If I want to create Monitor, I need to create indices. If I try to create Indices policy I get an error "[security_exception] no permissions for [indices:data/read/search] and User [name=...."
    1 reply
    Google points to various config files I have no idea about since I'm using cloud with "out of the box" security settings. Anyone?
    gayatriu
    @gayatriu
    Hi there, I am a new user of cloud.kaaiot.com,
    I created a fresh account and add raspberry pi as my first device.
    After that, I am trying a simple MQTT-based client for device connection as Kaa provides me with its documentation.
    Furthermore, I want to try this same client with COAP protocol, as a change, I replaced the MQTT client with HelperClient of COAP and change all publish and subscribe to request and response alternatively for COAP based client. But unfortunately, this code did not work at my place.
    So my query is only this change is sufficient for Kaa COAP based client or need anything else to change.
    3 replies
    Simzie
    @Simzie
    Hi! I'm also a new user and have an ESP32 running as both client and end point, with successful update and handling of command, provided the end point is regular communication with the KaaIoT broker. My device will be battery powered, so I need it to sleep for 30 minutes at a time (with the ULP performing actions), and I can't for the life of me get it to work asynchronously using PubSubClient. I have set the command retention to 1h, connected with cleanSession as false and subscribed and published with QoS 1. The command stays as "Pending" and the device never registers a callback. Would greatly appreciate any ideas or example code to help me here?
    2 replies
    waruta
    @waruta

    Hi all! I'm also trying out Kaa and have been running through the tutorials with a Raspbi 4 and some sensors and got stuck at the "sending data over MQTT" part. I do have a BMP280 sensor and when I try out the code it returns:

    [{"model": "BME/BMP 280", "fwVersion": "v0.0.1", "customer": "Andrew", "latitude": 40.71427, "longitude": -74.00597}]
    Traceback (most recent call last):
    File "/home/pi/client.py", line 109, in <module>
    main()
    File "/home/pi/client.py", line 84, in main
    payload = kaa_client.compose_data_sample()
    File "/home/pi/client.py", line 49, in compose_data_sample
    temperature, pressure, humidity = bme280.readBME280All()
    AttributeError: module 'bme280' has no attribute 'readBME280All'

    <-- Received message on topic "kp1/c149qeqrqa51q5h64ru0-sensors/epmx/8uNJ2gKVdL/update/keys/error":
    {"statusCode":400,"reasonPhrase":"Payload is not valid JSON object"}

    When running from the command line I get another error - "File "client.py", line 21
    self.metadata_update_topic = f'kp1/{APPLICATION_VERSION}/epmx/{ENDPOINT_TOKEN}/update/keys'
    SyntaxError: invalid syntax

    The sample file for those without the sensor works fine though.

    1 reply
    Peyman Yousefi
    @peyman.yousefi3_gitlab
    Hi all, I got an issue. in command widget, "commands definition" segment, when I set the dependency on "metadata" and "epr", sometimes it won't update correctly from EPR; other widgets have been updated correctly from the exact epr. Can anyone help me out, please?
    YuMChUM
    @YuMChUM
    Good Day, I've been struggling with a similar situation as @peyman.yousefi3_gitlab, epts telemetry data is updated immediately when devices connect but epr data (which I used to display Online/Offline Statuses, etc) can take some minutes or up to hours to update. Partial metadeta updates doesnt seem to budge the update either.
    1 reply
    AndrewPasika
    @AndrewPasika
    Hello! Sorry guys, we will check it up.
    3 replies
    Peyman Yousefi
    @peyman.yousefi3_gitlab
    Greetings, First of all, thank you for this great platform.
    in the chart widget, when the data points exceed a high amount of points (in my case 1500), the webpage froze and I have to exit it. I tested this with different PCs and different browsers. eventually, it will happen when the viewing time window is set to week or month. I guess the workaround is when the total points exceed your server's load threshold, it uses fewer points and shows the data with a less resolution. Could you please help me through this?
    2 replies
    Peyman Yousefi
    @peyman.yousefi3_gitlab
    Good day, my tenant has all admin privileges but in Kibana it says I have read-only access. How can I solve it guys?
    5 replies
    thelimas
    @thelimas
    I sucsessfully got my first device running. Really great plattform!!! but I am struggeling with the gps-coordinates. sending them to metadata is no problem,I can visualise them in the map. --but sending them to the epts I have problems with the map-widget,- yes I can send longitude and latitude and can see that the values have been recieved as auto-longitude and auto-lattude.-but I can not get them in the map-widget. If someone could help it was great. Thanks
    8 replies
    Denys Buzhor
    @geksilla
    image.png
    Anjana Anil
    @anjanaanil
    what is the querying URL for Tenant Manager ? https://docs.kaaiot.io/KAA/docs/current/Features/Multi-tenancy/TENANT-MANAGER/REST-API/#tenants_users__userid__get_response . I am facing an issue to get the user details.