PatrikTrestik / homeassistant-solax-http

Home assistant integration for SolaX EV Charger HTTP API
Apache License 2.0
21 stars 1 forks source link

Serial number of inverter or wallbox is needed? #15

Closed tomchovanec closed 6 months ago

tomchovanec commented 8 months ago

Hi, cloud you please explicitly describe, which serial number is required? SN of the Inverted or the wallbox? Is not clear actually so I don't know if is possible to use WB without inverter (this should be mentioned too in readme). Thank you for you work!!!

fretarts commented 8 months ago

It's actually not the serial number but the registration No. from the wifi of the EV charger. The number next to the QR code that you used to setup the wifi.

tomchovanec commented 8 months ago

Thanks, that makes sense. I think that the same inconsistency is for the inverter and CloudApi. The SN is required for cloud, but its the ReqNo actually. It took me a hour to figure out that the SN is not the SN, but ReqNo. 🤦‍♂️

PatrikTrestik commented 8 months ago

Hi, you are right, it is confusing. In fact it is "api password" which is by default equal to registration number, but can be changed.

I'll fix labeling in next version.

fretarts commented 8 months ago

BTW thanks for your great work Patrik! It really help me a lot debugging my installation.

Like many others I had to use the API as the modbus connection is already used to connect to the inverter (in my case via 2 waveshare adapters).

tomchovanec commented 8 months ago

BTW thanks for your great work Patrik! It really help me a lot debugging my installation.

Like many others I had to use the API as the modbus connection is already used to connect to the inverter (in my case via 2 waveshare adapters).

I think that modbus could work... it can be connected in parallel. I cannot test it yet. In theory, 9600 baud speed should be used instad of 19200 for inverter. But I cannot test it to be sure right now. Only WB-energyMeter connection won't work for sure, because in this case wb is modbus client and energy meter works as server.

fretarts commented 8 months ago

You are right it can work in parallel... but than you are limited to the data requested by the inverter which is pretty much limited to the current charger power (modbus is a single master protocol).

The waveshare RS485 to Eth has also the option to copy the modbus data to multiple host but same limitations as above. The API however give you quite some comprehensive data about almost everything.