Examples for the MQTT connection

The following examples needs the library PubSubClient library by Nick O'Leary

Use the Arduino Library Manager to install the latest PubSubClient library

Ethernet MQTT  example_1: Getting started

ESP8266 MQTT example1: Getting started

ESP32 MQTT example: Getting started

 

=========================================================

Examples for the Modbus connection

Examples are not available yet

 

==========================================================

Examples for the Virtuino Web Sockets connection

The following examples needs the library WebSockets ver 2.3.5 or higher by Markus Sattler

Use the Arduino Library Manager to install the latest WebSockets library. The library supports ESP8266 & ESP32 boards only

ESP8266 webSocket Server example: Getting started

ESP8266 webSocket Server example: PWM

ESP8266 webSocket Server example: Sensors

ESP8266 webSocket Server example: Receive Text

ESP8266 webSocket Server example: Advance - All features

ESP32 webSocket Server example: Getting started