PatchworkBoy / homebridge-edomoticz

Domoticz Homebridge-Plugin
Other
118 stars 44 forks source link

2nd television device shows channels of 1st device #214

Closed sander1988 closed 1 year ago

sander1988 commented 3 years ago

Today I added a 2nd television to my setup. I noticed an issue: The channels of the 2nd television device show the channels of the 1st television (on the iOS device) instead of it's own.

Please give me some time to create a fix. I will create a pull request when it's ready.

sander1988 commented 3 years ago

Cause found: I assumed the hwType field contained an unique value (id) for each hardware device. But it seems to have always value 94 (https://github.com/domoticz/domoticz/blob/master/main/RFXNames.h#L191). I will look if it's possible to add the hwId field to the eDomoticzAccessory class and use that one.

sander1988 commented 3 years ago

Issue resolved. A merge request has been created.

I also saw another issue where the TV source can get out of sync with Domoticz. It was cached by a cache bug. This is issue has also been resolved in this merge request.

PatchworkBoy commented 1 year ago

I believe all issues relating to TVs etc are now resolved and merged in... closing.