stefanbode / Sonoff-Tasmota

Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE, enhanced with I2C options
GNU General Public License v3.0
127 stars 41 forks source link

separate auth for power control #127

Closed devZer0 closed 5 years ago

devZer0 commented 5 years ago

Have you look for this feature in other issues and in the wiki? yes

Is your feature request related to a problem? Please describe. you can only control power on/off without auth or with admin-password - but both also allows administration of the tasmota device.

Describe the solution you'd like i'd like a separate authentication/user for power control, i.e. administration of the device and usage of the device should be separate things

Describe alternatives you've considered i have asked in the upstream project if this feature would be possible but the project denied that such feature woud be accepted/implemented. this is why i'm asking here.

calcipher49 commented 5 years ago

Hi, I fear it's not possible if arendst refused it. As workaround, you can put webserver in user mode, this remove all administration options. Command is: WebServer 1 To come back to full webserver mode, you must launch command from mqtt: WebServer 2

stefanbode commented 5 years ago

Yes, agree. From the current limitation of memory it does not make sense to have 2 users. My suggestion anyway is to use MQTT and shut down the webinterface completly. The. You can control access though your home automation software.