Giter Club home page Giter Club logo

esp8266-modbus-gateway's People

Contributors

marcin1j avatar

Stargazers

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

Watchers

 avatar  avatar

esp8266-modbus-gateway's Issues

Clarify hardware connections

By default D1 (GPIO5, you can change this in main.py) is used for driver enable control and needs to be connected to converter's DE (active high) and RE (active low) pins.

Do I understand correctly that you connected GPIO5 to both DE and RE pins at the same time? So that DE and RE on the converter are connected?

I am not yet familiar with these RS-485 TTL converter modules and am looking to try out your example, but that just seems a bit strange

Short read?

Hi,

first of all, thanks for your effort! I want to integrate our home sauna with Home Assistant, unfortunately the only interface provided by the sauna is an actual 3-wire Modbus interface, so this project will be my chance to get the integration running.

Currently, I'm experiencing some problems... Doing some polls usually works fine, but sometimes I'm getting the following error:

INFO:modbus:Starting to serve 192.168.128.252:35040
WARN:modbus:RTU read: short read 3/4
INFO:modbus:Served 192.168.128.252:35040
INFO:modbus:New connection from ('192.168.128.252', 35054)
INFO:modbus:Starting to serve 192.168.128.252:35054
WARN:modbus:RTU read: short read 3/4
INFO:modbus:Served 192.168.128.252:35054

Any idea what could cause this "short read" and how to prevent that?

I'm running your code on a Wemos D1 Mini, with the following UART settings:

UART(0, 19200, bits=8, parity=None, stop=1, timeout=1000, timeout_char=10, rxbuf=1024)

Would be great if you could give me some hints here... Thanks!

Best regards
Matthias

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.