Jump to content

WeatherBit Weather - Prob. with updates


vdenis3399
Go to solution Solved by bpwwer,

Recommended Posts

Posted

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.

Sans titre1.jpg

Sans titre2.jpg

Sans titre3.jpg

Posted

All the HTTP request to the WeatherBit servers are coming back with no response.  The node server is probably not configured correctly.

 

  • Like 1
Posted

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

Posted
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.

Posted
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

 

 

Screenshot 2022-11-12 at 10.12.06 AM.png

Posted
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

 

 

Screenshot 2022-11-12 at 10.12.06 AM.png

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

Posted

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

 

Posted

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.

Posted

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.

Posted
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
Posted

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.

Posted

@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.
Posted
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

 

Posted

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.

Posted

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.

 

Posted

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.

Posted
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.

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...