mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Add dishwasher notification
This commit is contained in:
@@ -47,6 +47,15 @@ jQuery(document).ready(function($) {
|
||||
var compliment;
|
||||
|
||||
|
||||
var socket = io.connect('http://rpi-development.local:8080');
|
||||
socket.on('dishwasher', function (dishwasherReady) {
|
||||
if (dishwasherReady) {
|
||||
$('.dishwasher').fadeIn();
|
||||
} else {
|
||||
$('.dishwasher').fadeOut();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
var weatherParams = {
|
||||
'q':'Baarn,Netherlands',
|
||||
|
Reference in New Issue
Block a user