With Home Assistant(HA) you can display your heatpump data in a nice way. Besides that you can of course also use ioBroker, python scripts (see above), or other smart home software. Here I explain only how setup your smart home using Home Assitant this includes:
- heatpump (in my case a Weißhaupt one)
- pv inverter, Photovoltaik - Solar panels
- sensors (power meter, cameras, temperature sensors, eltako etc.)
Detailed instructions in the heatpump folder
comming soon
Detailed instructions in the pv
comming soon.
Detailed instructions in the sensors
- use this for tasmota: https://www.home-assistant.io/integrations/mqtt/#mqtt-discovery
- Download and install HA as docker or as full OS on a home server pc (that has to run full time!)
- in HA: Settings Apps -> install Studio Code Server or File editor or use the
umountha()
{
sudo umount -a -t cifs
}
mountha()
{
# Replace these with your actual values
SERVER_NAME="192.168.178.145"
SHARE_NAME="config"
MOUNT_POINT="/home/markus/Desktop/lachtHA/config"
USERNAME="your_username"
PASSWORD="your_password"
mkdir -p $MOUNT_POINT
if mount | grep -q "$MOUNT_POINT"; then
echo "Share is already mounted at $MOUNT_POINT"
else
echo "Share is not mounted --> Mount it"
sudo mount -t cifs //$SERVER_NAME/config $MOUNT_POINT -o username=$USERNAME,password=$PASSWORD
fi
}
on 06.03 I got this error:
mount error: could not resolve address for 192.168.178.143:8123: Unknown error
Solution: Restart Smaba share did not work.... Reboot HA .... -> worked!
see here
# add this to your configuration.yaml
# use yaml mode for dashboards!
lovelace:
mode: yaml
curl -X POST -H "Authorization: Bearer $(HA-APIKey)" \
-H "Content-Type: application/json" \
$(HA-URL)/api/services/homeassistant/restart
# alternatively:
hassio ha restart