EZRain or EZflora

106 views
Skip to first unread message

Jason M

unread,
Jul 20, 2015, 7:20:26 PM7/20/15
to ope...@googlegroups.com
Hello, I was just wondering if anyone already has the EZrain / EZflora already working with OpenHab? Would you be willing to share how you got it working?

I have spent some time trying to get it working. I am new to OpenHab but I have other devices working.
For me to start using OpenHab full time I need to get the sprinklers up an running.

Anyone have any idea on this?  On my other system, I just send the 0x40 On cmd and the valve I want to turn on 1-8

I am just looking for a simple turn valve 1 on,

I have added this device to my_own_device list as a generic switch and OpenHab can see it, but I am a little fuzzy on sending it the ON cmd and the valve number.

Any thoughts, direction, examples would be great to keep me moving forward with OpenHab

Thanks,

Jaaaay

unread,
Jul 22, 2015, 11:44:47 PM7/22/15
to openhab
Well It sounds like no one has this device up and running on OpenHab.. 

So.... Does anyone have some idea's on sending 2 cmd's?  Is this currently possible?







Bernd Pfrommer

unread,
Jul 23, 2015, 4:28:10 AM7/23/15
to openhab, jcmsol...@gmail.com
You seem to be the first person using this device with openhab.

The short answer is: valve control with openhab is currently not possible.

To control the valves you will need to modify the source code and implement a new command handler in the CommandHandler.java file, which sends a 0x40 message for Valve ON, and 0x41 for Valve OFF, plus the valve number (from an item config parameter) in cmd2.  That command handler then needs to be exposed as a feature in device_features.xml, which in turn can then be referenced in device_types.xml by your newly added sprinkler device.
Bottom line: you need to bring up the openhab dev environment to do it.

On a side note: I just installed opensprinkler at my house and really like it. It's not all that expensive and very powerful.

Jaaaay

unread,
Jul 23, 2015, 12:25:19 PM7/23/15
to openhab, bernd.p...@gmail.com
Thanks Bernd,

I was afraid you were going to say that.. :)

I will look at opensprinkler, but I would like try to stay with Insteon as it has lots of support in other home automation software. 
I really like all the bindings in OpenHab, so I will take a look and maybe attempt to bring up openhab in a dev environment.. 
Are there any resources for getting that setup?  not sure how far I will get, but I will review to see how complicated this would be to add.

Thanks again for the info

Bernd Pfrommer

unread,
Jul 24, 2015, 11:52:05 AM7/24/15
to openhab, jcmsol...@gmail.com
If you want to explore how the device responds to various messages you can try the insteon terminal, a small development tool that my son Daniel has developed. It's much easier to bring up than the full openhab IDE. Check it out at:


We use that tool first to figure out how a device responds, then code it up in java for openhab.

Jaaaay

unread,
Jul 25, 2015, 12:34:02 PM7/25/15
to openhab, bernd.p...@gmail.com
Thanks, I will take a look at that as well and let you know what I find.
Reply all
Reply to author
Forward
0 new messages