In this video I list 5 things that you SHOULD be doing after you flash Tasmota onto your Tuya based or Sonoff based (or any other for that matter) device so they work properly in Home assistant. I show you what to do and why. I also give you examples.
If you have other Tips and Hints regarding this, Please share in the video comments and I can bring them up on a future Video. You can also visit my Discord Seve and ask your questions there.
1: RESET 5
https://tasmota.github.io/docs/Commands/#management
reset 5 = erase all flash and reset parameters to firmware defaults but keep Wi-Fi settings and restarts.
2: TEMPLATES:
https://templates.blakadder.com/
3: FAST RECOVERY:
https://tasmota.github.io/docs/Commands/#setoptions
SetOption65 Device recovery using fast power cycle detection
0 = enabled (default)
1 = disabled
NOTE: With Tasmota 8.3.1 the reset trigger is changed from 4 power flashes to 7 power flashes.
4: TIME:
https://tasmota.github.io/docs/Commands/#management
Backlog Timezone 99; TimeDST 0,2,3,1,2,-300; TimeSTD 0,1,11,1,2,-360; NtpServer1 pool.ntp.org; Latitude 43.0317; Longitude -87.9165
0=Northern Hemisphere
2=Week (of the month)
3=Month (March)
1=Day of the week (its Sunday)
2=hours (2am)
-300=CST (-5 hrs from UTC during DST which is -560= -300) or 0=Northern Hemisphere 1=Week (of the month) 11=Month (November) 1=Day of the week (its Sunday) 2=hours (2am) -360=CST (-6 hrs from UTC during STD which is -660= -360)
5: HA Restart:
####################################################
# MQTT Restart Tasmota #
####################################################
#### Use this automation to get all your devices in sync, including
#### power state, immediately after Home Assistant is (re)started.
- id: Your-Random-id-here_Preferrably-a-generated-UUID
alias: Power state on HA start-up
initial_state: 'on'
trigger:
platform: homeassistant
event: start
action:
- service: mqtt.publish #(For Tasmota 7.x or later firmware)
data:
topic: cmnd/tasmotas/state
payload: ''
- service: mqtt.publish #(For Tasmota 6.x or earlier firmware)
data:
topic: cmnd/sonoffs/state
payload: ''
Episode: 31
Contact Links:
What are we Fixing Today Homepage / Website:
https://www.WhatAreWeFixing.Today/
Channel Link URL: (WhatAreWeFixingToday)
https://bit.ly/WhatAreWeFixingTodaysYT
What are we Fixing Today Facebook page (Sir GoodEnough):
https://bit.ly/WhatAreWeFixingTodaybFB
What are we Fixing Today Twitter Account (Sir GoodEnough):
https://bit.ly/WhatAreWeFixingTodayTW
Discord Account: (Sir_Goodenough#9683)
https://discord.gg/Uhmhu3B
Please help support the channel:
Patreon: https://www.patreon.com/WhatAreWeFixingToday
Buy me Coffee: https://www.buymeacoffee.com/SirGoodenough
PayPal one-off donation link: https://www.paypal.me/SirGoodenough
Cash App $CASHTAG: https://cash.me/$SirGoodenough
Venmo cash link: https://venmo.com/SirGoodenough
If you would like to donate anything to this channel, please use this address:
C/O: Sirius GoodEnough
322 Buena Vista Ave.
Department: DYT
Waukesha, Wisconsin, 53188-3602
Link to this video on YouTube:
https://youtu.be/jvdqDxwh-wg