Replies: 6 comments 4 replies
-
It's not. It gets it automatically from the HA config it's on. So unless you want to edit the code the only option is to change the location in HA. |
Beta Was this translation helpful? Give feedback.
-
Any chance that you could add such a functionality? I'm not a programmer unfortunately. Otherwise I would be happy to integrate it myself. I can't simply change the location, either, as the one where I need the irrigation system is not my main location. Thanks for considering. |
Beta Was this translation helpful? Give feedback.
-
Hello, Are you seriously considering to add the manual override of the coordinates? I don't want to be pushy and I fully understand you are doing this in your spare time, which is much appreciated. I just want to know if I should wait for it or start looking for alternative ways to achieve my goals. Thanks again for considering and in advance for your answer. |
Beta Was this translation helpful? Give feedback.
-
Yes, I am, but I don't have time to implement it right away. You can edit the code easily though if you want to get it now. Just find the place it loads the long and lat from HA and put in your own numbers.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: maehmann ***@***.***>
Sent: Friday, April 19, 2024 1:32:06 AM
To: jeroenterheerdt/HAsmartirrigation ***@***.***>
Cc: Jeroen ter Heerdt ***@***.***>; Comment ***@***.***>
Subject: Re: [jeroenterheerdt/HAsmartirrigation] Set coordinates for OpenWeatherMap data manually (Discussion #346)
Hello,
Are you seriously considering to add the manual override of the coordinates? I don't want to be pushy and I fully understand you are doing this in your spare time, which is much appreciated.
I just want to know if I should wait for it or start looking for alternative ways to achieve my goals.
Thanks again for considering and in advance for your answer.
—
Reply to this email directly, view it on GitHub<#346 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB6PIPQBFZJ76J7HY7M3OGDY6DJANAVCNFSM6AAAAABGFWLOTOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCNRTHEYTG>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Those are the ones. Also line 58 for altitude. Just replace what is after the = with your data, with a dot as decimal separator. So 123.32
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: maehmann ***@***.***>
Sent: Friday, April 19, 2024 2:18:40 PM
To: jeroenterheerdt/HAsmartirrigation ***@***.***>
Cc: Jeroen ter Heerdt ***@***.***>; Comment ***@***.***>
Subject: Re: [jeroenterheerdt/HAsmartirrigation] Set coordinates for OpenWeatherMap data manually (Discussion #346)
Thanks. That is great.
I would change the code myself but I have never written a single line of code. I know where to find the files in HA and can edit them but no I have no idea what I would need to change.
So, I would appreciate if you would point me to the right file and line number. I also don't know the correct format of the coordinates.
I had a look myself. OWNClient.py and the lines below could be the ones:
56 self.longitude = longitude
57 self.latitude = latitude
Any help is welcome. Thanks!
—
Reply to this email directly, view it on GitHub<#346 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB6PIPT5OSNEL7RZSZHSZFTY6GC3BAVCNFSM6AAAAABGFWLOTOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCNZRGA3DK>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Added issue #351 to track this work. |
Beta Was this translation helpful? Give feedback.
-
Hey,
I'm trying to set up your great looking integration for my situation. This is where it get's a bit tricky. I have two locations separated by 70km that run on one HA installation being linked through a VPN. So my Raspi sits in location A but I want to setup the irrigation system for location B which is not configure as the main location in HA obviously.
On location B I do not have a precipitation sensor. Only temp, pressure, humidity, due point. If I understand correctly then all info missing from the sensors will be taken from OpenWeatherMap depending on the set coordinates in HA.
Is this correct? And if so, is there a way to set a new location manually somehow (by coordinates or by a defined zone in HA)?
Thank you for your hard work and in advance for your reply!
Christoph
Beta Was this translation helpful? Give feedback.
All reactions