Open crazychatting opened 11 months ago
Hi
CRITICAL: Logon failed. Check 'USER' Password.
This is due to your Sunny explorer / SBFspot password. not mqtt password.
The password needs to be the same one you use to log in Sunny explorer User account.
Hi, thanks for the quick response! I think I understood now which credentials are wrong. I will check this until weekend. Feel free to close this issue. But as a feature request: would it be possible to make the error message more detailed about what it is? Regards!
That error message comes from SBFspot, which I don't have any development links to.
It's a bit of a chicken and egg problem. Which came first.
When I built this addon it was as a user of SBFspot, so I was very familiar with SBFspot. So the error is very clear to me. As the log result always goes in a certain order. Logging into the inverter being the first thing before further log results appear.
There appears to be new users coming to SBFspot via this addon.. So it's obviously not as clear to them. Although the error message is quite correct in that it is the 'USER' account password being incorrect.
The options already list it as 'Inverter Password or sunny Explorer password'
Do you have a suggestion on how to make that clearer in the addon docs?
Describe the bug I am trying to configure the addon since yesterday with an inverter via bluetooth. I set all the BT adresses, mqtt, database, but always getting in the logs:
CRITICAL: Logon failed. Check 'USER' Password
.My guess would be, that this is the password for mqtt, but its not clear from the log output. I tried all different values for config
Sensor_HA
(no/create/purge). Also I double checked the credentials for db and mqtt.My guess would be this line: https://github.com/habuild/hassio-addons/blob/2f520a4a2ae95a34af7ecf5b7e410634991e135c/sbfspot/rootfs/usr/bin/sbfspot/mqttSensorConfig#L40 Maybe the curly brackets are missing for variables, because these are everywhere else?
Screenshots
System:
Thanks for your help!