[WIP] New Grünbeck Cloud Binding

Sorry, I did not have time to continue working on the binding. It basically works with OH3 but loses connection to the softener on a regular basis. Feel free to contribute, if you want to.

did you tested allready?

Hello, i have OH3 and a Grünbeck SD21.
Can i have a .jar file to work on OH3
Thank you

Send me the file please to

The JAR File could be downloaded via https://github.com/dsgrafiniert/openhab-addons/releases/download/refs%2Fheads%2Fdev%2Foh30-gruenbeckcloud/org.openhab.binding.gruenbeckcloud-3.1.0-SNAPSHOT.jar

Contributions are welcome: GitHub - dsgrafiniert/openhab-addons: Add-ons for openHAB

hello, thank you for the binding.
I installed the binding. bridge and softener shows me online.
unfortunately, I do not get any values.
zero for all channels.
what can I do?

Hi,

i have installed the binding and added bridge and Thing.

but get following Error in the log

any idea ?

thanks
Thomas

2021-09-08 10:56:54.501 [INFO ] [.handler.GruenbeckCloudBridgeHandler] - Start getDeviceInformation

2021-09-08 10:56:54.560 [ERROR] [.handler.GruenbeckCloudBridgeHandler] - error during negotiateWS [Ljava.lang.StackTraceElement;@349b2806

2021-09-08 10:56:54.561 [INFO ] [.handler.GruenbeckCloudBridgeHandler] - lastUpdate at least 60 sec ago. Entering Realtime again

2021-09-08 10:56:54.561 [INFO ] [.handler.GruenbeckCloudBridgeHandler] - enterRealtime

2021-09-08 10:56:54.586 [INFO ] [.handler.GruenbeckCloudBridgeHandler] - Start refreshToken

2021-09-08 10:56:54.822 [INFO ] [.handler.GruenbeckCloudBridgeHandler] - refeshRealtime // heartbeat

2021-09-08 10:56:54.849 [INFO ] [.handler.GruenbeckCloudBridgeHandler] - Start refreshToken

Having the same issue.
Getting thing information from: https://prod-eu-gruenbeck-api.azurewebsites.net/api/devices/softliQ.D/BS5000xxxx Where BS5000xxxx is the softnerid x’es is replaced digits

Hello,
does de Binding work by anyone ?

Greets Stephan

Jupp - same Issue -
With the link SMadsen provided you can retrieve the data in a browserwindow however when adding the information to the binding it is not working
A pitty …

Hi,

Is there any other option to make this work?
I have an SC18 and I#m even not sure what the correct SoftenerID might be.

BR
/Franz

Hello together,

I have a softlinQ:MD32.
After many tests I finally got the JSON log to my device.
The first problem was that my serial number starts with BM4000 instead of BM5000.

The devices MD32 and larger do not have a web interface and I think the JSON is also set up differently because all channels/items have the value NULL.

I attached the JSON file.
BM4000XXXX.json (1.1 KB)

The content looks like this:

hardwareVersion	"00000003"
lastService	"2022-03-08"
mode	2
nextRegeneration	"2023-01-06T18:00:00"
nominalFlow	3.2
rawWater	10
softWater	3
softwareVersion	"0002.0047"
errors	
0	
isResolved	true
date	"2022-11-02T09:01:15.483"
message	"Antriebsstörung Steuerventil Regeneration"
type	"error"
1	
isResolved	true
date	"2022-05-05T08:00:15.993"
message	"Salzvorrat gering"
type	"warning"
2	
isResolved	true
date	"2022-04-08T15:55:06.512"
message	"Salzvorrat gering"
type	"warning"
3	
isResolved	true
date	"2022-03-10T05:23:33.789"
message	"Salzvorrat gering"
type	"warning"
4	
isResolved	true
date	"2022-03-09T20:40:52.489"
message	"Salzvorrat gering"
type	"warning"
salt	
0	
date	"2023-01-05"
value	120
1	
date	"2023-01-04"
value	25
2	
date	"2023-01-03"
value	122
timeZone	"+01:00"
water	
0	
date	"2023-01-05"
value	229
1	
date	"2023-01-04"
value	335
2	
date	"2023-01-03"
value	210
unit	1
startup	"2019-12-21"
type	11
hasError	false
id	"softliQ.D/BM4000XXXX"
series	"softliQ.D"
serialNumber	"BM4000XXXX"
name	"SoftliQ MD32"
register	true

Can someone help me so that I can get some data into my OH.
(salt stock, error yes/no, current error, raw water, soft water, next service)

Thanks and regards
Florian

Hi Franz,

Unfortunately I wasn’t able either to have the binding working. I found a way to get the data from my Grünbeck SD18 into openHAB using ioBroker and an MQTT broker. I have summed up the steps I did here. Maybe this can help you or anyone else.

BR,
Gilbert

Hi.
Great seeing your initiative to integrate Gruenbeck Cloud into openHAB.
Is there any chance to get the (3.1.x) binding running on openHab 4?
Thanks and kind regards,
Ralph…

Hi,
I have created a fully functional Gruenbeck cloud binding for myself.
You can check it out in my repository. It works now without any problems:

However, I will not build any jars at the moment, nor do I plan to commit it to the official openhab repository (to much work).
If you want to use it, check it out and build it on your local machine. Read the documentation for more information.

For myself I visualize it with habpanel:

If you find any bugs, feel free to report them, but I cannot guarantee to fix them ASAP.
Cheers and have fun!

2 Likes

Hello Mario,

this sounds very good, some of us are waiting a long time for this integration, thank you.

Im no programmer (max. a hobby-programmer), so i dont know how i build a jar on my local machine ?
Can you give me a hint how i can handle your work for me ?

Thx Stephan

Heya Stephan,
try to follow the following instructions: Developer Guide | openHAB

After you done that go to step 3 of Develop a NEW binding and enter:

mvn spotless:apply clean install -pl org.openhab.binding.gruenbeckcloud -DskipChecks

Tell me if it doesn’t work.

Hi,
I checked out your binding and built it. While it finished with an error, i could compile a jar file. If I add this to /usr/share/openhab/addons it shows in the console’s bundle list as active, but it doesn’t show up in the UI. Any advice?

The error while building was the following

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  22.646 s
[INFO] Finished at: 2024-09-11T08:36:50+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.4.4:verify (karaf-feature-verification) on project org.openhab.binding.gruenbeckcloud: Feature resolution failed for [openhab-binding-gruenbeckcloud/4.2.0.SNAPSHOT]
[ERROR] Message: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-binding-gruenbeckcloud; type=karaf.feature; version=4.2.0.SNAPSHOT; filter:="(&(osgi.identity=openhab-binding-gruenbeckcloud)(type=karaf.feature)(version>=4.2.0.SNAPSHOT))" [caused by: Unable to resolve openhab-binding-gruenbeckcloud/4.2.0.SNAPSHOT: missing requirement [openhab-binding-gruenbeckcloud/4.2.0.SNAPSHOT] osgi.identity; osgi.identity=openhab-runtime-base; type=karaf.feature [caused by: Unable to resolve openhab-runtime-base/4.2.0.SNAPSHOT: missing requirement [openhab-runtime-base/4.2.0.SNAPSHOT] osgi.identity; osgi.identity=openhab-core-model-item; type=karaf.feature [caused by: Unable to resolve openhab-core-model-item/4.2.0.SNAPSHOT: missing requirement [openhab-core-model-item/4.2.0.SNAPSHOT] osgi.identity; osgi.identity=org.openhab.core.model.item; type=osgi.bundle; version="[4.2.0.202407070308,4.2.0.202407070308]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.model.item/4.2.0.202407070308: missing requirement [org.openhab.core.model.item/4.2.0.202407070308] osgi.wiring.bundle; osgi.wiring.bundle=org.eclipse.xtext.common.types; filter:="(osgi.wiring.bundle=org.eclipse.xtext.common.types)" [caused by: Unable to resolve org.eclipse.xtext.common.types/2.35.0.v20240528-1523: missing requirement [org.eclipse.xtext.common.types/2.35.0.v20240528-1523] osgi.wiring.bundle; osgi.wiring.bundle=org.objectweb.asm; bundle-version="[9.7.0,9.8.0)"; filter:="(&(osgi.wiring.bundle=org.objectweb.asm)(bundle-version>=9.7.0)(!(bundle-version>=9.8.0)))"]]]]]

Skipping the karaf checks while building gets rid of the error but yields the same jar file

Hi!

Yes, it is possible that it does not work with the release of OH 4.2, I build and tested it with OH 4.1 while compiling against OH 4.2 Snapshot and since I have not updated it to OH 4.2 (release) yet, it is possible that some requirements are not met anymore or even changed.
At the moment I plan to update to newer OH versions in December (unfortunately I don’t have time at the moment).

If you checked out my branch from my repository, compiled it and use it with OH 4.1 it should work fine. If you have OH 4.2 I cannot provide any help at the moment.

If you see exceptions in the oh log, you could provide them.

Update: Yeah, I just saw that there are dependencies missing, since it was build on a snapshot base. I will check if I can upload the jar anywhere.