Autodeterct works too good. It even detects devices I no not have (anymore). And it keeps detecting (and adding) devices even when I remove them.
For example, I have a Tasmoto light bulb (Color switch, RGBWW, Dimmer) that is configured using a virtual device. Now we have autodetect, Domoticz detects it as a Light/Switch, Switch, Dimmer. This is a) not what it is, and b) since it gets detected under the same device name as the virtual device scripts that switch the light on/off start failing.
When I remove the autodetected device is simple returns after a while.
What am I doing wrong?
It works too good...
Moderator: leecollings
- jvdz
- Posts: 2349
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: It works too good...
I Guess you have RETAINED MQTT CONFIG messages?
Domoticz will register to the defined STATE Topics and create devices when a new state is received.
Domoticz will register to the defined STATE Topics and create devices when a new state is received.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 55
- Joined: Monday 26 July 2021 16:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: NL
- Contact:
Re: It works too good...
Maybe... I'm pretty sure I manually removed all config messages for this device from mqtt (using MQTT Explorer).
But the problem is more that using MQTT autodetect the type is not correctly detected (i.e., just a dimmable light and not an RGBWW light).
But the problem is more that using MQTT autodetect the type is not correctly detected (i.e., just a dimmable light and not an RGBWW light).
- jvdz
- Posts: 2349
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: It works too good...
If you want us to have a look at discovery issues you'll have to share a copy of the MQTT Config messages for the LIGHT device so we can have a look and define what is discovered exactly and what is expected.
Cheers
Cheers
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 55
- Joined: Monday 26 July 2021 16:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: NL
- Contact:
Re: It works too good...
That's what I did in viewtopic.php?p=284797#p284797
- jvdz
- Posts: 2349
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: It works too good...
so this is still the same topic as you started with a question that removed discovery devices always returned ?
In case the other thread is not resolved and discovers wrong devices, you need to continue posting there with the addition questions/information to keep us sane.
In case the other thread is not resolved and discovers wrong devices, you need to continue posting there with the addition questions/information to keep us sane.

New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Who is online
Users browsing this forum: No registered users and 1 guest