DeerMaximum / Technische-Alternative-CoE

Custom Home Assistant integration to read data from a C.M.I. via CoE
MIT License
11 stars 2 forks source link

Allow multiple instances #37

Closed DeerMaximum closed 10 months ago

DeerMaximum commented 10 months ago

fixes #36

Guenni9 commented 10 months ago

Thank you! But will it be possible to get e.g entity 1-32 from Node 10 and get entity 33-64 from Node 11 at the same CMI? It seems, the integration only supports up to 32a/32d entities. I tried to add another instance with the same IP of the CMI, but this doesn't work.

DeerMaximum commented 10 months ago

Currently, you would have to set up a second instance of the server and utilize the 32 slots per server/node. In the future, however, it will be possible to solve this with a single server instance.

Guenni9 commented 10 months ago

Thank you! But I can't setup a second instance with the same IP:Port as the automatically recognised CMI.: image Maybe I misunderstand something? Or is it only possible with two CMIs?

DeerMaximum commented 10 months ago

At the moment it is only possible with two C.M.I.s. But I am currently working on a solution to make it work with only one.