EDIT: This is no longer being actively worked on because there’s a more complete integration available for GrowCube (I created a full Elecrow GrowCube integration) which you should use instead.
It’s early stages yet but I’ve implemented reading the current sensor values from the system.
I’m confident I’ll be able to get watering controls working as well but before then I’d like to see if this version works on anyone else’s setup!
The python module and CLI I’ve written is also available on PyPi as pygrowcube: pip install pygrowcube
Help Needed
If you’ve got a GrowCube and are able to give the module a try I’d be really grateful to know if it works and help debug etc.
One thing that would be really useful is to know if the device identifier returned by GrowCube is unique per individual device or just for this model. If you get it installed via Home Assistant this is visible as the device name if you click on your GrowCube Device. On my system it’s GrowCube 4063809. Please let me know if yours is the same or different
Hi, how did you manage to set it’s IP address without knowing how to identify it on your network? I can find no Mac address in the GrowCube app so I can’t tell which device on my network is the cube… Any ideas?
Edit: Got it by shutting off the cube and seeing which device went offline. That’s annoying and the app should say at least the Mac address of the device.
Works fine in HA, GrowCube 12957353
Would be nice to see controls for manual watering at some point!
I think I did something similar when it first arrived to find the IP Address.
I think the app gets told the new IP Address at some point in the network setup stage but I haven’t been able to see this in my network traffic captures. This seems to be backed up by the fact the GrowCube app doesn’t seem to be able to find an existing GrowCube device that is already on the same network with out going through the setup process again.
I’m working on:
making the HA integration more robust and informative for various error states
displaying watering history
manual watering
setting auto-watering parameters from in HA
Slow progress 'cause of the day-job but will hopefully get onto those over the next few weeks.
I do have Home Assistant and the GrowCube on different SSIDs and vlans but that’s probably not an issue since it did manage to connect initially and worked until the reboot.
The errors people are getting above seem to be socket timeouts so changed IP or another client connecting. It was fun learning how Growcube works and doing my first HA integration but I’m just not having the time to maintain it and Jonny’s integration is much more full-featured and robust.
Yes pretty sure. My phone is always on my main VLAN and SSID and the GrowCube is on my IOT Vlan and SSID (the app wont let you connect on a different SSID. What I noticed this morning is that the connection is timing out and reconnects in 10-15 min intervals