Hi,
Does anyone know where i can find an overview of the command types i.e "switchlight" used in MQTT publish ?
{"command": "switchlight", "idx": 2450, "switchcmd": "On" }
{"command": "setcolbrightnessvalue", "idx": 2450, "color": {"m":3,"t":0,"r":0,"g":0,"b":50,"cw":0,"ww":0}, "brightness": 40}
{"command": "switchscene", "idx": 24, "switchcmd": "On" }
{"command": "switchscene", "idx": 24, "switchcmd": "Toggle" }
{"command": "sendnotification", "subject": "My Subject", "body": "My Body", "priority": 0, "sound": "mysound" }
thanks
Peter
MQTT Publish command types Topic is solved
Moderators: leecollings, remb0
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: MQTT Publish command types
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
-
- Posts: 7
- Joined: Wednesday 12 September 2018 17:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: MQTT Publish command types
In the wiki, there's only the examples, i think there must be a lot of different types.
-
- Posts: 7
- Joined: Wednesday 12 September 2018 17:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
[Solved] MQTT Publish command types
Solved : I think i can find most of it here :
https://www.domoticz.com/wiki/Domoticz_API/JSON_URL's
br;
Peter
https://www.domoticz.com/wiki/Domoticz_API/JSON_URL's
br;
Peter
-
- Posts: 8
- Joined: Wednesday 31 January 2018 13:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: IT
- Contact:
Re: MQTT Publish command types
Guys I need help!
I have installed nodered and it looks working.
Now I have to update sensors/switch in domoticz.
One way is with MQTT with MQTT server in the middle and I am not expert on it, where can I find a guide?
Another way is JSON, I think... many forum talk about this page:
https://www.domoticz.com/wiki/Domoticz_API/JSON_URL's
so I think it's possible to update without MQTT but simply with a json command like:
/json.htm?type=command¶m=switchlight&idx=99&switchcmd=<On|Off|Toggle|Stop>
am I rigth?
Thanks for the help
Diego
I have installed nodered and it looks working.
Now I have to update sensors/switch in domoticz.
One way is with MQTT with MQTT server in the middle and I am not expert on it, where can I find a guide?
Another way is JSON, I think... many forum talk about this page:
https://www.domoticz.com/wiki/Domoticz_API/JSON_URL's
so I think it's possible to update without MQTT but simply with a json command like:
/json.htm?type=command¶m=switchlight&idx=99&switchcmd=<On|Off|Toggle|Stop>
am I rigth?
Thanks for the help
Diego
Raspberry Pi 3b+ - Domoticz 2023.1
NodeRED
Solaredge inverter
NodeRED
Solaredge inverter
- waltervl
- Posts: 5152
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: MQTT Publish command types
Did you check the Domoticz MQTT wiki page? https://www.domoticz.com/wiki/MQTT
There is also a specific Node-Red subforum viewforum.php?f=81
There is also a specific Node-Red subforum viewforum.php?f=81
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 1 guest