[WIP] New Grünbeck Cloud Binding

Hi, i’m running OH4.2, maybe it’s a compatibility issue (although that never happened to any external jars before).
I tried building it against the 4.2.x branch, this time there was no error in the karaf-check, but the binding isn’t displayed at the UI nonetheless. It shows up fine on the openhab console.

It’s possibly a minor bug that it doesn’t show up, but I don’t have any experience developing and debugging osgi bundles.

Hi,
I uploaded the precompiled jar. You can try if that one works.

Cheers,

Thanks for the jar, looks identical to my build.

Unfortunately, it still doesn’t show up in the UI. I tried shutting openhab down and cleaning the cache, but to no avail.

I had the older plugin installed but didn’t get it to work, I don’t know wether this is a factor?

What do you see in the logs?
You could try and set the logs for the binding to debug or even trace.

The problem here is, i can’t even set the log via the ui, since it is missing in it’s entirety. if i start/stop the bundle via the console, it doesn’t produce any output. starting and stopping works fine

234 │ Active │  80 │ 4.2.0.202312242215    │ openHAB Add-ons :: Bundles :: GruenbeckCloud Binding

Hm, set it to debug, maybe you will see something?
That’s odd…

Even though you don’t see it on the ui, you could try if you can create a thing via text config. The readme provides an example. I normally use text config.

The <serial> can be found in the app under ‘Registration’. Normally something like ‘BS…’.
Hence, the serial number is used multiple times.

Bridge gruenbeckcloud:bridge:<anId> "Grünbeck Cloud" [ email="<appMail>", password="<appPw>", refreshPeriod=60 ] {
	Thing softener <serial> "softliQ:SD21" [ name="SoftliQ SD21", id="softliQ.D/<serial>", serialNumber="<serial>", series="softliQ.D", saltCapacity=25000 ]
}

I added the thing and it shows up as “online”, the channels show up, looks good so far. But if I add some items, it logs an exception

 Cannot inform the listener "org.openhab.core.thing.internal.ChannelLinkNotifier@74143981" about the "ADDED" event: Cannot invoke "org.openhab.binding.gruenbeckcloud.internal.api.model.DeviceStatistic.getSalt()" because "deviceStatistic" is null

I own a SD18

P.S.: All item values are null

Had a typo with the serial number, but now it seems to run!!! Thanks for the support. Now I have to figure out all the channels haha

Glad to hear!
The channels should be visible on the thing (possibly advanced). I have given them a reasonably suitable description in the readme.

I personally use the following:

Remaining Capacity: softenerSoftWaterExchangerCapacity1 / softenerResidualCapacity1

Next Reg: softenerNextRegeneration

Reg active:  softenerRegenerationActive
  Current status: softenerRegenerationProgressDescription
  Progress: (softenerRegenerationStatus) * 100

Operation Mode: softenerOperationMode (R/W)
Request Reg: softenerRequestRegeneration (W)

And salt and water usage for statistics.

Hello.

Thanks for the great binding, just replaced my iobroker-solution by this binding and everything seems to work fine.
Just one thing:

What unit for water hardness do you use?
I configured my SD21 to use unit “ppm” but the values I’m getting in channels gruenbeckcloud:softener:12345:BSXXXXXXXX:psetsoft and gruenbeckcloud:softener:12345:BSXXXXXXXX:prawhard
still come in unit “°dH” (values: 6 and 20) no matter what unit is configured in the softener.

When I look into the gruenbeck app on my cell phone I correctly see these values in ppm (values 356 and 106.8).

Any idea on as to what may be the cause for this (and how to fix it) is highly appreciated!

Thanks and kind regards,
Ralph…

my thing file:

Number:Dimensionless   gruenbeckSoftWater   "Wasserhärte Weichwasser [%.2f %unit%]"   {channel="gruenbeckcloud:softener:12345:BSXXXXXXXX:psetsoft", unit="ppm"}
Number:Dimensionless   gruenbeckRawWater    "Wasserhärte Rohwasser [%.2f %unit%]"     {channel="gruenbeckcloud:softener:12345:BSXXXXXXXX:prawhard", unit="ppm"}

The values as shown in my openhab widget:

The values as shown in the gruenbeck app on my cell phone:

Hello,
the values are simple numbers without any unit.
The unit implicitly provided by the API is: °dH
If you want to convert it, you will have to do it manually, see: Hardness convertor

6°dH is around 107ppm.
The formula is: ppm = °dH x 17.848

The unites provided by the api are documented in the README.MD

Thanks for the jar.
In my case, the series “softliQ.C” is not supported (SC18).
Is there a possibility to get my SC18 works ?

Thx Stephan

Sorry, SC18 uses a different protocol and api. This binding cannot support that.

Fixed a little bug.

The fix is contained in the 4.3.3-SNAPSHOT.jar.

1 Like

Hey everyone,

…it works!!!
I have a Grünbeck softliQ:MD32 and the data is being transferred.
Thanks to everyone who made this possible.

Best regards,
Florian

1 Like