Release v2.2.4
- Import ESS_PREHEATING_WRITE_REGISTERS in main.js
- _createObjects: create 94 RW states (write:true) for registers 50000–50183
plus subscribeStates('plant.essPreheating.*') - _readEssPreheating(): FC03 readHoldingRegisters instead of FC04
- Poll loop: call _readEssPreheating() when enableEssPreheating is set
- onStateChange: write-back to Modbus on ack=false state changes
- modbus.js: add static encodeValue() for U16/S16/U32/S32 → word array
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com