I just realized I'm getting data for some place in Kansas. That's what it takes me to when I click my city name. Is there a more precise way to specify location?
Actually, its giving me that data regardless of what I put in the City name preference. Did I miss something completely about setting a location?
Edit2: I reread the notes in your original posting and I did indeed not have the Lat/long set correctly in my settings. I suppose you lose that when you do a soft reset (?)
It does use the hub's location coordinates. There is an enhancement request to allow an override of those and to use independently entered coordinates. I have not had time to work on that yet.
This is helpful. It's an interesting approach. I'm glad that twilight was considered!
Does anyone have one of those fancy graphs for a lux reading over a day? I'm not sure how to make one for myself. Also - I don't have a paid account with darksky's api for that amount of polling
Please help me to help you. Many of the developers of open source apps and drivers are hobbyist, such as myself. I do not write code for a living, I do it in my spare time because I enjoy it and thought I would share it for others that may enjoy the app/drive too. As such, my code is never perfect. While it often times works flawlessly on my specfic system, that is not always the case on other's systems. I would like to improve the code if I can, but I need the users help to do so. Given that can you answer a few questions that would help me help you?
You stated (in a withdrawn post) "Im getting the error now." It would be very helpful to know what that error is. Please copy/paste it so I can see what you see. In most cases the specfic error message gives a great of information to help me understand the issue and the location within the code to start debugging.
What does "I’m not able to pull anything until I turn on override now." Are you getting an error message? Please send that if you are. If no error message please explain what "I’m not able to pull anything" means. Walk me through the steps you are using to come to that conclusion.
Was it ever working? If it was working, what happened or what did you change just before it started the error/not working?
When you turned off override, did you then click on "Save Preferences" to save that setting?
That indcates that Darksky is not returning data to the pull request. If 'Override' is not on then it defaults to the Hub's cordinates. What is your Hub's coordinates set to? Settings --> Location and Modes:
Make sure there are no leading or trailing spaces in the latitude and longitude fields. I can add code to remove those spaces, but if they are there now it will produce the error you are seeing.
Added some additional logging messaging to show the full URL sent to Darksky if the data pull is not sucessful. This should make it easier to identify errors.
Added code to remove any 'spaces' typed or copied into the latitude or longitude corrdinate fields. Any spaces in these fields will cause an error in the Darksky data pull.
Load the updated code published this afternoon. That will show more detail in the log on the URL being sent to Darksky to help see if there is an issue there. The code works on my system, and I have not seen anyone else say it is not working for them so don't think it happens to everyone. We need to find out why your's isn't returning data and the first step it to look at what the driver is sending to request that data.