Web services
- MQTT Connect:
Connect to an MQTT broker. The server could be local or remote.
Video: Basic MQTT operations
Video: Communication between 2 ESP8266 boards with MQTT
- MQTT Loop:
Allows to the client to process the incoming data. You should put it in the mail loop.>
Video: Basic MQTT operations
- MQTT Publish:
Send a message to the broker under the provided topic. The sent message in provided into a variable.
Video: Basic MQTT operations
- MQTT Subscribe to a topic:
It means that the client is asking the broker to send him a message of any client publishing messages under that topic.
Video: Basic MQTT operations
Video: Communication between 2 ESP8266 boards with MQTT
- Function MQTT connect to server:
This function should be called when you use the MQTT operations. It will show you the connection status the the provided server. Once the board is connected, it is possible to subscribe to a topic.
Video: Basic MQTT operations
Video: Communication between 2 ESP8266 boards with MQTT
- MQTT callback function:
This function should be called when you use the MQTT operations. IT is called when there is any incoming message to the client under any topic to which the client is subscribed. It is possible to retreive the topic and the message. These 2 last blocks should be called only inside the function.
Video: Basic MQTT operations
Video: Communication between 2 ESP8266 boards with MQTT
Vidoe: MQTT sensors network
- Webservice IFTTT:
This bloc will send a http request to the web service IFTTT. You need to specify the key, the event name and values. The values could be empty. With the IFTTT service, you can send an email, an SMS, Tweet, publish status on Facebook … You need to create an applet with the Webhooks service. Follow one of these tutorials for more information.
Video tutorial: Post status on Facebook.
Video tutorial: Send an email with GMAIL.
Video tutorial: Send an SMS
- ADAFRUIT MQTT SETUP:
This bloc should be called only once (in the setup part) if you want to communicate the board with the ADAFRUIT IO MQTT server. You need to specify the user name and the key. To have these information, you need to create an account. Keep the default port. For more example, watch one of these videos:
Video tutorial: Send information to the ADAFRUIT IO Server
Video tutorial: Get information from the ADAFRUIT IO Server
- ADAFRUIT MQTT Publish:
This bloc will allow you to publish any data to the specified feed. The bloc returns true if the date was sent successfully, otherwise, it will be false.
Return type: Boolean.
Video tutorial: Send information to the ADAFRUIT IO Server
- ADAFRUIT MQTT Is connected:
Return true is it is connected to the io.adafruit.com site. Otherwise, it will be false
Return type: Boolean.
Video tutorial: Send information to the ADAFRUIT IO Server.
- Cayenne Connect:
Connects to the Cayenne IOT platform. You need to have an account on the platform. To connect to the server, you need to give the username, the password and the client ID that you will find on your account.
If the debug mode check box is checked, you will see debugging information on the serial monitor (connection state, a received message …) You should call this block only once in the setup when you want to connect to the Cayenne platform.
Video: Send data to Cayenne platform
- Send to Cayenne:
Publish a data to Cayenne.
Video: Send data to Cayenne platform
- Cayenne Update data:
Will check if there is an incoming data
Video: Control ESP8266 with Cayenne mdevices
- TIME:
Gets the time from an NTP server
- Video: Get time from NTP server
- Geolocation:
Make a request to the Google Geolocation service to get the position of the board. You need to create an account and a Key will be given. Once you called this block, you can use the location block.
Video: Geolocation