squishykid / solax

🌞 Solax Inverter API Wrapper
MIT License
100 stars 57 forks source link

X1 Boost Air Mini fails to connect #134

Closed davosje closed 12 months ago

davosje commented 12 months ago

Hi!

Since yesterday my home assistant integration failed to initialize my Solax inverter.

WARNING (MainThread) [homeassistant.config_entries] Config entry 'Solax Solar' for solax integration not ready yet: Unable to connect to the inverter at host=192.168.1.197 port=80, or your inverter is not supported yet.
Please see https://github.com/squishykid/solax/wiki/DiscoveryError
Failures=[InverterError('Could not connect to inverter endpoint', 'XHybrid'), InverterError('Received malformed JSON from inverter', 'X3MicProG2'), InverterError('Received malformed JSON from inverter', 'X1HybridGen4'), InverterError('Received malformed JSON from inverter', 'X3'), InverterError('Could not connect to inverter endpoint', 'X1Boost'), InverterError('Could not connect to inverter endpoint', 'X3'), InverterError('Received malformed JSON from inverter', 'X1Boost'), InverterError('Received malformed JSON from inverter', 'X3V34'), InverterError('Could not connect to inverter endpoint', 'QVOLTHYBG33P'), InverterError('Could not connect to inverter endpoint', 'X1Smart'), InverterError('Could not connect to inverter endpoint', 'X1Smart'), InverterError('Could not connect to inverter endpoint', 'X1MiniV34'), InverterError('Could not connect to inverter endpoint', 'X1MiniV34'), InverterError('Could not connect to inverter endpoint', 'X1Mini'), InverterError('Could not connect to inverter endpoint', 'X1Mini'), InverterError('Could not connect to inverter endpoint', 'X1'), InverterError('Could not connect to inverter endpoint', 'X1'), InverterError('Could not connect to inverter endpoint', 'X3HybridG4'), InverterError('Could not connect to inverter endpoint', 'X3V34')]; Retrying in background

I can curl command and get response:

[core-ssh ~]$ curl -X POST http://192.168.1.197/?optType=ReadRealTimeData
{"type":"X1-Boost-Air-Mini","SN":"***********","ver":"2.033.20","Data":[0.1,0.0,54.1,0.0,0.6,230.7,0,34,2.4,3068.7,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.00,0.00,0,0,0,0,0,0,0,49.93,0,0,0,0,0,0,0,0,0,0.00,0,0,0,0,0.00,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"Information":[1.500,4,"X1-Boost-Air-Mini","**********",1,1.17,0.00,1.14,0.00]}

Does anybody have the same issue or maybe can help me?

davosje commented 12 months ago

It's working again :)