- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi guys,
I have create this rule:
I'm sure that cloud receive data from edison and store it on temperaturep component as you can see at the graph below
The value of temperaturep is always different from 10 but I don't receive any alerts.
Can someone tell me why?
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Vale,
Thanks for contacting us, also, for all the information shared.
Have you tried upgrading the iotkit-agent? Follow the steps for uploading from https://github.com/enableiot/iotkit-agent enableiot/iotkit-agent · GitHub.
Please let me know if this works.
Regards,
-Yermi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
thanks for your answer. I'm trying to use the C API so I don't use the iotkit-agent. How could I do to make it work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Vale,
I found this project http://www.instructables.com/id/Intel-Edison-Hydroponics-Controller/?ALLSTEPS http://www.instructables.com/id/Intel-Edison-Hydroponics-Controller/?ALLSTEPS. There built rules in the Intel's IoT Analytics Dashboard, so maybe you can set up the rule again or set up different rules and test if these work.
Also, I would like to know more details about your project, which sensor are you using? Which steps did you follow in order to connect the Edison to the cloud?
I'll be waiting for your reply.
Regards,
-Yermi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I've done the same things with the API C. for the connection to the cloud I have used the following steps:
1- getUserJwtToken
2- createDeviceCreationObject
3 - getActivationCode
4 - activateADevice
Then to add a component:
1 - createAnComponentCatalog
2 - addComponent
Finally:
3 - submitData
After verifing that the work is fine, I have add the rules directly on the cloud website but not work.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Vale,
Have you tested with different notification types? This would be in order to verify if with other notification types it works.
Regards,
-Yermi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi vale,
I would like to know if you have any updates. Did you test with different notification types?
Regards,
-Yermi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Vale,
I would like to replicate the steps you followed with the API C, could you please share the detailed steps or any link about it?
Regards,
-Yermi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Vale,
I would like to know if you can share with us the information requested in the previous post.
Regards,
-Yermi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi here is the code: with iotkit-lib-c API
iotkit_init();
char *response_token = NULL;
char *response_activation_device = NULL;
response_token = getUserJwtToken(username, password);
DeviceCreationObj *Device;
Device = createDeviceCreationObject(id, gateway, name);
response_activation_device = createADevice(Device);
isActivated = isDeviceActivated();
if (!isActivated) {
response_activation_code = renewActivationCode();
response_activation_device = activateADevice getActivationCode(response_activation_code));
}
char *response_comp = NULL;
char *response_add_component = NULL;
bool isRegistered = false;
isRegistered = isSensorRegistered("temperatura");
if (!isRegistered) {
ComponentCatalog *cmpObject = createComponentCatalogObject("temperatura", "1.0", "temperatura.v1.0", "sensor", "Number", "float", "Degrees Celsius", "timeSeries");
addMinValue(cmpObject, -10.0f);
addMaxValue(cmpObject, 50.0f);
addCommandString(cmpObject, NULL);
response_comp = createAnComponentCatalog(cmpObject);
}
response_add_component = addComponent("temperatura", "temperatura.v1.0");
for(;;;){
char *response_temperature;
response_temperature = submitData("temperatura", "25");
delete response_temperature;
sleep(1);
}
I've added rules directly on cloud.
Thank's Yermi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Vale,
Thank you very much for sharing your code.
I'm currently working on it and as soon as I find useful information I'll let you know. I'll appreciate your patience during the meantime.
Regards,
-Yermi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Vale,
I just want to let you know that I'm still working on it. As soon as I find useful information I let you know, thanks for your patience.
Regards,
-Yermi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
HI Vale,
We have been working in this case, and we're not able to replicate the issue you are getting. Also, we would like to let you know that the IoT analytics is going to be discontinued as is mentioned here: https://communities.intel.com/thread/107871 https://communities.intel.com/thread/107871.
Regards,
-Yermi

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page