localhost only and is not persisted across sessions.
This app is a smart home automation dashboard and API system designed to run on a local server — ideally a Raspberry Pi. It allows you to control various devices in your home using web-based commands or by scanning NFC tags that trigger API requests.
| Endpoint | Method | Arguments | Description |
|---|---|---|---|
| /devices | GET | Displays all configured devices in the dashboard. | |
| /addDevice | GET/POST | Form and submission route for adding a new device to config. | |
| /lampswitch/<ip> | GET | IP Adress {string} | Toggles power on/off for a smart bulb by IP address. |
| /lampbright/<ip> | POST | IP Adress {string} | Toggles brightness levels (25%, 66%, 100%) for a bulb. |
| /setlampbright | POST | IP Adress {string} , Brightness Percentage 0-100 {int} | Sets brightness for a bulb to a specific percentage. |
| /setcolour | POST | IP Adress {string} , Colour in Hex #000000 {string} | Changes the colour of the light using a hex code. |
| /lightsoff | GET/POST | Turns off all configured smart lights. | |
| /next_episode | GET/POST | Navigates Firestick to play the next episode. | |
| /recent_show | GET/POST | Plays the most recently watched show on Firestick. | |
| /playpause | GET/POST | Toggles play/pause on the Firestick. | |
| /poweroff | GET/POST | Powers off the Firestick device. | |
| /formula1 | GET/POST | Launches the Formula 1 app on Firestick and starts playback. | |
| /wakeup | GET/POST | Wakes up the Firestick and brings it to the home screen. | |
| /moodlight | GET/POST | Reads the average colour from your webcam and adjusts light colour to match. |
For more configuration or to contribute, visit the GitHub repository.