I have the same (or similar issues). The example code doesn't do anything, and I haven't been able to find any way to see what's happening on the edison to troubleshoot it.
It seems really pathetic to supple example code to people trying to learn it that:
a) doesn't work
b) has no description of the code or comments to tell you what the code is SUPPOSED to be doing
c) has no troubleshooting help or
d) no way to monitor so ou can troubleshoot it yourself.
I have wasted days with Intel's iotkit and IoT dashboard and so far it's been a waste of time. Very frustrtaing.
Any help is appreciated.
(btw I have read every single page in the iotkit pages/wiki and they are all vague overviews with no detail and not complete for new users.)
I'm really sorry you experience problems with IoT Kit. From what I understand you're trying to run actuation example. When did you download the IoTKit zip package ot github repository? There were some significant improvements on January 21st.
Anyway to turn the LED on your Edison on or off:
- set the time correctly
- device must be active in IoT Cloud
- agent must use MQTT to listen for actuation
- component named "power" should be registered with type powerswitch.v1.0 (./iotkit_admin.js register power powerswitch.v1.0)
- agent should be running
- arduino IotKitActuationExample sketch should be running
- then a command should be executed from the dashboard
Are you behind a proxy? Please let me know if it worked for you.
Thanks so much for replying Joanna - I really appreciate it. I was able to contact another support engineer and he helped me get it solved, but there were several problems with the example code shipped with iotkit and most important the iotkit on my Edison was out of date - I don;t know why Intel's latest image that I flashed onto the Edison Monday contains avery old iotkit but it does, so I update it from 1.5.0 to 1.6.4. Here are all the details for anyone having issues with controlling devices from the IoT dashboard:
Again, thanks very much for following up on this for me.
I would like to develop a streaming real time app with the Intel Edison and AD8232 SparkFun Single Lead Heart Rate Monitor. The idea is to send the sensor data to the Cloud for processing and visualization I have a doubt about Intel IOT Analytics and I would like to know.
- Any platform HA, backup, redundancy,..?
- Max data retention time: 1 year, 1 months?
- Max data rate to update data to the Cloud: 10", 1", 100ms , etc?
Thank you so much.
Hi jchozas ,
Currently there is no data retention established, probably it will be one year, however for now there are no limitations.
Suggested interval between observations for each device component is 30s. System allows 10 observations per second per one user, yet you have to divide this by number of device components that submit data.
As you can read in Terms And Conditions, IoT Cloud does not provide assurance on storing the submitted data. However, answering the HA and redundancy, the infrastructure is stable and we do not observe data loss.
I was stuck with similar issue.. I am Using Edison and Arduino IDE and above mentioned example to receive data back from cloud.
I had taken all the necessary steps required like using mqtt protocol,registering components,activating device etc.
One this I missed is restarting iotkit-agent after registering new Component(Sensor or Actuator..... iotkit-admin register <component-alias> <Component-name>) this
This Worked solution for me
use systemctl enable iotkit-agent or
systemctl restart iotkit-agent (MANDATORY after registering new Component...)
Hope it works...
When i am sending data from cloud to edison based on a rule it is taking more time to trigger to board after my condition in the rule got activated
for example i set a rule saying if the light value > 500 then send a actuation. After that rule is activated the trigger message is getting after a long delay of 4-5 mins.
Is that edison agent receiving it slowly or cloud that sending it slowly ?