12-12-2024, 09:02 PM
I've made available via GitHub project a C++ project for the M16 board. This application will read CT sensors on the Kincony KC868_M16v2 board and calculate power usage. It allows per sensor configuration and sensor correction algorithms. Periodic MQTT messages are emitted with various readings and configurations can be set via MQTT messages and saved into non-volatile memory. It also includes an STL to allow you to print a rudimentary cover for the board which will allow it to be surface mounted via screws.
The code is too large to post here, along with the numerous class files, so I'd direct you to Github: https://github.com/LouPaloma/KinconyM16-PUBLIC
The code is marked with a number of TODO/FIXME, so patches and pull requests are welcome, although I have limited ability to test since my own unit has been "deployed".
(Also, I have identified an issue with the SHT31 sensor, but I will open a separate thread for that.)
The code is too large to post here, along with the numerous class files, so I'd direct you to Github: https://github.com/LouPaloma/KinconyM16-PUBLIC
The code is marked with a number of TODO/FIXME, so patches and pull requests are welcome, although I have limited ability to test since my own unit has been "deployed".
(Also, I have identified an issue with the SHT31 sensor, but I will open a separate thread for that.)