RESTful API

Restful API logo

The Gateway communicates via MQTT and publishes and listens to a number of topics.

However as of firmware V2.1 a new RESTful API is available. This means you now can send HTTP commands like

http://ems-esp/api?device=<device>&cmd=<command>&data=<data>&id=<id>

See Proddy’s EMS-ESP Wiki 1 for all the details on the API.

For EMS-ESP32 there is also a new, more powerful API V3 available.

1

https://emsesp.github.io/docs/#/API