Add Firmware Register for Nexa and Noah#206
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Why you prefer single parts published to HA when there is a functional single sensor for the firmware version? |
|
For Noah Registers: ... 00 00 00 00 00 00 00 12 11 0b 00 00 00 00 00 00 00 00 ... On Nexa Reg 119 and 120 are completly used (4 Parts), but on Noah only 3 Parts are used so Part1 needs a Offset of 1 when size: 1 is used Does it make sense? Or do I miss something? |
I don't know about your Noah, but for my Nexa the 4 parts of the serial are published to Home Assistant as well. You can disable entities if you don't want to see them
Hard to tell without the full message. Would you mind testing my changes in growatt_noah_registers.json? If you are correct then all parts are off by one. |
No, I don’t prefer single parts - I would be happy if we add a combined firmware version of the device + datalogger to the device info section in HA. We currently derive the datalogger version from config messages and update the device metadata then. |
|
You are right. For Parts1 it doesnt matter if offset is set to "0" or "1". It shows correct value in both cases. |
|
Firmware version parts won't be published to Home Assistant anymore. Can we merge this as is? The datalogger version from config messages is not available for Nexa yet, so I am unable to properly test combining these into one version. |



Adds sensors for the firmware of Noah and Nexa devices.
It could be used to build a full version string in the future, see #200
Note that Noah firmware has 3 parts and Nexa firmware has 4 parts.
Nexa: