I am feeling the issue may be the widget code instead of the program code? Not sure what that splice error is...
So summary is all settings pretty much identical to yours. Trying to point jkUtils to different program didn't work so left it pointing at jkUtil program.
Your program just insists on not getting data; not sure where it is waiting on data from. Screen shot attached... Problem is "Unable to get data from service. Object reference not set to an instance of an object."
SOUNDS LIKE YOUR PROGRAM CANNOT FIND THE IP ADDRESS OR DOMAIN OF OPENWEATHERMAP.ORG...
I have 3 API keys I made years ago; jkUtils uses any and gets the info, but maybe I need a newer one for your call? I will make a new API key and try that...
If I knew which line of code the above error referred to...
Can you check all of those settings on your end and update as needed and let me know the results. Thanks
BIG THANK YOU FOR THIS INFO! I will go down your list one by one and check them off!
In HomeGenie Maintenance page, under System Options I have the Longitude and Latitude defined for my area
- MINE IS ALSO SET
under the User Interface I have Fahrenheit and Month/Day/Year 12hr am/pm as my settings.
- BOTH MINE OPPOSITE - i CHANGED
In the jkUtils - Solar Altitude Program I have the Latitude and Longitude settings defined (same as what I have on the Maintenace page, but both are defined).
- I RECALL ONCE THERE MAYBE DIFFERENT VERSIONS OF jkUtils? Mine does not ask for long/latitude - but it shows it on the widget! It picked up the close by city rather than MY entered values - which is fine, close enough...
I have the standard OpenWeatherMap program Disabled (the button for it is gray).
- I TRIED BOTH WAYS; LATEST NOW I HAVE IT DELETED.
The Soxfan1966 version of the OpenWeatherMap program is active (the button is green) .
- YES, BOTH jkUtils & YOUR PROGRAM ARE GREEN.
Here are my settings for my program:
Debug Mode = 0 (disabled)
Fahrenheit Enable = 1
Forecast time - Afternoon = 12
Forecast time - Evening = 21
Forecast time - morning = 6
Language = EN
Location - Use Lat & Lon for data = 1
OpenWeatherMap API Key = defined (use your own key here)
Precipitation Last 3 Days = 0 (I used this is the summer to track rainfall for watering my lawn, so it was working when this was 1 too)
Precipitation Last 3 Days - Target = 0.65
Precipitation Rate = 1
Temperature Rounding Enable = 1
Update Interval = 30
- ALL SET SAME HERE
Under Widgets there are 2 entries - one for the standard and one for mine.
1) homegenie/environment/weather = this is the standard widget and uses the standard program (the bind to module is OpenWeatherMap). I do not have this on my HomeGenie Dashboard(s).
- I BELIEVE I USED TO HAVE THIS ONE BEFORE i DELETED THE STANDARD PROGRAM. NOT THERE NOW.
2) homegenie/generic/weather = this is my version of the widget and uses my version of the program (the bind to module is OpenWeatherMap - Soxfan1966 Version).
- YEP, GOT IT, AS WELL AS A "jkUtils/OpenWeatherMap/OpenWeatherMap"
- I WONDER IF I SHOULD MAYBE try to point the jkUtils widget to your program instead? not possible.