Home Connect binding

Not sure. Just wrote a PM to Kai to verify it. My Pull request is waiting for reviewers (23 days till now).
:frowning:

any update?

Too late. Deadline was 8.12.

That’s a shame. And to be honest a little disappointment. Not by the developers of this binding but by the aprovers of Bindings. Anyway I think we are all just humans and they also have a lot on their plate and in the end Christmas is just around the door. Let’s just hope for the next 1.5.x release to include this great binding!

1 Like

Waiting for 23 days on feedback, but missed deadline about 2 days? Weird!!

Fixed. Will upload a new release in a couple of hours. Thanks for the hint.

@jb4711: Brief Status after having updated to your last version from 2019/11/25.

The good: Everythins seems to work, no real errors so far.

The strange 1: Got some warnings in the openhab log:

2019-12-15 14:32:50.924 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler HomeConnectDishwasherHandler of thing homeconnect:Dishwasher:BOSCH-SMV88TX36E-68A40E075026 tried updating channel remaining_program_time_state although the handler was already disposed.
2019-12-15 14:32:50.929 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler HomeConnectDishwasherHandler of thing homeconnect:Dishwasher:BOSCH-SMV88TX36E-68A40E075026 tried updating channel program_progress_state although the handler was already disposed.
2019-12-15 14:32:50.934 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler HomeConnectDishwasherHandler of thing homeconnect:Dishwasher:BOSCH-SMV88TX36E-68A40E075026 tried updating channel active_program_state although the handler was already disposed.
2019-12-15 14:32:51.712 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler HomeConnectHoodHandler of thing homeconnect:Hood:BOSCH-DWK97JR20-68A40E086D37 tried updating channel active_program_state although the handler was already disposed.
2019-12-15 14:32:51.717 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler HomeConnectHoodHandler of thing homeconnect:Hood:BOSCH-DWK97JR20-68A40E086D37 tried updating channel hood_intensive_level although the handler was already disposed.
2019-12-15 14:32:51.722 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler HomeConnectHoodHandler of thing homeconnect:Hood:BOSCH-DWK97JR20-68A40E086D37 tried updating channel hood_venting_level although the handler was already disposed.

The strange 2: The log file (“myopenhabianpi”:8080/homeconnectlog) was not found anymore

The wish (as before): It would be great if I could change the cooling program for my refrigerator. This item is not available in the current binding.

Thanks
Thomas

Hi Thomas,

Will have a look I also have suche messages.

You can find it under /homeconnectlogs. Documentation was wrong. I fixed it.

Can you please send me a your log from /homeconnectlogs? I will try to do some research on this one.

Thanks,
Jonas

Jonas,

thanks for the quick answer!

Log enclosed.

Best

Thomas

Hi guys,

thanks for the great addOn!!
I have the following HW: Dryer SIEMENS-WT47XM40

I just switched to the newest version from 15.12.2019 (today) because my dryer was offline. The homconnect app for android worked fine.

Now its back online, but I observe some issues:

  • Trockner Drying Target has strange value. In the version before it looked correct.
  • The door status is not shown in sitemap. That was already wrong in old version.

If I can help to fix it. You are welcome. Here my config view:

And my sitemap:

Can you please provide your exported log and I will have a look.
http(s)://[YOUROPENHAB]:[YOURPORT]/homeconnectlogs (e.g. http://192.168.178.100:8080/homeconnectlogs)

Hi Jonas,

sure! Attached you find the complete log.
I changed to new binding version Sunday 15.12 at arround 17:50.

2019-12-16_18_46.zip.txt (44.6 KB)

Hello guys,

first of all thank you for your work on this binding. I am new in openhab (my first post) and I am trying connect my Bosch home appliance with openhab (oven, dishwasher). OpenHab itself runs on my local Raspberry Pi. Unfortunately, I don’t see Home Connect in my list of bindings :frowning: I’m going via BasicUI, Configuration/Bindings/(I click to “+”). I am redirecting to Add-ons where I choose bindings but no Home connect.

I found Miele Binding, but no bosch. Can you help me with this? I tried to google same issues the only one answer I got is to clean cache what I did but no luck

Any advices? I am following github manual. https://github.com/bruestel/org.openhab.binding.homeconnect/tree/prepare-release/bundles/org.openhab.binding.homeconnect

@majusenko

Its not officially part of openHab yet. You need to download the JAR file and but it in the addon folder.
Than you see it in the bindings. Follow carefully the steps described in github… There are some steps to go until it works.
Here the location on my system:

[12:54:59] openhabian@openhab:~$ cd /usr/share/openhab2/addons/
[12:55:21] openhabian@openhab:/usr/share/openhab2/addons$ ls
org.openhab.binding.homeconnect-2.5.0.201912151401.jar  README

Dear HomeConnect-Binding-Users,

Great that the binding offers a 2.5 version!

  1. Unforturnately after calling myip:8080/homeconnect the website tells me that no bridge was detected and I should add my thing manually. In the PaperUI I can see my HomeConnect API bridge - anyone got the same issue?

  2. The auth method to pick when registering your app on the home connect developer site varies in the documentation in the bindings github repo readme files - which one to pick?

  3. Is there a documentation availabe to use the simulator instead of real devices? If so where do I find it?

UPDATE: I found some docs here: https://github.com/bruestel/org.openhab.binding.homeconnect/tree/master/addons/binding/org.openhab.binding.homeconnect

I want to use the bridge with the home connect simulator. I put the client ID of the home connect default app in the related field of the openHAB home connect client bridge and let the other fields empty. Moreover I activated the “use simulator” option. The result after saving the thing was, that I got a reply from the server, that I should use an email adress and a password “password” to authorize?

Thanks in advance for your reply.

Best regards,
Jochen

Hi @Jochen_Bauer,

Current code base and documentation can be found at https://github.com/bruestel/org.openhab.binding.homeconnect/tree/prepare-release/bundles/org.openhab.binding.homeconnect

Master branch is not up-to-date.

Current snapshot download
2019/12/15
Download: org.openhab.binding.homeconnect-2.5.0.201912151401.jar

That’s correct. Just put anything into the email field. And password as password.
You can control the simulated devices at Log in | Home Connect Developer Program

Greetings,
Jonas

Thanks @jb4711 for your reply.

Unfortunately your hints won’t help me much, because

  1. I got the code shown in PaperUI as a communication error in the status, so there is no chance for me to type in anything.
  2. My bridge is not “online” and I do not know what the error message means “No Home Connect bridge found. Please manually add ‘Home Connect API’ bridge and authorize it here.” shown as a response after calling “myip.8080/homeconnect”.

Thanks in advance for your replies.

Best regards,
Jochen

Can you please try to remove and add the Home Connect API thing again.

Which version of openHAB are you using?
Which addon version are you using?

Hi @jb4711 Jonas,

i have issues again, but now not related to the API bridge, which is up an successfully running. My cooktop is announced as offline, even though it was successfully recognized by the autodiscovery. I tried both, the PaperUI and the file based installation. Weeks ago I got it working but suddenly it stopped. During winter holidays I was too lazy to figure the reason out but now I would like to find the reason. Could you please help me to debug it?

Here is the logfile after initialization (used latest binding jar file from December):
[deleted binding log](3.1 KB)
[deleted openhab log](1.1 KB)

Thank you,
Ralf

P.S.: forgot to mention that by using the Android HomeConnect App everything is successfully recognized

Hi guys,

I am trying homeconnect binding and I am unable to start my oven with examples from binding (https://github.com/bruestel/org.openhab.binding.homeconnect/tree/prepare-release/bundles/org.openhab.binding.homeconnect)… I am trying to do everything manually via config files not via paperUI. I setup bridge via config file and I saw my things in paperUI (I did them via config but it’s visible via PaperUI as well).

My thing file is
Bridge homeconnect:api_bridge:simulator_api_bridge "Home Connect API (From Config)" [ clientId="myClientID", clientSecret="myClientSecret", simulator=false] { Thing oven oven1 "OvenKitchen" [haId="BOSCH-HSG636XS6-68A40E2AB638"] }

In example with items file for dishwasher states:

Switch DishwasherSimulator_PowerState "Power State" {channel="homeconnect:dishwasher:dishwasher1:power_state"}

So I adjusted this simple command to my oven like "homeconnect:oven:oven1:door_state" but it didn’t work. I tried several setup and thanks to paperUI I found the solution. In PaperUI I found my thing and items like on the picture:

So I tried to make new definition of my item in config to same channel as in PaperUI (different from example):

Switch Oven_PowerState "Oven Power state" {channel="homeconnect:oven:simulator_api_bridge:oven1:power_state"}

My question is - What am I doing wrong when I am not able to start the oven via example:

{channel="homeconnect:dishwasher:dishwasher1:power_state"} but my it works via {channel=“homeconnect:oven:simulator_api_bridge:oven1:power_state”}`?

Or is it typo in examples of binding?

EDIT: In implementation I found another error. In doc states that the channel ID for temperature is:
current_cavity_temperature but in reality it’s oven_current_cavity_temperature. Is there any standard way how to create bugs on the binding?

Thanks!

M.