GithubHelp home page GithubHelp logo

optio50 / victron_modbus_tcp Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 6.0 4.55 MB

Victron Modbus & MQTT Example

Python 100.00%
victron modbus tcpmodbus python cerbo victronenergy solar inverter multiplus battery

victron_modbus_tcp's People

Contributors

optio50 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

victron_modbus_tcp's Issues

No issue - have a enhance request for Example.py

Hi,

I'm very happy to foundthis script.
My plan are use the MultiPlus at external mode and give's him the GridSetPoint depends from the SoC.
so I reduce the script and try this

   # Battery value color
    if BatterySOC >= 95:
        print(clear,colors.fg.cyan,f" Battery SOC............. ",colors.bold, colors.fg.green,f"{BatterySOC:.1f}", " %", colors.reset, sep="")
    elif BatterySOC <= 95 and BatterySOC >= 12:
        print(clear,colors.fg.cyan,f" Battery SOC............. ",colors.bold, colors.fg.yellow,f"{BatterySOC:.1f}", " %", colors.reset, sep="")
    elif BatterySOC < 25:
        print(clear,colors.fg.cyan,f" Battery SOC............. ",colors.bold, colors.fg.red,f"{BatterySOC:.1f}", " %", colors.reset, sep="")
        **client.write_registers(address=2700, values="0" , unit=VEsystemID**
        continue
        #print("\033[K", end="")
        print(clear,colors.fg.green,f" Grid Set Point Watts.... {GridSetPoint}", sep="")

but thsi won't work.

my wish is that I feed-in start if the SoC are >94% until the SoC >11% with GridSetPoint 170 Watt.
otherwise the GridSetPoint are "0"

thx for some hints
regards

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.