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.22k stars 4.81k forks source link

8ch relayboard support with esp8266 #545

Closed BigOrangeClown closed 6 years ago

BigOrangeClown commented 7 years ago

tried to change the code for wemos but ended up on switching multiple channels via mqtt i am not firm in programming so a native support 4 that would be really nice....

arendst commented 7 years ago

8ch relay board.... Is there only one type around? Provide at least schematics and/or esp8266 pin layout.

mrmin24 commented 7 years ago

yes please. stefanbode did do a version for the I2C expander, but there are some issues with pulsetimers not working correctly.

Basically just 8ch DIO pins required inverted or non-inverted

BigOrangeClown commented 7 years ago

Hey there, sorry for the missing information! basically i just need 8 DOUT pins from an NodeMcu based baord ( pinout: https://goo.gl/images/5gdKa2 ) for the 8 DIN Pins on the relayboard ( similiar to that board: https://goo.gl/images/wdG7wU )

thankfully

arendst commented 7 years ago

What's wrong with having two Sonoff 4CH devices already supported?

davidelang commented 7 years ago

I think it would be great to not be limited to 4 buttons/switches/relays/LEDs, I can see lots of situations where I would want more than 4 of any one of these. I have a lot of situations where the point of control and the point of effect are not the same, so having relays on the point of control is a waste and having buttons at the point of effect is a waste.

But the way tasmota is currently written, this is ugly to do. It would be far nicer if instead of an enumerated list of items, there was a list of item types, and you could add a type to a gpio (or ideally, add an item type that uses multiple gpios)

But doing this would be a major restructuring if not a rewrite of the code.

BigOrangeClown commented 7 years ago

I want to minimize the clients in network as far as possible, would be glad about 16 relay / network user but right now there are 5x8ch boards already in use ( with own pretty simple code / wether nice than reliable )- just took tasmota for some sonoff for single actors and i am really satisfied by the performance and all the informations that are delivered by the device - so just thought about would be awsome if i could get this to my installed boards - really don´t want to disassemble half of my e - installation for adding some new devices....

levonbragg commented 7 years ago

I too would like to see 8 channel available. Currently I use one of these http://linksprite.com/wiki/index.php5?title=LinkNode_R8:_Arduino-compatible_WiFi_relay_controller. with ESPeasy There are issues with this board on reboot that cause 2 of the relays to be on during boot up, so I only use 6 of them.

sandervandegeijn commented 7 years ago

Same here :) Using two 4ch modules isn't practical cost wise and implementation wise (space confinements)

nisof commented 6 years ago

Here is support for the LinkNode R8

sonoff_template.h.txt

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 6 years ago

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem.