tschamm / boschshc-hass

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

Support for Shutter-Control II #168

Open obstbauer88 opened 8 months ago

obstbauer88 commented 8 months ago

Hello there,

I am wondering, if you could add the support for the above mentioned type? Please let me know, if you need anything from my side, because I have attached them in my house. Or maybe I just did something wrong in my setup, because In #159 Moe555 mentioned that these shutter contacts should already work with the current implementation!?

Thanks & Br Obstbauer

jpawlowski commented 1 week ago

I wonder if support for Shutter Control II is still in the works.

I know it might be a little difficult because one device could be in two categories. Support for the (no longer new) shutter control part would be great. Is there anything I could help with?

I can see that https://github.com/tschamm/boschshcpy does mention Micromodule Shutter as being supported, so maybe there is just something small to be updated to show up in HA?

tschamm commented 1 week ago

Support should be available in the custom component. Maybe you can provide a rawscan of the devices, so we can check what's the issue.

jpawlowski commented 1 week ago

Bare with me, I am still new to HA: How do I perform a rawscan? Couldn't find anything from Google besides something related to a different Bosch integration for thermostats only.

tschamm commented 1 week ago

how to do a rawscan is documented here: https://github.com/tschamm/boschshcpy?tab=readme-ov-file#rawscans I would expect an output such as shown below for the Shutter modules.

{
        "@type": "device",
        "rootDeviceId": "xx-xx-xx-xx-xx-xx",
        "id": "hdm:HomeMaticIP:30xxx",
        "deviceServiceIds": [
            "Thermostat",
            "BatteryLevel",
            "ValveTappet",
            "SilentMode",
            "TemperatureLevel",
            "Linking",
            "TemperatureOffset"
        ],
        "manufacturer": "BOSCH",
        "roomId": "hz_8",
        "deviceModel": "TRV",
        "serial": "30xxx",
        "profile": "GENERIC",
        "name": "Test Thermostat",
        "status": "AVAILABLE",
        "parentDeviceId": "roomClimateControl_hz_8",
        "childDeviceIds": []
    },
jpawlowski commented 1 week ago

Thank you, Thomas!

This is what I was able to extract:

    {
        "@type": "device",
        "rootDeviceId": "64-da-a0-xx-xx-xx",
        "id": "hdm:ZigBee:70ac08xxxxxxxxxx",
        "deviceServiceIds": [
            "PowerMeter",
            "ShutterControl",
            "CommunicationQuality",
            "ChildProtection",
            "SwitchConfiguration"
        ],
        "manufacturer": "BOSCH",
        "roomId": "hz_14",
        "deviceModel": "MICROMODULE_SHUTTER",
        "serial": "70AC08xxxxxxxxxx",
        "profile": "GENERIC",
        "name": "Rollo",
        "status": "AVAILABLE",
        "childDeviceIds": [],
        "supportedProfiles": [],
        "installationTimestamp": 1697816236813
    },

The device is not offered by the HA integration.