IoT-HUB-Live Integration (ESP 8266, Arduino)
by GáborA4 in Circuits > Sensors
1203 Views, 4 Favorites, 0 Comments
IoT-HUB-Live Integration (ESP 8266, Arduino)
![iothublive.png](/proxy/?url=https://content.instructables.com/F15/KJDI/JGCJCMLR/F15KJDIJGCJCMLR.png&filename=iothublive.png)
If you have IoT devices and you need a cloud service to store your measurements... :)
Open the IoT-HUB-Live Site
![iot-hub-live-01.png](/proxy/?url=https://content.instructables.com/F6H/PGY7/JGCJFP8Z/F6HPGY7JGCJFP8Z.png&filename=iot-hub-live-01.png)
It is simple: type the https://iothub.live into your browser. :)
Sign Up
![iot-hub-live-02.png](/proxy/?url=https://content.instructables.com/FVJ/HMA7/JGCJFPAG/FVJHMA7JGCJFPAG.png&filename=iot-hub-live-02.png)
If you follow the "Sign up" link, you can see your identifier (generated) and your secret (also generated). You can modify the secret and the email field only.
Write Down Your Credentials
![iot-hub-live-03.png](/proxy/?url=https://content.instructables.com/F6J/HSJ3/JGCJFPGL/F6JHSJ3JGCJFPGL.png&filename=iot-hub-live-03.png)
After a successful registration you must write down your credentials because of we won't display your secret anymore and you can request secret replacement via email only (if you filled up the email field).
Log in to the Site
![iot-hub-live-04.png](/proxy/?url=https://content.instructables.com/F65/3SJH/JGCJFQ39/F653SJHJGCJFQ39.png&filename=iot-hub-live-04.png)
After the registration you can log in into the site. Also, you can use the "Login" button on the top-right of the page.
List of You Nodes
![iot-hub-live-05.png](/proxy/?url=https://content.instructables.com/FLU/TOQQ/JGCJFQ91/FLUTOQQJGCJFQ91.png&filename=iot-hub-live-05.png)
After log in, you can see the list of your nodes (it is empty now), a node corresponds to an IoT sensor. So that, you can create your first node, for example the name of the node is "My precious" and the description "WeMOS D1 mini".
List of Your Nodes
![iot-hub-live-06.png](/proxy/?url=https://content.instructables.com/FEZ/IWL2/JGCJFSDP/FEZIWL2JGCJFSDP.png&filename=iot-hub-live-06.png)
After the node addition, you can see your new node in the list. You can select it by the "Node ID" of the node.
List of Fields
![iot-hub-live-07.png](/proxy/?url=https://content.instructables.com/FY6/ETIS/JGCJFSJH/FY6ETISJGCJFSJH.png&filename=iot-hub-live-07.png)
Every node has fields, a field corresponds to a measurement, like temperature or humidity. For example, you can add a new 'battery' field.
List of the Fields
![iot-hub-live-08.png](/proxy/?url=https://content.instructables.com/FVI/UFHC/JGCJFSRU/FVIUFHCJGCJFSRU.png&filename=iot-hub-live-08.png)
After the addition, the new field will be appearing in the list. You can select it by follow the link of the name of the field.
The Measurement Page
![iot-hub-live-09.png](/proxy/?url=https://content.instructables.com/FJU/GW9B/JGGTFP4C/FJUGW9BJGGTFP4C.png&filename=iot-hub-live-09.png)
On the measurement page you can see four charts: a daily, a weekly, a monthly and a yearly values of your measurement.
Also, you can see the URL: http://api.iothub.live/measurement/create/uXoHGY-uBk0aEKID2O9Fow/battery/3241
You can use this URL to send measurement us.
Send the Battery Status
For example, you can send the battery level of the WeMOS D1 mini in mV.
Downloads
Its Working! :)
![iot-hub-live-10.png](/proxy/?url=https://content.instructables.com/FI6/7DOC/JGGTFPZ9/FI67DOCJGGTFPZ9.png&filename=iot-hub-live-10.png)
The IoT-HUB-Live will be aggregates the measurements and displays them on the charts.