Closed mountaindude closed 8 years ago
I guess one could also change the Homie source.. Looks like the 192.168.1.1 is defined in the src/Homie/Boot/BootConfig.cpp file (I am using Homie together with PlatformIO, btw)
...then again, changing the access point's IP address to 192.168.50.1 breaks the config tool at http://marvinroger.github.io/homie-esp8266, it seems...
The problem is changing the default 192.168.1.1
would be a breaking change. And 192.168.50.1
might also be used by someone else! So yes, maybe we should move the apIp
variable to the Constants.hpp
, so that it is easily customizable.
It should not break the config tool, it tries to reach http://homie.config
, and as you can see, the DNS server is tied to the apIp
.
Is it enough for you?
Yeah it sounds like a good plan.
On 15 April 2016 at 09:29, Marvin Roger notifications@github.com wrote:
Is it enough for you?
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/marvinroger/homie-esp8266/issues/56#issuecomment-210328170
It will land in v1.4.0. :)
Released.
The 192.168.1.1 net is quite often used by SOHO routers. Placing a homie device in config mode on that same IP might easily cause conflicts with the user's cable modem/router/Internet gateway.
Maybe something like 192.168.50.1 (or something similarly infrequently used subnet)?
Or provide a way for the developer to define the desired subnet themselves?