Will there be a "Bosch Smart Home" binding?

@jptaszyk Please use our official issue tracker: Issues · stefan-kaestle/openhab2-addons (github.com) You can just open a new issue with your ideas and proposals :slight_smile:

1 Like

@d0whiletrue Could you try to install the v1.1 Release Candidate 1? The version you installed may only be compatible with openHAB 3.1 and is still in development. The v1.1 Release Candidate 1 is the version which will be released with the next version of openHAB.

Turns out all it needed was a good ol’ reboot.
Running on “v1.1 Test Version for #66” like a charm since 2 days on OH 3.0.2.
Thanks for all the great work and effort you guys put into this. Please don’t drop support.
Is there a way to identify wich climatecontrol should be added to a room since “roomClimateControl_hz_1” is not very descriptive?
Or just trial and error?

1 Like

Yes for now it is trial and error sadly.

Great to hear it works for you! :slight_smile:

The Climate Controls are virtual devices and their names are set by the Bosch system, so unfortunately we can not do anything about it.

1 Like

A solution would be here to provide not only the room names but also the room ID in the binding log. Because they all start with hz_# it is easy to recognize which Climate Controls belong to which room.
(This would also make the log consistent with devices where name and ID are shown)

1 Like

I have set up a couple of Bosch SH things and added opeHAB for extra functionality.
In case of an intrusion alarm the BSH controller already alerts my phone and sets off the outer siren. Is there a way for openHAB to know of the alarm so I can add some extra automations? So far there’s no alarm channel. I thought about creating a virtual HUE alarm light but didn’t have much luck setting it up - can’t even get the BSH controller paired with the HUE emulation. I don’t have an iPhone which rules out Homekit I think. And I’d like to avoid buying an extra plug which would do nothing but wait to be turned on during an alarm.
Any hints?

Is there a way for openHAB to know of the alarm so I can add some extra automations? So far there’s no alarm channel.

The Bosch Smart Home REST API seems to provide the alarm state (see https://apidocs.bosch-smarthome.com/local/#/States/get_intrusion_states_system).
The current openHAB Bosch Smart Home Binding code does not support the alarm state nor any information of the intrusion system. A code contribution would be necessary for this new feature.

Today I submitted a pull request that adds basic support for Bosch security cameras (indoor Security Camera 360 and outdoor Security Camera Eyes) :+1: I’d be happy to discuss a few details about the contribution in the code review.

@Wheeljack Probably there is a way to make the alarm state available in openHAB. I am considering to have a closer look at this once I find some free time, but I can’t guarantee anything.

3 Likes

Thanks a lot for at least considering.
I skimmed through some of the BHC code on github and took a look at the official Bosch API. I don’t see myself adding anything functional to the sources anytime soon. As for the API page… I’m not really sure if this is supposed to be interactively showing information from the Bosch bridge when I enter the IP address.

I added a feature request for the intrusion detection system and will experiment a bit. If I get anything to work I’ll let you know and contribute the code.

1 Like

I already managed to read the states of the intrusion detection system. This includes the system’s availability state, the arming state, the alarm state, incidents, the active configuration profile and a security gap state :+1: Next week I will test whether it is also possible to set some of the states.

2 Likes

In the mean time I managed to make the most important states settable and to receive state updates. I will do some code cleanup, write a few unit tests and write the documentation, and then I will create a pull request soon :+1:

EDIT: My first draft is available in this pull request now :sunglasses:

3 Likes

Sorry for not replying way sooner.
The alarm state is communicated perfectly to openHAB. The nightly intrusion detection setup will now additionally activate the Denon av receiver, set all zones to full blast and stream an alarm sound from the network storage.
THX a lot.

1 Like

I’m glad that it works for you :+1: Sounds like the intruder will have lots of fun with your sound system :rofl:

2 Likes

Has someone looked into the thermostat silent operation of the valve tappet (this is configureable because it comes with increased battery usage)? I think it would be nice to have a OH channel for this too.

Unfortunately so far there is no updated information available at https://apidocs.bosch-smarthome.com/local/

The new service is located /services/SilentMode/state and can be viewed via API.
I don’t know if its writeable too.

Default is:
{
@type”: “silentModeState”,
“mode”: “MODE_NORMAL”
}

After changing to silent mode via the BSH app it says:

{
@type”: “silentModeState”,
“mode”: “MODE_SILENT”
}

1 Like

Hi @jensflorian, thanks for providing the details. Are you using a first generation thermostat or a Thermostat II? Where exactly do you set the silent mode in the Bosch Smart Home app?

Could you please create a github issue at Issues · openhab/openhab-addons · GitHub with the enhancement label, providing the JSON messages and the info which thermostat model you are using? You can assign me (david-pace) to that issue. Thank you :slightly_smiling_face:

EDIT: I saw that you have created an issue for that here already. We are in the process of moving all issues from this personal repository to the official openhab-addons repository. So please re-create the issue in openhab/openhab-addons as described above and close the one in stefan-kaestle/openhab2-addons.

EDIT 2: nevermind, I moved it to [boschshc] Support for Thermostat SilentMode · Issue #14779 · openhab/openhab-addons · GitHub and I’m on it :+1:

EDIT 3: this is now merged and will be available in the next openHAB release :+1:

2 Likes

Hello everyone, unfortunately, after the last update of my Bosch Smart Home Controller, I can no longer connect to my OpenHAB system. In OpenHAB, my bridge remains in “Unknown” status with the message “Please press the button on the BSH controller for automatic connection.” I have already pressed the button multiple times and have also restarted the systems several times, but without success. The BSH controller simply won’t connect to OpenHAB.

I noticed that in the BSH app, under “Mobile Devices,” the read permissions for OpenHAB are restricted. Unfortunately, I am unable to change the permissions as any changes made are reset to read-only after a few minutes.

Today, software version 10.16.2982-28962 was installed, and it is the Smart Controller of version 1.0.

Any Idea? Many thanks in advance!

// Small addition: Updating OpenHAB to version 3.4.4 unfortunately did not help.

Currently I can just confirm that I have the same issue with my OpenHAB system and Bosch SmartHome Controller after todays update.
In the logs I get this error

[ernal.devices.bridge.BoschHttpClient] - Pairing failed with exception null

A breaking API change was announced and the main branch contains already a fix, see [boschshc] Upgrade to REST API version 3.2 · Issue #15053 · openhab/openhab-addons · GitHub.

Update:
The 3.4.x branch contains the fix
The 3.4.4 tag does not contain the fix

I have no information when a new 3.4.x version will released. @laursen Do you know more?

1 Like

Same here - on 3.4.4 after the update OH is not connecting anymore to the Bosch Smart Home Controller.

Rgds
Reinhard

1 Like