arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.05k stars 4.78k forks source link

Provide support for half-duplex Modbus ICs like MAX3485 #6940

Closed mclane closed 4 years ago

mclane commented 4 years ago

Hello, I have designed Modbus to MQTT interface which uses an ESP8266 module linked directly to a MAX3485 interface chip. Modbus2Wifi.pdf This chip needs apart form the normal TX /RX pins an additional R/W pin (in my case connected to GPIO4). So before a transmission on the serial line the GPIO needs to be switched HIGH and after back to LOW. So far, I have implemented the firmware using https://github.com/homieiot/homie-esp8266. together with the ModbusMaster library. However, I would like to switch to Tasmota since all my other ESP8266 devices use this nice framework now. I would like to use the smart meter interface https://github.com/arendst/Tasmota/wiki/Smart-Meter-Interface. Would it be possible to integrate this feature? Maybe someone can point me to the place where the modbus communication is implemented so that I can add this little feature myself. Thanks so far for the huge work!

ascillato commented 4 years ago

Smart meters and modbus are already implemented.

ascillato2 commented 4 years ago

If you need assistance on how to use Tasmota, please, address this to the Tasmota Support Chat. The chat is a better and more dynamic channel for helping you. Github issues are meant for Tasmota Software Bug Reporting.

Please check the Contributing Guideline and Policy and the Support Guide.

Thanks.


Support Information

See Wiki for more information. See FAQ for common questions/answers and links if none of your question is in the list See Chat for more user experience. See Community for forum. See Code of Conduct