nie wiem co zmieniałem, a dużo tego było

This commit is contained in:
2022-01-08 14:53:36 +01:00
parent 7f01e3c578
commit 8c1b3b2423
385 changed files with 24002 additions and 180 deletions

4
bin/czujnik.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
curl -s https://api.syngeos.pl/api/public/data/device/1554 |jq -r '.sensors |.[] | { (.name): ((.data[0].value|tostring) + .unit ) }' > /tmp/czujnik
curl -s https://api.syngeos.pl/api/public/data/device/1554 |jq -r '.sensors |.[] | { (.name): ((.data[0].threshold_level|tostring) ) }' > /tmp/czujnik-levels