XJ_ wrote: p.kaczmarek2 wrote: As for the protoboard power supply,
The red wire is there to make it hot and spicy, right? |

[/quote]
Exactly! This protoboard power supply is shortcircuit-proof, it just lights up a LED when there is a short.
XJ_ wrote:
ANY_4KEY – You are unstoppable
When something is stupid but works, then it's not stupid
XJ_ wrote:
p.kaczmarek2 wrote: self test fails on Github but not on my PC?
Can I help You somehow with that?
For now, I am investigating myself, it seems that two of self tests fail on Github but not on my machine:
ERROR: SelfTest failed for SIM_HasMQTTHistoryStringWithJSONPayload("homeassistant", 1, 0, 0, "dev_cla", "energy", "stat_t", "~/energycounter/get", "unit_of_meas", "Wh", "stat_cla", "measurement")
Check D:\a\OpenBK7231T_App\OpenBK7231T_App\src\selftest\selftest_hass_discovery.c - Test_VerifyForCommonPowerMeteringStuff - line 339
Total SelfTest errors so far: 3
ERROR: SelfTest failed for SIM_HasMQTTHistoryStringWithJSONPayload("homeassistant", 1, 0, 0, "dev_cla", "energy", "stat_t", "~/energycounter_last_hour/get", "unit_of_meas", "Wh", "stat_cla", "measurement")
Check D:\a\OpenBK7231T_App\OpenBK7231T_App\src\selftest\selftest_hass_discovery.c - Test_VerifyForCommonPowerMeteringStuff - line 345
Total SelfTest errors so far: 4
Info:MAIN:Drv BL0937 stopped.
I've added SIM_DumpMQTTHistory and if it does not lead to the solution I will investigate in the separate branch (to avoid spamming main releases).
XJ_ wrote:
!!! plus and minus are reversed !!!
Fortunately, I noticed it in time!
So seller is so greedy that he actually tries to sell the product with obvious flaw instead of scrapping it? Well, maybe it's not that bad, assuming that he sells it under special discount price..
Added after 5 [minutes]:
EDIT - regarding my issue:
ahhh it has stat_cla total_increasing and not measurement. But it does not explain why it didn't fail on my machine! Did Visual Studio again failed on full rebuild?!
Added after 6 [minutes]:Wait, it fails after rebuild... and by fail, I mean it works correctly...
so it was the "rebuild" problem, after all, Visual Studio did not refresh all .o files.