[Solved] how to display (temp) inputvalue on lcd

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
BartSr
Normal user
Posts: 122
Joined: 27 Sep 2019, 17:45

[Solved] how to display (temp) inputvalue on lcd

#1 Post by BartSr » 28 Dec 2021, 15:30

Hi
I am able to show dallas sensorvalue in Domoticz
Now I connected LCD to nodemcu
How can I see value of tempsensor on LCD?
Thanks!
-Bart
Last edited by BartSr on 29 Dec 2021, 23:06, edited 1 time in total.

TD-er
Core team member
Posts: 8754
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: how to display (temp) inputvalue on lcd

#2 Post by TD-er » 28 Dec 2021, 16:00

Most display plugins support some write command, which can be called from the rules.
Some also support some basic string to be set in the task configuration (e.g. the Framed OLED and the OLED plugin support this)

These basic strings also can parse task values.
For example your Dallas sensor is named "dallas" and the temperature value is named "T", then you can use this format:

Code: Select all

[Dallas#T]
in the string to write to your display.
This string will then be updated every "Interval" nr of seconds configured in the display task.

BartSr
Normal user
Posts: 122
Joined: 27 Sep 2019, 17:45

Re: how to display (temp) inputvalue on lcd

#3 Post by BartSr » 28 Dec 2021, 18:04

Thanks,
For me it worked as follows:
In task of LCD line 1
Aanvoer[temp1#Temperature] C
Whereas temp1 is taskname of Dallas tempsensor.

Bart

TD-er
Core team member
Posts: 8754
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: how to display (temp) inputvalue on lcd

#4 Post by TD-er » 28 Dec 2021, 22:15

Great!

Post Reply

Who is online

Users browsing this forum: No registered users and 151 guests