This code is embeded in esp8266 sensor
Use luatool to push the three lua file in esp8266
- config.lua
- init.lua
- ueki.lua
Create config file with following content
station_cfg={}
station_cfg.ssid="ssid box"
station_cfg.pwd="password of box"
station_cfg.auto=true