temperature on 7 segment led

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
pawell32
Normal user
Posts: 18
Joined: 13 Aug 2020, 07:45

temperature on 7 segment led

#1 Post by pawell32 » 13 Aug 2020, 08:07

Hello,

i have wemos d1 + DHT11 + 7sement led + esp easy.
i don`t now how to display temperature from my sensor.
In software i set display output -> manual.
What command to run temperature ?
7dt, ??

User avatar
Ath
Normal user
Posts: 3517
Joined: 10 Jun 2018, 12:06
Location: NL

Re: temperature on 7 segment led

#2 Post by Ath » 13 Aug 2020, 10:51

The simplest would be to add a rule for acting on a change of your sensor value:

(DHT11 is the name of the sensor in the Devices list)

Code: Select all

on DHT11#Temperature do
  7dt,[DHT11#Temperature]
endon
This requires you to enable the Rules engine in the Tools/Advanced page (Leave Old Engine enabled as well)
/Ton (PayPal.me)

pawell32
Normal user
Posts: 18
Joined: 13 Aug 2020, 07:45

Re: temperature on 7 segment led

#3 Post by pawell32 » 14 Aug 2020, 07:46

it works!
Thank you.

you can import temperature from another esp ?

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

Re: temperature on 7 segment led

#4 Post by TD-er » 14 Aug 2020, 08:26

pawell32 wrote: 14 Aug 2020, 07:46 [...]
you can import temperature from another esp ?
See ESPEasy p2p protocol: https://espeasy.readthedocs.io/en/lates ... #c013-page

pawell32
Normal user
Posts: 18
Joined: 13 Aug 2020, 07:45

Re: temperature on 7 segment led

#5 Post by pawell32 » 18 Aug 2020, 13:37

i read the manual.
i have p2p connection.
i don`t now how connect the sensor from esp1 to esp2.

User avatar
Ath
Normal user
Posts: 3517
Joined: 10 Jun 2018, 12:06
Location: NL

Re: temperature on 7 segment led

#6 Post by Ath » 18 Aug 2020, 13:58

pawell32 wrote: 18 Aug 2020, 13:37 i read the manual.
i have p2p connection.
i don`t now how connect the sensor from esp1 to esp2.
On what step in the guide didn't it work as described? It is a step-by-step manual, so it should be easy.
Did you try the suggestions from the troubleshooting section?
/Ton (PayPal.me)

pawell32
Normal user
Posts: 18
Joined: 13 Aug 2020, 07:45

Re: temperature on 7 segment led

#7 Post by pawell32 » 18 Aug 2020, 14:49

- Check to see if all nodes can see eachother. This will be visible on the main page showing a list of all nodes. - yes
- Enable p2p networking controller on receiving node - yes
- Make sure the receiving node has the spot free which is being used on the ‘sending’ node (For example slot 12) - yes
- Enable p2p networking controller on sending node - yes
- Set the plugin you want to share to use the p2p controller - ?

pawell32
Normal user
Posts: 18
Joined: 13 Aug 2020, 07:45

Re: temperature on 7 segment led

#8 Post by pawell32 » 18 Aug 2020, 15:14

what device should i set?

pawell32
Normal user
Posts: 18
Joined: 13 Aug 2020, 07:45

Re: temperature on 7 segment led

#9 Post by pawell32 » 18 Aug 2020, 15:18

screens
Attachments
4.png
4.png (80.98 KiB) Viewed 11503 times
3.png
3.png (66.21 KiB) Viewed 11503 times
2.png
2.png (54.85 KiB) Viewed 11503 times
1.png
1.png (57.85 KiB) Viewed 11503 times

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

Re: temperature on 7 segment led

#10 Post by TD-er » 18 Aug 2020, 17:07

Make sure not to use unit nr 0
That's also mentioned in the manual, not to use the unit nr. 0 (also do not use unit nr 255)

User avatar
Ath
Normal user
Posts: 3517
Joined: 10 Jun 2018, 12:06
Location: NL

Re: temperature on 7 segment led

#11 Post by Ath » 18 Aug 2020, 17:09

On ESP_Balkon you should now open the BMx280 device page (Edit button), and enable the P2P controller. If it was already enabled, disable it, submit, then enable, and submit again. This last submit action should send it to the ESPEasy P2P network

NB: It would probably help if both ESP's were on the same software builds, as ESP_Easy is quite a bit older build (20104) than ESP_Balkon (20109).
And ESP_Easy should of course have the BMx280 plugin available, did you check that?
Was ESP_Balkon rebooted after the UDP port was set? As it has an up-time of > 1 day...

And, as TD-er already said, unit 0 isn't quite right...
/Ton (PayPal.me)

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

Re: temperature on 7 segment led

#12 Post by TD-er » 18 Aug 2020, 17:13

They do see eachother, so I guess the p2p data exchange should work and I guess a reboot is no longer needed then (but wouldn't hurt)

pawell32
Normal user
Posts: 18
Joined: 13 Aug 2020, 07:45

Re: temperature on 7 segment led

#13 Post by pawell32 » 18 Aug 2020, 22:45

great :) it works !
I changed the unit 0 by to 2 and restart.

thank you very much

User avatar
ohaldi
Normal user
Posts: 61
Joined: 31 Jan 2020, 09:10
Location: Switzerland

Re: temperature on 7 segment led

#14 Post by ohaldi » 11 Oct 2022, 21:40

Hello pawell32,
I followed your comment :
On ESP_Balkon you should now open the BMx280 device page (Edit button), and enable the P2P controller. If it was already enabled, disable it, submit, then enable, and submit again. This last submit action should send it to the ESPEasy P2P network
NB: It would probably help if both ESP's were on the same software builds, as ESP_Easy is quite a bit older build (20104) than ESP_Balkon (20109).
And ESP_Easy should of course have the BMx280 plugin available, did you check that?
Was ESP_Balkon rebooted after the UDP port was set? As it has an up-time of > 1 day...
But in my case, I still don't get the values on my second ESP!
Do I missing something on my receiving ESP "ESP_GARAGE"?
ESP-P2P.jpg
ESP-P2P.jpg (53.49 KiB) Viewed 2927 times
Shouldn't I select the source node number somewhere?

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

Re: temperature on 7 segment led

#15 Post by TD-er » 11 Oct 2022, 22:00

Did you follow the hints (important!) and steps as described here: https://espeasy.readthedocs.io/en/lates ... #c013-page ?

Based on your screenshot.... What build are you using?
The layout does seem a bit odd.

User avatar
ohaldi
Normal user
Posts: 61
Joined: 31 Jan 2020, 09:10
Location: Switzerland

Re: temperature on 7 segment led

#16 Post by ohaldi » 12 Oct 2022, 07:28

Thanks for you quick answer. OK I will re
For my first ESP (Sender), I have the build 20103
and the second one (Receiver) has the build 20116.
I have already been to the link you mentioned. So I will read this document again.
But I don't understand how the receiver chooses his source.

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

Re: temperature on 7 segment led

#17 Post by TD-er » 12 Oct 2022, 10:35

You have to have the UDP port set to the same port nr on all nodes you want to use in the p2p network (preferrably 8266 as port nr)
Also you must have all p2p nodes in the same network subnet.
After you set the UDP port, please reboot the node (at least the older build) and check on the root page to see if they all show up.
This may take upto 30 seconds, as all p2p nodes report their presence every 30 sec.

Also very important: use unique unit nrs, not being 0 nor 255.
The unit nr can be set on the "Config" tab.
Again, on the older node you may want to reboot it to make sure it is updated.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 115 guests