Stuart Pittaway
Stuart Pittaway
I can't see two invertors working correctly at all - unless you have two bluetooth devices on the PI and 2 different COM ports?
> @stuartpittaway , it has worked for many years with one BT/COM on the old EmonHub, but you could well be rigth. The two interface code instances would be fighting...
Ok, same error as I have then.... 2022-01-17 19:36:05,790 ERROR SMASolar2 Bluetooth Error Traceback (most recent call last): File "", line 3, in recv _bluetooth.timeout: timed out
This issue definitely appears to be date related suspect one of the decoding routines is incorrectly parsing a value in the date as a special escaped byte and then incorrectly...
If issue appears to be occurring again today (10 Feb 2018) so must be something to do with the date and decoding escape characters from the inverter.
As expected, the SMA inverters use the 0x7e byte for some escape characters - both of these dates have 0x7E as the second byte. Monday, 31 July 2017 08:00:00 1501488000...
Actually mine stopped working again today, needs investigate!
There is definitely overlap with the MACHINE_UUID. Indeed the MACHINE_UUID could be set dynamically for the INDEX_MOBO - that would be another way to achieve similar results. The M115 command...
I avoided messing with MACHINE_UUID as that's set at compile vs runtime with the serial number, so a different bunch of changes required, rather than tagging an extra attribute to...
Just to add, the device can be configured and appears to work correctly, it joins the home wifi network but after a few packets drops off and seems to reboot...