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.28k stars 4.82k forks source link

Support Digitalloggers PLC #3976

Closed nitinuae closed 6 years ago

nitinuae commented 6 years ago

Hello Long time back, I bought a digitalloggers PLC (https://dlidirect.com/products/diy-programmable-controller), thinking that its a nice PLC which can be programmed. This came out to useless as digitalloggers dont provide any info other than schematics and their github page has botched up programming.

Basically, its an ESP8266, which is hardwired to Arduino mega, with Relay shields (6 relay 8Analogue in, 8 Digital out).

The relay shield can be controlled (by ESP) by sending out preset serial command(and status be read by serial)

The command can be seen in https://github.com/digitalloggers/PLDuino/blob/master/ESP8266/server.lua

Can this be done in Tasmota?

ascillato commented 6 years ago

Yes,

Select module as Generic and set the GPIO as in your device.

Then you can use commands for serial send and receive.