Page 1 of 1

show temperature on LCD2004

Posted: 12 Jun 2017, 19:14
by adval40
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

Re: show temperature on LCD2004

Posted: 12 Jun 2017, 19:27
by Shardan
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

Re: show temperature on LCD2004

Posted: 12 Jun 2017, 19:58
by adval40
I make some pictures

tkx ad

Re: show temperature on LCD2004

Posted: 12 Jun 2017, 22:28
by Shardan
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

Re: show temperature on LCD2004

Posted: 12 Jun 2017, 23:41
by adval40
Thanks for the solution.
It works now

greetings Ad Eindhoven

Re: show temperature on LCD2004

Posted: 11 Dec 2017, 21:09
by DirkTas67
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

Re: show temperature on LCD2004

Posted: 12 Dec 2017, 09:28
by TD-er
As far as I know, only the OLED_framed plugin allows for this.
But that one doen't support the LCD displays

Re: show temperature on LCD2004

Posted: 12 Dec 2017, 11:14
by Shardan
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

Re: show temperature on LCD2004

Posted: 12 Dec 2017, 13:20
by DirkTas67
Thank you for the answer, I will check the rules.
Dirk