show temperature on LCD2004

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
adval40
Normal user
Posts: 26
Joined: 04 Apr 2017, 23:14

show temperature on LCD2004

#1 Post by adval40 » 12 Jun 2017, 19:14

Today i use an dht22 on my esp12e dev board
Also i have used an lcd 2004
But I can't read the value on my display the value is correct I can see it on my external domoticz .


the value from environment DHT11/12/22 is Temperature

on the display

line 2 [DHT#Temperature] C

thanks in advance

Ad

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: show temperature on LCD2004

#2 Post by Shardan » 12 Jun 2017, 19:27

Can you please give a screenshot from your config?
The LCD config, the DHT config and the config page where the device name is shown?

It's a bit difficult to solve problems with the only info is "I use... and it does not work" :)

Regeards
Shardan
Regards
Shardan

adval40
Normal user
Posts: 26
Joined: 04 Apr 2017, 23:14

Re: show temperature on LCD2004

#3 Post by adval40 » 12 Jun 2017, 19:58

I make some pictures

tkx ad
Attachments
dht.jpg
dht.jpg (84.93 KiB) Viewed 9606 times
display lcd2004.jpg
display lcd2004.jpg (77.64 KiB) Viewed 9606 times
devices.jpg
devices.jpg (133.37 KiB) Viewed 9606 times

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: show temperature on LCD2004

#4 Post by Shardan » 12 Jun 2017, 22:28

Ah... now it gets clear.

It's a naming error.

You named all things same. The device itself and the sensor and the display, all are named "Kantoor".
In general this isn't a good idea at all. You might use a home control like domoticz or FHEM later,
and it will get very confusing if everything has same names.

I've never tested, but naming display and sensor same might bring up even more problems.

You may use a better naming scheme like this:
The device itself: stays with "Kantoor"
Display: "Kantoor_LCD"
Sensor: "Kantoor_DHT"

Remember that the diplay value must have the same name as the sensor!

Then the line at the display config should read:

Code: Select all

[Kantoor_DHT#Temperature] C
As you named the sensor "Kantoor" and the diplay config reads "[DHT#..." it will show nothing.

Regards
Shardan
Regards
Shardan

adval40
Normal user
Posts: 26
Joined: 04 Apr 2017, 23:14

Re: show temperature on LCD2004

#5 Post by adval40 » 12 Jun 2017, 23:41

Thanks for the solution.
It works now

greetings Ad Eindhoven

DirkTas67
New user
Posts: 8
Joined: 18 Oct 2017, 18:35

Re: show temperature on LCD2004

#6 Post by DirkTas67 » 11 Dec 2017, 21:09

Hello,

I have a 1602/i2c display, so I have 2 lines to display information in, is it possible to display 2 types of information and then 'scroll' or display another 'page' with information ?
I have a BME280 sensor for Temperature, Pressure and Humidity, 2 DS18B20 sensors for my ground temperature, and a BH1750 to measure the LUX, how do I get all of this information on this screen.

regards,
Dirk

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

Re: show temperature on LCD2004

#7 Post by TD-er » 12 Dec 2017, 09:28

As far as I know, only the OLED_framed plugin allows for this.
But that one doen't support the LCD displays

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: show temperature on LCD2004

#8 Post by Shardan » 12 Dec 2017, 11:14

DirkTas67 wrote: 11 Dec 2017, 21:09 Hello,

I have a 1602/i2c display, so I have 2 lines to display information in, is it possible to display 2 types of information and then 'scroll' or display another 'page' with information ?
I have a BME280 sensor for Temperature, Pressure and Humidity, 2 DS18B20 sensors for my ground temperature, and a BH1750 to measure the LUX, how do I get all of this information on this screen.

regards,
Dirk
Hello,

first: Please open new posts. Appending to old posts makes answers less likely.

Scrolling is possible with OLED displays only atm.
I'm not deep into rules so i just can show up a possible workaround:
You may display dummy devices instead of the sensor values.
Then is might be possible to use a timer and fill the dummy devices with changing values every some seconds.

Regards
Shardan
Regards
Shardan

DirkTas67
New user
Posts: 8
Joined: 18 Oct 2017, 18:35

Re: show temperature on LCD2004

#9 Post by DirkTas67 » 12 Dec 2017, 13:20

Thank you for the answer, I will check the rules.
Dirk

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests