This commit is contained in:
parent
e10dddef50
commit
fe3594108f
@ -24,4 +24,8 @@ Ssid1 WiFi1_Name;
|
||||
Password1 WiFi1_Password;
|
||||
Ssid2 WiFi2_Name;
|
||||
Password2 WiFi2_Password
|
||||
```
|
||||
|
||||
```
|
||||
mosquitto_pub -h MQTT_HOST -u MQTT_USERNAME -P MQTT_PASSWORD -t cmnd/tasmotas/upgrade -m 1
|
||||
```
|
14
docs/proxmox/send-cpu-temp-to-ha.md
Normal file
14
docs/proxmox/send-cpu-temp-to-ha.md
Normal file
@ -0,0 +1,14 @@
|
||||
Thanks for [nikito7](https://github.com/nikito7)
|
||||
|
||||
|
||||
```nano proxmox_sendTemp_2HA```
|
||||
|
||||
```
|
||||
#!/bin/sh
|
||||
|
||||
temp=$(cat /sys/class/thermal/thermal_zone2/temp')
|
||||
|
||||
mosquitto_pub -h host -user -P pass -t proxmox/pve1/cpu_temp -m $temp
|
||||
```
|
||||
|
||||
```chmod +x proxmox_sendTemp_2HA;/10 * * * * /proxmox_sendTemp_2HA```
|
Loading…
x
Reference in New Issue
Block a user