RESTful API

Restful API logo

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

However, there is also a very powerful RESTful API available. This means you now can send HTTP commands with GET and POST/PUT 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.

1

https://emsesp.github.io/docs/#/Command?id=http-api