- I have a trigger to set the message type for a shim This works fine. However, periodically it becomes un-enabled. I have no idea why, and nothing is logged. FWIW, this only seems to happen if I shift focus from the folder containing the trigger.
- In the Shim device, I have found that when changing the device type, the device states are not deleted. So, even if the changed configuration no longer maintains those states, they still appear in the device display. Also, once the precision is set, changing it seems to have no effect.
MQTT Bugs?
MQTT Bugs?
I have found 2 anomalies (aka possible bugs).
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: MQTT Bugs?
Un-enabled where? You mean in the main Indigo Device list window? The comm-enabled checkbox? Or somewhere else?
Yeah, changing the device type isn't supported very well, as all the custom attributes from the old type are not deleted. Doing that would really make the code more complicated. Best to just create a new device.berkinet wrote: ↑Fri Dec 05, 2025 5:04 am In the Shim device, I have found that when changing the device type, the device states are not deleted. So, even if the changed configuration no longer maintains those states, they still appear in the device display. Also, once the precision is set, changing it seems to have no effect.
Changing precision should work. Can you create a GitHub issue for 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: MQTT Bugs?
Sorry if I wasn’t clear. This is the trigger that sets the keyword for the shim to look for. So, it is the “trigger enabled” checkbox in the Trigger listFlyingDiver wrote: ↑Fri Dec 05, 2025 7:53 am Un-enabled where? You mean in the main Indigo Device list window? The comm-enabled checkbox? Or somewhere else?
Agreed, it is probably not worth the effort to clean up when they shim device is altered.FlyingDiver wrote: ↑Fri Dec 05, 2025 7:53 am Yeah, changing the device type isn't supported very well, as all the custom attributes from the old type are not deleted. Doing that would really make the code more complicated. Best to just create a new device.
Changing precision should work. Can you create a GitHub issue for that?
I will see if I can get some evidence on the precision issue. Though, it may be linked to the First issue of trash hanging around in the device description. This was the same shim device that was showing the states that were no longer in use.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: MQTT Bugs?
berkinet wrote: ↑Fri Dec 05, 2025 3:09 pmSorry if I wasn’t clear. This is the trigger that sets the keyword for the shim to look for. So, it is the “trigger enabled” checkbox in the Trigger listFlyingDiver wrote: ↑Fri Dec 05, 2025 7:53 am Un-enabled where? You mean in the main Indigo Device list window? The comm-enabled checkbox? Or somewhere else?
Interesting. The plugin doesn't explicitly enable or disable triggers. Not sure how that would happen.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: MQTT Bugs?
Me neither.FlyingDiver wrote: ↑Fri Dec 05, 2025 3:26 pm Interesting. The plugin doesn't explicitly enable or disable triggers. Not sure how that would happen.
Re: MQTT Bugs?
DOH!!!berkinet wrote: ↑Fri Dec 05, 2025 3:47 pmMe neither.FlyingDiver wrote: ↑Fri Dec 05, 2025 3:26 pm Interesting. The plugin doesn't explicitly enable or disable triggers. Not sure how that would happen.
At some point the device was flooding the MQTT server with constant message. So, I created a repeating scheduled action to run every 10 minutes and enable the trigger for 4 seconds to capture an update, and then disable the trigger for 5 minutes. Then, the vendor added an option to set how often updates should be sent. So, I set it for 10 minutes. But, I had forgotten about my "fix." This effectively blocked any updates.