New (old) project...

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

New (old) project...

#1 Post by M*I*B » 24 Dec 2022, 17:07

Hello all,

... I would like to tackle an old project again soon; I had totally forgotten.
For this I would like to use one of the ESP xy lying around here. I still have a whole handful each of the D1-Mini-PRO, ESP-07S and ESP-12E.
However, I only know the 12E with a circuit board antenna...

Does anyone know this version here? Can it be that it is a ESP-07 with 1Mb?
Bild_2022-12-24_164541657.png
Bild_2022-12-24_164541657.png (525.8 KiB) Viewed 4971 times
DLzG
Micha

igorka
Normal user
Posts: 74
Joined: 17 Jul 2022, 13:41
Location: Ukraine

Re: New (old) project...

#2 Post by igorka » 24 Dec 2022, 17:46

M*I*B wrote: 24 Dec 2022, 17:07 Does anyone know this version here? Can it be that it is a ESP-07 with 1Mb?
This is an ESP-07 module, unfortunately it has only 512kb of flash.

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#3 Post by M*I*B » 24 Dec 2022, 18:00

... are you sure?
I just now search the net for "ESP-07" and all I have found talk about 1Mb :?:
DLzG
Micha

igorka
Normal user
Posts: 74
Joined: 17 Jul 2022, 13:41
Location: Ukraine

Re: New (old) project...

#4 Post by igorka » 24 Dec 2022, 18:50

You're probably right. But 512 kb will be available for the file system.
https://ultran.ru/sites/default/files/e ... asheet.pdf

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#5 Post by M*I*B » 24 Dec 2022, 18:59

*Thumbs Up*
Bild_2022-12-24_190015719.png
Bild_2022-12-24_190015719.png (232.5 KiB) Viewed 4962 times
Merry Christmas to all of you. Time to spent time with my family. Who knows how often we can do that together ...
DLzG
Micha

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

Re: New (old) project...

#6 Post by TD-er » 24 Dec 2022, 19:22

See: https://www.letscontrolit.com/wiki/inde ... rds#ESP-07
The ESP-07S doesn't have the ceramic antenna, but has the u.FL connector and it does have 4M of flash.
The non-S version is rather useless as it is also really hard to replace the flash on it.

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#7 Post by M*I*B » 24 Dec 2022, 20:31

... ok, I will open one to take a look ...
DLzG
Micha

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

Re: New (old) project...

#8 Post by TD-er » 24 Dec 2022, 21:33

esptool.py will also give info on the found flash chip.
And if I'm not mistaken, the Espressif download tool also can give you some info.

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#9 Post by M*I*B » 25 Dec 2022, 19:11

MÖÖÖÖKKK

I have flash the "ESP_Easy_mega_20221223_normal_ESP8266_1M_VCC" into the ESP-07 without problems. Seems to be a 1MB version
Bild_2022-12-25_191052706.png
Bild_2022-12-25_191052706.png (28.62 KiB) Viewed 4909 times
DLzG
Micha

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

Re: New (old) project...

#10 Post by Ath » 25 Dec 2022, 19:58

More useful would be on the Info page, but I'm not sure if it will detect 4MB flash if the board config is set to 1MB.
Did you also try to flash a 4M1M build on it?
/Ton (PayPal.me)

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#11 Post by M*I*B » 25 Dec 2022, 20:20

... no, I haven't. At the moment I do it nearby while with the family...
Bild_2022-12-25_201958750.png
Bild_2022-12-25_201958750.png (32.89 KiB) Viewed 4905 times
DLzG
Micha

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

Re: New (old) project...

#12 Post by Ath » 25 Dec 2022, 21:24

Just for fun I uploaded a 1MB build on a fresh 4MB board, this is how it shows:
.
Screenshot - 25-12-2022 , 21_22_35.png
Screenshot - 25-12-2022 , 21_22_35.png (7.81 KiB) Viewed 4902 times
.
So it seems pretty sure your board really is 1MB :D
/Ton (PayPal.me)

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#13 Post by M*I*B » 25 Dec 2022, 22:36

:D That's good to know! I just counted how many of these I still have in the box. With the test ESP it is then 12 8-)
Old project is to use one of them to catch the push-data out of two EasyMeter. There is an IR LED in position 2, which regularly sends the consumption data with 9600bd every 2 seconds. I want to record the data from two meters with the ESP and transmit it to FHEM...
Let's see if that works with two "Communication - Serial Server" and each software serial only RX and different ports ...
Attachments
Bild_2022-12-25_222838702.png
Bild_2022-12-25_222838702.png (174.08 KiB) Viewed 4896 times
DLzG
Micha

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#14 Post by M*I*B » 28 Dec 2022, 15:27

... an other old project just popup out of one of my drawer ...

For that I need a I²C Multiplexer like a TCA9548a. Right now I haven't a TCA9548a by hand but I read some about at https://espeasy.readthedocs.io/en/lates ... dware.html
It is usually available in the normal, testing and custom builds, but ommitted from minimal, IR and hardware-specific builds.
So that means that this option is also available at the last normal_VCC build for 8266 that I use on the 07?
I don't see anything about that or is that only show up while the TCA9548 is connected ?
DLzG
Micha

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

Re: New (old) project...

#15 Post by Ath » 28 Dec 2022, 15:51

M*I*B wrote: 28 Dec 2022, 15:27 So that means that this option is also available at the last normal_VCC build for 8266 that I use on the 07?
I don't see anything about that or is that only show up while the TCA9548 is connected ?
(Very) Recently the I2C Multiplexer support has been enabled for most builds that don't have minimal in their name, or is a hardware-specific build, or the neopixel builds, previously it was excluded for the Collection builds, but that seemed a bit illogical, because of the number of I2C devices available in Collection builds ;)

You need to connect the device (but there is no check if it is actually connected...), and configure it on the Hardware page, before you will see the relevant options on the Device Configuration page for any I2C device.
/Ton (PayPal.me)

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#16 Post by M*I*B » 28 Dec 2022, 16:27

You need to connect the device (but there is no check if it is actually connected...), and configure it on the Hardware page, before you will see the relevant options on the Device Configuration page for any I2C device.
... hu? If you say there is no check if present and I configure I²C on the HW- page then it must show up... or not? I just don't see any options...
Or is that means that at least one I²C device have to connect to show up and just don't check if the "right one" are there (dive into my drawers meanwhile... maybe I have any I²C device to test it)?

EDIT:
Nope... I just find an I²C display and connected it (is on 27Hex). Despite it I don't see anything with Multiplexer, not in Hardware either in Devices...

BTW: The formula for the VCC has no effect on the variable %vcc%
DLzG
Micha

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

Re: New (old) project...

#17 Post by Ath » 28 Dec 2022, 17:18

M*I*B wrote: 28 Dec 2022, 16:27 ... hu? If you say there is no check if present and I configure I²C on the HW- page then it must show up... or not? I just don't see any options...
Or is that means that at least one I²C device have to connect to show up and just don't check if the "right one" are there (dive into my drawers meanwhile... maybe I have any I²C device to test it)?

EDIT:
Nope... I just find an I²C display and connected it (is on 27Hex). Despite it I don't see anything with Multiplexer, not in Hardware either in Devices...
You have to configure the I2C Multiplexer on the Hardware page, but it is not present in the 1M builds either, because of size restrictions (despite that being a Normal build), sorry if that caused confusion...
See PR #4413 for details.
M*I*B wrote: 28 Dec 2022, 16:27 BTW: The formula for the VCC has no effect on the variable %vcc%
There is no %vcc% variable, in the Formula field you should use %value% to calculate with the current, er..., value.
/Ton (PayPal.me)

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#18 Post by M*I*B » 28 Dec 2022, 17:23

There is no %vcc% variable, in the Formula field you should use %value% to calculate with the current, er..., value.
That I don't mean. I mean the sysvar %vcc% you i.e. can use to show on a LCD ...
because of size restrictions (despite that being a Normal build), sorry if that caused confusion...
Not to sorry about... but Fu** :? That kill my plans to use the 07 for it... Time to search ePray for a 4M1M thingy ...

Next problem... Seems to be that i.e. 12x or any other 4M versions are not offered with an ext. antenna connector :evil:
DLzG
Micha

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

Re: New (old) project...

#19 Post by Ath » 28 Dec 2022, 19:12

M*I*B wrote: 28 Dec 2022, 17:23 That I don't mean. I mean the sysvar %vcc% you i.e. can use to show on a LCD ...
For that variable to be available you need to have a VCC version of the ESP8266 builds, and you can include a SysInfo task with VCC included, and use [SysInfo#VCC] for displaying.
M*I*B wrote: 28 Dec 2022, 17:23 Not to sorry about... but Fu** :? That kill my plans to use the 07 for it... Time to search ePray for a 4M1M thingy ...

Next problem... Seems to be that i.e. 12x or any other 4M versions are not offered with an ext. antenna connector :evil:
What are the requirements for that device?
- External WiFi antenna
- External WiFi antenna AND as small a device as possible
- External WiFi antenna AND available ASAP?

Because when quickly searching the AliExpress site, it took me most of 2 seconds to type and find at least 20 different suppliers that have that available, try searching for "Wemos D1 external antenna"

And you could also look for ESP32, because of the larger memory available, making working with displays more comfortable
/Ton (PayPal.me)

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#20 Post by M*I*B » 28 Dec 2022, 19:38

and you can include a SysInfo task with VCC included, and use [SysInfo#VCC] for displaying.
Bild_2022-12-28_191846064.png
Bild_2022-12-28_191846064.png (3.78 KiB) Viewed 4717 times
... time to stop for today... I can't see the forest for the trees anymore :shock:
What are the requirements for that device?
- External WiFi antenna
- External WiFi antenna AND as small a device as possible
- External WiFi antenna AND available ASAP?
D1miniPRO with 16M lay around here but there is to width for the Tube. I have at maximum 18mm space in width so only plain Modules like 07(S) or 12(*) will match.

Ok, maybe I have find some, the ESP-F1from HengPoplar. They talk about 4M Flash and it's the same size as the 12(x).
The other option is the ESP-WROOM-32U (18mm x 20mm x 3mm). But they don't talk about the Flash- size; can be any :roll:
DLzG
Micha

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

Re: New (old) project...

#21 Post by Ath » 28 Dec 2022, 19:55

ESP32-WROOM-32U should be with 4MB Flash, haven't seen any 2MB versions of those other than in the Espressif spec sheet lists.
/Ton (PayPal.me)

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#22 Post by M*I*B » 28 Dec 2022, 20:29

UHHHH! That's crasy!!!
Bild_2022-12-28_202755725.png
Bild_2022-12-28_202755725.png (149.45 KiB) Viewed 4717 times
That's one of my 12S !!! They have 4M instead of 1M !

I did not know that! So problem solved by ignorance :lol: :lol: :lol:
DLzG
Micha

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

Re: New (old) project...

#23 Post by TD-er » 28 Dec 2022, 22:49

Yep and those ESP12S are also quite easy to solder/use if you use the bare modules.
You don't need to add pull-up or -down resistors and the "bottom" row of castellated pins are not present.

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#24 Post by M*I*B » 28 Dec 2022, 23:35

... jepp... But do you know that also 12S as 4M version exist? All I have seen the last days are 1M. I can't remember wehere and when I bought that :roll:
Now I have write it down on all I have here...
quite easy to solder/use if you use the bare modules.
That's it. I have to solder small wires that connect the module with the PCB. There ist not enough space in the tube to solder the bare module on a PCB. I also need 1/10 or more for isolation (shrink tubing or kapton tape) due the tube is stainless steel. That's why I absolutely need a connection for an external antenna ...
So now I have to wait for the TCA9548a...

In the meantime, I'll try to restore and rewind the old analogue moving-iron measuring devices... They are arrived today and all works well. Problem is that i.E. the Ampere meter really have an coil made of 2² copper... I think you know what I intend to do with them...
Bild_2022-12-28_233348604.png
Bild_2022-12-28_233348604.png (138.02 KiB) Viewed 4694 times
DLzG
Micha

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

Re: New (old) project...

#25 Post by TD-er » 28 Dec 2022, 23:58

M*I*B wrote: 28 Dec 2022, 23:35 ... jepp... But do you know that also 12S as 4M version exist? All I have seen the last days are 1M. I can't remember wehere and when I bought that :roll:
[...]
The ESP12S was only in 4M format.... at least as far as I know.
And the ESP07S was also 4M, right?

Is there room for a Wemos D1 mini pro module?
These have also an u.FL (IPEX) connector.
But.... you need to move a 0 Ohm resistor which by default "points" to the PCB antenna and you need to point it to the IPEX connector (90 degree rotation)

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#26 Post by M*I*B » 29 Dec 2022, 00:11

TD-er wrote: 28 Dec 2022, 23:58 The ESP12S was only in 4M format.... at least as far as I know.
And the ESP07S was also 4M, right?
I think so. My main side for that is https://www.esp8266.com/wiki/doku.php?i ... ule-family
http://stefanfrings.de/esp8266/ isn't bad also but have never fix the wrong flash size for the 07S
TD-er wrote: 28 Dec 2022, 23:58 Is there room for a Wemos D1 mini pro module?
Nope, no way... 18mm and that's it ...
Sure... I can buy a new mast but at the moment stainless steel are exorbitant expensive. If I do so I also have to weld and rebuild all the head construction again matching the bigger mast...
But not necessary since I find out that I have the 12S with 4M and a width of ~16mm so I have 2mm for isolation ...
Last edited by M*I*B on 29 Dec 2022, 09:31, edited 1 time in total.
DLzG
Micha

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#27 Post by M*I*B » 29 Dec 2022, 09:22

Good morning all,

maybe a stupid Q but I don't find the right hint in the RTD :roll:
Maybe also a problem what to search for. An native EN- speaker use most other words for searching then i.e. a native DE- speaker

How can I make an integer result from a formula?

Let say I do "Let,1,%eventvalue1%/50+10" then I got a value with decimal places. But I need a plain integer...
I have read some about "int" and "round" but nothing about how to handle that. Things like "Let,2,int(%v1%)" don't work...
DLzG
Micha

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

Re: New (old) project...

#28 Post by TD-er » 29 Dec 2022, 09:47

The same variables you fill using the "let" command, can be accessed using [int#1].

Thus [var#1] is the same variable as [int#1], only the latter is an integer.
I think it will be the result of a call to round().

You can also use formatting to 0 decimals when referring taskvalues.
See: https://espeasy.readthedocs.io/en/lates ... red-values

For example the taskvalue [bme#T]:

Code: Select all

[bme#T#D.0]

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#29 Post by M*I*B » 29 Dec 2022, 10:02

... ohh, thank you very much!
So if I like to use the value I have stored into 1 with "Let,1,<value>" I can call it back as int with "if [int#1] blabla" but not with %i1% instead of %v1% ... ?!

OT:
At the moment I have three devices running the current build: two S20 and one 12S. One S20 is in productive use in the garage, the second S20 and the 12S are actively on my desk.
All are set identically in relation to the ESPeasyP2P, i.e. the same port everywhere. In addition, the transfer of data from the local S20 to the 12S works without any problems...
So far so good...
It is interesting, however, that the productive S20 in the garage sees the two here under "Main-Nodelist", but the other two only see the S20 in the garage, but not the other locations.
Bild_2022-12-29_101117884.png
Bild_2022-12-29_101117884.png (65.54 KiB) Viewed 4588 times
DLzG
Micha

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

Re: New (old) project...

#30 Post by Ath » 29 Dec 2022, 10:38

M*I*B wrote: 29 Dec 2022, 10:02 It is interesting, however, that the productive S20 in the garage sees the two here under "Main-Nodelist", but the other two only see the S20 in the garage, but not the other locations.[/i]
Does it help if you reload the page on units 86 and 121 after a few minutes? As the protocol needs some time to settle and retrieve all available data.
/Ton (PayPal.me)

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

Re: New (old) project...

#31 Post by TD-er » 29 Dec 2022, 10:38

Indeed there is no %i1% notation and to be honest, I don't know why not....
It would make sense to use an integer value for indexing like this: [var#%i1%] instead of [var#%v1%]

But that's about the only really use case I can think of where the [int#X] notation cannot be used and integers are needed.


About the p2p listing.
Perhaps the access point in the garage doesn't forward UDP broadcast packets?
Or the one in the garage does not reply to UDP broadcasts in due time?

Does its behavior change if you have a continuous ping running to that garage node from whatever computer in your network?
The p2p broadcasts are sent every 30 seconds, so after 30 sec of pinging, your other nodes should at least have seen the garage node.
If they don't, then you might have some packets being blocked by the access point the garage unit connects to.

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#32 Post by M*I*B » 29 Dec 2022, 10:49

Hmm ok... We can make a solved behind the INT- thingy... got it now 8-)

I can ping all three systems without hassle. The AP in the garage is a AVM1750E (got 3 of them as MESH). I also have reboot all but nothing change.
Let me try to change the UDP-port. Since years I have it at 333 but meanwhile you have register 8266 at IANA if I'm right. So the best time to change it...

Edit:
At 1st I have change all ports to 8266. That change nothing; same as before
Also now the data transfer from U86 to U121 don't work. I have delete the virtuell device at U121 (Task6) and reboot the giver U86 where the DHT are running on Task6. But no result. The virtual device doesn't come back...

What also are crasy...

U84 (Garage) see the U86 and U121 (both on my desk) and...
U86 and U121 BOTH the the U84 in the Garage but NOT the neighbor on the desk...
So the port/AP can't be the problem due U86 and U121 are using the same AP (the Garage use an other one)
DLzG
Micha

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

Re: New (old) project...

#33 Post by TD-er » 29 Dec 2022, 12:14

The idea behind the ping suggestion is that with a continuous ping to an ESP, it does change its behavior with regards to WiFi.
Especially when run in "eco" mode, but also if it has relatively long intervals between WiFi traffic, it will change its DTIM interval. This is the nr of "AP beacon" intervals it will remain in sleep mode (and thus not receiving anything).
If you send continuous pings to the device, it will set the DTIM to 1 again and keep it there as long as the pings are running.

You can see this change also when looking at the returned ping timings. The first one will probably be several-100 msec and after 1 or 2 pings, it will be a few msec.
N.B. the typical AP beacon interval is 102.4 msec.

By the way, I am also using several Fritzbox "repeaters" in my network in mesh and it is working fine here.

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#34 Post by M*I*B » 29 Dec 2022, 12:27

... yep, I do so ...
I have open three command prompts so that I can ping all three continuously.
I also have delete all controller on all three and set P2P on the 1st place (2nd is now FHEM)
I also have delete the virtual device on Task 6 on U121 (as I say before) and also the real device on Task 6 on U86.
Then I have reboot all
Then I have newly created the real devise on U86 on Task 12 and tick that events go also to controller 1 (the P2P)
The whole time the ping on all running continuously

... nothing ... I don't get the virtual P2P device on U121 back and also don't see the neighbor on the table. Same as before (see two topics down here)

Giver, Unit 86
Bild_2022-12-29_122552573.png
Bild_2022-12-29_122552573.png (38.84 KiB) Viewed 4578 times
Taker, Unit 121
Bild_2022-12-29_122640708.png
Bild_2022-12-29_122640708.png (27.24 KiB) Viewed 4578 times
Host- config on all - identically
Bild_2022-12-29_122739892.png
Bild_2022-12-29_122739892.png (18.29 KiB) Viewed 4578 times
DLzG
Micha

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

Re: New (old) project...

#35 Post by TD-er » 29 Dec 2022, 12:58

You don't need to have the p2p controller enabled (or configured) to see the other nodes in the list on the root page.
Only having an unique host nr (config tab) and using the same UDP port (tools->Advanced page) is enough to be able to see others in the p2p list.

Also the order of controllers should not matter, unless you're using MQTT as we only take the first enabled MQTT controller.
But that's a different story ;)

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#36 Post by M*I*B » 29 Dec 2022, 13:10

TD-er wrote: 29 Dec 2022, 12:58 You don't need to have the p2p controller enabled (or configured) to see the other nodes in the list on the root page.
Yes, I know, but due both don't work here it's a try to check out different variations. But as I say: nothing change :?
TD-er wrote: 29 Dec 2022, 12:58 Only having an unique host nr (config tab) and using the same UDP port (tools->Advanced page) is enough to be able to see others in the p2p list.
Yes... As you can see they all have a unique Unit-ID and the port is set to the IANA registered one at any device (copy & past). Can't count how often I have checked that out. Also if one of them are on an other port the U84 from the Garage won't see all
TD-er wrote: 29 Dec 2022, 12:58 Also the order of controllers should not matter, unless you're using MQTT as we only take the first enabled MQTT controller.
But that's a different story ;)
Maybe it comes to "my" story also if we can't fix that. I have a MQTT server running so if P2P don't work as expected I have to jump over on the MQTT- train to collect the needed data

EDIT:

The only difference I see is that the U84 (Garage), who see all, use build 20221223, the other "blind ones" use build 20221224
DLzG
Micha

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

Re: New (old) project...

#37 Post by TD-er » 29 Dec 2022, 13:35

That shouldn't make a difference as the p2p code has not changed in a while... At least not in the past weeks :)

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#38 Post by M*I*B » 29 Dec 2022, 14:08

TD-er wrote: 29 Dec 2022, 13:35 That shouldn't make a difference as the p2p code has not changed in a while... At least not in the past weeks :)
...I just didn't want to leave it unmentioned as it's the only difference I see...
DLzG
Micha

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

Re: New (old) project...

#39 Post by TD-er » 29 Dec 2022, 14:15

The shown port on the Controller tab for the p2p controller is wrong.
So that's for sure a (cosmetic) bug that needs to be fixed.
But to be honest, I have no clue why other nodes cannot see your "garage" node.

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

Re: New (old) project...

#40 Post by TD-er » 29 Dec 2022, 14:17

The shown port on the Controller tab for the p2p controller is wrong.
So that's for sure a (cosmetic) bug that needs to be fixed.
But to be honest, I have no clue why other nodes cannot see your "garage" node.

Only thing I can think of is that the subnet is wrongly defined on some nodes?
But if you're using DHCP, this should not be an issue.

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#41 Post by M*I*B » 29 Dec 2022, 14:27

The shown port on the Controller tab for the p2p controller is wrong.
Yes, have seen that but also don't care of it as you suggested ...
But to be honest, I have no clue why other nodes cannot see your "garage" node.
Nope, that's wrong.
U84 (S20 - Garage) can see itself and can see both on my desk
U86 (S20 - desk) can see itself and U84-Garage but NOT U121 (12S - desk)
U121 (12S - desk) can see itself and U84-Garage but NOT U86 (S20 - desk)

Only thing I can think of is that the subnet is wrongly defined on some nodes?
Nope... DHCP from "ISC DHCPd Version 4.4.1" running on my Debian-NAS in the basement. U84 and U86 are coupled to MAC, U121 are into the free DHCP-range (200-254)
DLzG
Micha

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

Re: New (old) project...

#42 Post by TD-er » 29 Dec 2022, 14:50

All are connected to the same AP?
And you're not using the "guest" network feature from the Fritzbox? (at least when connecting to it from the ESP's)

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#43 Post by M*I*B » 29 Dec 2022, 14:58

Nope / nope

Nope 1:
U84 (S20 - Garage) connected to a repeater 1750E in the garage itself. The repeater is wired connected to the FritzBox (via NetGear GS748Tv3)
U86 and U121 on my desk are connected directly to my FritzBox

Nope 2:
Yes, I'm sure that no one is connected to the guest- network. If so, nobody can see any other due guest is an other segment far away from 192.168.1.0/24 and also have no way to touch the local area in any way (DMZ)
DLzG
Micha

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#44 Post by M*I*B » 29 Dec 2022, 15:41

Ok, I have just flash an other S20 with the build 20221223... Who knows?!
That's now Unit 87. Same thing... The new S20 see itself the Garage-S20 but not the U86 and nor the U121 on the same table...

Then I had a glorious idea!
I take this new S20 and plug it into power at our living room. Our LR have a own 1750E- repeater so that this new S20 would use this instead of the FritzBox at my desk...

NOW the new one see all other!
Bild_2022-12-29_160037476.png
Bild_2022-12-29_160037476.png (42.33 KiB) Viewed 4544 times
... and now you can come around the corner with an explanation of this behavior ... :lol: :lol: :lol:
DLzG
Micha

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

Re: New (old) project...

#45 Post by TD-er » 29 Dec 2022, 17:11

The only thing I can think of here is that the nodes connected to the same AP do not see each other.
Is that correct?

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#46 Post by M*I*B » 29 Dec 2022, 17:17

TD-er wrote: 29 Dec 2022, 17:11 The only thing I can think of here is that the nodes connected to the same AP do not see each other.
Is that correct?
Yes, I also think so. Later I will check that over cross and place the new S20 to the garage. I will report then ...
DLzG
Micha

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

Re: New (old) project...

#47 Post by TD-er » 29 Dec 2022, 17:56

I also have the same repeaters and quite a lot of the ESPEasy nodes are connected to the same repeater.
But since the Fritz repeaters here are all configured by the Fritzbox modem, I think there is the difference.

Maybe also check for a firmware update for the Fritz repeaters.
I have the latest FW installed on all (1750E, 1200AX, 3000)
This is either 7.29 or 7.30 (the 1200AX units)

I have a single SSID for both the 2.4 and 5 GHz networks, as I had strange issues when those were split.
I also have a guest network active.

I have on the "WiFi -> security" page ("Encryption" tab) under "Additional Security Settings" checked the checkbox:
"The active wireless devices displayed below may communicate with each other"

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#48 Post by M*I*B » 29 Dec 2022, 18:03

.. I have near the same. I just have three 1750E, configured by the FritzBox-MESH and all up to date. And also "can communicate with each other" is ticked
Meanwhile I have move the new S20 also to the garage. But now totally unexpected the new S20 see the other S20 in it's own AP; they see all!
That destroy our meaning with the "same AP-problem" :(
Last edited by M*I*B on 29 Dec 2022, 18:05, edited 1 time in total.
DLzG
Micha

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

Re: New (old) project...

#49 Post by TD-er » 29 Dec 2022, 18:05

Could be that the AP where those two connect to is configured differently?
Or perhaps a different firmware?

Do all nodes connect using 802.11g or 802.11n?

User avatar
M*I*B
Normal user
Posts: 377
Joined: 22 Jan 2018, 15:47
Location: Germany
Contact:

Re: New (old) project...

#50 Post by M*I*B » 29 Dec 2022, 18:33

Could be that the AP where those two connect to is configured differently?
No, that can't be due all AP's are handled from the box itself. Same firmware, same software, same hardware (revision) of all AP's
Later then I check out the 3rd AP and will report ...
Do all nodes connect using 802.11g or 802.11n?
Don't know that yet... I think the ESP only can handle g ? "Force WiFi B/G:" is disabled on all...

As an example: The new S20 is: ↓48 ↑54 Wi-Fi 3, 40 MHz, WPA2, 1 x 1
That is the same as all other ESP's (except the variable speed, but all around 50 up/dn)
DLzG
Micha

Post Reply

Who is online

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