Re: Homie for ESP8266 - Ease your MQTT development
Posted: Mon Mar 28, 2016 10:35 am
You need Arduino for ESP8266 >= 2.1.0.
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
shm/rls0/$stats/interval 0
shm/rls0/$fw/name awesome-relay
shm/rls0/$fw/version 1.0.0
shm/rls0/$fw/checksum 1d586180790690710f5c0d65f8198024
shm/rls0/$implementation esp8266
shm/rls0/$implementation/config {"wifi":{"ssid":"trololo"},"mqtt":{"host":"10.100.101.5","port":1883,"base_topic":"shm/","auth":false},"name":"remote light 0","ota":{"enabled":true},"device_id":"rls0"}
shm/rls0/$implementation/version 2.0.0
shm/rls0/$implementation/ota/enabled true
shm/rls0/light/$type switch
shm/rls0/light/$properties on:settable
shm/rls0/$online true
shm/rls0/$stats/signal 78
# python ota_updater.py -l 10.100.101.5 -i rls0 .pioenvs\esp12e\firmware.bin
Connecting to mqtt broker 10.100.101.5 on port 1883
Connected with result code 0
Waiting for device to come online...
shm/rls0/light/on true
shm/rls0/light/on false
mosquitto_pub -t shm/rls0/light/on -m false