Page 3 of 7

Re: Dashticz v3.8.2 beta: New weather block

Posted: Friday 30 April 2021 20:18
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.

Re: Dashticz v3.8.2 beta: New weather block

Posted: Sunday 02 May 2021 11:24
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

Re: Dashticz v3.8.2 beta: New weather block

Posted: Sunday 02 May 2021 21:01
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 1584 times

Re: Dashticz v3.8.2 beta: New weather block

Posted: Sunday 02 May 2021 22:20
by Chris12
Yeah, that looks really fine! When available, latest bèta ?

Re: Dashticz v3.8.2 beta: New weather block

Posted: Sunday 02 May 2021 22:32
by Lokonli
Some patience :)

Verstuurd vanaf mijn AC2003 met Tapatalk


Re: Dashticz v3.8.2 beta: New weather block

Posted: Monday 03 May 2021 10:20
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.

Re: Dashticz v3.8.2 beta: New weather block

Posted: Wednesday 05 May 2021 19:49
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

Re: Dashticz v3.8.2 beta: New weather block

Posted: Wednesday 05 May 2021 20:24
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!!

Re: Dashticz v3.8.2 beta: New weather block

Posted: Wednesday 05 May 2021 21:54
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

Re: Dashticz v3.8.2 beta: New weather block

Posted: Wednesday 05 May 2021 22:23
by Lokonli
What's your language?
I just realize I still have to generate most language files..

Verstuurd vanaf mijn AC2003 met Tapatalk


Re: Dashticz v3.8.2 beta: New weather block

Posted: Wednesday 05 May 2021 22:38
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.

Re: Dashticz v3.8.2 beta: New weather block

Posted: Thursday 06 May 2021 7:34
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.

Re: Dashticz v3.8.2 beta: New weather block

Posted: Thursday 06 May 2021 7:53
by Renber
Note: It seems to me that the wind in "km/h" would be more meaningful. What do you think ?

Re: Dashticz v3.8.2 beta: New weather block

Posted: Thursday 06 May 2021 16:50
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.

Re: Dashticz v3.8.2 beta: New weather block

Posted: Friday 07 May 2021 19:01
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};

Re: Dashticz v3.8.2 beta: New weather block

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

Verstuurd vanaf mijn AC2003 met Tapatalk


Re: Dashticz v3.8.2 beta: New weather block

Posted: Friday 07 May 2021 20:17
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

Re: Dashticz v3.8.2 beta: New weather block

Posted: Friday 07 May 2021 20:58
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


Re: Dashticz v3.8.2 beta: New weather block

Posted: Friday 07 May 2021 21:14
by Dickey
Haha, now i did and it works like a charm.
thanks.

Re: Dashticz v3.8.2 beta: New weather block

Posted: Saturday 08 May 2021 14:36
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.