That will do it. I will see if I can add some more informational log messages for this condition. Glad
you got it working.
EDIT: Wait. I misread your note. If Override was turn off, it should alway send the Hub's coordinates. If it is sending "null,null"when override is off and the Hub's coordinates are populated then I have something to fix. I'll look into this.
Add more logic to prevent location coordinates being null or provide better logging when that cannot be prevented (hub's location coordinates are null).
My initial conversion of this driver to use Open WeatherMap was just published. It is very Alpha stages still so be cautious. I started a separate thread:
uffff, I'm guessing if you dont already have this, then you arent getting it.
API
Our API service for existing customers is not changing today, but we will no longer accept new signups. The API will continue to function through the end of 2021.
As part of this transition, use of Dark Sky by Apple is subject to the Apple Privacy Policy, which can be found at apple.com/privacy.
Hi @Matthew - I can't get percentPrecip to work properly. On the device page, at the top under "current states", it reads 19 and never changes. This value of 19 is what gets set if I try to reference the parameter into a variable.
In the data section at the bottom of the device page today it reads 25 (which matches the weather summary) and that value changes correctly on a daily basis after I poll the data again.
If you don't have it turned on, then it will not update in the 'Current States' or change for any dashboard or Rule Machine. If you do have it turned on, then I need to fix something. Let me know which, please.
Since DarkSky was purchased by Apple, Apple has discontinued issuing new API Keys. If you had a valid API Key it is support to continue working through 2021. If you do not have one this driver will not work for you. Try this one instead:
I cannot replicate this? Mine changes in all appropriate places ('Current States', 'data', 'Tile' attributes). I looked at the code and do not see any obvious reasons for what you are describing.
Only suggestions are to clear your browser cache, reboot the Hub, reboot the PC.
Ok, thanks will try that. But it's been like this for a while on my system so not sure what it can be. Maybe I will try to reload the driver code. Anyway, will also try what you suggest. Sorry for the trouble and thanks again.