Skip to content

Instantly share code, notes, and snippets.

Senne Sennevds

Block or report user

Report or block Sennevds

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View matrix_sensors.py
import os
import sys
from matrix_lite import sensors
from matrix_lite import led
import threading, time, signal
from datetime import timedelta
import paho.mqtt.client as mqtt
import json
@Sennevds
Sennevds / system_sensor.py
Created Jul 31, 2019
Send Raspberry PI data to mqtt(with Home Assistant discovery support)
View system_sensor.py
#!/usr/bin/env python3
from subprocess import check_output
from re import findall
import psutil
import sys
import os
import threading, time, signal
from datetime import timedelta
import datetime as dt
import paho.mqtt.client as mqtt
View README.md

Description

Simple Dashing widget to countdown until a certain moment. Flashes the widget when finished.

##Usage

To use this widget, copy countdown.html, countdown.coffee, and countdown.scss into the /widgets/countdown directory.

To include the widget in a dashboard, add the following snippet to the dashboard layout file:

You can’t perform that action at this time.