TL;DR
Install Postgres 9.5, and then:
sudo pg_dropcluster 9.5 main --stop
sudo pg_upgradecluster 9.3 main
sudo pg_dropcluster 9.3 main
When exporting from mysleepbot.com: | |
-go to settings | |
-Change Date Format to Day/Month/Year | |
-Change Time Format to 24 hours | |
-Go to Entries | |
-Select from date that is older than your first sleepbot entry | |
-Select to date as todays date | |
-Export as CSV name file sleepbot-raw.csv | |
-Edit file and remove the first line and also do a find & replace and remove all 's from the file |
#!/bin/bash | |
if [ "$1" != "" ]; then | |
nice -20 ocrmypdf --redo-ocr --pdfa-image-compression lossless --output-type pdfa-2 "$1" "$1" | |
else | |
echo "No filename given" | |
fi |
#!/system/bin/sh | |
APIKEY=get this from syncthing config | |
# wait for service to start | |
retries=5 | |
while ! curl -s -L -k -X GET -H "X-API-Key: $APIKEY" "http://localhost:8384/rest/system/ping" | |
do | |
sleep 1 | |
if test $retries -eq 0; then |
TL;DR
Install Postgres 9.5, and then:
sudo pg_dropcluster 9.5 main --stop
sudo pg_upgradecluster 9.3 main
sudo pg_dropcluster 9.3 main
Allereerst bedankt @eelcohn voor je prachtige project --> https://github.com/eelcohn/nRF905-API
Als je packages gebruikt, zou het makkelijk zijn om dit te kopieren naar jouw HA. Anders zou je de elementen in zehnder.yaml handmatig moeten kopieren naar je configuration.yaml.
Hoe werkt het?
Een rest sensor (sensor.mechanische_ventilatie_status
) haalt de data van de api en een fan template maakt er vervolgens een fan entity van (fan.mechanische_ventilatie
). Op deze manier krijg je out of the box een speed list in lovelace en bijbehorende services.
De individuele rest commands worden gewrapt door scripts, dit zodat de host uit secrets kan komen, helaas is er geen manier om een secret in een template toe te passen.
Fan templates moeten verplicht een turn_on
en turn_off
hebben, dit heeft de mechanische ventilatie niet, nu roepen deze acties een dummy script ventilation_turn_on_off_dummy
aan die niks doet (als ieman
www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.com
is up the virus exits instead of infecting the host. (source: malwarebytes). This domain has been sinkholed, stopping the spread of the worm. Will not work if proxied (source).update: A minor variant of the viru
autocomplete="off"
onto <form>
element;<input>
with autocomplete="false"
as a first children element of the form.<form autocomplete="off" method="post" action="">
<input autocomplete="false" name="hidden" type="text" style="display:none;">
...