[RELEASE] Room Information Device

This virtual device driver provides a single source for querying information regarding HE Rooms. Device builds and maintains a JSON string that holds all of the Rooms and their associated devices and images.

Available through HPM or for import at https://raw.githubusercontent.com/thebearmay/hubitat/main/roomInfo.groovy

Developer library at https://raw.githubusercontent.com/thebearmay/hubitat/main/libraries/roomInformation.groovy

9 Likes

This (and other code you have written) does feel like it could be (even) more useful as something like a library... or similar... without having investigated that as an option...

1 Like

Good point, I have a couple of tweaks to make to this and then I’ll create a library for developer use.

Edit: Library at https://raw.githubusercontent.com/thebearmay/hubitat/main/libraries/roomInformation.groovy

5 Likes

Do you have any examples for inspiration on how you use this driver?

Mainly because I was asked if it could be done, but if you have some automation in mind that is room oriented you could use the information from this to decide which devices are impacted or may be available to query.

Driver also makes the information available via MakerAPI which could be used by a dashboard to automatically build rooms and assign devices.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.