Open danielhajas opened 2 years ago
Most likely it's the location is not properly formatted. The node server doesn't do any error checking on it so it must be formatted correctly or OWM will reject it. The log should indicate this as OWM will respond with an error if something isn't write.
I believe for your location it should be formatted as lat=43.651070&lon=-79.347015
I checked the logs and i found this: 2022-03-29 13:37:51,170 Thread-43 udi_interface ERROR owm:parameterHandler: Location missing 2022-03-29 13:37:57,581 Thread-44 udi_interface ERROR owm:parameterHandler: Location missing 2022-03-29 13:38:31,458 Thread-45 udi_interface ERROR query:query_onecall: Onecall data query failed 2022-03-29 13:39:31,460 Thread-46 udi_interface ERROR query:query_onecall: Onecall data query failed
after updating the geo location as advised i got the:
022-03-29 18:26:03,182 Thread-306 udi_interface ERROR query:query_onecall: Onecall data query failed 2022-03-29 18:32:44,403 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message customparams 2022-03-29 18:32:44,405 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING customparams 2022-03-29 18:32:44,407 Thread-308 udi_interface.custom DEBUG custom:load: CUSTOM: load {'APIkey': '47fd96fe3dd5d6353f51ce287c8bff94', 'Units': 'metric', 'Forecast Days': '2', 'Elevation': '76', 'Plant Type': '0.23', 'Location': 'lat=43.651070&lon=-79.347015'} 2022-03-29 18:32:44,408 Thread-308 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking APIkey / 47fd96fe3dd5d6353f51ce287c8bff94 2022-03-29 18:32:44,409 Thread-308 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking Units / metric 2022-03-29 18:32:44,410 Thread-308 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking Forecast Days / 2 2022-03-29 18:32:44,410 Thread-308 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking Elevation / 76 2022-03-29 18:32:44,411 Thread-308 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking Plant Type / 0.23 2022-03-29 18:32:44,412 Thread-308 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking Location / lat=43.651070&lon=-79.347015 2022-03-29 18:32:44,412 Thread-308 udi_interface DEBUG owm:parameterHandler: {'poly': <udi_interface.interface.Interface object at 0x800bd72e0>, 'custom': 'customparams', '_rawdata': {'APIkey': '47fd96fe3dd5d6353f51ce287c8bff94', 'Units': 'metric', 'Forecast Days': '2', 'Elevation': '76', 'Plant Type': '0.23', 'Location': 'lat=43.651070&lon=-79.347015'}, '_extradata': {'APIkey': {'changed': False, 'new': False}, 'Units': {'changed': False, 'new': False}, 'Location': {'changed': True, 'new': False}, 'Forecast Days': {'changed': False, 'new': False}, 'Elevation': {'changed': False, 'new': False}, 'Plant Type': {'changed': False, 'new': False}, 'Latitude': {'changed': False, 'new': False}, 'Longitude': {'changed': False, 'new': False}}} 2022-03-29 18:32:44,413 Thread-308 udi_interface.custom DEBUG custom:clear: CUSTOM: Clear ...saving 2022-03-29 18:32:44,414 Thread-308 udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-03-29 18:32:44,415 Thread-308 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'key': 'notices', 'value': {}}]} 2022-03-29 18:32:44,514 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message notices 2022-03-29 18:32:44,515 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING notices 2022-03-29 18:32:44,516 Command udi_interface.custom DEBUG custom:load: CUSTOM: load {} 2022-03-29 18:32:44,556 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices
Does it mean that it is ok? i do not see any Errors now
it is working Now!!!!!!!!!!!!!!!!!!!
Thank you sir!
Hi, I just switched to Polisy from ISY 994 (due to Polyglot cloud Issue) So, now i am trying to reinstall and set up OpenWeatherMap in PG3 (not much experience there) but here is my issue: As you can see there are no data points in OWM. Now, my Polyglot setup in PG3 is here:
Where my latitude and longitude are :latitude of Toronto, ON, Canada is 43.651070, and the longitude is -79.347015
What did i get wrong? What is missing from my setup or... what have i not set yet?
Can you please help me with this issue? I really need to have it up and running as soon as possible!
THANK YOU!