7. Cloud Integrations

Via HARDWARIO Cloud you can integrate your device with several services and platforms

7.1. Blynk IoT Platform

Blynk makes easy to build mobile IoT app. Follow these simple steps to integrate CHESTER with Blynk via HARDWARIO Cloud:

  1. Download Blynk App from App Store or Google Play and create new project.

  2. Add widgets to the application and assing virtual PINs for every metric you want to visualise.

  3. Go to HARDWARIO Cloud and create or select the group that your device is part of.

Note

The Blynk API do not support sending multiple values for different PINs in one callback.

  1. Now you have to create a unique callback for all your virtual PINs. Use these instructions:

  1. Method

PUT
  1. URL Address

http://blynk-cloud.com/<auth_token>/update/V<number>

Replace <auth_token> by your generated token from Blynk and <number> with number of your virtual PIN.

  1. Payload

[
  <<value>>
]

Instead of <<value>> use extracted value from original JSON message. For example:

[
  data.sensor.hygrometer.temperature
]

7.1.1. CHESTER Clime example:

Now we are going to make an example with CHESTER Clime.

  1. Download Blynk App from App Store or Google Play and scan QR Code in next step to copy dashboard:

_images/blynk-app-scan.png
  1. Now scan Dashboard QR Code:

_images/blynk-dashboard.png

You should see following dashboard:

_images/blynk-app-chester-dashboard.png
  1. Now open HARDWARIO Cloud and navigate to Group Callbacks in HARDWARIO Cloud:

_images/hardwario-cloud-managment.png
  1. Select your Group callbacks with CHESTER Clime:

_images/hardwario-cloud-group-callbacks.png

Note

For now is need to have only one device in single Group.

  1. Add temperature callback:

For each quantity we will be setting special callback. For temperature name it Blynk temperature, method is PUT and URL address is http://blynk-cloud.com/<AUTH TOKEN>/update/V0

_images/hardwario-cloud-callback-1.png

Note

For CHESTER dashboard you revieved AUTH TOKEN to account email.

As payload put following code and click SAVE CALLBACK:

[
data.sensor.hygrometer.temperature
]
_images/hardwario-cloud-callback-2.png
  1. Add left callback (humidity and orientation):

Repeat previous chapter, but use following callbacks and payloads and replace <AUTH TOKEN> with your own:

Humidity:

URL

http://blynk-cloud.com/<AUTH TOKEN>/update/V1

Payload

[ data.sensor.hygrometer.humidity ]

Orientation:

URL

http://blynk-cloud.com/<AUTH TOKEN>/update/V2

Payload

[ data.sensor.accelerometer.orientation ]

  1. After a while, CHESTER will send data and you will se them in Blynk app:

_images/blynk-app-finish.png