See details for the used script on the Microsoft website
wget https://dot.net/v1/dotnet-install.sh
sudo chmod +x ./dotnet-install.sh
sudo ./dotnet-install.sh -i /usr/share/dotnet
sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
| - resource: https://cbb.simsa.cz/api/batterybox/getstats | |
| scan_interval: 30 | |
| method: POST | |
| payload: '{"email": "[email do oig]", "password": "[heslo do oig]", "unitId": "[id boxu]"}' | |
| headers: | |
| content-type: 'application/json; charset=utf-8' | |
| sensor: | |
| - name: "CBB Baterie" | |
| unique_id: cbb-fve.battPct | |
| value_template: "{{ value_json.batteryPct }}" |
See details for the used script on the Microsoft website
wget https://dot.net/v1/dotnet-install.sh
sudo chmod +x ./dotnet-install.sh
sudo ./dotnet-install.sh -i /usr/share/dotnet
sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet