Dashticz, alternative dashboard based on HTML, CSS, jQuery
Moderators: leecollings , htilburgs , robgeerts
Doudy
Posts: 246 Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:
Post
by Doudy » Monday 09 August 2021 11:43
Hello,
Here is my block wind:
Code: Select all
blocks['wind'] = {
idx: 43,
title: 'Vitesse-Vent', // Vitesse vent
type: 'dial',
color: '#57c4d6',
min: 0,
max: 100,
values: [
{
value: 'Speed',
addClass: 'bigwind',
decimals: 1,
unit: ' Km/h',
}
],
setpoint: 0,
offset: 180,
width: 2,
showring: true,
showunit: true,
shownumbers: true,
last_update: true,
showvalue: false,
}
Width min: 0 and max: 100
Yet the display does not adapt
Capture.PNG (35.36 KiB) Viewed 1763 times
But Min and max is always between 0 and 360
A idea ?
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
HansieNL
Posts: 964 Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by HansieNL » Monday 09 August 2021 17:43
See manual of wind dial:
This dial has a 360 degree range (like a compass). The wind direction can be set to point to where the wind is blowing from or to, by using the new "offset" parameter. Below I have set the dial to point to which direction the wind is blowing...
Blah blah blah
Doudy
Posts: 246 Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:
Post
by Doudy » Tuesday 10 August 2021 7:49
HansieNL wrote: ↑ Monday 09 August 2021 17:43
See manual of wind dial:
This dial has a 360 degree range (like a compass). The wind direction can be set to point to where the wind is blowing from or to, by using the new "offset" parameter. Below I have set the dial to point to which direction the wind is blowing...
YES, I understood that.
My question was to know if it was possible to modify the scale and limit it between 0 and 100 for example.
For the wind speed 360 km/h seems a bit much to me ...
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
HansieNL
Posts: 964 Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by HansieNL » Tuesday 10 August 2021 18:14
360 is for the wind direction like a compass not the wind speed. If you can’t change it, it looks like it’s fixed.
Maybe @Lokonli can give us the right answer when he is back online.
Blah blah blah
Doudy
Posts: 246 Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:
Post
by Doudy » Friday 13 August 2021 7:44
HansieNL wrote: ↑ Tuesday 10 August 2021 18:14
Maybe @Lokonli can give us the right answer when he is back online.
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
rolandtwilt
Posts: 74 Joined: Monday 05 October 2020 18:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by rolandtwilt » Friday 13 August 2021 8:12
just a question out of my own interest (because you are much further ahead than me) where do you measure the wind?
Via an online weatherstation and an API or do you really have an anemometer in your garden or balcony?
I would like the the device in my garden, but it is not easy to find an anemometer unless you go for a weather station with Wifi, but that costs 150 euros
Doudy
Posts: 246 Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:
Post
by Doudy » Friday 13 August 2021 8:18
Hello,
I have a "Renkforce WH2600 Wireless digital weather station"
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
Lokonli
Posts: 2290 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Friday 13 August 2021 17:06
HansieNL wrote: ↑ Tuesday 10 August 2021 18:14
360 is for the wind direction like a compass not the wind speed. If you can’t change it, it looks like it’s fixed.
Maybe @Lokonli can give us the right answer when he is back online.
For a wind device the dial indeed indicates the wind direction.
Currently this can't be changed.
I'll add it to the request list to make this configurable via a block parameter.
Doudy
Posts: 246 Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:
Post
by Doudy » Saturday 14 August 2021 8:42
Lokonli wrote: ↑ Friday 13 August 2021 17:06
I'll add it to the request list to make this configurable via a block parameter.
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
rolandtwilt
Posts: 74 Joined: Monday 05 October 2020 18:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by rolandtwilt » Wednesday 25 August 2021 10:27
Doudy wrote: ↑ Friday 13 August 2021 8:18
Hello,
I have a "Renkforce WH2600 Wireless digital weather station"
thanks for your comment!
That's quite an expensive joke, at least for me
Doudy
Posts: 246 Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:
Post
by Doudy » Wednesday 08 December 2021 8:45
Lokonli wrote: ↑ Friday 13 August 2021 17:06
I'll add it to the request list to make this configurable via a block parameter.
Have you ever had the time to look at this request?
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
Lokonli
Posts: 2290 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Wednesday 08 December 2021 8:59
Doudy wrote: ↑ Wednesday 08 December 2021 8:45
Lokonli wrote: ↑ Friday 13 August 2021 17:06
I'll add it to the request list to make this configurable via a block parameter.
Have you ever had the time to look at this request?
No, not really. I've to do some maintenance on the dial code first.
But please post a message in the 'next round' topic of @HansieNL:
viewtopic.php?f=67&t=37546
We'll manage feature requests from there.
Lokonli
Posts: 2290 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Wednesday 02 March 2022 21:28
Doudy wrote: ↑ Monday 09 August 2021 11:43
Hello,
Here is my block wind:
Code: Select all
blocks['wind'] = {
idx: 43,
title: 'Vitesse-Vent', // Vitesse vent
type: 'dial',
color: '#57c4d6',
min: 0,
max: 100,
values: [
{
value: 'Speed',
addClass: 'bigwind',
decimals: 1,
unit: ' Km/h',
}
],
setpoint: 0,
offset: 180,
width: 2,
showring: true,
showunit: true,
shownumbers: true,
last_update: true,
showvalue: false,
}
Width min: 0 and max: 100
Yet the display does not adapt
Capture.PNG
But Min and max is always between 0 and 360
A idea ?
Try latest beta.
As an example, use the following block definition:
Code: Select all
blocks['wind'] = {
idx: 43,
title: 'Vitesse-Vent', // Vitesse vent
type: 'dial',
subtype: 'windspeed',
shownumbers: true,
}
windspeed.jpg (10.49 KiB) Viewed 1259 times
[/code]
Doudy
Posts: 246 Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:
Post
by Doudy » Thursday 03 March 2022 14:40
Hello,
I do :
and
I tried following :
Code: Select all
blocks['wind'] = {
idx: 43,
title: 'Vitesse-Vent', // Vitesse vent
type: 'dial',
subtype: 'windspeed',
shownumbers: true,
}
but not the expected result :
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
Lokonli
Posts: 2290 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Thursday 03 March 2022 15:04
Your max value is 110, which is strange...
Further, title is not correct: Vitesse-Vent in block, and Vitesse du Vent on Dashboard.
Can you double check that you only have one blocks['wind'] definition in CONFIG.js,
and that you use 'wind' in your column?
Can you post the Domoticz device json output:
Code: Select all
http://domoticz ip:port/json.htm?type=devices&rid=43
Doudy
Posts: 246 Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:
Post
by Doudy » Friday 04 March 2022 8:16
It's my fault my very big fault
Lokonli wrote: ↑ Thursday 03 March 2022 15:04
Can you double check that you only have one blocks['wind'] definition in CONFIG.js,
and that you use 'wind' in your column?
Indeed there was a second block !
======================
I'm trying to display the gust speed, but it doesn't seem to work !
Code: Select all
blocks['wind2'] = {
idx: 43,
title: 'Rafale-Vent', // Rafale vent
type: 'dial',
subtype: 'gustspeed',
shownumbers: true,
min: 0,
max: 130,
}
Thank you for your help
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
Lokonli
Posts: 2290 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Friday 04 March 2022 8:25
Doudy wrote: ↑ Friday 04 March 2022 8:16
It's my fault my very big fault
Lokonli wrote: ↑ Thursday 03 March 2022 15:04
Can you double check that you only have one blocks['wind'] definition in CONFIG.js,
and that you use 'wind' in your column?
Indeed there was a second block !
======================
I'm trying to display the gust speed, but it doesn't seem to work !
Code: Select all
blocks['wind2'] = {
idx: 43,
title: 'Rafale-Vent', // Rafale vent
type: 'dial',
subtype: 'gustspeed',
shownumbers: true,
min: 0,
max: 130,
}
Thank you for your help
No, that has not been implemented.
I can add gustspeed, but let's think of a more generic solution, that also has value for other dial types.
Doudy
Posts: 246 Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:
Post
by Doudy » Friday 04 March 2022 8:30
Lokonli wrote: ↑ Friday 04 March 2022 8:25
I can add gustspeed, but let's think of a more generic solution, that also has value for other dial types.
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
Lokonli
Posts: 2290 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Sunday 06 March 2022 8:24
Try latest beta with:
Code: Select all
blocks['wind2'] = {
idx: 43,
title: 'Rafale-Vent', // Rafale vent
type: 'dial',
subtype: 'windgust',
}
Doudy
Posts: 246 Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:
Post
by Doudy » Sunday 06 March 2022 10:07
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
Users browsing this forum: No registered users and 1 guest