I've got an event that triggers the fan light to come on under certain conditions. The problem is that the plugin is not recognizing the status of the light (even when I check for that condition) and tries to turn the light on anyways. I've tried it a couple ways and it seems like the TurnLightOn function is acting like a ToggleLight. Any thoughts?
Announcement
Collapse
No announcement yet.
Plugin will not recognize light status (treats TurnLightOn as a ToggleLight)
Collapse
X
-
Originally posted by rsc2a View PostI've got an event that triggers the fan light to come on under certain conditions. The problem is that the plugin is not recognizing the status of the light (even when I check for that condition) and tries to turn the light on anyways. I've tried it a couple ways and it seems like the TurnLightOn function is acting like a ToggleLight. Any thoughts?
-
The fixture itself is a River of Goods 52"W Caged Crystal 5-Blade Ceiling Fan with Remote (https://www.walmart.com/ip/River-of-...mote/393091731).
A1 template is what my mobile app tells me. The mobile app is working fine.
Here's a simple script I've tried to test with. It seems to be ignoring the "AND IF" part of it.
Comment
-
I added A1 device, but can't understand your issue.
You say "The problem is that the plugin is not recognizing the status of the light (even when I check for that condition) and tries to turn the light on anyways"
What do you mean by "is not recognizing the status of the light"? If you mean the event you setup in post #3 - if you trigger the event manually - it doesn't check the event conditions.
Also, I don't get why you even have to check if the light is OFF? Because if it's already ON - it just shouldn't change.
When you say "The mobile app is working fine" - what's the difference in behaviour between the app and the plugin? The app doesn't even have separate Light On/Off controls.
"it seems like the TurnLightOn function is acting like a ToggleLight" - looks fine to me:
You may need to enable "Trust State" https://olibra.zendesk.com/hc/en-us/...me-application
If you have any questions related to the function of the device itself, Bond Forum is the place to ask.
Comment
Comment