Open JonHea opened 1 year ago
Can you check in the Configure App page to see if it reports that it has found an inverter. If you see a message then it might be possible to add support if I can find out the MODBUS registers for that model.
Hi Adrian! Thanks for fast response. Yes, the log finds an inverter, but it cannot be added as a device. I have tried a number of Home Assistant integrations, but have not been able to connect to the WIFI dongle to get the full data. However, I have managed to get data out of the following addresses:
Best regards Jonas
Från: Adrian Rockall @.> Skickat: den 10 maj 2023 16:41 Till: AdyRock/ady.solarman @.> Kopia: Jonas Hellman @.>; Author @.> Ämne: Re: [AdyRock/ady.solarman] Can't connect to inverter Sofar Solar 15KWTL-G3 or WIFI dongle LSW3 (Issue #9)
Can you check in the Configure App page to see if it reports that it has found an inverter. If you see a message then it might be possible to add support if I can find out the MODBUS registers for that model.
— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/ady.solarman/issues/9#issuecomment-1542325789, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7XSF54QYWQLB2PXM2U36UTXFOSH3ANCNFSM6AAAAAAX4S4QKM. You are receiving this because you authored the thread.Message ID: @.**@.>>
Ah, that's good. I think I have a map that fits those addresses so I will include it ASAP.
OK, new test version is in the store. Fingers crossed the map I had is good for your inverter.
Great, I'll try tomorrow when the inverter has woken up, it must have sun to start... // Jonas
Från: Adrian Rockall @.> Skickat: den 10 maj 2023 22:06 Till: AdyRock/ady.solarman @.> Kopia: Jonas Hellman @.>; Author @.> Ämne: Re: [AdyRock/ady.solarman] Can't connect to inverter Sofar Solar 15KWTL-G3 or WIFI dongle LSW3 (Issue #9)
OK, new test version is in the store. Fingers crossed the map I had is good for your inverter.
— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/ady.solarman/issues/9#issuecomment-1542740638, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7XSF52W6CDYZSPI3HGDE63XFPYLXANCNFSM6AAAAAAX4S4QKM. You are receiving this because you authored the thread.Message ID: @.**@.>>
Hi Adrian! I still can't add the inverter as a local device, I have sent you the log. // Jonas
From: Adrian Rockall @.> Sent: Wednesday, 10 May, 2023 22:06 To: AdyRock/ady.solarman @.> Cc: Jonas Hellman @.>; Author @.> Subject: Re: [AdyRock/ady.solarman] Can't connect to inverter Sofar Solar 15KWTL-G3 or WIFI dongle LSW3 (Issue #9)
OK, new test version is in the store. Fingers crossed the map I had is good for your inverter.
— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/ady.solarman/issues/9#issuecomment-1542740638, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7XSF52W6CDYZSPI3HGDE63XFPYLXANCNFSM6AAAAAAX4S4QKM. You are receiving this because you authored the thread.Message ID: @.**@.>>
Unfortunately, the only log I have from this app is just showing errors due to a bug I created in this test version, where the data for the new capabilities wasn't available on old devices. That will be fixed in the next update so existing users can continue to use the old device but will need to delete it and add it again to get the new features.
So when you try to add a local device (Grid, Inverter, Solar Panel or Summary), does it just say no devices found?
If you go to the Configure App page and select the Send Command tab, type in 1156 into the read register box and click on Send, do you get the grid frequency * 100 back?
Hi Adrian! Applies to V1.1.4 --> Local inverter The log says that it found an inverter, but it cannot be added as a device. Register 1156 gives 4997 which is the frequency 49.97Hz, exactly right :-) Register 1157 gives 1012 which is Total AC Output Power 10.12 kW, probably correct. //Jonas
From: Adrian Rockall @.> Sent: Friday, 12 May, 2023 00:54 To: AdyRock/ady.solarman @.> Cc: Jonas Hellman @.>; Author @.> Subject: Re: [AdyRock/ady.solarman] Can't connect to inverter Sofar Solar 15KWTL-G3 or WIFI dongle LSW3 (Issue #9)
If you go to the Configure App page and select the Send Command tab, type in 1156 into the read register box and click on Send, do you get the grid frequency * 100 back? [image]https://user-images.githubusercontent.com/38184396/237829307-72f1fc48-8274-427a-950a-626297c2e8b0.png
— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/ady.solarman/issues/9#issuecomment-1544796224, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7XSF5ZAHYELJZ3ZD5R2PITXFVUZHANCNFSM6AAAAAAX4S4QKM. You are receiving this because you authored the thread.Message ID: @.**@.>>
When it says it found an inverter, does it show the IP address followed by the serial number?
Yes!
//jonas
From: Adrian Rockall @.> Sent: Friday, 12 May, 2023 14:19 To: AdyRock/ady.solarman @.> Cc: Jonas Hellman @.>; Author @.> Subject: Re: [AdyRock/ady.solarman] Can't connect to inverter Sofar Solar 15KWTL-G3 or WIFI dongle LSW3 (Issue #9)
When it says it found an inverter, does it show the IP address followed by the serial number?
— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/ady.solarman/issues/9#issuecomment-1545655406, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7XSF55OAALLUXKTN5CUXEDXFYTDTANCNFSM6AAAAAAX4S4QKM. You are receiving this because you authored the thread.Message ID: @.**@.>>
I will publish a new test version later with more diagnostics logging to try and find out what is going wrong.
New test version is in the store that logs the checking procedure to hopefully highlight why it fails.
Q
So when you try to add a local device (Grid, Inverter, Solar Panel or Summary), does it just say no devices found?
A Yes
//Jonas
Skickat från min iPhone
12 maj 2023 kl. 00:48 skrev Adrian Rockall @.***>:
Unfortunately, the only log I have from this app is just showing errors due to a bug I created in this test version, where the data for the new capabilities wasn't available on old devices. That will be fixed in the next update so existing users can continue to use the old device but will need to delete it and add it again to get the new features.
So when you try to add a local device (Grid, Inverter, Solar Panel or Summary), does it just say no devices found?
— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/ady.solarman/issues/9#issuecomment-1544788980, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7XSF54ONGUF5JKNWDEFNGLXFVUC7ANCNFSM6AAAAAAX4S4QKM. You are receiving this because you authored the thread.Message ID: @.***>
Hi !
Log local data —> True Log internet data —> True
2023-05-12T18:16:08.132Z ** App has initialised. ***
2023-05-12T18:16:10.036Z getHubDeviceValues: : { "code": null, "msg": null, "success": true, "requestId": "808cb2beb9206cc3", "generationPower": 1750, "usePower": 0, "gridPower": null, "purchasePower": null, "wirePower": 0, "chargePower": null, "dischargePower": null, "batteryPower": null, "batterySoc": null, "irradiateIntensity": null, "lastUpdateTime": 1683915008, "generationTotal": 823.2 }
2023-05-12T18:16:13.959Z Found Inverter: : 192.168.101.71, 2376427885
2023-05-12T18:18:28.164Z getHistoricalValues: : { "code": null, "msg": null, "success": true, "requestId": "ecf5706ce26efb4a", "total": 1, "stationDataItems": [ { "generationPower": null, "usePower": null, "gridPower": null, "purchasePower": null, "wirePower": null, "chargePower": null, "dischargePower": null, "batteryPower": null, "batterySoc": null, "irradiateIntensity": null, "generationValue": 90.19, "generationRatio": null, "gridRatio": null, "chargeRatio": null, "useValue": null, "useRatio": null, "buyRatio": null, "useDischargeRatio": null, "gridValue": null, "buyValue": null, "chargeValue": null, "dischargeValue": null, "fullPowerHours": 6.012667, "irradiate": null, "theoreticalGeneration": null, "pr": null, "cpr": null, "dateTime": null, "year": 2023, "month": 5, "day": 4 }, { "generationPower": null, "usePower": null, "gridPower": null, "purchasePower": null, "wirePower": null, "chargePower": null, "dischargePower": null, "batteryPower": null, "batterySoc": null, "irradiateIntensity": null, "generationValue": 71.28, "generationRatio": null, "gridRatio": null, "chargeRatio": null, "useValue": null, "useRatio": null, "buyRatio": null, "useDischargeRatio": null, "gridValue": null, "buyValue": null, "chargeValue": null, "dischargeValue": null, "fullPowerHours": 4.752, "irradiate": null, "theoreticalGeneration": null, "pr": null, "cpr": null, "dateTime": null, "year": 2023, "month": 5, "day": 5 }, { "generationPower": null, "usePower": null, "gridPower": null, "purchasePower": null, "wirePower": null, "chargePower": null, "dischargePower": null, "batteryPower": null, "batterySoc": null, "irradiateIntensity": null, "generationValue": 97.59, "generationRatio": null, "gridRatio": null, "chargeRatio": null, "useValue": null, "useRatio": null, "buyRatio": null, "useDischargeRatio": null, "gridValue": null, "buyValue": null, "chargeValue": null, "dischargeValue": null, "fullPowerHours": 6.506, "irradiate": null, "theoreticalGeneration": null, "pr": null, "cpr": null, "dateTime": null, "year": 2023, "month": 5, "day": 6 }, { "generationPower": null, "usePower": null, "gridPower": null, "purchasePower": null, "wirePower": null, "chargePower": null, "dischargePower": null, "batteryPower": null, "batterySoc": null, "irradiateIntensity": null, "generationValue": 94.79, "generationRatio": null, "gridRatio": null, "chargeRatio": null, "useValue": null, "useRatio": null, "buyRatio": null, "useDischargeRatio": null, "gridValue": null, "buyValue": null, "chargeValue": null, "dischargeValue": null, "fullPowerHours": 6.319333, "irradiate": null, "theoreticalGeneration": null, "pr": null, "cpr": null, "dateTime": null, "year": 2023, "month": 5, "day": 7 }, { "generationPower": null, "usePower": null, "gridPower": null, "purchasePower": null, "wirePower": null, "chargePower": null, "dischargePower": null, "batteryPower": null, "batterySoc": null, "irradiateIntensity": null, "generationValue": 94.34, "generationRatio": null, "gridRatio": null, "chargeRatio": null, "useValue": null, "useRatio": null, "buyRatio": null, "useDischargeRatio": null, "gridValue": null, "buyValue": null, "chargeValue": null, "dischargeValue": null, "fullPowerHours": 6.289333, "irradiate": null, "theoreticalGeneration": null, "pr": null, "cpr": null, "dateTime": null, "year": 2023, "month": 5, "day": 8 }, { "generationPower": null, "usePower": null, "gridPower": null, "purchasePower": null, "wirePower": null, "chargePower": null, "dischargePower": null, "batteryPower": null, "batterySoc": null, "irradiateIntensity": null, "generationValue": 94.33, "generationRatio": null, "gridRatio": null, "chargeRatio": null, "useValue": null, "useRatio": null, "buyRatio": null, "useDischargeRatio": null, "gridValue": null, "buyValue": null, "chargeValue": null, "dischargeValue": null, "fullPowerHours": 6.288667, "irradiate": null, "theoreticalGeneration": null, "pr": null, "cpr": null, "dateTime": null, "year": 2023, "month": 5, "day": 9 }, { "generationPower": null, "usePower": null, "gridPower": null, "purchasePower": null, "wirePower": null, "chargePower": null, "dischargePower": null, "batteryPower": null, "batterySoc": null, "irradiateIntensity": null, "generationValue": 96.96, "generationRatio": null, "gridRatio": null, "chargeRatio": null, "useValue": null, "useRatio": null, "buyRatio": null, "useDischargeRatio": null, "gridValue": null, "buyValue": null, "chargeValue": null, "dischargeValue": null, "fullPowerHours": 6.464, "irradiate": null, "theoreticalGeneration": null, "pr": null, "cpr": null, "dateTime": null, "year": 2023, "month": 5, "day": 10 }, { "generationPower": null, "usePower": null, "gridPower": null, "purchasePower": null, "wirePower": null, "chargePower": null, "dischargePower": null, "batteryPower": null, "batterySoc": null, "irradiateIntensity": null, "generationValue": 91.24, "generationRatio": null, "gridRatio": null, "chargeRatio": null, "useValue": null, "useRatio": null, "buyRatio": null, "useDischargeRatio": null, "gridValue": null, "buyValue": null, "chargeValue": null, "dischargeValue": null, "fullPowerHours": 6.082667, "irradiate": null, "theoreticalGeneration": null, "pr": null, "cpr": null, "dateTime": null, "year": 2023, "month": 5, "day": 11 }, { "generationPower": null, "usePower": null, "gridPower": null, "purchasePower": null, "wirePower": null, "chargePower": null, "dischargePower": null, "batteryPower": null, "batterySoc": null, "irradiateIntensity": null, "generationValue": 92.42, "generationRatio": null, "gridRatio": null, "chargeRatio": null, "useValue": null, "useRatio": null, "buyRatio": null, "useDischargeRatio": null, "gridValue": null, "buyValue": null, "chargeValue": null, "dischargeValue": null, "fullPowerHours": 6.161333, "irradiate": null, "theoreticalGeneration": null, "pr": null, "cpr": null, "dateTime": null, "year": 2023, "month": 5, "day": 12 } ] }
Skickat från min iPhone
12 maj 2023 kl. 19:44 skrev Adrian Rockall @.***>:
New test version is in the store that logs the checking procedure to hopefully highlight why it fails.
— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/ady.solarman/issues/9#issuecomment-1546079147, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7XSF52RCN3JJAGFFD5C6A3XFZZHXANCNFSM6AAAAAAX4S4QKM. You are receiving this because you authored the thread.Message ID: @.***>
Can you turn off the log options so it reduces the amount of information. Then restart the app and give it a minute. You should get something like
2023-05-12T17:40:50.696Z Found Inverter: : 192.168.1.61, 2318235749
2023-05-12T17:40:50.708Z Checking register 14 for grid frequency:
2023-05-12T17:40:52.801Z Returned null.
Checking register 1156 for grid frequency:
Checking register 524 for grid frequency:
2023-05-12T17:40:55.186Z Frequency 49.96 is good
2023-05-12T17:40:55.188Z Found inverter
Hi
I had to reinstall the app to get the info
2023-05-12T19:21:26.588Z Found Inverter: : 192.168.101.71, 2376427885
2023-05-12T19:21:26.594Z Checking register 14 for grid frequency:
2023-05-12T19:21:26.778Z Frequency 0.03 is not valid
2023-05-12T19:21:26.784Z Returned null.
Checking register 1156 for grid frequency:
2023-05-12T19:21:26.997Z Frequency 50 is good
2023-05-12T19:21:27.006Z Found inverter
//Jonas
Skickat från min iPhone
12 maj 2023 kl. 21:09 skrev Adrian Rockall @.***>:
Can you turn off the log options so it reduces the amount of information. Then restart the app and give it a minute. You should get something like
2023-05-12T17:40:50.696Z Found Inverter: : 192.168.1.61, 2318235749
2023-05-12T17:40:50.708Z Checking register 14 for grid frequency:
2023-05-12T17:40:52.801Z Returned null.
Checking register 1156 for grid frequency:
Checking register 524 for grid frequency:
2023-05-12T17:40:55.186Z Frequency 49.96 is good
2023-05-12T17:40:55.188Z Found inverter
— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/ady.solarman/issues/9#issuecomment-1546165230, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7XSF5ZYA7CDYFEMFSUDTQDXF2DE3ANCNFSM6AAAAAAX4S4QKM. You are receiving this because you authored the thread.Message ID: @.***>
Hi!
I had to reinstall the app to get the info.
//Jonas
2023-05-12T19:21:26.588Z Found Inverter: : 192.168.101.71, 2376427885
2023-05-12T19:21:26.594Z Checking register 14 for grid frequency:
2023-05-12T19:21:26.778Z Frequency 0.03 is not valid
2023-05-12T19:21:26.784Z Returned null.
Checking register 1156 for grid frequency:
2023-05-12T19:21:26.997Z Frequency 50 is good
2023-05-12T19:21:27.006Z Found inverter
Skickat från min iPhone
12 maj 2023 kl. 21:09 skrev Adrian Rockall @.***>:
Can you turn off the log options so it reduces the amount of information. Then restart the app and give it a minute. You should get something like
2023-05-12T17:40:50.696Z Found Inverter: : 192.168.1.61, 2318235749
2023-05-12T17:40:50.708Z Checking register 14 for grid frequency:
2023-05-12T17:40:52.801Z Returned null.
Checking register 1156 for grid frequency:
Checking register 524 for grid frequency:
2023-05-12T17:40:55.186Z Frequency 49.96 is good
2023-05-12T17:40:55.188Z Found inverter
— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/ady.solarman/issues/9#issuecomment-1546165230, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7XSF5ZYA7CDYFEMFSUDTQDXF2DE3ANCNFSM6AAAAAAX4S4QKM. You are receiving this because you authored the thread.Message ID: @.***>
Hmm, OK, so it was found, so it should be available when you add a device. Can you enable the Log Local Data option and then try adding an inverter, then send the log.
I have tried adding all types of device, except solarman, the log says nothing
//Jonas
[image0.png][image1.png]
Skickat från min iPhone
12 maj 2023 kl. 21:51 skrev @.***>:
Hmm, OK, so it was found, so it shouldbeavailable when you add a device. Can you enable the Log Local Data optionandthen try adding an inverter, then send thelog.
— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/ady.solarman/issues/9#issuecomment-1546214418,orunsubscribehttps://github.com/notifications/unsubscribe-auth/A7XSF5ZZY4JC4O7GEVDRM3DXF2IC7ANCNFSM6AAAAAAX4S4QKM. You are receiving this because you authored the thread.Message ID: @.***>
Ok, then I will go back to the code and add more logging. Thanks for your patience.
no problem, glad to be able to help. Appreciate your attempts. now it's evening in Sweden, inverter sleeps...
//Jonas
Skickat från min iPhone
12 maj 2023 kl. 22:41 skrev Adrian Rockall @.***>:
Ok, then I will go back to the code and add more logging. Thanks for your patience.
— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/ady.solarman/issues/9#issuecomment-1546270900, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7XSF55ZCXPQZ5EXL3GQ2LLXF2N67ANCNFSM6AAAAAAX4S4QKM. You are receiving this because you authored the thread.Message ID: @.***>
I have published a new test version for you to try when the Sun comes out to play. As I was adding more logging, I found that the new map for your inverter had quite a few issues. I found it on the internet a while back and thought I had updated the entries to my format, but it seems I had not completed the task.
Hi Adrian! V1.1.7 Busy yesterday, he did not test the latest version. One step forward, I now have the option to add local devices, however, the values are not updated. Without timestamp the last value is when the app was started. Solarman also went in, but no temperatures from the inverter yet. https://pysolarmanv5.readthedocs.io/en/stable/solarmanv5_protocol.html // Jonas
From: Adrian Rockall @.> Sent: Saturday, 13 May, 2023 22:19 To: AdyRock/ady.solarman @.> Cc: Jonas Hellman @.>; Author @.> Subject: Re: [AdyRock/ady.solarman] Can't connect to inverter Sofar Solar 15KWTL-G3 or WIFI dongle LSW3 (Issue #9)
I have published a new test version for you to try when the Sun comes out to play. As I was adding more logging, I found that the new map for your inverter had quite a few issues. I found it on the internet a while back and thought I had updated the entries to my format, but it seems I had not completed the task.
— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/ady.solarman/issues/9#issuecomment-1546743280, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7XSF57JQ4CMWONRDFGPAALXF7UEVANCNFSM6AAAAAAX4S4QKM. You are receiving this because you authored the thread.Message ID: @.**@.>>
OK, could you enable LOG LOCAL DATA and then restart the app. Give it a minute and then Send Log. The map I have doesn't give all the same information as my inverter, so I had to put some checks in before updating some capabilities. Maybe I have missed one or two, which is preventing the timer from updating.
Hello!
I uninstalled the app, restarted homey, installed the app, Enabled log local data, added inverter, added solar. Below you can see the log:
@.***
//Jonas
From: Adrian Rockall @.> Sent: Monday, 15 May, 2023 09:58 To: AdyRock/ady.solarman @.> Cc: Jonas Hellman @.>; Author @.> Subject: Re: [AdyRock/ady.solarman] Can't connect to inverter Sofar Solar 15KWTL-G3 or WIFI dongle LSW3 (Issue #9)
OK, could you enable LOG LOCAL DATA and then restart the app. Give it a minute and then Send Log. The map I have doesn't give all the same information as my inverter, so I had to put some checks in before updating some capabilities. Maybe I have missed one or two, which is preventing the timer from updating.
— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/ady.solarman/issues/9#issuecomment-1547368576, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7XSF52P3FRY7WZU46W2OU3XGHOXRANCNFSM6AAAAAAX4S4QKM. You are receiving this because you authored the thread.Message ID: @.**@.>>
Hello! I can connect to Solarman-Cloud, but I can't connect to Solar 15KWTL-G3 or WIFI dongle, Homey is on the same subnet as WIFI dongle When I add "Summary / Inverter (SoFar)" I get the error message "HTTPS Error: Noting returned" Applies even if I add "Solar Panel (SoFar)". What could be wrong?? Is Solar 15KWTL-G3 or WIFI dongle LSW3 supported at all?? Kind regards, Jonas