This project implements monitoring and basic controlling of a panasonic aquarea heatpump in an environment with a heatmeter and an electricity meter. Especially the controlling is still to be done.
This project is made to be run on a HouseBus Node but follows the Arduino / Platform IO project style and should be easily portable to other microcontrollers supported by Arduino/PlatformIO.
Connect everything together, see source code for connection details.
If you don't want to use the CAN bootloader, you have to remove the custom linker file in the custom board settings (boards/
).
Be aware, that the STM32 uses 3.3 V I/O level, but has mostly 5V tolerant pins. I went safe and added a 360 ohms serial resistor and a protection diode to 3.3V on the heatpump lines (also as they go outdoor).
The node starts transmitting UAVCAN messages for all the connected meters regularly, listen to them using Yakut or write them to influx db with UAVCANv1 InfluxDB writer.
Basic control is implemented with the uavcan.node.ExecuteCommand.1.1
command. See source code for details as this is WIP.