thanks for checking in, appreciate it! Always good to hear people enjoy my work
after a while of using this component i wanted to thank you a lot for coding it! it really is a pleasure to me, to watch this component deciding if i have to irrigate my garden or not
as a point of constructiv feedback i wanted to add, that i would be awesome if there were an easy option to change the water through, count of sprinklers and area to irrigate values after setting it up.
but this shouldnt be a critic its only for convience thanks for your hard work and this really neat component!
Thank you so much for the kind words! Regarding your request, I am aware of it but there is nothing I can do at the moment. I tried. It’s an open item on github already. There is a hacky way which I use, but it involves editing files in the hidden .storage folder…
found the error - its big sur beta safari… sorry!=)
Looking in the .storage folder. Could you point us to the file to tweak in the flow rate without reinstalling each time? Standard disclaimer of the person editing the file is responsible for any consequences.
sorry for my late reply, did not get an notification about it. In your .storage
folder you need to open core.config_entries
. Find area
if you want to change the total area and search for flow
if you want to change the flowrate. Save and restart HA. Again - your risk.
Hey @Isablend
would you mind sharing how you have integrated the Netatmo sensors? I’m considering to add the Netatmo sensors to get more reliable data, but want to make sure I get everything right before purchasing them.
Thanks!
Thanks, I found it and it worked fine.
After the system working perfectly all summer it seems to have stopped setting up correctly. This is what the logs show:
Logger: homeassistant.components.sensor
Source: custom_components/smart_irrigation/sensor.py:679
Integration: Sensor (documentation, issues)
First occurred: 9:51:11 PM (1 occurrences)
Last logged: 9:51:11 PMError while setting up smart_irrigation platform for sensor
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 201, in _async_setup_platform await asyncio.gather(*pending)
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 310, in async_add_entities await asyncio.gather(*tasks)
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 481, in _async_add_entity await entity.add_to_platform_finish()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 522, in add_to_platform_finish self.async_write_ha_state()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 296, in async_write_ha_state self._async_write_ha_state()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 320, in _async_write_ha_state sstate = self.state
File “/config/custom_components/smart_irrigation/sensor.py”, line 551, in state self._state = self.update_state()
File “/config/custom_components/smart_irrigation/sensor.py”, line 510, in update_state self.evapotranspiration = self.get_evapotranspiration(data)
File “/config/custom_components/smart_irrigation/sensor.py”, line 679, in get_evapotranspiration t_min = data[“temp”][“min”]
KeyError: ‘min’
It looks like it’s not getting it’s minimum temp correctly. The entity that provides that is showing up fine when I look at it in dev tools/states.
Any ideas how to get it linked back up please? It’s not too urgent as it’s been raining here for about a week and I don’t think it’s going to stop any time soon!
Thanks
I used the Netatmo sensors to provide the input to the integration. So when you first setup the integration give it the Netatmo sensor names that provide the specific bits of data, where possible. Other sensor stuff will need to come from other sources. I’ll be honest I’ve got 2 sensor definitions (one netatmo driven, one driven from a weather API) and I’m still playing with them with regards to the right volume of water delivered to the right zones.
hi @nicktheguitar please check the data provider - not sure what you are using? I am using Smart Weather and the component was updated and I needed to reconfigure it for the Smart Irrigation component to work again. You might have to do the same.
I think I’m using all custom entities as I’m averaging the results of 4 nearby smart weather stations to cancel out any big variations in the station results.
I’ll reinstall and see if that helps.
I’m having the same issue and reinstalling did not help - I’m using Openweathermap exclusively for mine though. Did you have any luck?
Reinstalling helped as I’m not getting any more logs. But as it’s been raining for the last week and isn’t going to stop soon I haven’t seen it tick on, yet.
I tried reinstalling again (delete integration, add it again for both front and back yard), we’ve also had quite alot of rain so I’m waiting a few days. Not getting anything in the logs, but wasn’t getting it before either. Is there a way I can check that it’s actually kicking off?
I’ve been using Smart Irrigation over the summer, and it has worked very well. I figured out that I’m only interested in the evapotranspiration calculation out of Smart Irrigation, so I have a single instance of SI that I use to then calculate individual water buckets for my 7 zones of irrigation. This gives me a little bit better control since I can also apply logic to control irrigation duration based on
- Water bucket level per zone
- Forecasted rain within the area
- Minimum duration required for a zone to get started (good for grass lawns)
- Maximum duration that a zone can be irrigated
My season has come to an end here in Sweden, so I decided to document everything so that I remember what was done when I start up the system again next spring. In the documentation you will find more details how I make use of Smart Irrigation, how I have adopted klogg’s work on HA-Irrigation, and how I implemented an ESPhome based Sonoff irrigation controller for my system.
Weather based Smart Irrigation setup in HA
Weather setup in Home Assistant
awesome, thanks for sharing!
Thanks for this component it looks great.
I’ve got a quick question regarding zones.
I have the component setup with 6 sprinklers at a flow rate of 3.2 each watering a total of 30sqm.
On the irrigation hardware side this is divided into two zones - 3 sprinklers each.
I’m assuming in this case the daily runtime for each zone should be the total divided by two? Then each zone waters for half the time giving a total over the 6 sprinklers as the total time?
Hi @ribbonofblack you should add the Smart Irrigation integration twice, once for each zone and make the configuration per zone. That way, if you ever change anything about the sprinklers you will be able to handle it.
Thanks for the reply @jeroenterheerdt
If o were to split it as you suggested then I would input 15sqm per 3 sprinkler zone. Would this not give the same result as keeping it as one zone but halving the time per zone?