-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[development] Support multiple AVRs? #13
Comments
@mwittig in my case I have tried passing the context (here: the actual AVR instance) to the device on discovery but that requires another device configuration parameter which doesn't seem to make sense (as it would also be exposed in the UI). Do you think it would be feasible to add an additional parameter for "private" properties in
|
Another approach might be to create new device types per AVR instance but that doesn't seem very elegant either. Any thoughts how to solve this? Would be great using this and other plugins for multiple platform instances. |
Strategy 1: Strategy 2: Regarding the multi-box use case you are looking at, the device discovery can be a lot smarter as you can query the devices and you possibly can detect whether a given box is just a "slave" router within a mesh setup. Do all meshed router boxes share the same credentials? If yes, I can imagine a third strategy, where you have the configuration for the mesh master as part of the plugin configuration and you can override the address as part of the device configuration (e.g., an option address attribute) to let the device access the state information from the mesh slave. I am not sure this make sense - it is just my rough understanding of #53. NB: It is possible to automatically upgrade the plugin and device configuration if a new plugin version requires changes of the configuration schema. If you have not done this yet I am happy to assist. |
Thank you! Strategy 1+2 combined sounds like the way to go for time being:
This isn't horribly elegant. The devices As this needs to be done on each plugin I still feel it might be nicer to allow this on the framework level. Might be possible to do this by adding an internal
Nice- would appreciate a pointer. I'd need to upgrade both plugin and devices config. |
Ok, found one more issue (and really sorry- this is of-topic for this repo). If I define |
I've just hit a similar problem in https://github.com/andig/pimatic-fritz/tree/multi-box and thought I'd look around for similar use cases.
How would could I use yamaha-avr with multiple receivers?
The text was updated successfully, but these errors were encountered: