Send sensor value to the other ESP with LCD
Moderators: grovkillen, Stuntteam, TD-er
Send sensor value to the other ESP with LCD
Hello,
at the beginning - thanks you for excellent project.
And small question related to my project implementation.
Is there any way to send sensor value from one esp01 to other esp02 with is LCD display connected?
at the beginning - thanks you for excellent project.
And small question related to my project implementation.
Is there any way to send sensor value from one esp01 to other esp02 with is LCD display connected?
Re: Send sensor value to the other ESP with LCD
On top of Darek's request (which I +), I would like to request ability to use various internal data to be displayed on LCD/OLED, like Uptime, IP Address or similar.
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
Re: Send sensor value to the other ESP with LCD
To display time or uptime is easy like everything on ESPEasymkotek wrote:On top of Darek's request (which I +), I would like to request ability to use various internal data to be displayed on LCD/OLED, like Uptime, IP Address or similar.

If you write %systime% on the line of the LCD you see the uptime when NTP is not enabled. When NTP is enabled you get the GMT time.
%ip% gives you the IP number of the ESP.
Re: Send sensor value to the other ESP with LCD
Great then. IP works as advised (since R57).costo wrote:To display time or uptime is easy like everything on ESPEasymkotek wrote:On top of Darek's request (which I +), I would like to request ability to use various internal data to be displayed on LCD/OLED, like Uptime, IP Address or similar.![]()
If you write %systime% on the line of the LCD you see the uptime when NTP is not enabled. When NTP is enabled you get the GMT time.
%ip% gives you the IP number of the ESP.
For the uptime - in R61, System Time is shown as 0:00, while Uptime is another parameter in GUI. For me systime shows 0:00.
I understand, uptime is calculated as wdcounter/2, only this parameter is not made available the way systime and ip is and needs to be added to work.
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
Re: Send sensor value to the other ESP with LCD
You are right ,in R60 I get 0:00 all the time but in R57 I really see the systime updated every minute like it is the uptime.mkotek wrote: Great then. IP works as advised (since R57).
For the uptime - in R61, System Time is shown as 0:00, while Uptime is another parameter in GUI. For me systime shows 0:00.
I understand, uptime is calculated as wdcounter/2, only this parameter is not made available the way systime and ip is and needs to be added to work.
So Martinus got rid of this feature in later versions. A pity ?
Re: Send sensor value to the other ESP with LCD
It might be a result of moving functions from Time.h library into Misc.ino sketch.
It would be nice to be able to get that information and even send it to Domoticz or onto status webpage I am thinking of (where ping results from various nodes and status info would be collected).
It would be nice to be able to get that information and even send it to Domoticz or onto status webpage I am thinking of (where ping results from various nodes and status info would be collected).
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
Re: Send sensor value to the other ESP with LCD
I think your controller should be able to do this, collect data from one sensor and use http requests to update the display on another unit?darek wrote:Hello,
at the beginning - thanks you for excellent project.
And small question related to my project implementation.
Is there any way to send sensor value from one esp01 to other esp02 with is LCD display connected?
Re: Send sensor value to the other ESP with LCD
There seems to be issues with NTP, so it's disabled by default in most recent versions. So if you want it, you have to enable this in tools/advanced settings.costo wrote:You are right ,in R60 I get 0:00 all the time but in R57 I really see the systime updated every minute like it is the uptime.mkotek wrote: Great then. IP works as advised (since R57).
For the uptime - in R61, System Time is shown as 0:00, while Uptime is another parameter in GUI. For me systime shows 0:00.
I understand, uptime is calculated as wdcounter/2, only this parameter is not made available the way systime and ip is and needs to be added to work.
So Martinus got rid of this feature in later versions. A pity ?
The main screen should not display system time if it's disabled. Should fix that.
Re: Send sensor value to the other ESP with LCD
We have concluded in R57 %systime% has been displaying uptime if NTP has been disabled and system time, when enabled. In later versions, with NTP disabled, %systime% is always displaying 0:00, instead of uptime. I do not care about NTP at the moment, but being able to report uptime to controller (Domoticz) and being able to display it in LCD/OLED would be nice.Martinus wrote:There seems to be issues with NTP, so it's disabled by default in most recent versions. So if you want it, you have to enable this in tools/advanced settings.costo wrote:You are right ,in R60 I get 0:00 all the time but in R57 I really see the systime updated every minute like it is the uptime.mkotek wrote: Great then. IP works as advised (since R57).
For the uptime - in R61, System Time is shown as 0:00, while Uptime is another parameter in GUI. For me systime shows 0:00.
I understand, uptime is calculated as wdcounter/2, only this parameter is not made available the way systime and ip is and needs to be added to work.
So Martinus got rid of this feature in later versions. A pity ?
The main screen should not display system time if it's disabled. Should fix that.
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
Re: Send sensor value to the other ESP with LCD
A misunderstanding ?
I meant to say that in version R57 when NTP is not enable , %systime% command displayed the uptime .
In later versions %systime% displays 0:00 when NTP is not enabled.
%systime% had a dual function in R57.
After all seeing 0:00 in the display all the time is useless
I meant to say that in version R57 when NTP is not enable , %systime% command displayed the uptime .
In later versions %systime% displays 0:00 when NTP is not enabled.
%systime% had a dual function in R57.
Or are you saying you will fix this 'feature' again in future versions, seeing uptime instead of 0:00 ?Martinus wrote: The main screen should not display system time if it's disabled. Should fix that.
After all seeing 0:00 in the display all the time is useless

Re: Send sensor value to the other ESP with LCD
Followed your advice I founded in the Domoticz server "send data" option via httplink, where I can in easy way write a sensor value to variable and post it via url. But I have problem with correct define url:Martinus wrote:I think your controller should be able to do this, collect data from one sensor and use http requests to update the display on another unit?darek wrote:Hello,
at the beginning - thanks you for excellent project.
And small question related to my project implementation.
Is there any way to send sensor value from one esp01 to other esp02 with is LCD display connected?
url: http://192.168.10.107/control?cmd=lcd,1,1,
method: post
data: %v
I'm trying a lot of url string modification but it didn't work. Maybe someone have any idea?
Re: Send sensor value to the other ESP with LCD
This configuration is working for me (base on Domoticz server):
url: http://192.168.10.107/control?cmd=lcd,1 ... 20%v%20%20%
method: post
data: value=%v
Although, I'd rather send value from esp directly. So if somebody have any suggestion, please let me know.
url: http://192.168.10.107/control?cmd=lcd,1 ... 20%v%20%20%
method: post
data: value=%v
Although, I'd rather send value from esp directly. So if somebody have any suggestion, please let me know.
Re: Send sensor value to the other ESP with LCD
I do not think it is good solution. If I understand this functionality in Domoticz, it is meant for single communciation. If you need to send several values or to different screens, then there is a problem. Unless I am mistaken, of course.darek wrote:This configuration is working for me (base on Domoticz server):
url: http://192.168.10.107/control?cmd=lcd,1 ... 20%v%20%20%
method: post
data: value=%v
Although, I'd rather send value from esp directly. So if somebody have any suggestion, please let me know.
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
Re: Send sensor value to the other ESP with LCD
Michal,
I think that is no problem.
small modification url string
url: http://192.168.10.107/control?cmd=lcd,1,8,%20%v%20%20%
and you can write name by LCD line setup on esp.
this should resolve problem (not checked by me) .
I think that is no problem.
small modification url string
url: http://192.168.10.107/control?cmd=lcd,1,8,%20%v%20%20%
and you can write name by LCD line setup on esp.
this should resolve problem (not checked by me) .
Re: Send sensor value to the other ESP with LCD
If I am reading your answer correctly, this is not, what I meant.darek wrote:Michal,
I think that is no problem.
small modification url string
url: http://192.168.10.107/control?cmd=lcd,1,8,%20%v%20%20%
and you can write name by LCD line setup on esp.
this should resolve problem (not checked by me) .
If I am not mistaken, the configuration in Domoticz allows such integration with only one target IP address, not multiple. Am I right? Or you can configure Domoticz at the same time to send to 192.168.10.107 and 192.168.10.110 at the same time (two different LCDs, same or different information)?
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
Re: Send sensor value to the other ESP with LCD
Domoticz at the same time can send info only to one LCD but it can send many value from many sensor.
Who is online
Users browsing this forum: No registered users and 12 guests