evcc-io / evcc

Solar Charging ☀️🚘
https://evcc.io
MIT License
3.66k stars 684 forks source link

Support for QCELLS cloud (analog to solax-cloud) #7993

Closed 536b6f74746b69 closed 1 year ago

536b6f74746b69 commented 1 year ago

Many QCELLS products are rebranded solax products, and so QCELLS cloud API is most probably to be used the same way as the solax cloud, but with a different uri.

Uri format in solax template is: uri: https://www.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do?tokenId={{.tokenid}}&sn={{.serial}}

Uri format for QCELLS should be: uri: https://www.portal-q-cells.us/proxyApp/proxy/api/getRealtimeInfo.do?tokenId={{.tokenid}}&sn={{.serial}}

So either the hostname for the solax can be provided by a template parameter in order to support both QCELLS and solax with the same template, or a clone of the solax template with a different hardcoded uri can be provided.

qcells-api

StefanSchoof commented 1 year ago

Did you try the solax template? Both DNS Entries resolve to the same IP (47.254.152.24): https://www.nslookup.io/domains/www.portal-q-cells.us/dns-records/ https://www.nslookup.io/domains/www.solaxcloud.com/dns-records/

536b6f74746b69 commented 1 year ago

Actually I did, but I put the wrong value in for serial number. Not the serial of the inverter (Inverter SN) is to be used, but the ID of the LAN dongle, named "Registration No." in QCELLS web interface. snnr_regnr

So thx for the information on the dns target, now I can continue testing.