- Is it possible to push data from one Flexy to another over Talk2M directly (for example in a Basicscript with M2Web) ? - Are there other possibilities to do that?
- Is it possible to push data from one Flexy to another over Talk2M directly (for example in a Basicscript with M2Web) ? - Are there other possibilities to do that?
Posted by: simon - 23-05-2016, 12:08 PM
- No Replies
Hi Guys,
I have recently created a Facebook page for publishing the data of the Weather Station (connected to eWON) that we have here (https://www.facebook.com/EWON-Weather-Station-1724188781137106/)
This to demonstrate that the eWON is able to post data to Facebook thanks to the graph API.
The eWON creates a new post on the Facebook page every 4 hours. It actually sends some Weather data like the Temperature, Humidity...
Here is my code :
Code:
Rem --- eWON start section: Init Section
ewon_init_section:
Rem --- eWON user (start)
ONDATE 1,"0 */4 * * *","GOTO FACEBOOK"
ONSTATUS "GOTO FACEBOOK_CALLBACK"
END
Posted by: simon - 23-05-2016, 11:14 AM
- Replies (13)
Hi Guys,
I just managed to get my eWON push its live data (Tag values) to a ThingWorx server. (http://www.thingworx.com)
Actually it is very easy to do with the new REQUESTHTTPX function (Implemented as of the firmware 11.1)
Find here below my example.
I have created a function that pushes a single Tag value to ThingWorx. Data must be pushed through simple JSON files.
Every time a Tag changes, the eWON then pushes the value to the Thingworx server.
Code:
Rem --- eWON start section: Init Section
ewon_init_section:
Rem --- eWON user (start)