weather report
Moderator: leecollings
-
- Posts: 40
- Joined: Friday 03 January 2020 15:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Zwolle, the Netherlands
- Contact:
weather report
hello,
When I look at the rainfall of 2019, all data is present but I cannot get a report over that year. 2018 is present and filled with the data of that year.
So it seems preceeding years are present at the dropdown menu except for 2019.
When I look at the rainfall of 2019, all data is present but I cannot get a report over that year. 2018 is present and filled with the data of that year.
So it seems preceeding years are present at the dropdown menu except for 2019.
Raspberry Pi 3B, Raspberry Pi 4, RFXCOM - RFXtrx433, Z-wave, ESP8266
- FireWizard
- Posts: 1870
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: weather report
Hi,
The same here.
In the "drop down" menu you cannot select 2019 or 2020.
Only the years between (and including) 2012 till 2018 are present.
No data over previous years is present
It is the same for all Rain sensors. I have both Buienradar and Darksky installed.
Regards
The same here.
In the "drop down" menu you cannot select 2019 or 2020.
Only the years between (and including) 2012 till 2018 are present.
No data over previous years is present
It is the same for all Rain sensors. I have both Buienradar and Darksky installed.
Regards
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: weather report
A pull request has been made to solve this. Will be merged into one of the next Beta's.FireWizard wrote: ↑Friday 03 January 2020 21:35 In the "drop down" menu you cannot select 2019 or 2020.
Only the years between (and including) 2012 till 2018 are present.
If you do not want to wait for that you could modify <domoticz dir>/www/index.html yourself (around line 1245 and you will see what needs to be added)
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
- FireWizard
- Posts: 1870
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: weather report
@waaren
Thank you (as usual) for your comment.
I do not use this data at all, and I would not have been looking to it, if there would not have been a post about it.
I added 2 lines (after approx. line 1245) for the year 2019 and 2020.
It works for now (2020), but in addition I suggest to make a final solution, so that we do not have to modify next year again.
Regards
Thank you (as usual) for your comment.
I do not use this data at all, and I would not have been looking to it, if there would not have been a post about it.
I added 2 lines (after approx. line 1245) for the year 2019 and 2020.
It works for now (2020), but in addition I suggest to make a final solution, so that we do not have to modify next year again.
Regards
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: weather report
At least that gives anyone interested a year to learn html and create a Pull Request to solve this. We cannot expect @gizmocuz to do all these kind of changes by himself. There are over 22000 members on the forum. There must be more people knowing how to code such a common piece of html then the ones now stepping in.FireWizard wrote: ↑Saturday 04 January 2020 18:43 It works for now (2020), but in addition I suggest to make a final solution, so that we do not have to modify next year again.
Please note that this is not personal to you as you already contribute more then a fair amount by giving excellent advise and suggestions on the forum.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
- FireWizard
- Posts: 1870
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: weather report
Hi waaren
You wrote:
Agree?
Regards
You wrote:
I do not take these things personal. I agree, you are right as you said:Please note that this is not personal
It is simple, if we copy/paste e.g the years 2021 to 2030, we are prepared for the next ten years.We cannot expect @gizmocuz to do all these kind of changes by himself. There are over 22000 members on the forum. There must be more people knowing how to code such a common piece of html then the ones now stepping in.
Agree?
Regards
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: weather report
My preference would be to make this dynamic. So from 2016 to current year and preset it to current year.FireWizard wrote: ↑Saturday 04 January 2020 19:33 It is simple, if we copy/paste e.g the years 2021 to 2030, we are prepared for the next ten years.
Agree?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
- FireWizard
- Posts: 1870
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: weather report
@waaren,
That would be the best.
Regards
That would be the best.
Regards
-
- Posts: 40
- Joined: Friday 03 January 2020 15:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Zwolle, the Netherlands
- Contact:
Re: weather report
thanks for the solution.
Why would there be the possibility to present these data if not usefull?
And I have learned another lesson about Domoticz, so thanks again
with regards
Why would there be the possibility to present these data if not usefull?
And I have learned another lesson about Domoticz, so thanks again
with regards
Raspberry Pi 3B, Raspberry Pi 4, RFXCOM - RFXtrx433, Z-wave, ESP8266
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: weather report
I created another Pull request for this that dynamically create a combobox starting at 2012 and ending at current year. Default is current year.
When @gizmocuz finds the time to review the code changes it can be merged into a next beta.
Please feel free to comment. I am quite new to JS / HTML so there could well be room for improvement.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: No registered users and 1 guest