Giter VIP home page Giter VIP logo

Comments (6)

scottah avatar scottah commented on June 12, 2024

get anywhere? I've got a SG8K-D and have the same output as yourself.

from solariot.

scottah avatar scottah commented on June 12, 2024

Might be worth noting that I couldn't get pycrypto installed properly, so have resorted to pycryptodome - which is a drop-in replacement.

from solariot.

michael-robbins avatar michael-robbins commented on June 12, 2024

This is what I'm doing atm to get my SG5K-D running, I'll be PR'ing it into this repo once my other PRs land!

root@b3b2a4bfddac:/solariot# cat modbus-sungrow-sg5kd.py
read_register = {
  "5003":  "daily_power_yield_10",
  "5004":  "total_power_yield",
  "5008":  "internal_temp_10",
  "5011":  "pv1_voltage_10",
  "5012":  "pv1_current_10",
  "5013":  "pv2_voltage_10",
  "5014":  "pv2_current_10",
  "5017":  "total_pv_power",
  "5019":  "grid_voltage_10",
  "5022":  "inverter_current_10",
  "5031":  "total_active_power",
  "5036":  "grid_frequency_10",
}
holding_register = {
  "5000": "year",
  "5001": "month",
  "5002": "day",
  "5003": "hour",
  "5004": "minute",
  "5005": "second"
}
scan = """{
  "read": [
     {
       "start": "5000",
       "range": "40"
     }
  ],
  "holding": [
    {
       "start": "4999",
       "range": "100"
    }
  ]
}"""

from solariot.

michael-robbins avatar michael-robbins commented on June 12, 2024

Currently going through the registers and matching it all up against my isolarcloud app thingy!

from solariot.

michael-robbins avatar michael-robbins commented on June 12, 2024

I've created PR #20 which at least for me is working!

from solariot.

meltaxa avatar meltaxa commented on June 12, 2024

PR#20 has been merged. Thanks for the contribution.

from solariot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.