Rachio Smart Sprinkler Controller

I have this issue every time openhab restarts. I have to delete and recreate the thing every time to make it work again. At this point, I don’t even bother :confused:

I have similar issue, but interesting that it does not do it at each restart.

Hi @markus7017 . With the new 4.0 milestone out do you have any plans/time to update this binding to 4.0? It’s been solid for me for that last couple of years, but on 4.0 it won’t initialize the timer boxes or zones. They all get the following error:

2023-03-11 10:38:48.196 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.rachio.internal.handler.RachioDeviceHandler@7f35cae3': 'void org.openhab.core.library.types.DecimalType.<init>(long)'
java.lang.NoSuchMethodError: 'void org.openhab.core.library.types.DecimalType.<init>(long)'
	at org.openhab.binding.rachio.internal.handler.RachioDeviceHandler.postChannelData(RachioDeviceHandler.java:213) ~[?:?]
	at org.openhab.binding.rachio.internal.handler.RachioDeviceHandler.initialize(RachioDeviceHandler.java:94) ~[?:?]
	at jdk.internal.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:147) ~[?:?]
	at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]

I really like to do it, but lacking time since moth

Hello, I have updated to 4.0.m2. Binding works, bridge is online. All things are visible by the binding but it can not start:


Can you check it?

@markus7017 I spent some time this morning getting this to compile for 4.0.0 (and backwards compatible to 3.2.0). You’re welcome to grab the changes from my branch if you’d like…

This jar should work on any OH 3.2.0 through 4.0.0 for anyone who is looking for it.

https://github.com/morph166955/openhab-addons/releases/download/rachio/org.openhab.binding.rachio-4.0.0-SNAPSHOT-24320db.jar

Hello, Many thanks for sharing. I have planned to do it as well as I’d like to use rain sensor tripped channel and it was not working. I have 4.0.0.M2 and all Rachio things are online now. Many thanks for the support!

Hello,

I have started to work on this binding. I’m fixing open points like rain sensor feedback, and align it to 5.X versions. If you have any open points or request to change feel free to request.

Here you can find and test the new version of the binding:

If it works, I will work on to make it as official addon in Openhab.

Thanks for this! I’ve just recently ordered a Rachio Pro 16 but unfortunately won’t have it here for a couple weeks yet. Will definitely give this binding a thorough test and report back.

Cheers

Hello,

I’m continue to develop the binding. Now controllers, valves, and schdules are integtated as a thing. New Rachio products control is also in developing phase and I integrate them.
Jar is uploaded here: Release Rachio Binding for openHAB 5.1.1 – Development Build 18 Draft · kovacsi2899/openhab-addons · GitHub

Feel free to try and pls check readme. It contains upgades and instructions for set up.

Any issue, request, pls comment here and upload log if necessary. Security of the binding is also improved. Debug and trace logs will not contain personal information. All should masked out in the logs.

Hello,

Here is the next build:

New zone and controller items are implemented.

There are some more new features are coming till end of next week. Feel free to test. Especially if somebody has new smart sprinkler controller, hose timer, etc. These were also implemented in build 18.

Is the correct link for README.md https://github.com/kovacsi2899/openhab-addons/blob/rachio-on-oh5.1/bundles/org.openhab.binding.rachio/README.md?

Yes, that is the laest version. I need to review as several features are implemented in the last few days.

Pls use this version. Latest version is uploaded here. Readme is updated.

New version is published.

I used branch 21 to discover my new rachio pro controller, no issues discovering and setting up the bridge thing, as well as all configured zones. I’ve updated the version to branch 26 and no issues so far, although I haven’t tried to rediscovery my existing things/items.

Anything in particular you need tested?

Cheers

Many thanks for information! Just start to use the binding. You can start stop zones set watering time etc.

There is issue with naming convention what I started to implent for official binding compatibility. It causes issues with backward compatibility. I will fix it over the weekend and polulate a new version what will fix this one plus Jeff’s issues as well. Then I will continue to work on implementing it as official binding.

Will do, thx again for all the work on this.

Cheers

A quick observation. I’m adding channels to the zone things and in particular the ‘Moisture Percent’ channel returns undef for each of my zones. The channel seems to be of type number:dimensionless with metadata for unit = one.

I’ve tried resetting the metadata tag for unit = % but no change.

I’m assuming this should return the value of soil moisture as displayed in the Rachio app under each zone. Thoughts?

Do you have logs? If you switch rachio binding logging to debug mode and send it to me or copy here, I will fix it over the weekend. Earlier releases are not containig it. May be you can try and see what would be the result. But I would prefer some logs if possible.