FoundersFounders / door-services

IoT project for the doorbell and door-open services here at FoundersFounders.
MIT License
14 stars 6 forks source link

Monitor the STA_GOTIP event instead of polling for waiting for an IP #2

Closed ruippeixotog closed 8 years ago

ruippeixotog commented 8 years ago

Makes both init.lua scripts listen for STA_GOTIP events instead of polling for wifi.sta.getip().

ruippeixotog commented 8 years ago

Warning: I didn't have the opportunity of testing properly both scripts. Take some care reviewing this :P

luismfonseca commented 8 years ago

LGTM!