Growatt integration

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
hendrikenrenny
Posts: 18
Joined: Monday 20 April 2015 21:53
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Growatt integration

Post by hendrikenrenny »

Hi,

Would it be possible to have data from the Growatt solar power convertor automatically and easily available to Domoticz?

There are some tricks available on the imternet requiring multiple rpi's, but nothing easy like p1 monitoring etc.

Thanx,

Hendrik
pwhooftman
Posts: 75
Joined: Monday 11 November 2013 18:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Growatt integration

Post by pwhooftman »

Hi Hendrik,

No ready made integration as far as i know. My setup:

- Growatt traffic with usage updates are intercepted at my synology NAS by entering my NAS address in the Growatt Wifi Stick settings instead of server.growatt.com
- traffic is then a) sent forward to server.growatt.com via NAT rules and b) tcpdumped to files, which are then processed by scripts to upload the info to pvoutput.org
- through the integration of Domoticz & PVOutput, valueas appear in Domoticz

Remember P1 monitoring on your Smart Meter will never suffice in getting the real gross power from your solar panels, because the P1 smartmeter will only show the net balance from current household usage and solar power. So tapping in on the data from the inverter itself always will be neccesary if you are interested in what your solar panels produce.
Domoticz v 1.16xx
1X RFXtrx433 USB 433.92MHz Transceiver Firmware version: 71
1X Synology Nas DS918+ DSM 7 (12Gb RAM mod)
JTjH
Posts: 1
Joined: Monday 01 February 2016 21:35
Target OS: NAS (Synology & others)
Domoticz version: 2.4198
Location: On NAS
Contact:

Re: Growatt integration

Post by JTjH »

Hi pwhooftman

Are you still monitoring these treads?

I recently installed Domoticz on my DS1815+. And wanted to add Growatt, or at least my solar power metering here as well.
You mention a integration between Domoticz and PVOutput, which I can't seem to find.
Under hardware there is a PVOutput listed, but it mentions (INPUT) so is for submitting to PVOutput.

Can you share a little more details?

Thnx
JT
Domoticz v 2.4198
1X RFXtrx433E USB 433.92MHz Transceiver Firmware version: 250
1X Synology Nas DS1815+ DSM 5.2
1x D-IO switch
3x Flamingo FA500
1x Foscam FI9831W
pwhooftman
Posts: 75
Joined: Monday 11 November 2013 18:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Growatt integration

Post by pwhooftman »

Hi,

Correct, the built in support in domoticz is for retrieving values from Pvoutput into Domoticz.

My setup:

Growatt inverter -> wifi stick -> Nas -> traffic forwarded by Nas to server.growatt.com AND tcpdumped in capture files -> capture files analyzed & uploaded to pvoutput via script

and then, values from pvoutput appear in domoticz through the domoticz 'hardware' pvoutput
Domoticz v 1.16xx
1X RFXtrx433 USB 433.92MHz Transceiver Firmware version: 71
1X Synology Nas DS918+ DSM 7 (12Gb RAM mod)
phedny
Posts: 1
Joined: Friday 12 May 2017 18:08
Target OS: -
Domoticz version:
Contact:

Re: Growatt integration

Post by phedny »

My Growatt inverter is connected to my Raspberry Pi using a serial-to-USB converter. I created a script to read out the information from the inverter. It's part of a little hobby project I'm working on.

My C++ is very rusty and I never used boost libraries, so if someone more experienced would like to implement a direct connection from Domoticz to the Growatt inverter, I can help with providing a non-C++ working example. There are basically two parts: one request/response pair for reading the serial number of the inverter and one for reading the measurement data.

This is the kind of data I extract from the measurements:

Code: Select all

{
   "status":1,
   "dc":{
      "totalPower":{
         "value":418.4,
         "unit":"W"
      },
      "pv1":{
         "voltage":{
            "value":232.7,
            "unit":"V"
         },
         "current":{
            "value":1.8,
            "unit":"A"
         },
         "power":{
            "value":418.4,
            "unit":"W"
         }
      },
      "pv2":{
         "voltage":{
            "value":0,
            "unit":"V"
         },
         "current":{
            "value":0,
            "unit":"A"
         },
         "power":{
            "value":0,
            "unit":"W"
         }
      }
   },
   "ac":{
      "totalPower":{
         "value":380.8,
         "unit":"W"
      },
      "frequency":{
         "value":49.99,
         "unit":"Hz"
      },
      "ac1":{
         "voltage":{
            "value":226.7,
            "unit":"V"
         },
         "current":{
            "value":1.6,
            "unit":"A"
         },
         "power":{
            "value":380.8,
            "unit":"W"
         }
      },
      "ac2":{
         "voltage":{
            "value":0,
            "unit":"V"
         },
         "current":{
            "value":0,
            "unit":"A"
         },
         "power":{
            "value":0,
            "unit":"W"
         }
      },
      "ac3":{
         "voltage":{
            "value":0,
            "unit":"V"
         },
         "current":{
            "value":0,
            "unit":"A"
         },
         "power":{
            "value":0,
            "unit":"W"
         }
      }
   },
   "energyToday":{
      "value":9.8,
      "unit":"kWh"
   },
   "energyTotal":{
      "value":699.7,
      "unit":"kWh"
   },
   "timeTotal":{
      "value":15234670,
      "unit":"s"
   },
   "temperature":{
      "value":27.3,
      "unit":"°C"
   }
}
/Mark
jeroenst
Posts: 25
Joined: Sunday 18 June 2017 7:28
Target OS: Linux
Domoticz version: V3.7976
Location: Netherlands
Contact:

Re: Growatt integration

Post by jeroenst »

I''m working on a Growatt plugin on:

http://www.domoticz.com/forum/viewtopic ... 70#p138670
jpmd
Posts: 16
Joined: Tuesday 25 April 2023 19:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Growatt integration

Post by jpmd »

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest