Spruce Irrigation System Driver


#1

Anyone have a driver for the Spruce Smart Irrigation system v2? Or know how to convert Spruce-SmartThings/spruce-connect.groovy at master · PlaidSystems/Spruce-SmartThings · GitHub for use with HE?


#2

Yes, someone has already ported that driver (covering all generations of the Spruce sensor) here: Spruce Zigbee Soil Moisture Sensors - driver needed?


#3

That's only the sensor... what about the controller


#4

Ah, I didn't honestly know that ST had an entire SmartApp to interface with the Controller. That I don't think anyone's done, but if you're not afraid of code, it might not be too hard to port (apps are usually easier than drivers)...


#5

I am not afraid of code...but I have never used groovy before, and my web development is pretty much non-existent. Maybe someone that is really bored wants to take a quick look and point me in a few directions? :slight_smile:


#6

I'd recommend find and replace and replacing "physicalgraph" with "hubitat", which might get you most of the way there. This thread has a bit more: App and driver porting to Hubitat

In a note not related to porting but which may cause problems if you don't: it does look like you'll have to enable Oauth on the Connect app, in the event you have never used SmartThings and aren't familiar with how that works (pretty easy and almost the same if you have).


#7

message spruce to bring it over officially. I have done so - many ST folk will be coming over with smartthings held up in running spruce still...