SmartEVSE / SmartEVSE-3

Smart Electric Vehicle Charging Station (EVSE)
MIT License
113 stars 85 forks source link

EVSE Status register #27

Closed dummyka9609 closed 2 years ago

dummyka9609 commented 2 years ago

Hi! I couldn't find anywhere the meaning of the possible states of the status register (0x0000). Can anyone tell me where can i find?

bobosch commented 2 years ago

https://github.com/SmartEVSE/SmartEVSE-2#modbus

dummyka9609 commented 2 years ago

I found that too, thanks. But I don't know what it mean "A-D (EVSE State), E-H (A-D Waiting for Balance Master)" Here mstegen wrote how I can start the charging via modbus, but I would like to know what each state means exactly.

bobosch commented 2 years ago

I think the documentation is out of date here. It should return the State as defined in the code: https://github.com/SmartEVSE/SmartEVSE-3/blob/a91b47bc5032908e46739e2b390bf2171d890706/SmartEVSE-3/include/evse.h#L139-L149

bobosch commented 2 years ago

Updated README.md (https://github.com/SmartEVSE/SmartEVSE-2/commit/d3263b789483d5297697f0b53ef506fd54d82847)