These are chat archives for esp8266/Arduino

9th
May 2017
Ivan Grokhotkov
@igrr
May 09 2017 04:41
No, just a PR in the axTLS repo
mega-hz
@mega-hz
May 09 2017 05:24
Can someone help me please? i have setup a little webserver on esp wich switches a relays like 192.168.2.221:84/relays-on or 192.168.2.221:84/relays-off. this works on a browser. Now there is another webserver running on an arduino uno with ethernet, this one must call the esp to switch relays on/off. HOW is the syntax for such a webcall please?
brutzler
@brutzler
May 09 2017 16:29
Does anybody know the right way to setup the hostname of an esp-board?
I do not get this working ...
mega-hz
@mega-hz
May 09 2017 16:53
WiFi.hostname("Name");
brutzler
@brutzler
May 09 2017 16:56
Yes, but I do not see the hostname in the network :-(
mega-hz
@mega-hz
May 09 2017 16:57
maybe you must restart windows, it takes some time to get the new devices or maybe have a look in your router?
brutzler
@brutzler
May 09 2017 17:00
ok try later on
Martin Ayotte
@martinayotte
May 09 2017 17:48
WiFi.hostname() only advertise its name to AP router during DHCP request. For any other purposes, you need to have mDNS service, and of course on Windows you need Bonjour, Linux already managing that using Avahi.
Steve Nelson
@zenmanenergy
May 09 2017 20:57
Is there a built-in, non-blocking way to automatically reconnect to Wifi if the connection is dropped? I'm looking through the source , but I don't see anything yet.
Emile Nijssen
@WeeJeWel
May 09 2017 21:02
@bertmelis Thank you a lot, it works great! (Regarding the Debug on Wemos D1)
Steve Nelson
@zenmanenergy
May 09 2017 21:17
wait, forget it. Looks like the blocking call in the wifiMulti is purely from the delay() in the example code.