openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.85k stars 3.56k forks source link

[hyperion] Handle multiple hardware instances #13072

Open feuerwasser85 opened 2 years ago

feuerwasser85 commented 2 years ago

At the current version the hyperion binding can only handle instance 0 which is not practical if you have a hyperion setup handling multiple hardware instances. The only solution if i'm right is setting up API handling manual since you can not specify an instance number via binding. Also hyperion is not having an API instance number handling so you have to switch the instance before every command in the same request. See https://docs.hyperion-project.org/de/json/Control.html#handhabung-der-api-instanz Thats why also the http binding can not handle API requests getting sent to instances >0 if i'm correct. In my opinion the bridge/client architecture in Openhab is perfect for dealing with bridge:hyperion, client:wled1, client:wled2, client:serial0 for example. So please make the binding work for easy and practicle instance handling.

Your Environment

Synology DS920+ with Openhab 3 latest stable 3.3 docker running in host mode Hyperion NG 2.0.13 in Hyperbian on RPi4 5x WLED 13.0.1 on Wemos D1 mini

bananajoe86 commented 6 months ago

Bringing up this topic again. Can somebody look to the binding an implement multiple instances? Gruß Joe

olemr commented 3 months ago

I second this request.