set-time command sets wrong register values #21
Replies: 2 comments
-
Yes, the time set does not work properly. But it looks like the day counter is reset anyway. That is actually the point. I will build an automatism for this. That early in the morning always the time is set to reset the day counter. But at the moment I try it via NTP. It seems that you can specify an NTP server and that the time is really set correctly. I added a example in the
in e64477b |
Beta Was this translation helpful? Give feedback.
-
Today i check the behavior: A working NTP does not lead to a reset. |
Beta Was this translation helpful? Give feedback.
-
On my Deye Sun 600 inverter the set-time command sets wrong register values.
After calling this command today (30.04.2023 14:20:22) output of the software looks like this:
First it seems that the addressing is wrongly shown as the values are written in 16 bit registers instead of 8 bit, so address 0x16 would contain 0x0617 and 0x17 contains 0x041e etc. after this call.
Second it is not clear to me where the 0x06 in register 0x16 is coming from. In my understanding register 0x16 should contain YY/MM, 0x17 should contain DD/HH and 0x18 should contain MM/SS. After the call 06/YY, MM/DD, HH/MM is written there instead. So seems like shifted for one byte by 0x06 in register 0x16.
For me it should look like this:
Beta Was this translation helpful? Give feedback.
All reactions