Table of Contents

tasmota-on-sonoff-zigbee-bridge

https://www.digiblur.com/2020/07/how-to-use-sonoff-zigbee-bridge-with.html https://www.digiblur.com/2022/02/convert-sonoff-zigbee-bridge-to-router-repeater.html https://github.com/arendst/Tasmota/tree/development/tools/fw_SonoffZigbeeBridge_ezsp

https://notenoughtech.com/home-automation/flashing-tasmota-on-sonoff-zigbee-bridge/

backlog template {"NAME":"Sonoff ZigRouter","GPIO":[320,5088,0,5120,257,256,0,0,0,576,0,0,32,0],"FLAG":0,"BASE":18} ; delay1 ; module 0
Backlog Weblog 3; so65 1; Module 75
backlog rule1 on system#boot do TCPStart 8888 endon ; rule1 1 ; template {"NAME":"Sonoff ZHABridge","GPIO":[56,208,0,209,59,58,0,0,0,0,0,0,17],"FLAG":0,"BASE":18} ; module 0
https://www.zigbee2mqtt.io/advanced/remote-adapter/connect_to_a_remote_sonoff_zbbridge.html#_1-flash-tasmota-zbbridge

Flashing sonoff mini r2

curl -O https://raw.githubusercontent.com/njh/sonoff-ota-flash-cli/main/sonoff-ota-flash.sh
chmod a+rx sonoff-ota-flash.sh
apt-get install avahi-utils
./sonoff-ota-flash.sh
for push button "SwitchMode 3"
1) Hold the button for 5seconds, and connect it to the wifi
2) enable for unlock
info, POST http://IP:8081/zeroconf/info Body {"deviceid": "","data": { }}
unlock POST http://IP:8081/zeroconf/unlock_ota Body {"deviceid": "","data": { }}
3) upload tasmota-lite with DIY tool

template, configuration other

{"NAME":"Sonoff MINIR2","GPIO":[17,0,0,0,9,0,0,0,21,157,0,0,0],"FLAG":0,"BASE":1}

Flashing sonoff r2

https://oneguyoneblog.com/2020/02/29/flashing-tasmota-on-sonoff-basic-r2-using-linux/

https://tasmota.github.io/docs/Upgrading/

https://github.com/arendst/Sonoff-Tasmota/wiki/MQTT-Overview

Backup and restore

https://hobbytronics.com.pk/sonoff-original-firmware-backup-restore/

GPIO2 sensor

https://github.com/arendst/Tasmota/issues/5619

DHT22

gpios https://tinkerman.cat/post/sonoff-th10-th16-sensors-displays-actuators/

TH16 EXP-LOG GPIO2

https://tasmota.github.io/docs/DS18x20/

https://forum.creationx.de/forum/index.php?thread/1932-th16-mit-2-temperatursensoren/

Sonoff basic r2

https://tasmota.github.io/docs/devices/Sonoff-Basic/

https://www.youtube.com/watch?v=8mz5sCAvDAY