eWON and Tinamous - Printable Version +- Ewon Technical Forum (https://techforum.ewon.biz) +-- Forum: Development (https://techforum.ewon.biz/forum-50.html) +--- Forum: BASIC Script (https://techforum.ewon.biz/forum-52.html) +--- Thread: eWON and Tinamous (/thread-148.html) |
eWON and Tinamous - simon - 18-10-2016 Hi eWON buddies, Here is a piece of Script that allows to push Tag values to the Tinamous IOT Cloud platform. Code: Function TINAMOUS_weather_push() To identify an eWON on Tinamous, a BASIC auth is used (see below). Tinamous provides a tool to compute the authentication value. Be careful that if your Auth value ends with a "=" sign, it must be replaced by "%3D" Code: TINAMOUS_auth$ = "Authorization= Basic ZXdvbjE6cHddNGV3b24%3D" To connect the eWON to your Tinamous account, you just have to create a device. The "Tags" (called "Fields") are created on the fly when the device pushes new data. See Tinamous help : http://tinamous.com/swagger/ui/index#!/SenML/SenML_Post |