mukaschultze / ha-must-inverter

Must Inverter plugin for HomeAssistant
MIT License
12 stars 2 forks source link

Add arrow direction bit flags properties #25

Open daimonkor opened 2 months ago

daimonkor commented 2 months ago

Please add new property Arrow Flag

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">

25279 | RO | Arrow Flag | bit |   | Refer to the frame Arrow Flag bit -- | -- | -- | -- | -- | --

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">

Arrow Flag bit -- Bit |   | meaning 0 | PVFlag | 0:Inexistence                   1:Existence 1 | LoadFlag | 0:Inexistence                   1:Existence 2 | BattFlag | 0:Inexistence                   1:Existence 3 | GridFlag | 0:Inexistence                   1:Existence 4 | PV-to-Machine-Arrow | 0:Disconnect                   1:PV-to-Machine 5 | Machine-to-Load-Arrow | 0:Disconnect         1:Machine-to-Load 6 | Machine-Batt-Arrow | 00:Disconnect 01:Machine-to-Batt 10:Batt-to-Machine 11:Connect 7 8 | Machine-Grid-Arrow | 00:Disconnect 01:Machine-to-Grid 10:Grid-to-Machine 11:Connect 9 10 | reserved |   11 | reserved |   12 | reserved |   13 | reserved |   14 | reserved |   15 | reserved |  

image

PH1800_PV1800_EP1800_PV3500_EP3500_RS485_Modbud_RTU_communication.xlsx

Thanks a lot for support.

mukaschultze commented 2 months ago

@daimonkor is there a particular reason why you need this data? I don't know how I could present this info in a way that it would be useful.

Is that anything in that register that is not available in other register (for example the work status and relays status)?

daimonkor commented 2 months ago

@mukaschultze as I understood the information contains data about flow enegry - when batery are charging by grid or solar. In my opinion current information is usefull to calculate daily usage solar to charge battery and correct calculation usage solar to load. Thanks a lot for help.