update interval openweathermap
Moderators: leecollings, remb0
-
- Posts: 72
- Joined: Tuesday 24 June 2014 19:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: struggling and stumbling. Amsterdam area
- Contact:
update interval openweathermap
I would like to suggest the possibility to change the update frequency of openweathermap, because I exceed the maximum number of free calls, when I request for the weather info of 4 or more places for my own personal interest.
Set 1= RPI 3B, latest Beta, RFLink USB, RFLINK WIFI, Zwave
Set 2= RPI 2B, Latest Beta, OTGW (USB), SBFSpot (Bluetooth)
Set 2= RPI 2B, Latest Beta, OTGW (USB), SBFSpot (Bluetooth)
- HansieNL
- Posts: 964
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
-
- Posts: 72
- Joined: Tuesday 24 June 2014 19:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: struggling and stumbling. Amsterdam area
- Contact:
Re: update interval openweathermap
Sure you can, but that does not make a difference in the total count of daily counts
Set 1= RPI 3B, latest Beta, RFLink USB, RFLINK WIFI, Zwave
Set 2= RPI 2B, Latest Beta, OTGW (USB), SBFSpot (Bluetooth)
Set 2= RPI 2B, Latest Beta, OTGW (USB), SBFSpot (Bluetooth)
- kiddigital
- Posts: 438
- Joined: Thursday 10 August 2017 6:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: update interval openweathermap
Are you using the updated module (with forecast data) in the Beta or the regular/old one?
The updated version in the Beta uses the new One Call API (1000 calls per day) and has a default interval of 300 seconds, so 288 calls per day. This means you can have at least 3 devices.
I can see the need for a 'lowered' interval so you can have more of these devices. Let me take a look at options...
@BertB, what would be a good interval? Once every 1800 seconds (so 48 updates per day)? Which would give you room to check 20 locations within the limit of 1000 calls a day.
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
One RPi with Pi foundation standard touch screen to display Dashticz
-
- Posts: 72
- Joined: Tuesday 24 June 2014 19:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: struggling and stumbling. Amsterdam area
- Contact:
Re: update interval openweathermap
I use the Beta releases, so I indeed can have 3 devices. That works fine.kiddigital wrote: ↑Monday 26 October 2020 21:20
Are you using the updated module (with forecast data) in the Beta or the regular/old one?
The updated version in the Beta uses the new One Call API (1000 calls per day) and has a default interval of 300 seconds, so 288 calls per day. This means you can have at least 3 devices.
I can see the need for a 'lowered' interval so you can have more of these devices. Let me take a look at options...
@BertB, what would be a good interval? Once every 1800 seconds (so 48 updates per day)? Which would give you room to check 20 locations within the limit of 1000 calls a day.
For me a good interval would be 1800. This gives me a good balance between definition and number of devices.
Set 1= RPI 3B, latest Beta, RFLink USB, RFLINK WIFI, Zwave
Set 2= RPI 2B, Latest Beta, OTGW (USB), SBFSpot (Bluetooth)
Set 2= RPI 2B, Latest Beta, OTGW (USB), SBFSpot (Bluetooth)
- kiddigital
- Posts: 438
- Joined: Thursday 10 August 2017 6:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: update interval openweathermap
I have created a Pull Request for the OWM module on GitHub, see https://github.com/domoticz/domoticz/pull/4420
If/Once it is accepted and merged into the Beta, an additional toggle should be visible for the OWM hardware module where you can 'delay' the update interval from 5 minutes to 30 minutes.
If/Once it is accepted and merged into the Beta, an additional toggle should be visible for the OWM hardware module where you can 'delay' the update interval from 5 minutes to 30 minutes.
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
One RPi with Pi foundation standard touch screen to display Dashticz
-
- Posts: 72
- Joined: Tuesday 24 June 2014 19:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: struggling and stumbling. Amsterdam area
- Contact:
Re: update interval openweathermap
That would be great.
Set 1= RPI 3B, latest Beta, RFLink USB, RFLINK WIFI, Zwave
Set 2= RPI 2B, Latest Beta, OTGW (USB), SBFSpot (Bluetooth)
Set 2= RPI 2B, Latest Beta, OTGW (USB), SBFSpot (Bluetooth)
Who is online
Users browsing this forum: No registered users and 1 guest