I'd like to be able to push the value of an mcsMQTT owned device (using EasyTrigger) to a stack, then restore its value later. I have not been able to do this.
(I'm not sure whether I should post this here, or in the EasyTrigger forum.)
My use case: I am using three Athom RGB bulbs (which communicate via tasmota hosted MQTT) as a crude, but effective, system status signaling device. Whenever something new and significant happens, I want it to be announced by a new color code combination of the three lamps. Then, when the new situation has been dealt with, I'd like the bulbs to again display whatever they were showing originally.
After much stumbling, I can now make the three bulbs display whatever I want, using the Power and HSBColor commands. To test the push/pop feature, I first set a bulb green, pushed the cmnd Power device, and set the bulb to red. Ten seconds later, I popped the device value, hoping that the bulb would still remain lit:
When I run the event, the bulb changes immediately to red, but 10 seconds later, the bulb is turned off. This is unexpected, as I thought I was pushing a "power on" status, which should have popped to continue with power on. I can control the device power reliably via On/Off/Blink buttons on the HS Device Management page. (I want to push and pop HSB color status also, but I thought I'd start with power. Baby steps.)
So, is there a bug somewhere, and if so, is there a reasonable workaround? Am I trying to use a feature that doesn't exist? And is this an mcsMQTT issue, or an EasyTrigger issue?
Thanks for any assistance.
(I'm not sure whether I should post this here, or in the EasyTrigger forum.)
My use case: I am using three Athom RGB bulbs (which communicate via tasmota hosted MQTT) as a crude, but effective, system status signaling device. Whenever something new and significant happens, I want it to be announced by a new color code combination of the three lamps. Then, when the new situation has been dealt with, I'd like the bulbs to again display whatever they were showing originally.
After much stumbling, I can now make the three bulbs display whatever I want, using the Power and HSBColor commands. To test the push/pop feature, I first set a bulb green, pushed the cmnd Power device, and set the bulb to red. Ten seconds later, I popped the device value, hoping that the bulb would still remain lit:
When I run the event, the bulb changes immediately to red, but 10 seconds later, the bulb is turned off. This is unexpected, as I thought I was pushing a "power on" status, which should have popped to continue with power on. I can control the device power reliably via On/Off/Blink buttons on the HS Device Management page. (I want to push and pop HSB color status also, but I thought I'd start with power. Baby steps.)
So, is there a bug somewhere, and if so, is there a reasonable workaround? Am I trying to use a feature that doesn't exist? And is this an mcsMQTT issue, or an EasyTrigger issue?
Thanks for any assistance.
Comment