Hi everyone,
Thank you kloggy for all of your hard work. I am new to HA and don’t have a darksky API code. Are there any plans to migrate this code to a different service?
Thanks!
Hi everyone,
Thank you kloggy for all of your hard work. I am new to HA and don’t have a darksky API code. Are there any plans to migrate this code to a different service?
Thanks!
I’m actually just finishing up a complete re-working of the weather side of this project.
It is now allows you to define any sensors you like. You will set up the four needed sensors outside of the package using any service you like and then tell it what they are. Fingers crossed it should all then work.
I will try and get it up on Github tomorrow (unless I find something to stop me between now and then!).
The actual irrigation side has not changed so should work exactly as it does now but the weather side might have a few glitches to iron out…
Also I have attempted to stop all those irritations people were having when setting it up for the first time and it will also display everything properly irrespective of what font you are using, although a condensed font works best because there is not much room for all the letters in some elements.
I like Dosis font…
hi @klogg, i do a new fresh HA installation. I’d like to completely ignore smartweather and darksky… they are a pain! what files I have to delete? and what code from files i need to remove? thanks
Also i set all empty value inside secrets.yaml for:
smartweather_location_code_1: ""
smartweather_location_code_2: ""
smartweather_location_code_3: ""
smartweather_location_code_4: ""
smartweather_location_code_5: ""
to remove all warning to see I get it partially working.
My dashboard is empty
in firefox console I see:
TypeError: e.views is undefined ha-panel-lovelace.ts:146
TypeError: this.lovelace is undefined
My configuration.yaml is:
lovelace:
mode: storage
resources:
- url: /browser_mod.js
type: module
- url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
type: module
- url: /hacsfiles/lovelace-card-mod/card-mod.js
type: module
- url: /hacsfiles/button-card/button-card.js
type: module
- url: /hacsfiles/lovelace-multiple-entity-row/multiple-entity-row.js
type: module
- url: /hacsfiles/config-template-card/config-template-card.js
type: module
- url: /hacsfiles/lovelace-layout-card/layout-card.js
type: module
- url: /hacsfiles/lovelace-state-switch/state-switch.js
type: module
- url: /hacsfiles/lovelace-hui-element/hui-element.js
type: module
- url: /hacsfiles/lovelace-time-picker-card/time-picker-card.js
type: module
- url: https://fonts.googleapis.com/css?family=Oswald
type: css
dashboards:
lovelace-irrigazione:
mode: yaml
title: Irrigazione
icon: mdi:flower
show_in_sidebar: true
filename: irrigazione.yaml
where irrigazione.yaml is only:
- !include lovelace/view_garden_version2.yaml
Maybe you can wait for the next release which will hopefully be tomorrow. In that you can define any weather sensors you like. SmartWeather is no longer coded directly into the package anymore except for showing the stations on the Rainfall Settings page. But that can now be turned off so they don’t appear.
The same goes for DarkSky. There are no weather sensors coded in the package at all, they are all user definable and if you don’t mind some ‘unavailable’ fields showing on the settings pages you don’t even need to define any of them if you don’t want to use weather adjustments.
I will do my best to get it on GitHub tomorrow but it might be ahead of any changes to the readme file.
I have just uploaded the latest version to GitHub.
None of the documentation has been updated yet.
Edit: Documentation is now updated - let me know if I have missed anything
As I said previously it should work much better ‘out-of-the-box’ but as I only have one HA system I can’t test everything to do with the initial setup.
If you come across any glitches, let me know.
The actual irrigation functionality should work exactly as before except that now you can choose which days a zone runs on, rather than the whole cycle.
I hope some of you find this useful.
Edit 2 - I made two tiny changes to two files to remove some unwanted shadows.
section_settings_temperature.yaml
and
section_settings_rainfall.yaml
Hi Klogg i think this just gets better and thanks for doing this for us all, just one question regarding the graph readings, in the last version i had the blue and red lines showing the weather progress, but now i have just the red forecast reading, i also see that there is a pop up box that let’s you state a few options but when i select any of them nothing seems to change, i have kept the previous yaml files as stated per prerequisites from the previous install using dark sky and smart weather, rainfall and temps seems like its working but not the graph temp view as in the previous version, do i have to change any entities to get this to show properly or is that a change in the program ?
Thanks once again…
The graph plots whatever you have defined as the sensor for ‘today’s forecast high temperature’ (red) and your sensor for ‘current temperature’ (blue).
The idea when I first did it was that you could get a feeling for how accurate the predicted high temp was. In practise I find every forecast I’ve tried came out to be very close so the graph is really just a bit of prettiness now
Those two sensors need to be defined by you. On the General Setting page there is a ‘Weather Sensors’ option. check those entries match actual sensors you have.
Also you need to have those sensors states kept in the recorder
integration. If you don’t know what that means then they almost certainly are as you have to decide to omit things from being recorded.
Does that help?
Hi @klogg
I’m just looking for the new files in the repository. Thanks for all the effort you’re doing to have this project really fantastic!
Now II see that there is only one DarkSky reference in the new files, specifically in garden_weather_temperature.yaml
action:
- service: input_text.set_value
data_template:
entity_id: input_text.irrigation_external_sensor_forecast_high_temp
value: sensor.dark_sky_daytime_high_temperature_0d
Where do I have to set all the weather sensors you specify here?
Thanks
That reference to DarkSky is just the default sensor I have hard coded in for Forecast High Temp. The system will use that when you first install the package. (Dark Sky is also the default for Current Temperature).
All the sensors are set from the Settings Page:
Hello all,
Sorry for interrupting the discussion, i’m really new at home assistant (this week was the first time i tried it) and i’m done with the irrigation relay system which can be voice controlled, and accidentally i saw this awesome irrigation system, and i decided to try it, but i cant imagine how to start. I’ve installed the prerequisties, and how to continue ? Are there any instructions ?
hi @klogg all was working fine, then i rebooted HA a couple of times without do any changes to code and now I get this error:
Also I use only 7 zones instead 8 and in the log I see:
Unable to find referenced entities switch.zone8
I’ve not set any zone8
You have found a bug.
This is trying to display the WiFi signal of the controller but I have forgotten to make it user definable so it is looking for mine.
The offending code is at the bottom of section_settings_general.yaml
:
#=== Irigation controller WiFi signal strength
- !include
- ../item_settings_line.yaml
- entity: sensor.esphome_irrigation_controller_wifi_signal
name: Irrigation Controller WiFi Signal Strength
tap_action: none
padding: 0.5em 0em 0.5em 0em
You change the sensor name to suit your controller or simply delete those six lines (and the divider above it if you want it to look consistent.
I will at some point make a change to allow for a user defined sensor, or an option to not have one as it is quite possible that not everyone will have one.
I don’t know why you haven’t hit this problem before!
Do you have anything else in the log about that error? Maybe in the full log? I don’t think it matters but I might be able to stop it appearing if you can give me more info.
ok i’ll delete it cause i don’t use esphome… I use tasmota probably i don’t need it (?)
Ha! no, no one needs that it is just more fluff I added because I could. Although it does act as a warning if it ever goes to ‘unavailable’.
But I think Tasmota does create a WiFi signal sensor too so you could use if you want to…
Ok i’ll investigate on it soon.
Now I’m trying to do a test about translation.
i added a file named garden_languages.yaml in packages folder with this content:
input_text:
lang_used:
initial: IT
lang_irrigation_testing_mode_UK:
initial: Irrigation testing mode
lang_irrigation_testing_mode_IT:
initial: Modalità di test
but i’m not sure how to edit your (garde_globals.yaml)
input_boolean:
irrigation_testing_mode:
name: Irrigation Testing Mode
icon: mdi:alert-circle-outline
to get my goal. Using lang_used
set to IT i’d like to see if I can change text. If I undestand the logic I can do all transtation for all static text
Any suggest?
Nice!
I did consider some translations as I think a lot of the people using this are not native English speakers.
I didn’t get very far though and to be honest it is not something I have ever done before so I need to think about how it would work. Once things settle down following the release of this version I will definitely look into this.
In the meantime please feel free to go ahead and investigate yourself - or at least have a go at getting the Italian(?) translations ready!
All sorted and here was me thinking this is going to be a tinkering all day kind of a day, but it was a piece of cake, and nice work with the ease of changing weather entities…
And if i remembered when i set up my 4 channel pro with Tasmota i had a output for wifi settings, it came with the bin file that i had / copied but that was a while back, anyway wifi can be compiled with Tasmota as well, that issue itajackass i also had with esphome the red block until i defined the wifi with the same name as Kloggs in the esphome bin file then it worked, or as Klogg says delete that part.
I think using a system you already used like:
input_text.lang_irrigation_testing_mode_{{ states(input_text.lang_used) }}
But i don’t know correct syntax. If you can help help with an example ( for irrigation_testing_mode example to start with ) I can do all other substitutions
Yeah I’m tinkering with it right now but not for much longer tonight, unfortunately. Real life is calling me…
But I think it can be done quite easily (with a lot of code changes )
Also I think there will be a better way to store the translations, e.g a file with JSON data.
I’m on it though!
I’m glad to hear it!
I hope you find it useful…