Last active
November 11, 2024 08:44
-
-
Save njumaen/34a21a73a020d30f7d93b6ad394788e7 to your computer and use it in GitHub Desktop.
Pixoo64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pixoo64 | |
# | |
# show default weather-clock (#182) | |
# | |
# http://docin.divoom-gz.com/web/#/5/62 | |
# | |
pixooURL="http://192.168.254.101/post" | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Channel/SetClockSelectId", | |
"ClockId": 182 | |
}' >/dev/null 2>/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# pixoo64 - direct API | |
# | |
# http://docin.divoom-gz.com/web/#/5/62 | |
# | |
# | |
pixooURL="http://192.168.254.101/post" | |
# space-status | |
hsbState=$(curl -s https://status.space.bi/status.json | jq -r '.openstate') | |
# calendar | |
tmp0=$(curl -s https://status.space.bi/calendar2.json | jq -r '.items[0].tsstart') | |
hsbStart0=$(echo "@$tmp0"| date --file=- +"%d.%m. %R") | |
hsbSum0=$(curl -s https://status.space.bi/calendar2.json | jq -r '.items[0].summary') | |
hsbCat0=$(curl -s https://status.space.bi/calendar2.json | jq -r '.items[0].categories[0]') | |
tmp1=$(curl -s https://status.space.bi/calendar2.json | jq -r '.items[1].tsstart') | |
hsbStart1=$(echo "@$tmp1"| date --file=- +"%d.%m. %R") | |
hsbSum1=$(curl -s https://status.space.bi/calendar2.json | jq -r '.items[1].summary') | |
hsbCat1=$(curl -s https://status.space.bi/calendar2.json | jq -r '.items[1].categories[0]') | |
# RESET GIF ID !!! | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command":"Draw/ResetHttpGifId" | |
}' | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Draw/SendHttpGif", | |
"PicNum": 1, | |
"PicWidth": 64, | |
"PicOffset": 0, | |
"PicID": 1000, | |
"PicSpeed": 100, | |
"PicData": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgICBAQEAAAAAAAAAwMDAAAAAwMDBAQEAAAAAwMDAQEBAAAAAgICAAAAAwMDIyMjMTExLy8vNzc3ODg4Ly8vMDAwIyMjBAQEAAAAAQEBAAAAAAAAAAAAAAAABgYGAQEBAAAABgYGAAAAAAAAAAAAAwMDAAAAAAAAAAAAAAAAAgICAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQUFAAAAAQEBAgICAAAABwcHAAAAAgICCgoKAAAAAQEBCAgIAAAAAgICOTk5YGBgfn5+fHx8b29vampqZmZmYGBgXl5eZ2dnbW1tcnJye3t7e3t7Xl5eOjo6AAAAAAAACAgIAAAAAAAACQkJAAAAAQEBAgICBAQEAAAAAAAABQUFAQEBAAAAAQEBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgICAAAAAQEBAgICAAAAAAAAAAAAAwMDAAAAAAAACQkJEBAQMjIybGxsioqKh4eHREREHh4eIyMjJCQkICAgIiIiIyMjJycnIiIiHBwcIiIiJSUlIiIiREREgoKCjIyMZmZmMzMzFBQUBAQEAAAAAAAAAAAAAAAAAAAAAgICAAAAAQEBAwMDAAAAAgICAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAQEBAAAAAAAABAQEAQEBAAAAAAAAMjIyXV1dc3NzeXl5Tk5OICAgIiIiLi4uRERESEhIOjo6Ojo6Pj4+NDQ0MDAw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AAAAABgYGAAIBAAAABQMEAQAAAQAACggJAAAAAAEANjY2Wlpaenp6g4ODcXFxaGhoaWlpXFxcWVlZZWVlaGhodnZ2h4eHeXl5WFhYNjY2AQMCAAAACggJAQAAAgABBQMEAAAAAAEABQUFBAQEAAAAAAAABgYGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgICAAAAAQEBAQEBAAAAAgICAAAAAAAAAAEAAgICAQAAAQAAAQAAAQAABgYGAAEAAQEBAwMDAAAAAAAAIiIiLi4uMjIyNzc3ODg4MjIyLS0tIiIiAAAAAAAAAgICAgICAAEAAwMDAQAAAQAAAwECAQAABAQEAAEAAQEBAAAAAgICAwMDAAAAAAAAAQEBAQEBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}' 2>/dev/null >>/dev/null | |
sleep .3 | |
################################## | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Draw/SendHttpItemList", | |
"ItemList": [ | |
{ | |
"TextId": 1, | |
"type": 22, | |
"x": 0, | |
"y": 5, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 1, | |
"TextString": "'"$hsbState"'", | |
"color": "#FFFF00" | |
}, | |
{ | |
"TextId": 2, | |
"type": 22, | |
"x": 0, | |
"y": 30, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 50, | |
"align": 1, | |
"TextString": "'"$hsbStart0"' '"$hsbCat0"' '"$hsbSum0"'", | |
"color": "#FFFF00" | |
}, | |
{ | |
"TextId": 3, | |
"type": 22, | |
"x": 0, | |
"y": 45, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 50, | |
"align": 1, | |
"TextString": "'"$hsbStart1"' '"$hsbCat1"' '"$hsbSum1"'", | |
"color": "#FFFF00" | |
} | |
] | |
}' 2>/dev/null >>/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# pixoo64 - direct API | |
# | |
# http://docin.divoom-gz.com/web/#/5/62 | |
# | |
# | |
# ********************************************** | |
# | |
# Nice example for using data from a mqtt broker | |
# | |
# ********************************************** | |
pixooURL="http://192.168.254.101/post" | |
# Get the data from mqtt-broker @192.168.1.8 | |
chrLeases=$(mosquitto_sub -h 192.168.1.8 -p 1883 -t 'mikrotik/router/dhcp/leases' -C 1) | |
chrWifiClients=$(mosquitto_sub -h 192.168.1.8 -p 1883 -t 'mikrotik/router/wifi/clientsconnected' -C 1) | |
chrCpuLoad=$(mosquitto_sub -h 192.168.1.8 -p 1883 -t 'mikrotik/router/cpuload' -C 1) | |
# https://github.com/Blueforcer/awtrix3/blob/main/docs/api.md | |
# RESET GIF ID !!! | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command":"Draw/ResetHttpGifId" | |
}' | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Draw/SendHttpGif", | |
"PicNum": 1, | |
"PicWidth": 64, | |
"PicOffset": 0, | |
"PicID": 1000, | |
"PicSpeed": 100, | |
"PicData": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAAAAAAAAAAAAAAAAAQEBAgICAwMDAgICAgICAgICAgICAQEBAQEBAQEBAgICAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAAAAAAAAAAAAAAAAAQEBAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}' 2>/dev/null >>/dev/null | |
sleep .3 | |
################################## | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Draw/SendHttpItemList", | |
"ItemList": [ | |
{ | |
"TextId": 1, | |
"type": 22, | |
"x": 0, | |
"y": 5, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 1, | |
"TextString": "CPU: '"$chrCpuLoad"'%", | |
"color": "#FFFF00" | |
}, | |
{ | |
"TextId": 2, | |
"type": 22, | |
"x": 0, | |
"y": 25, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 1, | |
"TextString": "Leases: '"$chrLeases"'", | |
"color": "#FFFF00" | |
}, | |
{ | |
"TextId": 3, | |
"type": 22, | |
"x": 0, | |
"y": 45, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 1, | |
"TextString": "Wifi: '"$chrWifiClients"'", | |
"color": "#FFFF00" | |
} | |
] | |
}' 2>/dev/null >>/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# | |
# | |
# | |
# pixoo64 - direct API | |
# | |
# http://docin.divoom-gz.com/web/#/5/62 | |
# | |
# | |
pixooURL="http://192.168.254.101/post" | |
test1="8.8.4.4" | |
test2="9.9.9.9" | |
count=3 | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command":"Draw/ResetHttpGifId" | |
}' | |
# Hintergrund | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Draw/SendHttpGif", | |
"PicNum": 1, | |
"PicWidth": 64, | |
"PicOffset": 0, | |
"PicID": 1000, | |
"PicSpeed": 100, | |
"PicData": "AAAAAwMDAAAABAQEBAQEAAAAAQEBAQEBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwMDAQEBAAAAAQEBAQEBAAAAAAAAAQEBAgICAQEBAAAAAQEBAAAAAgICAgICAAAAAQEBAAAAAQEBAgICAQEBAAAAAAAAAQEBAQEBAAAAAQEBAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAAAAAAAAAQEBAwMDAQEBAQEBAAAABgYGAgICAAAABwcHAAAAAwMDAgICAQEBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIAQEBAQEBAAAAAAAAAQEBBAQEAQEBAgICAAAAAAAAAQEBAQEBAQEBAAAAAAAAAAAAAAAAAQEBAQEBAQEBAAAAAAAAAgICAQEBBAQEAQEBAAAAAAAAAQEBAQEBCAgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgYGAAAACQkJAAAAAAAABAQEAAAAAAAAKSkpSkpKTU1NVlZWVFRUS0tLUVFPUVFPUVFPUVFPUVFPUVFPUVFPUVFPTExKS0tJTU1LU1NRUVFPTk5MS0tJQkJAExMTAAAAAAAAAQEBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAAAAAAAAExMTQkJAS0tJTk5MUVFPU1NRTU1LS0tJTExKUVFPUVFPUVFPUVFPUVFPUVFPUVFPUVFPUFBQVFR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OUFBOUVFPVFRSU1NRUlJQUlJQT09NUVFPUVFPT09NUlJQUlJQU1NRVFRSUVFPUFBOT09NVFRSR0dFGRkXAAAAAQEBAAAABQUFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAAAAAgICAgICCwsJOTk3U1NRUFBOTk5MUFBOUVFPUFBOT09NUFBOT09NTk5MTk5MT09NUFBOT09NUFBOUVFPUFBOTk5MUlJQUVFPNjY0DAwKAAAABAQEAAAAAQEBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAAAABQUFAAAAAAAAAAAAAwMBAAAAAAAAAAAAAAAAAQEBAAAAAQEBBAQEAAAAAAAABAQEAQEBAAAAAQEBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgYGAQEBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAAAAAgICAAAABAQCAAAAAgIABAQCAwMDAQEBAQEBAwMDAAAAAAAABAQEAAAAAAAABAQEAAAAAAAAAwMDAQEBAQEBAwMDAwMBAAAAAwMBBQUDAAAAAAAAAAAAAQEBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}' | |
sleep 0.3 | |
# ------- | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Draw/SendHttpItemList", | |
"ItemList": [ | |
{ | |
"TextId": 1, | |
"type": 22, | |
"x": 0, | |
"y": 0, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 2, | |
"TextString": "PING", | |
"color": "#FFFF00" | |
}, | |
{ | |
"TextId": 2, | |
"type": 22, | |
"x": 0, | |
"y": 15, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 50, | |
"align": 1, | |
"TextString": "'"$test1"'", | |
"color": "#FFFF00" | |
}, | |
{ | |
"TextId": 3, | |
"type": 22, | |
"x": 0, | |
"y": 35, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 50, | |
"align": 1, | |
"TextString": "'"$test2"'", | |
"color": "#FFFF00" | |
} | |
] | |
}' | |
p1=$(ping -c $count $test1 | tail -1 | awk -F '/' '{print $5}' ) | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Draw/SendHttpItemList", | |
"ItemList": [ | |
{ | |
"TextId": 4, | |
"type": 22, | |
"x": 0, | |
"y": 25, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 3, | |
"TextString": "'"$p1"ms'", | |
"color": "#FFFF00" | |
} | |
] | |
}' | |
p2=$(ping -c $count $test2 | tail -1 | awk -F '/' '{print $5}' ) | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Draw/SendHttpItemList", | |
"ItemList": [ | |
{ | |
"TextId": 5, | |
"type": 22, | |
"x": 0, | |
"y": 45, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 3, | |
"TextString": "'"$p2"ms'", | |
"color": "#FFFF00" | |
} | |
] | |
}' | |
echo "$test1: $p1" | |
echo "$test2: $p2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# pixoo64 - direct API | |
# | |
# http://docin.divoom-gz.com/web/#/5/62 | |
# | |
# | |
pixooURL="http://192.168.254.101/post" | |
# Get the current usage of CPU and memory | |
cpuUsage=$(cat /proc/loadavg | awk '{print $2}') | |
memUsage=$(free -m | awk '/Mem/{print int($3/1000 + 0.5)}') | |
# Proxmox tasklist | |
# pvenode task list --limit 1 --output-format json | jq -r '.[] | .status' | |
lastTaskStatus=$(pvenode task list --limit 1 --output-format json | jq -r '.[] | .status') | |
lastTaskType=$(pvenode task list --limit 1 --output-format json | jq -r '.[] | .type') | |
tmp=$(pvenode task list --limit 1 --output-format json | jq -r '.[] | .endtime') | |
lastTaskEndDate=$(echo "@$tmp"| date --file=- +"%d.%m. %R") | |
# CPU Temp | |
cpuTemp=$(sensors -j | jq -r '.["coretemp-isa-0000"]["Core 4"].temp6_input') | |
# usbTemp=$(USBtemp -b| awk '{print int($1 + 0.5);}') | |
usbTemp=$(mosquitto_sub -h 192.168.1.8 -p 1883 -t 'cleware/proxmox1/temp' -C 1| awk '{print int($1 + 0.5);}') | |
# RESET GIF ID !!! | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command":"Draw/ResetHttpGifId" | |
}' >/dev/null 2>/dev/null | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Draw/SendHttpGif", | |
"PicNum": 1, | |
"PicWidth": 64, | |
"PicOffset": 0, | |
"PicID": 1000, | |
"PicSpeed": 100, | |
"PicData": "BQoEBQoFBQkHBQkKBggNBwcPBwcPBwcPCAcNCQgNCQgLCAgIBgsLAQgKBgoMCAgMCAYMCwcOCwcNCQcLBQUHCww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>/dev/null 2>/dev/null | |
sleep .3 | |
########################################### | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Draw/SendHttpItemList", | |
"ItemList": [ | |
{ | |
"TextId": 1, | |
"type": 22, | |
"x": 0, | |
"y": 5, | |
"dir": 0, | |
"font": 4, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 1, | |
"TextString": "CPU: '"$cpuUsage"'", | |
"color": "#FFFF00" | |
}, | |
{ | |
"TextId": 2, | |
"type": 22, | |
"x": 0, | |
"y": 15, | |
"dir": 0, | |
"font": 4, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 1, | |
"TextString": "MEM: '"$memUsage"'GB", | |
"color": "#FFFF00" | |
}, | |
{ | |
"TextId": 3, | |
"type": 22, | |
"x": 0, | |
"y": 25, | |
"dir": 0, | |
"font": 4, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 1, | |
"TextString": "'"$cpuTemp"'°C/'"$usbTemp"'°C", | |
"color": "#FFFF00" | |
}, | |
{ | |
"TextId": 4, | |
"type": 22, | |
"x": 0, | |
"y": 50, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 1, | |
"TextString":"'"$lastTaskEndDate"' '"$lastTaskType"' '"$lastTaskStatus"'", | |
"color": "#FFFF00" | |
} | |
] | |
}' 2>/dev/null >>/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/bin/bash | |
# | |
# pixoo64 - direct API | |
# | |
# http://docin.divoom-gz.com/web/#/5/62 | |
# | |
# | |
pixooURL="http://192.168.254.101/post" | |
available=$(mosquitto_sub -h 192.168.1.8 -p 1883 -t 'inverter/Terrasse/available' -C 1 -W 1) | |
tmp=$(mosquitto_sub -h 192.168.1.8 -p 1883 -t 'inverter/Terrasse/last_success' -C 1 -W 1) | |
ahoyDay=$(mosquitto_sub -h 192.168.1.8 -p 1883 -t 'inverter/Terrasse/ch0/YieldDay' -C 1 -W 1) | |
ahoyTotal=$(mosquitto_sub -h 192.168.1.8 -p 1883 -t 'inverter/Terrasse/ch0/YieldTotal' -C 1 -W 1| awk '{print int($1 + 0.5);}') | |
last_success=$(date -d @$tmp +"%d.%m. %R") | |
#echo "last_success: $last_success" | |
#echo "available: $available" | |
#echo "ahoyDay: $ahoyDay" | |
#echo "ahoyTotal: $ahoyTotal" | |
# https://github.com/Blueforcer/awtrix3/blob/main/docs/api.md | |
# RESET GIF ID !!! | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command":"Draw/ResetHttpGifId" | |
}' | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Draw/SendHttpGif", | |
"PicNum": 1, | |
"PicWidth": 64, | |
"PicOffset": 0, | |
"PicID": 1000, | |
"PicSpeed": 100, | |
"PicData": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA> | |
}' | |
sleep 0.3 | |
############################# | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Draw/SendHttpItemList", | |
"ItemList": [ | |
{ | |
"TextId": 1, | |
"type": 22, | |
"x": 0, | |
"y": 5, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 2, | |
"TextString": "'"$last_success"'", | |
"color": "#FFFF00" | |
}, | |
{ | |
"TextId": 2, | |
"type": 22, | |
"x": 0, | |
"y": 40, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 1, | |
"TextString": "Tag '"$ahoyDay"'Wh", | |
"color": "#FFFF00" | |
}, | |
{ | |
"TextId": 3, | |
"type": 22, | |
"x": 0, | |
"y": 50, | |
"dir": 0, | |
"font": 2, | |
"TextWidth": 64, | |
"Textheight": 16, | |
"speed": 100, | |
"align": 1, | |
"TextString": "Ges. '"$ahoyTotal"'kWh", | |
"color": "#FFFF00" | |
} | |
] | |
}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# executed via cron | |
# | |
sleep 5 | |
# maybe better change this... ;-) | |
cd /root/pixoo64 | |
./proxmox.sh | |
sleep 10 | |
./mikrotik.sh | |
sleep 10 | |
./hsb.sh | |
sleep 10 | |
./pv.sh | |
sleep10 | |
./clock.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# toot.sh: fetch latest toot and display some of it | |
# | |
# pixoo64 - direct API | |
# | |
# http://docin.divoom-gz.com/web/#/5/62 | |
# | |
# | |
pixooURL="http://192.168.254.101/post" | |
#text="1234567890123456 Dieses Display kann diesen Beispieltext der in Zeilen mit maximal 16 Zeichen umgebrochen werden soll anzeigen.1234567890123456" | |
# Mastodon -Variablen | |
mastodon_instance="https://chaos.social" # URL der Mastodon-Instanz | |
hashtag="38c3" # Der Hashtag, nach dem gesucht werden soll | |
# API-Anfrage für den Hashtag-Timeline-Endpunkt | |
response=$(curl -s "$mastodon_instance/api/v1/timelines/tag/$hashtag?limit=1") | |
# Überprüfen, ob die API-Anfrage erfolgreich war | |
if [ "$(echo "$response" | jq -r '.[0]')" == "null" ]; then | |
text="Kein Toot gefunden oder Fehler beim Abrufen." | |
exit 1 | |
fi | |
# Inhalt des letzten Toots extrahieren | |
user=$(echo "$response" | jq -r '.[0].account.username') | |
acct=$(echo "$response" | jq -r '.[0].account.acct') | |
toot_content=$(echo "$response" | jq -r '.[0].content') | |
created_at=$(echo "$response" | jq -r '.[0].created_at') | |
# Ausgabe | |
#echo $response | |
clean_text=$(echo "$toot_content" | sed 's/<[^>]*>//g') | |
no_umlaut=$(echo "$clean_text" | sed -e 's/ä/ae/g' -e 's/ö/oe/g' -e 's/ü/ue/g' \ | |
-e 's/Ä/Ae/g' -e 's/Ö/Oe/g' -e 's/Ü/Ue/g' \ | |
-e 's/ß/ss/g') | |
#echo "$user ($acct)" | |
#echo "Letzter Toot mit dem Hashtag #$hashtag:" | |
#echo "Erstellt am: $created_at" | |
#echo "Inhalt: $clean_text" | |
text=$(echo "${created_at:0:16} ${no_umlaut:0:100}") | |
#echo $text | |
# RESET GIF ID !!! | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command":"Draw/ResetHttpGifId" | |
}' | |
curl -X 'POST' \ | |
$pixooURL \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"Command": "Draw/SendHttpGif", | |
"PicNum": 1, | |
"PicWidth": 64, | |
"PicOffset": 0, | |
"PicID": 1000, | |
"PicSpeed": 1, | |
"PicData": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
}' | |
sleep .3 | |
################################## | |
line_no=0 | |
JSON='[]' | |
echo "${text^^}" | fold -s -w 16 | while read -r line; | |
do | |
let line_no++ | |
line_y=$(expr $line_no \* 6 - 6) | |
#echo "$line_no: $line_y -> $line" | |
JSON=$(echo "$JSON" | jq --argjson a "$line_no" --argjson b "22" --argjson c "0" --argjson d "$line_y" \ | |
--argjson e "0" --argjson f "18" --argjson g "64" --argjson h "5" --argjson i "100" \ | |
--argjson j "2" --arg k "$line" --arg l "#FFFF00" \ | |
'. + [{TextId: $a, type: $b, x: $c, y: $d, dir: $e, font: $f, TextWidth: $g, Textheight: $h, speed: $i, align: $j, TextString: $k, color: $l }]' \ | |
) | |
echo "$JSON" > json.tmp | |
done | |
result=$(paste json.tmp) | |
data='{"Command": "Draw/SendHttpItemList", "ItemList": '$result'}' | |
curl -X 'POST' $pixooURL -H 'accept: application/json' -H 'Content-Type: application/json' -d "$data" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
toot