Code Monkey home page Code Monkey logo

modbus2mqtt's People

Contributors

owagner 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

modbus2mqtt's Issues

modbus over tcp

Can i also poll the slaves via Modbus TCP ?

In the code there is no option

multiple slaves on same rs485 bus

I have multiple slaves on same rs485 bus, slave ID 1 and slave ID 2. (both SDM120 meters)
The register definition is like this:
DEFAULT,,2,>f:%.1f,1,1,4
voltage,0
power,12
DEFAULT,,,>f:%.2f
current,6
Pfactor,30
freq,70
TotalPower,342
DEFAULT,,2,>f:%.1f,1,2,4
voltage2,0
SolarVoltage,0
SolarPower,12
DEFAULT,,,>f:%.2f
Solarcurrent,6
SolarTPower,342

It reads the first meter without error. Then start with second meter gives an error on first value (voltage2,0)
then reads the rest of second meter without error.

Any way to specify a wait time between read first meter and start to read the second meter?

Thanks for this great piece of software,
Jan

No module named 'serial

HA Core 2024.4.4
HA OS 11.5

Suddenly these errors appear in the log, and the module doesn't work anymore:

  File "/app/./modbus2mqtt.py", line 2, in <module>
    from  modbus2mqtt.modbus2mqtt import main
  File "/app/modbus2mqtt/modbus2mqtt.py", line 33, in <module>
    import serial
ModuleNotFoundError: No module named 'serial'

Tried 'pip install pyserial' in the console, but that doesn't work

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.