Thanks jvdz! Got it to work.
Here is my final script:
local myDevicename = 'AC_ESCRIT' -- change to the name of the device that will trigger this script
return
{
on =
{
devices =
{
myDevicename,
},
},
logging =
{
level = domoticz.LOG_DEBUG, -- change to LOG_ERROR when ok
},
execute ...
Search found 6 matches
- Monday 18 December 2023 14:56
- Forum: dzVents
- Topic: Sending JSON payload into Tasmota via MQTT
- Replies: 6
- Views: 2089
- Monday 18 December 2023 11:08
- Forum: dzVents
- Topic: Sending JSON payload into Tasmota via MQTT
- Replies: 6
- Views: 2089
Re: Sending JSON payload into Tasmota via MQTT
Thanks waltervl. Had to do some changes in the server that runs Mosquitto but i managed to send the payload to the tasmota device using the command line:
mosquitto_pub -t cmnd/tasmota_F6CD26/IRHVAC -m {\"Vendor\":\"FUJITSU_AC\",\"Model\":\"ARRAH2E\",\"Command\":\"Control\",\"Mode\":\"Auto ...
mosquitto_pub -t cmnd/tasmota_F6CD26/IRHVAC -m {\"Vendor\":\"FUJITSU_AC\",\"Model\":\"ARRAH2E\",\"Command\":\"Control\",\"Mode\":\"Auto ...
- Sunday 17 December 2023 19:34
- Forum: dzVents
- Topic: Sending JSON payload into Tasmota via MQTT
- Replies: 6
- Views: 2089
Re: Sending JSON payload into Tasmota via MQTT
Im sorry but i cant figure out in that page how i send the previous data payload into the " cmnd/tasmota_F6CD26/IRHVAC " mqtt topic... The command domoticz_publish doesnt seem to exist anymore so im a bit clueless...
- Sunday 17 December 2023 16:58
- Forum: dzVents
- Topic: Sending JSON payload into Tasmota via MQTT
- Replies: 6
- Views: 2089
Sending JSON payload into Tasmota via MQTT
Hi everyone.
Im trying to do a simple on/off switch in Domoticz to send the appropriate json payload into a Tasmota device that will turn on or off an AC unit, using a virtual switch.
Im not into dzVents so i asked Bing Chat :P and it came up with the following script:
return {
on = {
devices ...
Im trying to do a simple on/off switch in Domoticz to send the appropriate json payload into a Tasmota device that will turn on or off an AC unit, using a virtual switch.
Im not into dzVents so i asked Bing Chat :P and it came up with the following script:
return {
on = {
devices ...
- Sunday 28 June 2020 14:41
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: changing port on Windows installation
- Replies: 10
- Views: 2758
Re: changing port on Windows installation
Im also struggling with this on a Windows installation where Domoticz starts at boot but not as a service. Cant find where are the settings for the ports since i want to disable HTTPS.
Under Task Manager's Startup, domoticz.exe has no arguments and if it is run manually, it listens on 443 port ...
Under Task Manager's Startup, domoticz.exe has no arguments and if it is run manually, it listens on 443 port ...
- Sunday 20 October 2019 17:59
- Forum: Blockly
- Topic: Sending sensor data to V_TEXT and MySensors
- Replies: 0
- Views: 488
Sending sensor data to V_TEXT and MySensors
Hi everybody,
After a lot of searching im writing to ask if its possible to have a Blocky script send a sensor value (temperature, for example), via V_TEXT to a MySensors node with Blocky
Ive declared and presented the text variable on the mySensors Node with:
MyMessage textMsg(0, V_TEXT ...
After a lot of searching im writing to ask if its possible to have a Blocky script send a sensor value (temperature, for example), via V_TEXT to a MySensors node with Blocky
Ive declared and presented the text variable on the mySensors Node with:
MyMessage textMsg(0, V_TEXT ...