openhab / openhab-addons

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

[boschshc] Support for Universal Switch II #16244

Closed wwinandy closed 8 months ago

wwinandy commented 9 months ago

Hello,

i bought a Universal Switch II. When i made a Scan it didn't apear and in the openhab logs there was no "Added new thing".

I am using openhab Version 4.1.0 Release and Bosch Smart Home Controller II.

Would appreciate for extension of boschshc binding with new devices from Bosch Smart Home, Winfried

david-pace commented 8 months ago

Hi @wwinandy and @mike-bike, I managed to finish an implementation for Universal Switch I + II. It works well with my Universal Switch II, but I don't own an old Universal Switch, so I can't verify the functionality of the older device. If you could help me testing with any of the two devices, it would be great :+1:

Some things to notice in advance:

The test JAR is available here.

Testing process:

Let me know if you run into any problems or have any questions. The JAR was built using the latest openHAB state (main branch). It should work with openHAB 4.1.1 but I'm not 100% sure. Please let me know if it doesn't, then I can try to rebase on an older state which is closer to 4.1.1.

mike-bike commented 8 months ago

Sorry I don’t own a universal switch. Neither I or II. I join with dimmer and roller shutter / light switch II 😀 Gruß Michael