Page 1 of 2

Dashticz-Dial-Wind Speed-Min-Max

Posted: Monday 09 August 2021 11:43
by Doudy
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
Capture.PNG (35.36 KiB) Viewed 1766 times
But Min and max is always between 0 and 360

A idea ?
;)

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Monday 09 August 2021 17:43
by HansieNL
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...

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Tuesday 10 August 2021 7:49
by Doudy
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 ...

;)

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Tuesday 10 August 2021 18:14
by HansieNL
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.

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Friday 13 August 2021 7:44
by Doudy
HansieNL wrote: ↑Tuesday 10 August 2021 18:14 Maybe @Lokonli can give us the right answer when he is back online.
πŸ‘

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Friday 13 August 2021 8:12
by rolandtwilt
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

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Friday 13 August 2021 8:18
by Doudy
Hello,
I have a "Renkforce WH2600 Wireless digital weather station"

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Friday 13 August 2021 17:06
by Lokonli
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.

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Saturday 14 August 2021 8:42
by Doudy
Lokonli wrote: ↑Friday 13 August 2021 17:06 I'll add it to the request list to make this configurable via a block parameter.
πŸ‘

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Wednesday 25 August 2021 10:27
by rolandtwilt
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

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Wednesday 08 December 2021 8:45
by Doudy
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?

;)

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Wednesday 08 December 2021 8:59
by Lokonli
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.

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Wednesday 02 March 2022 21:28
by Lokonli
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
windspeed.jpg (10.49 KiB) Viewed 1262 times
[/code]

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Thursday 03 March 2022 14:40
by Doudy
Hello,
I do :

Code: Select all

~/dashticz $ git pull
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 :
Image

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Thursday 03 March 2022 15:04
by Lokonli
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

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Friday 04 March 2022 8:16
by Doudy
:oops:
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
;)

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Friday 04 March 2022 8:25
by Lokonli
Doudy wrote: ↑Friday 04 March 2022 8:16 :oops:
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.

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Friday 04 March 2022 8:30
by Doudy
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.
πŸ‘

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Sunday 06 March 2022 8:24
by Lokonli
Try latest beta with:

Code: Select all

blocks['wind2'] = {
    idx: 43,
    title: 'Rafale-Vent',  // Rafale vent
    type: 'dial',
    subtype: 'windgust',
}

Re: Dashticz-Dial-Wind Speed-Min-Max

Posted: Sunday 06 March 2022 10:07
by Doudy
✨✨✨✨
πŸ‘


Thank you for your help
It's OK
;)