Page 1 of 1
Strange things with temp. block
Posted: Tuesday 09 June 2020 13:30
by EdwinK
Re-added my temperature meter again, and hen I just use the block, 557 in this case, I get 3 buttons (temp, humidity and a 3rd one). So I thought I could split them with '557_1','557_2','557_3'). But then the last button isn't showing. See attachment.
The device is a Cresta, TFA TS34C temp/humidity sensor

- Screen Shot 2020-06-09 at 13.20.11.png (163.38 KiB) Viewed 1536 times
Re: Strange things with temp. block
Posted: Tuesday 09 June 2020 16:03
by Lokonli
Subdevice 3 is reserved for Barometer. The dewpoint is subdevice 4, so try with '557_4'
Re: Strange things with temp. block
Posted: Tuesday 09 June 2020 16:13
by gielie
I had somewhat the same thing only I use the combine option and now I get the dew point as extra in my block while I only want the temp and moisture percentage in 1 block. Is this still possible in some way?
Re: Strange things with temp. block
Posted: Tuesday 09 June 2020 18:05
by Lokonli
gielie wrote: Tuesday 09 June 2020 16:13
I had somewhat the same thing only I use the combine option and now I get the dew point as extra in my block while I only want the temp and moisture percentage in 1 block. Is this still possible in some way?
Of course

You can use the 'value' parameter.
As an example, if device 16 is your temp device, define your block as follows:
Code: Select all
blocks['16_1'] = {
value: '<Temp>°C, <Humidity>%',
unit: '',
}
And add '16_1' to one of your columns.
Re: Strange things with temp. block
Posted: Tuesday 09 June 2020 22:37
by EdwinK
Lokonli wrote: Tuesday 09 June 2020 16:03
Subdevice 3 is reserved for Barometer. The dewpoint is subdevice 4, so try with '557_4'
Didn't know that. Thought it was just numbering upwards.
Re: Strange things with temp. block
Posted: Tuesday 16 June 2020 15:19
by Opus
For me, only the wind strength and direction are shown. I cannot reach the other parameters with a sub IDX. I also need gust and temperature.
Or I overlook something there?
The given string is: 225.00; SW; 4; 8; 17.6; 17.6 I need the 4th and 5th value.
Re: Strange things with temp. block
Posted: Tuesday 16 June 2020 17:03
by Lokonli
Opus wrote: Tuesday 16 June 2020 15:19
For me, only the wind strength and direction are shown. I cannot reach the other parameters with a sub IDX. I also need gust and temperature.
Or I overlook something there?
The given string is: 225.00; SW; 4; 8; 17.6; 17.6 I need the 4th and 5th value.
It seems that the Dashticz wind block only shows strength and direction, and that this is hard coded. It makes it a bit more difficult to improve.
It would be better to change this into a generic block, like the other Domoticz devices.
I'll add this to the feature request list.
Re: Strange things with temp. block
Posted: Monday 20 July 2020 10:57
by webrazor
I also have some strange things only with the temp. block.
After i upgraded to 3.5 some .css settings are not working anymore for the temp. block but still work for other blocks.
For example font size of the value and border margin for other blocks still works but not for temp. block.
Re: Strange things with temp. block
Posted: Saturday 01 August 2020 14:08
by Lokonli
webrazor wrote: Monday 20 July 2020 10:57
I also have some strange things only with the temp. block.
After i upgraded to 3.5 some .css settings are not working anymore for the temp. block but still work for other blocks.
For example font size of the value and border margin for other blocks still works but not for temp. block.
Maybe this post contains your answer:
https://www.domoticz.com/forum/viewtopi ... 73#p253673
if not, let me know.