vanackej / risco-mqtt-local

Provide Risco alarm system integration to Home assistant using local TCP communication (no cloud required) and MQTT
MIT License
24 stars 11 forks source link

Add ability to bypass a zone #12

Closed markxroberts closed 2 years ago

markxroberts commented 2 years ago

Thanks for a terrific project. It is working well for me. I would love an option to bypass a zone. This would then be a complete replacement for RiscoCloud integration in HA for me. If it exists and I've missed it, my apologies!

vanackej commented 2 years ago

I was also thinking about it. But I'm not sure how to map this notion to HA entities. Zones are mapped to binary_sensor in HA. I can't attach the toggle action to them directly. Should I introduce an additional companion switch for each zone ? https://www.home-assistant.io/integrations/switch.mqtt/

markxroberts commented 2 years ago

Hi Yes, I think a companion switch for each zone would be a good idea. Currently I have lots of input booleans that bypass a zone when switch to on, and unbypass when switched to off. I reset all these to off once the alarm is unset as the bypass zone function only lasts until the alarm is next set/unset. Presumably this behaviour is also possible through MQTT? Best wishes Mark

On 15 Jan 2022, at 18:04, Johann Vanackere @.***> wrote:

I was also thinking about it. But I'm not sure how to map this notion to HA entities. Zones are mapped to binary_sensor in HA. I can't attach the toggle action to them directly. Should I introduce an additional companion switch for each zone ? https://www.home-assistant.io/integrations/switch.mqtt/ https://www.home-assistant.io/integrations/switch.mqtt/ — Reply to this email directly, view it on GitHub https://github.com/vanackej/risco-mqtt-local/issues/12#issuecomment-1013726977, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF2J4VYGLW47EQJUBWKSN63UWGZLZANCNFSM5L7XWEIQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.