Android application for controlling Lamp Relay connected to ESP8266
More information about the project:
- LampESP - https://github.com/georgik/LampESP - code for ESP8266 which can communicate with this app.
Communication is based on MQTT (Mosquitto server).
Direct communication based on GET API (local network only). See branch v0.1.
Values of server and rooms are hardcoded. You can change them to suit yout configuration.
- MainActivity.serverUri - set to your MQTT server
- LampMqttService.subscriptionTopic - MQTT topic where state of relay is being broadcasted
- LampMqttService.publishTopic - MQTT topic where client can send request to change state of relay