Posting here because the domoticaforum.eu moderator approval of posts is slow.
I am really enjoying the plugin - thank you.
Am I doing something wrong?
Trying to send an MQTT command to an ESP Easy LCD display.
The attached picture of my event works fine - the LCD updates.
But I need to transfer this ability to a script - so I did this: &hs.PluginFunction("MQTT", "", "publish", {"/LED_DEN/cmd", "lcd,1,1,hello world"})
In the logs I get this: Running script(2) &hs.PluginFunction("MQTT", "", "publish", {"/LED_DEN/cmd", "lcd,1,1,hello world"}), init error: Invalid character
I am basing that script off of the MQTT Plugin description: Example: hs.PluginFunction("MQTT", "", "publish", {"/tmp/myTopic", "1234"})
Thank you everyone!
I am really enjoying the plugin - thank you.
Am I doing something wrong?
Trying to send an MQTT command to an ESP Easy LCD display.
The attached picture of my event works fine - the LCD updates.
But I need to transfer this ability to a script - so I did this: &hs.PluginFunction("MQTT", "", "publish", {"/LED_DEN/cmd", "lcd,1,1,hello world"})
In the logs I get this: Running script(2) &hs.PluginFunction("MQTT", "", "publish", {"/LED_DEN/cmd", "lcd,1,1,hello world"}), init error: Invalid character
I am basing that script off of the MQTT Plugin description: Example: hs.PluginFunction("MQTT", "", "publish", {"/tmp/myTopic", "1234"})
Thank you everyone!
Comment