Strange things with temp. block Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Strange things with temp. block

Post 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
Screen Shot 2020-06-09 at 13.20.11.png (163.38 KiB) Viewed 1344 times
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Strange things with temp. block

Post by Lokonli »

Subdevice 3 is reserved for Barometer. The dewpoint is subdevice 4, so try with '557_4'
User avatar
gielie
Posts: 290
Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Strange things with temp. block

Post 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?
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Strange things with temp. block

Post 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.
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Strange things with temp. block

Post 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.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Opus
Posts: 21
Joined: Monday 05 October 2015 9:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Strange things with temp. block

Post 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.
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Strange things with temp. block

Post 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.
webrazor
Posts: 61
Joined: Monday 09 November 2015 9:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Strange things with temp. block

Post 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.
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Strange things with temp. block

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest