cmroche / HA-TestComponentInstaller

Install script for gree custom component
9 stars 2 forks source link

Multiple Moonraker instances #1

Open Henk72 opened 2 years ago

Henk72 commented 2 years ago

Nice integration! However, I cannot install it twice (for 2 instances)

If I try to use it for 2 different Moonraker instances, one on port 7125 and one on 7126, both on the same IP address, it mentions the integration is already loaded. It doesn't allow me to add a second instance.

Hope this can be fixed!

Henk72 commented 2 years ago

It seems a unique id is needed for each instance. I think this issue can be solved by letting the integration retrieve the web socket_id from Moonraker:

https://moonraker.readthedocs.io/en/latest/web_api/#identify-connectio

Maivz commented 2 years ago

I was wondering if anything has come of this as I would like to be able to see both instances I have running at the same IP also.