Thanks for your work on this. LOVE it for my existing value. Got a second valve unit now and did not realize this component only worked for the one. Would love to assist any way I can to get it working with multiple valves.
I’m not a very good programmer, so your existing code is way above my understand… but if you can point me in the right direction I’m willing to contribute however works best!
The integration broke last week due to a set of significant changes Melnor made to their API. I’ve fixed the module itself and the fix was accepted into HA last night. Should be out in 0.92.
Moving forward I’m hoping to add support for multiple valves and multiple controllers. If anyone has a spare they’d like to donate or something let me know. I’ve only got 1 controller and 1 valve at the moment.
@vanstinator I’m getting the same failure in the raincloud component as well using 0.93.1. The log shows the same data as the “Rain Cloud Setup” error posted above.
Unable to connect to Rain Cloud service: 500 Server Error: Internal Server Error for url: https://wifiaquatimer.com/get_cu_and_fu_status?controller_serial=<redacted>&faucet_serial=<redacted>
The latest version you can see is version 0.0.7; version 0.1.0 fixed this for me. I think this has @vanstinator changes. I pulled this in by temporarily overlaying a pull of the component from trunk/master. If you’re not familiar, stick with me, and make a backup of your config before you begin:
backup your config directory (ICYMI)
mkdir /tmp/rain
cd /tmp/rain && curl -LO https://github.com/tchellomello/raincloudy/archive/master.zip
(Home-assistant web UI) check your config and restart
At step 4, it’s important that the created custom_components dir is in the same folder as your configuration.yaml file. This is in your configuration folder, if that’s not obvious – it’s a bit strange so I point that out redundantly.
tep 5 creates a component “rainclouds” in “custom_components” version 0.1.0 that eclipses the current 0.0.7.
Yup, you’re exactly right. I have the same setup (one controller, two valves) and am getting the same issue with the %0A2 being appended to the faucet_serial= variable. Removing it generates a valid JSON response.
Not related to the fix, but i ran a melnor raincloud for a little over a year. I had spotty service with it and it would sometimes open random zones that had nothing ever in them. I also had problems with two hose zones falling off of sync. HASS would only support one faucet. So what i did was bought a used rachio gen2 on ebay for 50$ and some rainbird valves. Plumbed them to my hose bib and just ran wires to the rachio. System works flawless and the gen2 rachio weather skip is pretty bad ass. Very happy with its. I had $200 invested in the Melnor system that offered nothing for automation based on weather and all said and done with the rachio, valves and pvc i maybe have $100 total for 4 zones with expansion to 8. Plays great with HA too.
Can you share the exact detail of the valves? I’m worried that, yeah, I can google, but looking for exactly what you have to replicate your results as closely as possible. I’d prefer a non-custom-wifi, local-polling replacement for Melnor, so I’m looking for things that are known to work as a stronger base of experimentation.
I’ve taken over as the sole maintainer of this project. As it’s a web scraper I’ll be deprecating the official integration and moving to a customer_component going forward. You can find more details here Custom Component: Melnor Raincloud