tschamm / boschshc-hass

Home Assistant component for accessing Bosch Smart Home Controller using boschshcpy python library.
Other
172 stars 27 forks source link

Integrate new product Bosch Universalschalter II #99

Closed Starcon79 closed 1 year ago

Starcon79 commented 1 year ago

Is it possible to include the new hardware "Universalschalter 2" in the integration? I added it to my controller and restarted the integration but I don't see the device.

Link: https://www.bosch-smarthome.com/de/de/produkte/bedienelemente-und-zubehoer/universalschalter/?gad=1&gclid=Cj0KCQjw1_SkBhDwARIsANbGpFuvbS5hVZSOHCKzD2qn9a6L0z_lJTiwbU6MTLVRKgJL-qFhGgYs_egaAi2MEALw_wcB

tschamm commented 1 year ago

Can you do a rawscan and report the details of the device here, then I can add it.

Starcon79 commented 1 year ago

I'll try it. Haven't done anything like this before. If there is a video tutorial then it is easier to understand.

glumanda commented 1 year ago

i use the twist and the "Universalschalter 2" without an integration in HA. For each function i define a scenario in bsh app without any action. Then i use this scenario as an automation trigger like in the following code snippet:

trigger:
  - platform: event
    event_type:  bosch_shc.event
    event_data:
        event_type: SCENARIO
        event_subtype: 'Hecke bewassern'

German Umlaute are mapped to corresponding "simple" letter. I hope it helps.

COLT9001 commented 1 year ago

Here once the rawscan

    {
        "@type": "device",
        "rootDeviceId": "64-da-a0-xx-xx-xx",
        "id": "hdm:ZigBee:001e5e0902xxxxxx",
        "deviceServiceIds": [
            "CommunicationQuality",
            "BatteryLevel",
            "Keypad"
        ],
        "manufacturer": "BOSCH",
        "roomId": "hz_6",
        "deviceModel": "SWITCH2",
        "serial": "001E5E0902xxxxxx",
        "profile": "GENERIC",
        "name": "SchalterCouch",
        "status": "AVAILABLE",
        "childDeviceIds": [],
        "supportedProfiles": []
    },

Here the manual to create a rawscan https://github.com/tschamm/boschshcpy#command-line-access-to-shc

COLT9001 commented 1 year ago

Tested the universal switch. Unfortunately, only the battery is displayed as entity. The keystroke is unfortunately missing.

tschamm commented 1 year ago

That’s correct. Create an automation and listen to events coming from the device, these should be available. HA has added the event entity just this month and I have not found the time to update the component.

COLT9001 commented 1 year ago

Hm, ok. Create a automation with trigger or event is also not possible. No key events or trigger can be found.....

dolodobendan commented 1 year ago

I don't see any new event entities for Bosch either, just for my hue switches.

AlexW75 commented 1 year ago

Same Problem here … can’t find a way to get the button press.

tschamm commented 1 year ago

see also #112

COLT9001 commented 1 year ago

Always the same... Only Battery is shown. No Button klick or anything else is visible for SWITCH2

AlexW75 commented 1 year ago

I have the buttons now working by listening to the events the button fires.

tschamm commented 1 year ago

That are good news! If something is missing, please reopen the issue.