vdenis3399 Posted November 9, 2022 Posted November 9, 2022 Good morning, Since 2 weeks (more or less) I have noted a problem of communication or update with Weatherbit and ISY Polisy 5.4.4. Last week, I have stopped & restarted the node server, it was ok. But Today, same problem (see pics). I can not use anymore my programs with weatherbit. Statut in Polyglot is connected for weatherbit & climacell. Today I have decided to buy Climacell, but I have the same problem. Have a nice day.
bpwwer Posted November 9, 2022 Posted November 9, 2022 What shows up in the log files for the node servers?
vdenis3399 Posted November 9, 2022 Author Posted November 9, 2022 Hello Bb, Here the log. Hope is the right info 2022.docx WeatherBit_11-9-2022_20416-PM.zip
bpwwer Posted November 9, 2022 Posted November 9, 2022 All the HTTP request to the WeatherBit servers are coming back with no response. The node server is probably not configured correctly. 1
vdenis3399 Posted November 9, 2022 Author Posted November 9, 2022 But I did not change anything. How can I configure it correctly or verify it ?
vdenis3399 Posted November 9, 2022 Author Posted November 9, 2022 Bob, I found the problem. I have changed the short & long poll values, everything is ok. Is that possible that weatherbit updated or modified the $ plan ? It seems we have just 50 calls per day. Thanks Bob for your help, have a nice day
bpwwer Posted November 9, 2022 Posted November 9, 2022 1 hour ago, vdenis3399 said: Bob, I found the problem. I have changed the short & long poll values, everything is ok. Is that possible that weatherbit updated or modified the $ plan ? It seems we have just 50 calls per day. Thanks Bob for your help, have a nice day It's certainly possible they reduced the number of calls that can be made for the free plan. It currently says: 500 calls / per day 25 calls / per hour 3 calls / per second Which really means can't call it more than about once every 3 minutes or short poll needs to be 180 or larger.
macjeff Posted November 12, 2022 Posted November 12, 2022 On 11/9/2022 at 4:27 PM, bpwwer said: It's certainly possible they reduced the number of calls that can be made for the free plan. It currently says: 500 calls / per day 25 calls / per hour 3 calls / per second Which really means can't call it more than about once every 3 minutes or short poll needs to be 180 or larger. Mine are at 300 and 600 I am getting the forecast just fine but the main status page reports all zeros. I only noticed because I updated the ISY to the new 5.4.5 firmware and then checked each Node server I also changed nothing except for the PG3 update the other day and the ISY update today. will send you logs via PM Jeff
macjeff Posted November 12, 2022 Posted November 12, 2022 11 minutes ago, macjeff said: Mine are at 300 and 600 I am getting the forecast just fine but the main status page reports all zeros. I only noticed because I updated the ISY to the new 5.4.5 firmware and then checked each Node server I also changed nothing except for the PG3 update the other day and the ISY update today. will send you logs via PM Jeff Update- The forecast is a day off!!! So it must be showing old data. I am seeing Friday as today and Saturday as tomorrow and its Saturday now
macjeff Posted November 12, 2022 Posted November 12, 2022 they changed it again. This could be it 50 calls/day 7 day forecasts NON-COMMERCIAL USE ONLY 95.0% Uptime If I am correct I need to do 1725 seconds for short poll Tried it and still no luck. Also reinstalled Node server with a old API and another one with New api same on both but seems to get stuck on this. Sent data in PM to @bpwwer DEBUG Controller:start: *** Waiting for all nodes to be added
bpwwer Posted November 12, 2022 Posted November 12, 2022 Typically, once you exceed a daily limit it won't reset until the next day and all calls to the service will fail until then.
bpwwer Posted November 12, 2022 Posted November 12, 2022 Looks like they have a completely new API and the old one no longer works. Converting the node server to use the new API is not a simple task so it may be a few days before a new version is available.
macjeff Posted November 12, 2022 Posted November 12, 2022 I assumed that so I got a new API as a test and it did not work so that verified it’s not a timed out type of thing
macjeff Posted November 12, 2022 Posted November 12, 2022 10 minutes ago, bpwwer said: Looks like they have a completely new API and the old one no longer works. Converting the node server to use the new API is not a simple task so it may be a few days before a new version is available. Can you verify that the only way to get 16 days forecast now is to pay $40 a month. I don’t need 16 days enough for $40. I can deal with seven. Not sure if I need to buy the hobbyist which I would do that but it’s still only Seven days forecast and it’s OK. I will stop the weather emails for a few days until you fix it. I leave on my trip Friday afternoon so hopefully it might be done by then but if not I can do it while on vacation. I know this is their fault so thanks for all your efforts
Solution bpwwer Posted November 13, 2022 Solution Posted November 13, 2022 I was wrong about the API change. I can't find anything wrong. However, the free plan limits are now pretty low and you do need to have the short poll, long poll and number of forecast days set to stay below those limits. If you try to get more than 7 days of forecast data with the free or hobbyist plans, the node server will fail to start as it will be sit there waiting for more data that it will never receive. This makes things a bit more difficult since the node server doesn't have any way to know what plan you have so it can't auto-adjust the parameters. I've updated the documentation and configuration help to reflect the latest limits.
Dean Posted November 15, 2022 Posted November 15, 2022 @bpwwer Bob, I'm having a similar problem and I can't get it to resolve itself. I had to uninstall and reinstall Weatherbit and since, I'm getting all "0" values in the nodes in Polisy. I'm using the same configuration as before I uninstalled. I'm pasting the log since I reinstalled below. I am seeing WeatherBit Weather (controller) [None] and also: WARNING interface:db_getNodeDrivers: controller not found in database. Do I have something configured incorrectly? Thanks in advance for your help! 2022-11-15 09:21:48,328 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2022-11-15 09:21:50,601 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.43 Starting... 2022-11-15 09:21:50,662 MainThread udi_interface.interface INFO interface:__init__: Initialization received from Polyglot V3 3.0.63 [ISY: 5.4.4, Slot: 1] 2022-11-15 09:21:50,663 MainThread udi_interface.interface INFO interface:__init__: Connect: Network Interface: {'addr': '10.0.0.76', 'netmask': '255.255.255.0', 'broadcast': '10.0.0.255'} 2022-11-15 09:21:50,665 Interface udi_interface.interface INFO interface:_startMqtt: Connecting to MQTT... localhost:1888 2022-11-15 09:21:50,671 MainThread udi_interface.interface WARNING interface:db_getNodeDrivers: controller not found in database. 2022-11-15 09:21:50,672 MainThread udi_interface.interface WARNING interface:send: MQTT Send waiting on connection :: {'config': {'version': '2.0.5'}} 2022-11-15 09:21:50,720 MQTT udi_interface.interface INFO interface:_connect: MQTT Connected with result code 0 (Success) 2022-11-15 09:21:50,721 MQTT udi_interface.interface INFO interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:52:c1:a0_1 - MID: 1 Result: 0 2022-11-15 09:21:50,737 MQTT udi_interface.interface INFO interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,) 2022-11-15 09:21:53,679 MainThread udi_interface.interface INFO interface:addNode: Adding node WeatherBit Weather(controller) [None] 2022-11-15 09:24:25,833 Thread-3 udi_interface ERROR query:query_conditions: No response object in query response. 2022-11-15 09:24:42,149 Thread-3 udi_interface ERROR query:query_forecast: No response object in query response. 2022-11-15 09:24:42,829 Thread-5 udi_interface ERROR query:query_forecast: No response object in query response. 2022-11-15 09:25:03,095 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2022-11-15 09:25:05,699 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.43 Starting... 2022-11-15 09:25:05,729 MainThread udi_interface.interface INFO interface:__init__: Initialization received from Polyglot V3 3.0.63 [ISY: 5.4.4, Slot: 1] 2022-11-15 09:25:05,731 MainThread udi_interface.interface INFO interface:__init__: Connect: Network Interface: {'addr': '10.0.0.76', 'netmask': '255.255.255.0', 'broadcast': '10.0.0.255'} 2022-11-15 09:25:05,733 Interface udi_interface.interface INFO interface:_startMqtt: Connecting to MQTT... localhost:1888 2022-11-15 09:25:05,742 MainThread udi_interface.interface WARNING interface:db_getNodeDrivers: controller not found in database. 2022-11-15 09:25:05,743 MainThread udi_interface.interface WARNING interface:send: MQTT Send waiting on connection :: {'config': {'version': '2.0.5'}} 2022-11-15 09:25:05,832 MQTT udi_interface.interface INFO interface:_connect: MQTT Connected with result code 0 (Success) 2022-11-15 09:25:05,834 MQTT udi_interface.interface INFO interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:52:c1:a0_1 - MID: 1 Result: 0 2022-11-15 09:25:05,855 MQTT udi_interface.interface INFO interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,) 2022-11-15 09:25:08,749 MainThread udi_interface.interface INFO interface:addNode: Adding node WeatherBit Weather(controller) [None] 2022-11-15 09:25:10,800 Thread-3 udi_interface ERROR query:query_conditions: No response object in query response. 2022-11-15 09:25:20,989 Thread-3 udi_interface ERROR query:query_forecast: No response object in query response. 2022-11-15 09:25:21,168 Thread-1 udi_interface ERROR query:query_forecast: No response object in query response. 2022-11-15 09:27:05,751 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2022-11-15 09:27:08,105 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.43 Starting... 2022-11-15 09:27:08,126 MainThread udi_interface.interface INFO interface:__init__: Initialization received from Polyglot V3 3.0.63 [ISY: 5.4.4, Slot: 1] 2022-11-15 09:27:08,127 MainThread udi_interface.interface INFO interface:__init__: Connect: Network Interface: {'addr': '10.0.0.76', 'netmask': '255.255.255.0', 'broadcast': '10.0.0.255'} 2022-11-15 09:27:08,129 Interface udi_interface.interface INFO interface:_startMqtt: Connecting to MQTT... localhost:1888 2022-11-15 09:27:08,135 MainThread udi_interface.interface WARNING interface:db_getNodeDrivers: controller not found in database. 2022-11-15 09:27:08,136 MainThread udi_interface.interface WARNING interface:send: MQTT Send waiting on connection :: {'config': {'version': '2.0.5'}} 2022-11-15 09:27:08,184 MQTT udi_interface.interface INFO interface:_connect: MQTT Connected with result code 0 (Success) 2022-11-15 09:27:08,185 MQTT udi_interface.interface INFO interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:52:c1:a0_1 - MID: 1 Result: 0 2022-11-15 09:27:08,203 MQTT udi_interface.interface INFO interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,) 2022-11-15 09:27:11,143 MainThread udi_interface.interface INFO interface:addNode: Adding node WeatherBit Weather(controller) [None] 2022-11-15 09:27:13,661 Thread-3 udi_interface ERROR query:query_conditions: No response object in query response. 2022-11-15 09:27:25,646 Thread-1 udi_interface ERROR query:query_forecast: No response object in query response.
macjeff Posted November 15, 2022 Posted November 15, 2022 35 minutes ago, Dean said: @bpwwer Bob, I'm having a similar problem and I can't get it to resolve itself. I had to uninstall and reinstall Weatherbit and since, I'm getting all "0" values in the nodes in Polisy. I'm using the same configuration as before I uninstalled. I'm pasting the log since I reinstalled below. I am seeing WeatherBit Weather (controller) [None] and also: WARNING interface:db_getNodeDrivers: controller not found in database. Do I have something configured incorrectly? Thanks in advance for your help! 2022-11-15 09:21:48,328 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2022-11-15 09:21:50,601 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.43 Starting... 2022-11-15 09:21:50,662 MainThread udi_interface.interface INFO interface:__init__: Initialization received from Polyglot V3 3.0.63 [ISY: 5.4.4, Slot: 1] 2022-11-15 09:21:50,663 MainThread udi_interface.interface INFO interface:__init__: Connect: Network Interface: {'addr': '10.0.0.76', 'netmask': '255.255.255.0', 'broadcast': '10.0.0.255'} 2022-11-15 09:21:50,665 Interface udi_interface.interface INFO interface:_startMqtt: Connecting to MQTT... localhost:1888 2022-11-15 09:21:50,671 MainThread udi_interface.interface WARNING interface:db_getNodeDrivers: controller not found in database. 2022-11-15 09:21:50,672 MainThread udi_interface.interface WARNING interface:send: MQTT Send waiting on connection :: {'config': {'version': '2.0.5'}} 2022-11-15 09:21:50,720 MQTT udi_interface.interface INFO interface:_connect: MQTT Connected with result code 0 (Success) 2022-11-15 09:21:50,721 MQTT udi_interface.interface INFO interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:52:c1:a0_1 - MID: 1 Result: 0 2022-11-15 09:21:50,737 MQTT udi_interface.interface INFO interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,) 2022-11-15 09:21:53,679 MainThread udi_interface.interface INFO interface:addNode: Adding node WeatherBit Weather(controller) [None] 2022-11-15 09:24:25,833 Thread-3 udi_interface ERROR query:query_conditions: No response object in query response. 2022-11-15 09:24:42,149 Thread-3 udi_interface ERROR query:query_forecast: No response object in query response. 2022-11-15 09:24:42,829 Thread-5 udi_interface ERROR query:query_forecast: No response object in query response. 2022-11-15 09:25:03,095 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2022-11-15 09:25:05,699 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.43 Starting... 2022-11-15 09:25:05,729 MainThread udi_interface.interface INFO interface:__init__: Initialization received from Polyglot V3 3.0.63 [ISY: 5.4.4, Slot: 1] 2022-11-15 09:25:05,731 MainThread udi_interface.interface INFO interface:__init__: Connect: Network Interface: {'addr': '10.0.0.76', 'netmask': '255.255.255.0', 'broadcast': '10.0.0.255'} 2022-11-15 09:25:05,733 Interface udi_interface.interface INFO interface:_startMqtt: Connecting to MQTT... localhost:1888 2022-11-15 09:25:05,742 MainThread udi_interface.interface WARNING interface:db_getNodeDrivers: controller not found in database. 2022-11-15 09:25:05,743 MainThread udi_interface.interface WARNING interface:send: MQTT Send waiting on connection :: {'config': {'version': '2.0.5'}} 2022-11-15 09:25:05,832 MQTT udi_interface.interface INFO interface:_connect: MQTT Connected with result code 0 (Success) 2022-11-15 09:25:05,834 MQTT udi_interface.interface INFO interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:52:c1:a0_1 - MID: 1 Result: 0 2022-11-15 09:25:05,855 MQTT udi_interface.interface INFO interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,) 2022-11-15 09:25:08,749 MainThread udi_interface.interface INFO interface:addNode: Adding node WeatherBit Weather(controller) [None] 2022-11-15 09:25:10,800 Thread-3 udi_interface ERROR query:query_conditions: No response object in query response. 2022-11-15 09:25:20,989 Thread-3 udi_interface ERROR query:query_forecast: No response object in query response. 2022-11-15 09:25:21,168 Thread-1 udi_interface ERROR query:query_forecast: No response object in query response. 2022-11-15 09:27:05,751 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2022-11-15 09:27:08,105 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.43 Starting... 2022-11-15 09:27:08,126 MainThread udi_interface.interface INFO interface:__init__: Initialization received from Polyglot V3 3.0.63 [ISY: 5.4.4, Slot: 1] 2022-11-15 09:27:08,127 MainThread udi_interface.interface INFO interface:__init__: Connect: Network Interface: {'addr': '10.0.0.76', 'netmask': '255.255.255.0', 'broadcast': '10.0.0.255'} 2022-11-15 09:27:08,129 Interface udi_interface.interface INFO interface:_startMqtt: Connecting to MQTT... localhost:1888 2022-11-15 09:27:08,135 MainThread udi_interface.interface WARNING interface:db_getNodeDrivers: controller not found in database. 2022-11-15 09:27:08,136 MainThread udi_interface.interface WARNING interface:send: MQTT Send waiting on connection :: {'config': {'version': '2.0.5'}} 2022-11-15 09:27:08,184 MQTT udi_interface.interface INFO interface:_connect: MQTT Connected with result code 0 (Success) 2022-11-15 09:27:08,185 MQTT udi_interface.interface INFO interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:52:c1:a0_1 - MID: 1 Result: 0 2022-11-15 09:27:08,203 MQTT udi_interface.interface INFO interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,) 2022-11-15 09:27:11,143 MainThread udi_interface.interface INFO interface:addNode: Adding node WeatherBit Weather(controller) [None] 2022-11-15 09:27:13,661 Thread-3 udi_interface ERROR query:query_conditions: No response object in query response. 2022-11-15 09:27:25,646 Thread-1 udi_interface ERROR query:query_forecast: No response object in query response. Mine is working now and what I had to do is a pain. First I had to get a new API. Mine has not changed but they deactivated it. Maybe I was on old plan. Second I had to change the rules to cover the new limits like lower forcast to 7 from 16. If I were you I would use a new email and get a new API. Try putting that one in and see what happens. Jeff
Dean Posted November 15, 2022 Posted November 15, 2022 That worked! I signed up for a new account with a different email address and everything is good! Thanks for your help!
macjeff Posted November 15, 2022 Posted November 15, 2022 not sure why they are doing this but has to be due to their new "limits" and they have to force you to get a new API key to enforce the limits.
bpwwer Posted November 15, 2022 Posted November 15, 2022 Since I have a developer's plan I haven't seen any issues. But it might be worth one of you emailing them and asking why your token is no longer working. Just invalidating it without any notification seems like poor customer service. However, it is possible that because of the new limits, current installations of the node server are triggering some type of violation response where they disable it for a while or maybe you just need to contact them to get it re-activated. Other than signing up as a developer, I don't have any special relationship with them and I don't recall seeing any news from them on the change in limits.
LarryCRetired Posted November 16, 2022 Posted November 16, 2022 I also obtained a new API from Weatherbit using a new email address and I am now able to get data again. I believe the old free plan allowed for 500 calls per day but don't hold me to this. The new plan allows 50 calls per day. I did contact support last week, but most likely because I am on the free plan, I did not get a response.
Dean Posted November 17, 2022 Posted November 17, 2022 I sent an email this morning to Weatherbit and will provide their response on the Forum when I receive it. Thanks for all the help and guidance.
garybixler Posted November 17, 2022 Posted November 17, 2022 Same problem but can't find a way to get a new key. Canceled plan but still no selection to get it again. Is the free plan no longer available?
macjeff Posted November 17, 2022 Posted November 17, 2022 Just now, garybixler said: Same problem but can't find a way to get a new key. Canceled plan but still no selection to get it again. Is the free plan no longer available? I had to open a new account with a new email. They only allow one api per email to be issued.
garybixler Posted November 17, 2022 Posted November 17, 2022 (edited) Unfortunately I only have the one email so I sent an email to their support. Will see what happens. Edited November 17, 2022 by garybixler
Recommended Posts