Dashticz v3.8.2 beta: New weather block

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Chris12
Posts: 238
Joined: Tuesday 18 August 2020 8:41
Target OS: NAS (Synology & others)
Domoticz version: 2021.1
Location: NL
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Chris12 »

And a last question for today.... :-)

is there an option to start the forecast with not the current day, but with the next day (like pre-3.8.2 is was I believe)?
As I have the forecast and the weather layout 3 option both on my screen, it makes no sense showing the current day in the forecast as layout 3 shows far more detailed info about the current day.
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by jake »

As of 3.8.2 (my previous version is 3.7.6) there is an error when the dashboard reloads at the specified interval: the dashboard only partially load and displays the red error message in the bottom right corner "domoticz error! Garbage requires a php-enabled webserver"

Some domoticz buttons are loaded, including the agenda, the new weather block and the garbage block itself!

When I 'kill' the dashboard (I use the full screen desktop mode of chrome which does have no browser interface and no possibility to manually reload the dashboard on the Android tablet) and restart Dashticz manually, the whole dashboard is shown properly.

Reverting to 3.7.6 makes the problem go away, therefore I tend to outrule the php capabilities of the webserver
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Lokonli »

Chris12 wrote: Friday 30 April 2021 19:54
Lokonli wrote: Friday 30 April 2021 16:34 And if you like colored weather icons, try latest beta.
Nice adition, just tried it and it works fine!

Maybe also get an option to add the wind in the forecast overview as well, below the rain?
Like SW 3 or NO 15m/s etc.
Something like this?
weather4.jpg
weather4.jpg (90.77 KiB) Viewed 1567 times
Chris12
Posts: 238
Joined: Tuesday 18 August 2020 8:41
Target OS: NAS (Synology & others)
Domoticz version: 2021.1
Location: NL
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Chris12 »

Yeah, that looks really fine! When available, latest bèta ?
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Lokonli »

Some patience :)

Verstuurd vanaf mijn AC2003 met Tapatalk

jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by jake »

jake wrote:As of 3.8.2 (my previous version is 3.7.6) there is an error when the dashboard reloads at the specified interval: the dashboard only partially load and displays the red error message in the bottom right corner "domoticz error! Garbage requires a php-enabled webserver"

Some domoticz buttons are loaded, including the agenda, the new weather block and the garbage block itself!

When I 'kill' the dashboard (I use the full screen desktop mode of chrome which does have no browser interface and no possibility to manually reload the dashboard on the Android tablet) and restart Dashticz manually, the whole dashboard is shown properly.

Reverting to 3.7.6 makes the problem go away, therefore I tend to outrule the php capabilities of the webserver
To be more specific, when the error occurs, the page has loaded the left column, the middle column until the garbage block, but not the bottom half of the middle column (only domoticz device blocks) and not the right column with the usual stuff off time, buienradar, radio etc.

It looks like the page is loaded from left to right, top to bottom and that it stopped loading at the garbage block. The block was not shown last night, but this morning it was shown properly (but not the bottom middle and right column).

When I load the page manually, the last elements to load are usually the agenda, the weather and the garbage block. Than it doesn't stop loading at the garbage block, but loads and shows what is available at the time.
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Lokonli »

Chris12 wrote: Sunday 02 May 2021 22:20 Yeah, that looks really fine! When available, latest bèta ?
I've merged the changes in latest beta. I've to finalize a few things before I'll update the beta version number.

The following weather block parameters have been added:

* skipFirst: To skip the first forecast card (containing the forecast of today, or the current hour)
* useBeaufort: To show the wind speed as Beaufort instead of m/s
* showWind: Set to false to hide the wind info on the forecast cards

Also see:
https://dashticz.readthedocs.io/en/beta ... +skipFirst
Chris12
Posts: 238
Joined: Tuesday 18 August 2020 8:41
Target OS: NAS (Synology & others)
Domoticz version: 2021.1
Location: NL
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Chris12 »

Lokonli wrote: Wednesday 05 May 2021 19:49
Chris12 wrote: Sunday 02 May 2021 22:20 Yeah, that looks really fine! When available, latest bèta ?
I've merged the changes in latest beta. I've to finalize a few things before I'll update the beta version number.

The following weather block parameters have been added:

* skipFirst: To skip the first forecast card (containing the forecast of today, or the current hour)
* useBeaufort: To show the wind speed as Beaufort instead of m/s
* showWind: Set to false to hide the wind info on the forecast cards

Also see:
https://dashticz.readthedocs.io/en/beta ... +skipFirst
Great work!!
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating
Renber
Posts: 41
Joined: Thursday 04 February 2021 8:10
Target OS: Linux
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Renber »

does not work at home, I just have a star in the weather block and this error:

jQuery.Deferred exception: Cannot read property 'direction_W' of undefined TypeError: Cannot read property 'direction_W' of undefined
at translateWindDegreesShort (js/components/weather.js:476:30)
at formatDailyData (js/components/weather.js:177:27)
at defaultFormatHandler (js/components/weather.js:261:5)
at formatData (js/components/weather.js:293:12)
at Object.<anonymous> (js/components/weather.js:131:16)
at mightThrow (http://192.168.1.8/dashticz/dist/bundle ... :309:28164)
at R (http://192.168.1.8/dashticz/dist/bundle ... :309:28545) undefined
Linux Debian 12 Server: Domoticz beta + Dashticz beta + Node-Red + Homebridge
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Lokonli »

What's your language?
I just realize I still have to generate most language files..

Verstuurd vanaf mijn AC2003 met Tapatalk

Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Lokonli »

Renber wrote: Wednesday 05 May 2021 21:54 does not work at home, I just have a star in the weather block and this error:

jQuery.Deferred exception: Cannot read property 'direction_W' of undefined TypeError: Cannot read property 'direction_W' of undefined
at translateWindDegreesShort (js/components/weather.js:476:30)
at formatDailyData (js/components/weather.js:177:27)
at defaultFormatHandler (js/components/weather.js:261:5)
at formatData (js/components/weather.js:293:12)
at Object.<anonymous> (js/components/weather.js:131:16)
at mightThrow (http://192.168.1.8/dashticz/dist/bundle ... :309:28164)
at R (http://192.168.1.8/dashticz/dist/bundle ... :309:28545) undefined
Can you retry latest beta? I've updated the language files, including French.
I use English for the wind direction by default. If you are willing to help with the translations please send me a message.
Renber
Posts: 41
Joined: Thursday 04 February 2021 8:10
Target OS: Linux
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Renber »

Hello, I am French speaking. I tested the new release and it's good. No problem to help, tell me what to do.
Linux Debian 12 Server: Domoticz beta + Dashticz beta + Node-Red + Homebridge
Renber
Posts: 41
Joined: Thursday 04 February 2021 8:10
Target OS: Linux
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Renber »

Note: It seems to me that the wind in "km/h" would be more meaningful. What do you think ?
Linux Debian 12 Server: Domoticz beta + Dashticz beta + Node-Red + Homebridge
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by HansieNL »

Renber wrote: Thursday 06 May 2021 7:53 Note: It seems to me that the wind in "km/h" would be more meaningful. What do you think ?
Meters per second (m/s) is the SI unit for velocity and the unit recommended by the World Meteorological Organization for reporting wind speeds.
Maybe km/h could be made optional.
Blah blah blah
Dickey
Posts: 25
Joined: Friday 19 April 2019 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Dickey »

Chris12 wrote: Friday 30 April 2021 19:54
Lokonli wrote: Friday 30 April 2021 16:34 And if you like colored weather icons, try latest beta.
Nice adition, just tried it and it works fine!

Maybe also get an option to add the wind in the forecast overview as well, below the rain?
Like SW 3 or NO 15m/s etc.
Hi Chris,

Have this snipped to try to get some color in my weather block.
It's not working.

can you post an example of the code you used?

Code: Select all

//weather
var weather = {}
blocks['weather_0'] = {type: 'weather',layout: 0,colors: {cloud:'orange',light_cloud: 'orange'},scale: 0.98};
blocks['weather_1'] = {type: 'weather',layout: 1,colors: {cloud:'orange',light_cloud: 'orange'},scale: 0.98};
Dz-beta | Dashticz 3.8.10 BETA | Tradfri | RF-Link | Z-Wave | Harmony | Unify | P1 |
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Lokonli »

Do you have the animated weather icons?

Verstuurd vanaf mijn AC2003 met Tapatalk

Dickey
Posts: 25
Joined: Friday 19 April 2019 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Dickey »

Lokonli wrote: Friday 07 May 2021 19:36 Do you have the animated weather icons?

Verstuurd vanaf mijn AC2003 met Tapatalk
Yes, and i set monocrome: false
Dz-beta | Dashticz 3.8.10 BETA | Tradfri | RF-Link | Z-Wave | Harmony | Unify | P1 |
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Lokonli »

Dickey wrote:
Lokonli wrote: Friday 07 May 2021 19:36 Do you have the animated weather icons?

Verstuurd vanaf mijn AC2003 met Tapatalk
Yes, and i set monocrome: false
And you pulled the latest version from GitHub? (I still have to increase the version number...)


Verstuurd vanaf mijn AC2003 met Tapatalk

Dickey
Posts: 25
Joined: Friday 19 April 2019 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Dickey »

Haha, now i did and it works like a charm.
thanks.
Dz-beta | Dashticz 3.8.10 BETA | Tradfri | RF-Link | Z-Wave | Harmony | Unify | P1 |
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by jake »

The 'wind' option in the weather block takes quite a bit of real estate in the screen. Therefore a feature request:
Parameter 0, 1, 2 for: icon, text, both or something similar.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest