Very simple single user web app
Budget: €30 – €250 EUR
Task:
Create a web app with 2FA access control (via email). Basic html layout, no additional design required. For a single user only, no user admin / database required.
Goal: automatically switch smart switches using a simple algorithm relying on API input and variables set by the user.
Connections:
1. Get power price via rest API once a day at 1pm GMT from https://dashboard.elering.ee/assets/api-doc.html#/nps-controller/getPriceUsingGET (“Power Price”)
2. Output via rest API to a “Shelly 1” power switch https://shelly-api-docs.shelly.cloud/gen1/#shelly1-shelly1pm
Functions:
1. Add and connect a new Shelly 1 device (“Device”).
2. Remove a Device.
3. Device switch on/off button (overrides any other app controls)
4. Device on/off autoswitch using the following algorithm:
* Autoswitch On for *duration* within every 24 hours when the *powerprice* is the lowest during this 24 hours.
5. Send an alert to the user email if any API requests/connections fail.
VARIABLES:
* Power Price, unit €/KWH (make a conversion from API data) *powerprice*
* Switch on duration (hours/a day) *duration*
Context:
Power price API (updated at the source every day 12pm GMT for the next calendar day) https://dashboard.elering.ee/assets/api-doc.html#/nps-controller/getPriceUsingGET
Shelly 1 (not 1 PM!) API documentation: https://shelly-api-docs.shelly.cloud/gen1/#shelly1-shelly1pm
Create a web app with 2FA access control (via email). Basic html layout, no additional design required. For a single user only, no user admin / database required.
Goal: automatically switch smart switches using a simple algorithm relying on API input and variables set by the user.
Connections:
1. Get power price via rest API once a day at 1pm GMT from https://dashboard.elering.ee/assets/api-doc.html#/nps-controller/getPriceUsingGET (“Power Price”)
2. Output via rest API to a “Shelly 1” power switch https://shelly-api-docs.shelly.cloud/gen1/#shelly1-shelly1pm
Functions:
1. Add and connect a new Shelly 1 device (“Device”).
2. Remove a Device.
3. Device switch on/off button (overrides any other app controls)
4. Device on/off autoswitch using the following algorithm:
* Autoswitch On for *duration* within every 24 hours when the *powerprice* is the lowest during this 24 hours.
5. Send an alert to the user email if any API requests/connections fail.
VARIABLES:
* Power Price, unit €/KWH (make a conversion from API data) *powerprice*
* Switch on duration (hours/a day) *duration*
Context:
Power price API (updated at the source every day 12pm GMT for the next calendar day) https://dashboard.elering.ee/assets/api-doc.html#/nps-controller/getPriceUsingGET
Shelly 1 (not 1 PM!) API documentation: https://shelly-api-docs.shelly.cloud/gen1/#shelly1-shelly1pm
Related categories:
Web Application