Giter VIP home page Giter VIP logo

huawei_venusos's Introduction

huawei_venusOS

a venusOS driver for huawei sun2000 inverters

Purpose

This service is meant to be run on a raspberry Pi with Venus OS from Victron.

The Python script cyclically reads data from the huawei inverter via modbus TCP and publishes information on the dbus, using the service name com.victronenergy.pvinverter. This makes the inverter appear on Venus OS and VRM

Configuration

In the Python file, you should put the IP of your inverter

Installation

  1. Copy the files to the /data folder on your venus:

  2. test via python3 huawei.py

  3. Copy the services/run file to /opt/victronenergy/service/dbus-huawei it will be copied to /services/dbus-huawei after each restart and will survive updates

  4. Restart to initiate the copy process

huawei_venusos's People

Contributors

kaeferfreund avatar

Stargazers

 avatar  avatar Francisco avatar

Watchers

 avatar Francisco avatar  avatar

huawei_venusos's Issues

no data available

Testing the script, after modify the ip and port, i get connected to the inverted however is having some issue.

root@einstein:/data/huawei_venusOS-main# python3 huawei.py
INFO:root:Successfully connected to inverter
intialising
INFO:root:registered ourselves on D-Bus as com.victronenergy.pvinverter.pv0.pvinverter_id00
Connected to dbus, and switching over to gobject.MainLoop() (= event based)
Traceback (most recent call last):
  File "huawei.py", line 85, in _update
    if(self.ac_c1 is not None):
AttributeError: 'modbusQuerry' object has no attribute 'ac_c1'

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.