ayasystems / froniusHttp

Fronius http phyton domoticz plugin
GNU General Public License v3.0
5 stars 3 forks source link

Fix incorrect URL4 for no battery device. #6

Closed ajarzyn closed 2 years ago

ajarzyn commented 3 years ago

Hello,

I have: Fronius Symo 4.5-3-M old link returned following error:

      "Status" : {
         "Code" : 6,
         "Reason" : "CGI-Args: Invalid parameter '' for attribute 'DeviceId' (must be numeric)",
         "UserMessage" : ""
      },

after changin URL4 you will get this:

      "Status" : {
         "Code" : 0,
         "Reason" : "",
         "UserMessage" : ""
      },

Plus bunch of inverter data.

        "FAC" : {
            "Unit" : "Hz",
            "Value" : 49.979999999999997
         },
         "IAC" : {
            "Unit" : "A",
            "Value" : 10.4
         },
         "IDC" : {
            "Unit" : "A",
            "Value" : 7.75
         },
         "PAC" : {
            "Unit" : "W",
            "Value" : 2397
         },
         "TOTAL_ENERGY" : {
            "Unit" : "Wh",
            "Value" : 17482450
         },
         "UAC" : {
            "Unit" : "V",
            "Value" : 232.5
         },
         "UDC" : {
            "Unit" : "V",
            "Value" : 295.5
         },

I saw #1 but I did not read through it, sorry. I just hope that this will solve that problem too.

BR. jarzyn

ajarzyn commented 2 years ago

Hello, sorry for bothering but are you going to merge this pull request?

I would like to remove my fork already :)

ayasystems commented 2 years ago

done! Sorry i forgot it!