Announcement

Collapse
No announcement yet.

Added my inverter... Now what?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    I did a quick test on 2016 and I am pretty sure that upgrading to dotnet framework 4.7 will fix this. Server 2016 comes with 4.6.2 by default.

    https://support.microsoft.com/en-gb/...er-for-windows
    stefxx

    Comment


      #17
      Hi, did you managed to upgrade your dotnet framework? Does the plugin works as expected?

      Let me know if you need any more help. Thanks!
      stefxx

      Comment


        #18
        Apologies for the delay, I've had other priorities lately with everything.. I installed .NET 4.7.2, restarted HS4 and the server itself after clearing the logs, but am still getting this:

        6/22/2020 10:22:01 AM Unable to connect: No connection could be made because the target machine actively refused it 100.100.100.232:502
        6/22/2020 10:22:20 AM Thread created
        6/22/2020 10:22:20 AM Thread started
        6/22/2020 10:22:21 AM Unable to connect: No connection could be made because the target machine actively refused it 100.100.100.232:502
        6/22/2020 10:22:21 AM Send: 0000067E30006D
        6/22/2020 10:22:21 AM Error writing: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
        6/22/2020 10:22:31 AM Unable to connect: No connection could be made because the target machine actively refused it 100.100.100.232:502
        6/22/2020 10:22:40 AM Send: 0000067E30006D
        6/22/2020 10:22:40 AM Error writing: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied


        I can ping .232 from the server running HS4.. And this is a SetApp inverter, CPU version 4.9.x I think, definitely at least 4.8.x - I can check and verify any settings when I'm home if that would help..

        Comment


          #19
          Still no devices are begin created? Please send me a complete log from plugin startup to at least a minute or two...

          Do you still use the other logger as well?

          Thanks!
          stefxx

          Comment


            #20
            No devices created that I can find anywhere at least... Looking at the logs it's pretty apparent that no data is being obtained from the inverter as regards production.
            The HS4 log only showed the plugin initialization, which there were not errors during. Only useful error data appears to be in the log attached.

            Side question, what setting corresponds to the SetApp port? Is this the same port used by the ModBus protocol set in SetApp?
            Click image for larger version

Name:	Screenshot (48).png
Views:	32
Size:	44.1 KB
ID:	1395961

            Comment


              #21
              Strange. Do you still have the slave ID set to 126? Can you try to set it to the default (1) just to see if that is the issue?

              The SetApp port is just the web interface (default port 80) but this is being actively blocked by SolarEdge on more and more inverters. I might remove that functionality eventually.
              stefxx

              Comment


                #22
                I'll try but thought this might help, ptotocol is set to SunSpec, think the default was RS485 or something:
                Also, side note, I can't hit my inverter from a web browser so am guessing port 80 is blocked on mine too :/ any way to undo that?
                Click image for larger version  Name:	Screenshot_20200622-123251_SetApp.jpg Views:	0 Size:	38.2 KB ID:	1395980
                Click image for larger version  Name:	Screenshot_20200622-123324_SetApp.jpg Views:	0 Size:	26.8 KB ID:	1395981
                Click image for larger version  Name:	Screenshot_20200622-123307_SetApp.jpg Views:	0 Size:	26.0 KB ID:	1395982

                Comment


                  #23
                  Set protocol to SolarEdge, didn't help. Set Device ID to 1, with protocol still on SolarEdge, and it worked now, HOWEVER, I still don't see any devices created by the plugin :/ I looked high and low, usually new devices can be identified easily as they are not assigned one of my usual rooms/floors but I am not seeing anything new..

                  6/22/2020 1:26:49 PM Thread created
                  6/22/2020 1:26:49 PM Thread started
                  6/22/2020 1:26:49 PM Connected to 100.100.100.232:502
                  6/22/2020 1:26:49 PM Send: 000006130006D
                  6/22/2020 1:26:49 PM Rcvd: 000003F133F53756E5301041536F6C617245646765200000000000000000 00000053453130303030482D5553303030424E4334000000000000000000 000000000000303030342E303030392E3030333300373330374335373600 000000000000000000000001066032C3FC3F3F3F3F3F3F3F93F3F3F3F3F3 F3F3F3F3F3F3F3F1F3A003F6C3F3F1F4200D3F3F3F2763F3F037B3200492 A3F3F103F3F3F1F3F003F0103F3F03F03F3F0400
                  6/22/2020 1:26:49 PM Rcvd: C_SerialNumber: 7307C576
                  6/22/2020 1:26:49 PM Rcvd: C_Phase: 102
                  6/22/2020 1:26:49 PM Fatal error: System.ArgumentNullException: Value cannot be null.
                  Parameter name: location
                  at HomeSeer.PluginSdk.Devices.DeviceFactory.WithLocation(String location)
                  at HSPI_SolarEdge.Utils.SetupDevice(String Address, String Name, String Image, Boolean& NewDevice, String UpdateString, String Location, String Location2)
                  at HSPI_SolarEdge.devices.CreateDevice(GatewayDevice Gateway, String Address, String Name)
                  at HSPI_SolarEdge.SolarEdge.DataReceived(Object sender, EventArgs e, GatewayDevice Gateway, Byte[] Msg)
                  Attached Files

                  Comment


                    #24
                    What version are you using? This error has already been fixed in the latest 4.0.6.0 release...
                    stefxx

                    Comment


                      #25
                      4.0.4.2 - I think you had given me a beta to install and test. Removed that and installed the 4.0.6, seems to be working now. Would love to get the SetApp data though.. Any way to unblock SetApp web control?

                      Comment


                        #26
                        Can you access your inverter over your local network with the browser? On port 80?

                        If not, see here for more details: https://github.com/drobtravels/solar...ocal/issues/24
                        stefxx

                        Comment


                          #27
                          I can't no, but thank you very much for your help getting the base plugin to connect.

                          Comment

                          Working...
                          X