OK, I think I understand.
Would it be hard to allow mixed format to allow ["dev" + "identifier"] and ["device" + "ids"] mixed combinations? maybe (MQTTAutoDiscover.cpp at line 669):
rootdev = root["device"];
if (root["device"].empty()) rootdev = root["dev"];
if (!rootdev.empty())
{
rootids ...
Search found 16 matches
- Saturday 28 June 2025 12:33
- Forum: MQTT Auto Discovery
- Topic: Autodiscovery with TheengsGateway
- Replies: 39
- Views: 5726
- Thursday 26 June 2025 13:41
- Forum: MQTT Auto Discovery
- Topic: Autodiscovery with TheengsGateway
- Replies: 39
- Views: 5726
Re: Autodiscovery with TheengsGateway
These are mine unique-id's
0x00158d0004a98668_temperature_zigbee2mqtt
0x00158d0004a98668_humidity_zigbee2mqtt
0x00158d0004a98668_pressure_zigbee2mqtt
There are no unique id's in the above config. That's a first issue... there is no way telling if they belong to each other
By "above" you mean ...
- Wednesday 25 June 2025 18:39
- Forum: MQTT Auto Discovery
- Topic: Autodiscovery with TheengsGateway
- Replies: 39
- Views: 5726
Re: Autodiscovery with TheengsGateway
For example when using the below config payloads, it creates one combined sensor.
Maybe you could ask openMQTTGateway to do the same
(have a look at the unique_id)
Thanks for your answer. Do you mean that the config topics should be:
homeassistant/sensor/Nexus-TH-1-117/humidity/config ...
- Wednesday 25 June 2025 18:30
- Forum: MQTT Auto Discovery
- Topic: Autodiscovery with TheengsGateway
- Replies: 39
- Views: 5726
Re: Autodiscovery with TheengsGateway
From that I learned that Domoticz tries to combine device attributes when the device name is the same. I guess that in your case Domoticz gets confused since all device attributes have the same device name (eg "mdl":"Nexus-TH","name":"Nexus-TH-1-117"). When battery and signal strength would have ...
- Wednesday 25 June 2025 10:10
- Forum: MQTT Auto Discovery
- Topic: Autodiscovery with TheengsGateway
- Replies: 39
- Views: 5726
Re: Autodiscovery with TheengsGateway
Hello,
I read these posts with much interest.
I am using the openMQTTGateway on an ESP32 to monitor a few 433 devices in Domoticz through Mosquitto. It works, but I noticed a small problem: previously I was using and rfxTRX433 usb device and each sensor was combined [ie. a temp + humidity sensor ...
I read these posts with much interest.
I am using the openMQTTGateway on an ESP32 to monitor a few 433 devices in Domoticz through Mosquitto. It works, but I noticed a small problem: previously I was using and rfxTRX433 usb device and each sensor was combined [ie. a temp + humidity sensor ...
- Tuesday 24 June 2025 18:37
- Forum: Temperature and Weather
- Topic: Migrate RFXCOM to openMQTTGateway
- Replies: 7
- Views: 2136
Re: Migrate RFXCOM to openMQTTGateway
waltervl wrote: Tuesday 24 June 2025 18:03 On what Domoticz version are you running? As it should create combined temp/Hum devices on 2025 stable Domoticz.
About Domoticz
Version: 2025.1
Build Hash: 89d5c900d
Compile Date: 2025-05-05 09:02:49
dzVents Version: 3.1.8
Python Version: 3.12.3 (main, Jun 18 2025, 17:59:45) [GCC 13.3.0]
- Tuesday 24 June 2025 11:27
- Forum: Temperature and Weather
- Topic: Migrate RFXCOM to openMQTTGateway
- Replies: 7
- Views: 2136
Re: Migrate RFXCOM to openMQTTGateway
See for example the wiki page https://wiki.domoticz.com/MQTT_AD_Report_Problems how to find and copy MQTT Autodiscover config topics.
Here they are:
homeassistant/sensor/Ambientweather-F007TH-2-154-humidity/config
{"stat_t":"+/+/RTL_433toMQTT/Ambientweather-F007TH/2/154","dev_cla":"humidity ...
- Tuesday 24 June 2025 10:19
- Forum: Temperature and Weather
- Topic: Migrate RFXCOM to openMQTTGateway
- Replies: 7
- Views: 2136
Re: Migrate RFXCOM to openMQTTGateway
Thank you for your help. Where do I find these config topics ?waltervl wrote: Monday 23 June 2025 17:32 There should be a config topic, or multiple config topics in the MQTT homeassistant folder for this device. These config topic decides what devices are created.
Can you post those config topics?
- Monday 23 June 2025 17:20
- Forum: Temperature and Weather
- Topic: Migrate RFXCOM to openMQTTGateway
- Replies: 7
- Views: 2136
Migrate RFXCOM to openMQTTGateway
Hello,
I am running Domoticz for a few years and I am very happy. Thanks to the developers and the forum members.
For now, I am using an RFXtrx433 usb to receive information from a few cheap thermometers or door sensors and to control my SOMFY blinds (RTS). I works but my house is quite large and ...
I am running Domoticz for a few years and I am very happy. Thanks to the developers and the forum members.
For now, I am using an RFXtrx433 usb to receive information from a few cheap thermometers or door sensors and to control my SOMFY blinds (RTS). I works but my house is quite large and ...
- Thursday 19 September 2024 10:59
- Forum: Bugs and Problems
- Topic: Widget / Device re-sorted in all tabs after adding / enabling a new device
- Replies: 6
- Views: 2469
Widget / Device re-sorted in all tabs after adding / enabling a new device
Version: all
Platform: all
Plugin/Hardware: not relevant
Description:
Hi,
It seems that this problem has already been mentioned in the following posts:
https://forum.domoticz.com/viewtopic.php?p=310650#p310650
and
https://forum.domoticz.com/viewtopic.php?p=308769#p308769
but has not been solved ...
Platform: all
Plugin/Hardware: not relevant
Description:
Hi,
It seems that this problem has already been mentioned in the following posts:
https://forum.domoticz.com/viewtopic.php?p=310650#p310650
and
https://forum.domoticz.com/viewtopic.php?p=308769#p308769
but has not been solved ...
- Friday 10 June 2022 10:34
- Forum: MQTT Auto Discovery
- Topic: Domoticz, MQTT and Sonoff basic with Tasmota: help
- Replies: 5
- Views: 1964
- Friday 10 June 2022 7:37
- Forum: MQTT Auto Discovery
- Topic: Domoticz, MQTT and Sonoff basic with Tasmota: help
- Replies: 5
- Views: 1964
- Thursday 09 June 2022 19:30
- Forum: MQTT Auto Discovery
- Topic: Domoticz, MQTT and Sonoff basic with Tasmota: help
- Replies: 5
- Views: 1964
Re: Domoticz, MQTT and Sonoff basic with Tasmota: help
Answer to myself:
it works with "MQTT Client Gateway with LAN interface" and a dummy switch with od configured in Tasmota.
I'd like to have it work with auto discovery if possible, so this topic is not full closed. Any idea?
it works with "MQTT Client Gateway with LAN interface" and a dummy switch with od configured in Tasmota.
I'd like to have it work with auto discovery if possible, so this topic is not full closed. Any idea?
- Thursday 09 June 2022 15:14
- Forum: MQTT Auto Discovery
- Topic: Domoticz, MQTT and Sonoff basic with Tasmota: help
- Replies: 5
- Views: 1964
Domoticz, MQTT and Sonoff basic with Tasmota: help
Hello,
I am running: Domoticz Version: 2022.1 on an ubuntu server and Sonoff Basic R1 and R2 with Tasmota 11.1.0.
The server also runs a MQTT server (mosquitto) and Zigbee2MQTT.
In Domoticz I created a new hardware "MQTT Auto Discovery Client Gateway with LAN interface" with Auto Discovery Prefix ...
I am running: Domoticz Version: 2022.1 on an ubuntu server and Sonoff Basic R1 and R2 with Tasmota 11.1.0.
The server also runs a MQTT server (mosquitto) and Zigbee2MQTT.
In Domoticz I created a new hardware "MQTT Auto Discovery Client Gateway with LAN interface" with Auto Discovery Prefix ...
- Wednesday 20 November 2019 15:19
- Forum: LUA
- Topic: HTTP Poller and http error
- Replies: 2
- Views: 475
- Tuesday 19 November 2019 17:02
- Forum: LUA
- Topic: HTTP Poller and http error
- Replies: 2
- Views: 475
HTTP Poller and http error
Hello,
(I a new on Domoticz...)
I am trying to interface a remote switch which responds to http get commands:
http://ip_adress/on
http://ip_adress/off
and
http://ip_adress/status
This last status command answers 0 or 1 depending on the state of the switch.
This switch can be switched on/off from ...
(I a new on Domoticz...)
I am trying to interface a remote switch which responds to http get commands:
http://ip_adress/on
http://ip_adress/off
and
http://ip_adress/status
This last status command answers 0 or 1 depending on the state of the switch.
This switch can be switched on/off from ...