Page 1 of 1

maximum number of ESPs

Posted: 10 Aug 2016, 13:02
by andy-ich
Hi,

here I have read:

http://www.esp8266.nu/index.php/ESPEasy#Hardware_page

Below Note:

"Unit nr Each ESP Easy unit needs a unique number in the range 1-31. This is important for MQTT connections and the Node list! Do not forget to set this field to a non-zero value, not conflicting with other units."

I use openhab with MQTT and want to use more than 31 pieces in my house.

Why is this limited?
How can I add more ESPs?

Thank you for your answers.

Re: maximum number of ESPs

Posted: 11 Aug 2016, 20:50
by Martinus
It's mainly because this project inherits some code and concepts from the Nodo project. My house still contains several Nodo unit's and communication needs to be compatible between all my sensor nodes.

The limitation is also relevant for UDP networking like globalsync that used the nodelist. There are good reasons to keep this count minimal, because the ESP will 'sweep' across all unit's for peer to peer (unicast) communication. It may take too much time to sweep across a large number of units.

I think it should not raise issues if you choose a unit number >31 as long as UDP is not enabled. But i would have to check the source code to be sure on this.

Re: maximum number of ESPs

Posted: 12 Aug 2016, 08:06
by andy-ich
Thanks for your answer.
Sounds not so bad to me.

I have no Nodo units and UDP also I do not need.
Is anyway disabled by default in espeasy.

Would be great if someone can say something about the source code.

Re: maximum number of ESPs

Posted: 12 Aug 2016, 09:01
by Martinus
andy-ich wrote:I use openhab with MQTT and want to use more than 31 pieces in my house.
Is this for future planning or do you already have more than 31 units going?
Would be nice to hear about all your applications...

Re: maximum number of ESPs

Posted: 12 Aug 2016, 13:32
by andy-ich
It is forward planning.
I would like control all roller blinds and floor heating control additionally measure temperature in the floor and read the window contacts.
:D