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

More switches #3086

Closed Lawrencezarb closed 6 years ago

Lawrencezarb commented 6 years ago

I am working on a project using a D1 mini and Tasmota.

I see that I can have upto 8 Relays configured, but it only allows 4 switches to be configured.

How can I have more switches available, I actually need 5.!

arendst commented 6 years ago

Working on it (#2885) to increase to 8

Lawrencezarb commented 6 years ago

Thanks, I tried to increase the MAX_SWITCHES but this had no effect.

eXCepT74 commented 6 years ago

Hello I working on my smarthouse installation and decided to use tasmota firmware because succesfully built many smart devices for use on my own. Similar to Lawrencezarb i use D1 mini and need more gpio's to use - and here my question. In my projest i use many sensors ( windows, doors contact sensors , motion etc ) and need up to 8 switches to use. But i noticed that if use for example switches 1-8 everyone publishing POWER if i add 3 relays some will publishing POWER 1 some POWER 2 or POWER 3. That what i need to up to 8 independent inputs that will publish POWER 1-8. Is that posible to do in some config way ? The best option is to make posibility independent control of gpios . In other words if i set gpio 1 ,2 and 3 to switch without any relays - i should can do read POWER1-3 depend gpio in use. I use it with homekit2MQTT which is in my opinion more stabble and ease in use that homebridge. No need special plugins because all plugins for every device is part of app. There is problem with getting sensor results because so far it cant parse mqtt messages and sonoff publishing it only by tele messages , but author is working on it. Regards ! Good job anyway !