This requires basic knowledge of linux, bash, nano and Docker itself.
In this example we are using /home/user/ha-docker-mqtt as the root path so all commands should be run from there (your chosen path!).
| mqtt: | |
| sensor: | |
| - name: "GivTCP <Your Serial> Invertor Details GivTCP Battery Temperature" | |
| unique_id: <Insert a UUID> | |
| state_topic: "<Your GivTCP Prefix>/<Your Serial>/raw/invertor/temp_battery" | |
| force_update: true | |
| device_class: Temperature | |
| unit_of_measurement: "°C" | |
| state_class: measurement | |
| icon: "mdi:thermometer" |
| mqtt: | |
| sensor: | |
| - name: "GivTCP <Your Serial> Invertor Details GivTCP Battery Voltage" | |
| unique_id: <Insert a UUID> | |
| force_update: true | |
| icon: mdi:flash-triangle-outline | |
| device_class: voltage | |
| state_class: measurement | |
| qos: 0 | |
| unit_of_measurement: "V" |
This requires basic knowledge of linux, bash, nano and Docker itself.
In this example we are using /home/user/ha-docker-mqtt as the root path so all commands should be run from there (your chosen path!).