Hello
I submit my problem. I try using mqtt with dz.
When I select "MQTT Client Gateway...", data in and data out appairs in MQTT Explorer.
But when I select "MQTT Autodiscovery Client Gateway..." no data goes out domoticz.
Where is my mistake?
Used with Mosquitto/docker
Thanks for your help
Filnet
No data out domoticz
Moderator: leecollings
- waltervl
- Posts: 5847
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: No data out domoticz
it goes out in the AD style so the AD hardware (eg zigbee2mqtt or zwavejs2mqtt) can understand. So look in the AD prefix (eg homeassistant) with MQTT Explorer.
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
Re: No data out domoticz
Thanks for response. For testing, one hardware with AD (prefix homeassistant) and another one without AD (prefix domoticz)
Here is the log window of MQTT Explorer:
domoticz
status = online
out = { "Battery" : 255, "LastUpdate" : "2022-06-20 15:00:39", "RSSI" : 12, "description" : "", "dtype" : "General", "hwid" : "15", "id" : "00000003", "idx" : 522, "name" : "Core Clock Speed", "nvalue" : 0, "stype" : "Custom Sensor", "svalue1" : "400.0000", "unit" : 1 }
in = { "idx" : 1, "nvalue" : 0, "svalue" : "25.0" }
homeassistant
status = online
in = { "idx" : 1, "nvalue" : 0, "svalue" : "25.0" }
You can see no out with AD...
Here is the log window of MQTT Explorer:
domoticz
status = online
out = { "Battery" : 255, "LastUpdate" : "2022-06-20 15:00:39", "RSSI" : 12, "description" : "", "dtype" : "General", "hwid" : "15", "id" : "00000003", "idx" : 522, "name" : "Core Clock Speed", "nvalue" : 0, "stype" : "Custom Sensor", "svalue1" : "400.0000", "unit" : 1 }
in = { "idx" : 1, "nvalue" : 0, "svalue" : "25.0" }
homeassistant
status = online
in = { "idx" : 1, "nvalue" : 0, "svalue" : "25.0" }
You can see no out with AD...
- waltervl
- Posts: 5847
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: No data out domoticz
When do you expect something in out?
For AD is only something send to MQTT if something changes in Domoticz by UI (eg you switch a switch). The command is send to MQTT AD and will be read by the hardware and it will switch the device.
So MQTT Autodiscover is following the AD protocol as linked to in the wiki.
But you can have both if you want to. 1 MQTT AD hardware gateway and a legacy MQTT hardware gateway.
For AD is only something send to MQTT if something changes in Domoticz by UI (eg you switch a switch). The command is send to MQTT AD and will be read by the hardware and it will switch the device.
So MQTT Autodiscover is following the AD protocol as linked to in the wiki.
But you can have both if you want to. 1 MQTT AD hardware gateway and a legacy MQTT hardware gateway.
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
Re: No data out domoticz
If I understand, "AD gateway" don't send data to mqtt from others devices included in Dz like the other gateway?
- waltervl
- Posts: 5847
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: No data out domoticz
I am not sure but I think it sends out only data for those devices that are managed/discovered by the MQTT AD gateway.
But you can test it yourself.
But you can test it yourself.
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
Re: No data out domoticz
Ok. i am trying install zwave2mqtt todo this testing.
Thanks for your help
Thanks for your help
Who is online
Users browsing this forum: No registered users and 1 guest