shelly-tools / shelly-script-examples

Shelly mJS Scripting examples
GNU Affero General Public License v3.0
72 stars 21 forks source link

Publish to a topic with lwt option #17

Closed Jeandhom closed 1 year ago

Jeandhom commented 1 year ago

Hi, Is it possible to make a "lwt topic" with "MQTT.publish" function ? How to specify the "last will message" and the "keep alive" in this function ? An example would be greatly appreciated.

eurich commented 1 year ago

please open an issue at: https://github.com/ALLTERCO/shelly-script-examples/ maybe the Allterco DEVs can help