tbnobody / OpenDTU

Software for ESP32 to talk to Hoymiles/TSUN/Solenso Inverters
GNU General Public License v2.0
1.81k stars 507 forks source link

When OpenDTU starts DTU Pro crashes #230

Closed gogogommez closed 2 years ago

gogogommez commented 2 years ago

Whenever i activate the OpenDTU, after a view minutes the DTU Pro does not work correct anymore. S-Miles-Cloud doesn’t get any data anymore. I have to switch the OpenDTU off and have to unpower/power the DTU Pro. After a view minutes the DTU Pro works again.

ghost commented 2 years ago

If this blog entry https://www.mikrocontroller.net/topic/525778?page=8#7113046 is correct, parallel operation of DTU pro and OpenDTU is not possible.

gogogommez commented 2 years ago

Ahoy DTU and DTU Pro work well at the same time.

Sprinterfreak commented 2 years ago

Inverters are only designed to talk with one master. There are errors to be expected, because inverters keep track of for instance log messages already being send. If two masters talking to the device, one of them gets communication errors for requesting information already send to the other master. Ahoy working together with DTU Pro maybe boils down to lower poll rates and less deep protocol implementation.

OpenDTU is a replacement for DTU Pro. Not an extension.

tbnobody commented 2 years ago

I am going to close this issue. It seems that 2 masters is in general a bad idea.

mi-hol commented 1 year ago

2 masters is in general a bad idea.

Maybe adding a section "Limitations" in readme would help newbies to avoid this issue?

github-actions[bot] commented 6 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.