rudyberends / homebridge-loxone-proxy

Homebridge Dynamic Platform Plugin which exposes a Loxone System to Homekit
Apache License 2.0
12 stars 6 forks source link

Feature idea: House mood switch #69

Closed jan-sevcik-snadnee closed 9 months ago

jan-sevcik-snadnee commented 9 months ago

Would it be possible to control the house moods (e.g. Day/Morning/Evening/Night from the HomeKit? It would be a great automation trigger. Thanks

rudyberends commented 9 months ago

Could you tell me more about this setup? Are these moods configured as switches? How does this work in Loxone?

jan-sevcik-snadnee commented 9 months ago

I have operating modes like Morning/Day/Evenning/Night that are the main triggers for the automation. For example on certain time (alarm) the house switch to the Morning mode (doors unlock, Window shades open) and it would be great to add some extra devices through Homekit.

Screenshot_2024-01-10 16 42 18

rudyberends commented 9 months ago

So, basically what you are requesting is the implementation of Radio Switches.

The latest beta is an attempt at that. It creates a Group with the name of the Radio Switch. Inside the group it creates a Switch for each operating mode. It works just like Loxone, so only one switch can be active at the same time.

You can then manually create HomeKit automations that are triggered by the switches, or you can set the switches by HomeKit automations.

I will probably tune it a little bit, but you can try this beta in the meantime. Please let me know if this is something you can work with.

jan-sevcik-snadnee commented 9 months ago

That is exactly what I needed! Thank you very much for your fast responses. I would be happy to buy you a beer, lets create some donate page here :)

rudyberends commented 9 months ago

Thank you for testing. I will keep it in beta for a short while, as there were some code changes to the core of the plugin which might affect some other Items. Please let me know if you have any issues with it. Also, If you have more suggestions for improvement, please create another issue.