2022 Jan 20, 03:11 PM
(This post was last modified: 2022 Jan 20, 04:13 PM by astrogerard.)
ok, I can confirm this is an issue when using "active high" relays.
@Dan, what is the excpected behaviour of the zone dict in this case? The "Active-Low Relay" setting selected or not both give a dict of all stations 0. I would expect an inverted dict but it is not. Do I need to check the active-low setting in the plugin?
--Gerard
**edit** looking at the plugin, it could also be a bug. I'm looking into it.
**edit-2** I think the answer is in gpio_pins-->set_output()
@Dan, what is the excpected behaviour of the zone dict in this case? The "Active-Low Relay" setting selected or not both give a dict of all stations 0. I would expect an inverted dict but it is not. Do I need to check the active-low setting in the plugin?
--Gerard
**edit** looking at the plugin, it could also be a bug. I'm looking into it.
**edit-2** I think the answer is in gpio_pins-->set_output()