Description:
Create a large status indicator,
which can briefly cast a numeric value
like:
• the target temperature
• volume level
• channel n#
• track n#
• power/gas meter value of the prev. hour
and what not
Screenshots
- Increasing the room temperature:
- And decreasing:
- A receiver volume level:
Needed apps & equipment
-
a local webserver, I use the Homey Micro Web server app
-
a device you can cast a website to, f.i. a Ggl Nest Hub or Chromecast
-
HTML files:
Save them to thewww
folder on your webserver
Example for the thermostat: -
- 1. Increased temperature, (filename tadotempup.html)
<!doctype html>
<html>
<body style="background-color: red";>
<style>
h1 {text-align: center;}
p {text-align: center; font-family: sans-serif; font-size: 45px; color: steelblue;}
div {text-align: center; font-family: sans-serif; font-size: 165px; color: white;}
</style>
<br/>
<br/>
<p>tado° kamer</p>
<br/>
<br/>
<div id="settemp"></div>
<br/>
<br/>
<p>ingestelde temperatuur</p>
<script>
const params = new URLSearchParams(window.location.search)
document.getElementById('settemp').innerHTML = `${params.get('settemp')}°C`;
</script>
</body>
</html>
-
-
2. Decreased temperature, (filename tadotempdown.html)
Use the same code as for ‘Increased temperature’, but only changered
toblue
, andsteelblue
topaleturquoise
-
2. Decreased temperature, (filename tadotempdown.html)
<body style="background-color: red";>
p {text-align: center; font-family: sans-serif; font-size: 45px; color: paleturquoise;}
.
Flows
- Flow set example
-
-
Flow 1
Triggered by a changed value; Slightly delayed so not every ‘in between’ values are getting casted.
-
Flow 1
-
-
Flow 2
When the temperature was increased
Cast URL (is not displayed properly):
http://YourServerIP/www/tadotempup.html?settemp=[target temperature]
-
Flow 2
-
-
Flow 3
When the temperature was decreased
Cast URL (is not displayed properly):
http://YourServerIP/www/tadotempdown.html?settemp=[target temperature]
-
Flow 3
.
After 15seconds, I start casting my dashboard again as example.