Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[boschshc] Support for Dimmer #16241

Closed
mike-bike opened this issue Jan 8, 2024 · 6 comments · Fixed by #16501
Closed

[boschshc] Support for Dimmer #16241

mike-bike opened this issue Jan 8, 2024 · 6 comments · Fixed by #16501
Assignees
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@mike-bike
Copy link

Hi,

my feature request to implement support for the new Bosch Dimmer device (https://www.bosch-smarthome.com/uk/en/products/devices/dimmer/)

I am offering test and analysis support on a PI2 with current openHABian 4.1.

Many thanks for your great effort and support.

Regards,
Michael

@mike-bike mike-bike added the enhancement An enhancement or new feature for an existing add-on label Jan 8, 2024
@david-pace david-pace changed the title [boschshc] Feature request supporting Dimmer [boschshc] Support for Bosch Smart Home Dimmer Jan 8, 2024
@david-pace david-pace changed the title [boschshc] Support for Bosch Smart Home Dimmer [boschshc] Support for Dimmer Jan 8, 2024
@mike-bike
Copy link
Author

mike-bike commented Jan 11, 2024

Hi all, this is the result from a freshly installed dimmer module - not sure if that helps:

First long poll response before stopping/starting the bridge thing:
2024-01-11 19:25:29.342 [DEBUG] [.internal.devices.bridge.LongPolling] - Long poll response: {"result":[{"rootDeviceId":"64-da-a0-10-83-a7","serial":"60B647FFFE14A1E1","@type":"device","supportedProfiles":[],"profile":"GENERIC","name":"DimmerMM_60b647fffe14a1e1","deviceModel":"MICROMODULE_DIMMER","id":"hdm:ZigBee:60b647fffe14a1e1","deviceServiceIds":["CommunicationQuality","PowerSwitch","ChildProtection","ElectricalFaults","MultiLevelSwitch","DimmerConfiguration","SwitchConfiguration"],"childDeviceIds":[],"manufacturer":"BOSCH","status":"UNDEFINED"}],"jsonrpc":"2.0"}

Forced discovery with pause / unpause bridge thing:
2024-01-11 20:34:31.545 [DEBUG] [rnal.discovery.ThingDiscoveryService] - Found device: name=Dimmertest id=hdm:ZigBee:60b647xxxxxxxxx 2024-01-11 20:34:31.547 [DEBUG] [rnal.discovery.ThingDiscoveryService] - .... service: CommunicationQuality 2024-01-11 20:34:31.548 [DEBUG] [rnal.discovery.ThingDiscoveryService] - .... service: PowerSwitch 2024-01-11 20:34:31.549 [DEBUG] [rnal.discovery.ThingDiscoveryService] - .... service: ChildProtection 2024-01-11 20:34:31.551 [DEBUG] [rnal.discovery.ThingDiscoveryService] - .... service: ElectricalFaults 2024-01-11 20:34:31.552 [DEBUG] [rnal.discovery.ThingDiscoveryService] - .... service: MultiLevelSwitch 2024-01-11 20:34:31.553 [DEBUG] [rnal.discovery.ThingDiscoveryService] - .... service: DimmerConfiguration 2024-01-11 20:34:31.554 [DEBUG] [rnal.discovery.ThingDiscoveryService] - .... service: SwitchConfiguration

2024-01-11 20:34:32.037 [DEBUG] [rnal.discovery.ThingDiscoveryService] - Unknown deviceModel 'MICROMODULE_DIMMER'! Please create a support request issue for this unknown device model.

After that I have not observed any further long poll responses from the device... Could they be filtered because of unknown device?

@david-pace david-pace self-assigned this Mar 7, 2024
@david-pace
Copy link
Member

Hi @mike-bike, I implemented a first version with support for Bosch Smart Home Dimmers. It supports the channels

  • power-switch
  • brightness
  • signal-strength (communication quality)
  • child-protection

Here is a link to the Test JAR.

It would be great if you could give me some feedback whether this works with your dimmer. Thanks in advance 👍

@mike-bike
Copy link
Author

mike-bike commented Mar 7, 2024 via email

@mike-bike
Copy link
Author

Hi @david-pace, downloaded JAR and did a quick test. Dimmer device has been automatically identified and thing placed into inbox. All channels seem to be working fine.

Minor observation: Dimmer Device shows the Bosch Room as Location property in the thing. Seems to be a new feature. However, it does not get any updates. In the Bosch app I have moved the device into a new room, but the change is not reflected in the Thing - even a OpenHAB restart does not force an update...
I'd suggest removing that property if updates are not coming through.

Anyway: Great work again! MANY THANKS for your continuous effort.

Let me know, if I could do anything else.

Regards,
Michael

@david-pace david-pace added PR pending There is a pull request for resolving the issue awaiting other PR Depends on another PR labels Mar 9, 2024
@david-pace david-pace removed PR pending There is a pull request for resolving the issue awaiting other PR Depends on another PR labels Apr 1, 2024
@mike-bike
Copy link
Author

Hi @david-pace, what does the new status mean to the code? Is this feature now included into the daily snapshots of the openHAB i.e. 4.2.0-SNAPSHOT?

Thanks,
Michael

@david-pace
Copy link
Member

david-pace commented Apr 1, 2024

Hi @mike-bike, yes this is correct. The Dimmer support (as well as the Light/Shutter Control II support) will soon be included in the SNAPSHOT version of openHAB, currently 4.2.0-SNAPSHOT 😎 It will also be included in the next Milestone Build (4.2.0.M2).

I extracted a new Github issue for the location property problem you described.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants