Phantom devices
Phantom devices
When creating a new Indigo Hubitat device, In the available HE device list, I see a few HE devices that no longer exist. That is, they did exist in HE at some point, but were removed. These devices do not appear in the HE device list and are not published from the HE MQTT app. I have rebooted both devices several times. Obviously, something, somewhere, is caching the information.
This is certainly not a big problem. But, it seemed worth reporting.
This is certainly not a big problem. But, it seemed worth reporting.
Re: Phantom devices
Looking at the MQTT stream, it seems these phantom services are being propagated by the HE MQTT plugin. I will check with Kevin.
Re: Phantom devices
Have you gone in and edited the MQTT App settings to remove the devices?
Re: Phantom devices
Yes.autolog wrote:Have you gone in and edited the MQTT App settings to remove the devices?
Re: Phantom devices
After emailing Kevin, I shut everything down (HE, broker (Mosquitto), MQTT Explorer, and the HE plugin and then restarted. Problem gone.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Phantom devices
Those discovery messages might have been tagged as "retained", so the MQTT broker was saving them and re-transmitting. Restarting the broker would have cleared that.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Phantom devices
In that case, would the option to control retention, if it exists, be somewhere in the HE MQTT app?FlyingDiver wrote:Those discovery messages might have been tagged as "retained", so the MQTT broker was saving them and re-transmitting. Restarting the broker would have cleared that.
Re: Phantom devices
Yes, retention is specified by the App doing the publishing AFAIK.berkinet wrote:In that case, would the option to control retention, if it exists, be somewhere in the HE MQTT app?
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Phantom devices
I can sorta see why they might want to discovery messages to be retained, so a client gets an immediate list of devices without waiting for them to advertise themselves again.
If they do that, then they should also be sending out a (retained) message when they shut down to cancel the previous message. It's possible that the broker is sending those shutdown messages again but the plugin isn't acting on them.
Or, it's just broken.
If they do that, then they should also be sending out a (retained) message when they shut down to cancel the previous message. It's possible that the broker is sending those shutdown messages again but the plugin isn't acting on them.
Or, it's just broken.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Phantom devices
Quite possible on both countsFlyingDiver wrote:.... It's possible that the broker is sending those shutdown messages again but the plugin isn't acting on them.. Or, it's just broken.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Phantom devices
I was referring to the HE app.autolog wrote:Quite possible on both countsFlyingDiver wrote:.... It's possible that the broker is sending those shutdown messages again but the plugin isn't acting on them.. Or, it's just broken.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177