/IoTServiceSwitch

A persistent android notifcation with ON and OFF buttons to turn on IoT lights off

Primary LanguageJava

IoTServiceSwitch

A simple application to provide a persistant notification with buttons to control some IoT device

App usage

ip adress with is the address to send http requests to

The SSID is the SSID your phone has to be connected to for the notification to appear as an expandable notification (where you can get to the buttons)

The requests sent based on what button is pressed are defined in HTTPService.java:onStartCommand and partially in MonitorNetworkService.java:reDrawNotifwhere the notifcation is defined