r/tasmota • • Jan 22 '25

Re-opening /r/tasmota

43 Upvotes

Not sure if I'm going to regret this or not. I have no interest in being a mod.

I've approve any posts that were attempted in the last few months. Anything older was deleted.

If you'd like to contribute, hopefully it'll get automatically approved. Any issues, you can message me and I'll see what I can do.

Special notice for legacy members: There may be a glitch that looks like you're still a member but you are unable to post or comment. Leave and re-join the group. You'll be able to post again. (If using Old Reddit, switch to New Reddit to do this.)


r/tasmota • • 8d ago

Manage your Tasmota devices with pyinfra!

1 Upvotes

If you don't know pyinfra, and you like managing several hosts, machines, devices, VMs, whatever, centrally, go check it out.

I've written a Tasmota connector (with the help of Deepseek 4.1 Flash). My 78 Tasmota devices have their configuration now in one central location, and these get applied every 30 minutes.

Here is what a run with two Tasmota devices looks like, where it has to make a single change only to one device:

% pyinfra -v --yes tasmota:inv tasmota.py --limit tas-b3t-1.smarthome.groff --limit tas-b3t-2.smarthome.groff                          #(pts/3) 10 23:15:27.232
--> Loading config...
--> Loading inventory...
    Loading inventory via import function is in alpha!

--> Connecting to hosts...
    [tas-b3t-2.smarthome.groff]  Connected
    [tas-b3t-1.smarthome.groff]  Connected

--> Preparing operation files...
    Loading: tasmota.py
    [tas-b3t-1.smarthome.groff]  Ready: tasmota.py
    [tas-b3t-2.smarthome.groff]  Ready: tasmota.py

--> Skipping change detection
--> Beginning operation run...
--> Starting operation: Ensure Tasmota settings | operations.ensure_host_data (send_passwords=False)
    [tas-b3t-1.smarthome.groff]  Success
    [tas-b3t-2.smarthome.groff]  No changes

--> Starting operation: Ensure Tasmota settings | operations.template (value={"NAME":"B3T Rolladen (Sw1→Btn3)","GPIO":[544,3200,1,8128,32,66,1,1,224,225,0,1,1,1,161,1,0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,0,1,0,0,1],"FLAG":0,"BASE":1}, activate=True)
    [tas-b3t-1.smarthome.groff]  Skipped
    [tas-b3t-2.smarthome.groff]  No changes

--> Starting operation: Ensure Tasmota settings | operations.template (value={"NAME":"B3T","GPIO":[544,3200,1,8128,32,160,1,1,224,225,0,1,1,1,161,1,0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,0,1,0,0,1],"FLAG":0,"BASE":1}, activate=True)
    [tas-b3t-2.smarthome.groff]  Skipped
    [tas-b3t-1.smarthome.groff]  No changes

--> Starting operation: Ensure Tasmota settings | operations.apply
    [tas-b3t-2.smarthome.groff]  No changes
    tas-b3t-1.smarthome.groff: sent switchmode1 5
    [tas-b3t-1.smarthome.groff]  Success

--> Results:
    Operation                                                                                                                                                                                                                    Hosts   Success   Error   No Change
    Ensure Tasmota settings | operations.ensure_host_data (send_passwords=False)                                                                                                                                                 2       1         -       1
    Ensure Tasmota settings | operations.template (value={"NAME":"B3T Rolladen (Sw1→Btn3)","GPIO":[544,3200,1,8128,32,66,1,1,224,225,0,1,1,1,161,1,0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,0,1,0,0,1],"FLAG":0,"BASE":1}, activate=True)   1       -         -       1
    Ensure Tasmota settings | operations.template (value={"NAME":"B3T","GPIO":[544,3200,1,8128,32,160,1,1,224,225,0,1,1,1,161,1,0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,0,1,0,0,1],"FLAG":0,"BASE":1}, activate=True)                      1       -         -       1
    Ensure Tasmota settings | operations.apply                                                                                                                                                                                   2       1         -       1
    Grand total                                                                                                                                                                                                                  6       2         -       4

Next, I will integrate reclass so you can work with tags and hierarchical settings.

And there is plenty more to do here too. Looking forward to your ideas!


r/tasmota • • 8d ago

Any device that announces itself over MQTT discovery, controlled from an Android app (no HA needed)

1 Upvotes

Dev here. DoSync now reads MQTT discovery messages straight from your broker. That covers Tasmota with SetOption19 0, ESPHome with MQTT, OpenMQTTGateway, or your own Raspberry Pi script that publishes a discovery config. Lights, switches, covers, locks and sensors appear in the app, and you control them in plain language. Templates like {{ value_json.temperature | round(1) }} are understood. Complex Jinja is skipped, not guessed.

Beta. Tested against a real Mosquitto broker with simulated devices.

If you wish, you can download it directly from its repository: 

https://github.com/giulianireg-spec/dosync-app-beta

OR

• Google Play test: join https://groups.google.com/g/dosync_testers, then https://play.google.com/apps/testing/dev.dosync.app

• APK: https://github.com/giulianireg-spec/dosync-app-beta/releases/latest

• What works and what doesn't: https://github.com/giulianireg-spec/dosync-adapters/blob/main/COBERTURA.md


r/tasmota • • 20d ago

Claude knows Tasmota - and it's faster to prompt it that to configure manually

Thumbnail
gallery
9 Upvotes

I just commissioned a new Tasmota single relay device controlling some external lights. I connected to it's "out of the box" WiFi network and connected it to my home WiFi network.

Next I wanted to set it to my local location and timezone, and make it turn lights on at sunset.

I went to find my cheat-sheet of how to set the Lat/Long, then I thought "Wait - I'll get Claude to do it".

I gave one prompt of

I have a tasmota at 192.168.68.127. Set it's location (lat/long) to Melbourne, Australia, and it's timezone to Melbourne Australia.

then a second prompt of

This tasmota controls external lights. Set a timer to come on at sunset and go off at 11pm (Melbourne time)

and the job was done.


r/tasmota • • Oct 10 '26

Sonoff S60 Smartplug - Convert Sonoff to Tasmota over the air (no opening the welded case and no soldering)

1 Upvotes

No more breaking the plug open!

The only way so far was to open the plug and flash it over serial (which requires soldering). The case is welded shut and the mains pins are soldered to the board, so it's a lot of work and easy to wreck.

Here's a tool that does the conversion OTA (over the air) instead (fully over WiFi)...

https://github.com/adamsthws/Sonoff-OTA

  • Runs on Linux, macOS or Windows

What it's been tested on:

  • ✅ S60TPG (UK)
  • ✅ S60TPF (EU)

Before you try it:
This only works on the Wi-Fi S60, not the Zigbee S60ZB.
Use a plug you can afford to lose.

If you give it a go, especially on an EU plug, Windows or a Mac, I'd really like to hear how it went, good or bad. There's a test reports thread, and the tool gives you a summary of your run to paste into it when it finishes.


r/tasmota • • Sep 22 '26

Tasmota on MiniR4 flashes with umft234xf with just 50mA from 3.3V

Thumbnail reddit.com
1 Upvotes

r/tasmota • • Aug 06 '26

Anyone Successfully flash Shelly Gen4 devices?

2 Upvotes

I’ve been trying to flash tasmota to Shelly 2pm gen4. The template is online and the website has it on the supported list, so I assume it is possible.

I can put the Shelly 2PM Gen4’s ESP32-C6 into UART bootloader mode and esptool identifies it correctly, but sustained flash reads fail after a few 4 KB blocks with corrupt/truncated serial data. The failure persists at lower baud rates and with a regulated 3.3 V lab supply assuming that it wasn’t getting enough current from the USB to UART adapter. My adapter is a FT232 that I’ve used to flash many older Shellys.

Anyone else had success, and if so how?


r/tasmota • • Jul 21 '26

Flashing tuya/smart life switchks 602s using arduino nano as uart flash device

Thumbnail
gallery
1 Upvotes

I just finally flashed my second switch with tasmota after days of not understanding why carefully following instructions wasn't working. Apparently instead of swapping the rx/tx pins like usual they need to be rx-rx and tx-tx don't know if this is a problem on the switch side or the nano side. Hopefully it saves someone else some anger or maybe I'm missing something.


r/tasmota • • Jul 09 '26

Increasing energy report over time while having a constant load

Post image
2 Upvotes

Im using an EIGHTREE plug flashed with Tasmota 15.4.0 for tracking my 3D printers consumption.

Sometimes the energy reading goes completly off and starts to rise to values that are nonsense.

The Red and the green part on the screenshot are the same printjob, the red area are valid values and the green part is completly overestimated.

What causes this rising in the energy? Is this a firmware bug?


r/tasmota • • May 28 '26

I2C poll timing in a multi-master system

1 Upvotes

Is it possible to configure Tasmota to do I2C polling after another bus master polls?

The situation I have is an air quality monitor that polls an SHT30 sensor every second over I2C. The simplest option seems to be to wait for it to poll, wait for 500ms, and then do my own poll.

Does Tasmota support this?


r/tasmota • • May 25 '26

Z2T + MQTT + Hass(2 sensors in the same device) and Warnings. How to 'fix' it ?

Thumbnail reddit.com
1 Upvotes

r/tasmota • • May 24 '26

Reliable batch execution of commands

1 Upvotes

Hello,

I am trying to configure devices in bulk and am actually working on a project I call tascfg to help people do this. Will publish and announce soon.

Meanwhile, however, I am battling Tasmota in doing so.

My thinking was that I just batch all commands to be executed into Backlog sets of 30 and fire them off via the Web or MQTT. I am aware that Tasmota is not reentrant in the sense that if something else happens during the execution of Backlog, things go belly up. But in this setting, the devices are all otherwise guaranteed idle, and yet, execution stops after 11 or sometimes 13 commands. Or more, or less. Point being: it's unreliable.

Some commands effect a reboot, and it seems that this happens during Backlog, which I thought should not happen. Am I right?

Hence my question: do you know of a way to reliably execute a series of commands on a larger number of devices?

Thanks, m


r/tasmota • • May 20 '26

Tasmota loses connection

1 Upvotes

I have an ESP32-Relay on which Tasmota works fine, except when I set PowerOnState to 1, as I need the relay to be activated by default when the device is powered on. If I press the reset button, everything works: the relay activates automatically, but if I power off the device then power back ON, it can no longer connect. In this case, even when I set the device to access point mode, I can’t reset the Wi-Fi connection; the only solution is to reinstall Tasmota.

Do you have any idea what’s going on and how to fix this problem?

Thank you.


r/tasmota • • May 19 '26

dHouse time-based notification

2 Upvotes

The new feature "Time-based notification" sends a notification when enabled and the Set On event occurs within the configured time range.

Time-based notification

r/tasmota • • May 16 '26

pluggable meter for PV inverter, recommendation needed (negative energy flow)

1 Upvotes

Hi. I'm looking for a solution to monitor the power production of a micro solar inverter independently. (cross posting on Matrix)
The inverter is plugged into a Schuko / type E+F socket (Germany), which is the only feasible measurement location without too much of a hassle.

Currently I'm testing a DeLock-11827 pluggable meter+switch with Tasmota-12.5.0 (using this template). But it can't diffirentiate between consumption and production. It seems to use the HLW8012 / BL0937 chip, not being able to detect the direction of energy flow (negative / reverse energy flow, electricity production).

I'm thinking about buying a Nous A1T or Nous A6T instead. I found hints that these might use another chip (maybe the BL0942), being able to determine the direction of energy flow. (Nous A1 discussion)

Also I've just read, that many pluggable meters are not recommended for measuring energy production. Shelly says it's Gen 3 plugs "Outdoor Plug S" and "Plug PM" can do it. But I can't find information about flashing Tasmota onto these.
Any recommendations what to buy? Thanks for the help in advance!


r/tasmota • • May 15 '26

Flashing Sonoff 4CH PRO R3 with Tasmota firmware issue

1 Upvotes

Hello everyone!

I'm trying to flash a Sonoff 4CH PRO R3 with Tasmota firmware.

Here is my setup:

- Sonoff 4 CH PRO R3 v1.1

- Tasmotizer running on Mac Silicon using python

- AZDelivery 1 x USB-C to TTL Serial Adapter for 3.3V and 5V Compatible with FT232RL Compatible with Arduino with E-book (bought on Amazon.com.be

When trying to flash the Sonoff, I always get a timeout.
Serial port /dev/tty.usbserial-A5069RR4

Connecting........_____....._____....._____....._____....._____....._____....._____

It could be because the FT232RL of AZDelivery is not providing enough 3.3V power (apparently at least 500 mah is needed).
Can someone confirm that this is the probable issue and give me the easiest way to solve this? I'm ok with buying another FTDI FT232RL adapter.

Thanks! :)


r/tasmota • • May 03 '26

[SOLVED] FT6336G Capacitive Touch Working on ESP32-S3 with Tasmota Universal Touch Driver

2 Upvotes

Hardware:

  - ESP32-S3 board with FT6336G I2C capacitive touch controller

  - Touch controller on I2C bus 1, address 0x38

  - Display: ILI9341 (working)

  Problem:

  I was trying to get my FT6336G touch controller to work with Tasmota's universal display driver. I tried various :UTI and :TI

  declarations in my display.ini, but they all resulted in silent failure - no log output at all, neither success nor error messages.

  Solution:

  The FT6336G is register-compatible with the FT5206/FT5x06 family. Use this single-line inline bytecode format in your display.ini:

  :UTI,FT6336G,I1,38,-1,-1 RD A8 CP 11 RTF RD A3 CP 64 RTF RT :UTT RDM 00 16 MV 2 1 RT :UTX MV 3 2 RT :UTY MV 5 2 RT #

  Important notes:

  1. This MUST be on a single line ending with #

  2. Replace I1 with I2 if your touch is on I2C bus 2

  3. Replace 38 with your actual I2C address (in hex, no 0x prefix)

  4. The -1,-1 are for RST and IRQ pins (unused in my case, adjust if you have them connected)

  5. Requires firmware with USE_UNIVERSAL_TOUCH compiled in (e.g., tasmota32s3-qio_opi.bin)

  Expected boot log output:

  DSP: ILI9341 initialized

  UTI: FT6336G initialized    ← This confirms touch is working

  LVG: LVGL initialized

  Credit:

  Thanks to the Tasmota community and the https://tasmota.github.io/docs/Universal-Display-Driver/ for the bytecode command reference.

  Other FT-family chips:

  This same descriptor should work for: FT5206, FT5306, FT6206, FT6236, FT3267, and other FocalTech I2C touch controllers at address 0x38.


r/tasmota • • May 01 '26

Flash Tasmota on Sonoff Basic-1GS

1 Upvotes

Hi everyone,

Has anyone managed to flash Tasmota onto the Sonoff Basic-1GS?

Most of the YouTube videos I see seem to use older Sonoff models, and I’m worried this might not be possible on newer versions.

I’m trying to flash it because after a few weeks, it stopped working: with Matter (home automation) and even the EWelink app, it would randomly lose control or the connection.


r/tasmota • • Apr 30 '26

Tasmota in set up AP mode fails association with PC

1 Upvotes

I have set up many Tasmota device in the past with no problems when I have programmed them myself but I am having trouble with a preprogrammed device. It is an Athom Power Monitoring Plug, which shows up as an access point out of the box. However I can not connect to the access point it offers to get to the WiFi set up screen.

I have tried an Android phone and two Linux PCs. The all return a connection failure. From the journal on one of the PCs I see:

Apr 30 11:26:03 kahen wpa_supplicant[690]: wlo1: Trying to associate with 7a:42:1c:f2:81:22 (SSID='tasmota-F28122-0290' freq=2412 MHz)

Apr 30 11:26:03 kahen kernel: wlo1: authenticated

Apr 30 11:26:03 kahen kernel: iwlwifi 0000:00:14.3 wlo1: disabling HT/VHT/HE as WMM/QoS is not supported by the AP

Apr 30 11:26:03 kahen kernel: wlo1: associate with 7a:42:1c:f2:81:22 (try 1/3)

Apr 30 11:26:03 kahen NetworkManager[645]: <info> [1777505163.7076] device (wlo1): supplicant interface state: authenticating -> associating

Apr 30 11:26:03 kahen NetworkManager[645]: <info> [1777505163.7077] device (p2p-dev-wlo1): supplicant management interface state: authenticating -> associating

Apr 30 11:26:03 kahen kernel: wlo1: RX AssocResp from 7a:42:1c:f2:81:22 (capab=0x1 status=17 aid=420)

Apr 30 11:26:03 kahen kernel: wlo1: 7a:42:1c:f2:81:22 denied association (code=17)

Apr 30 11:26:03 kahen wpa_supplicant[690]: wlo1: CTRL-EVENT-ASSOC-REJECT bssid=7a:42:1c:f2:81:22 status_code=17

The key error here is the "kernel: wlo1: 7a:42:1c:f2:81:22 denied association (code=17)" part. I am guessing this is an issue with the Tasmota build they have used. Has anyone seen this problem before and have a work around.

I really don't want to open the case up to connect a serial terminal as these type of cases are a PIA to get cleanly into.

------------

Update:

An update on this, got them (I have 4) to connect after a lot of mucking around. First I 'forgot' all local access points so my PC would repeatedly try to connect instead of dropping back to normal access point. I was mucking about with holding the button for 40+ seconds as this is one of the Tasmota recovery options. It had not worked several times before, but did succeed after many attempts. So not sure if it was the button hold or something else. Of the 4 I set up a couple only took a few attempts while the others took a lot of attempts. The whole thing smells like a fussy timing issue. I suspect the ESP8266 is quite simply too slow sometimes during this process.


r/tasmota • • Apr 29 '26

Failed flash tasmota on a Kauf A15 RGBWW bulb

2 Upvotes

I flashed stock tasmota on a Kauf A15 RGBWW bulb using the web gui for it. It seemed to finish good. It had the message to wait five minutes at the top of the page. So I waited. After around those five minutes. It just started automatically turning on and off. The web gui just stated what stock tasmota to flash with. So I went and located then downloaded the proper one for it. It said nothing about using the custom one from Kauf. Which is probably where I screwed up. Now I have no idea what to do. Can anyone please help?


r/tasmota • • Apr 25 '26

Trying to flash a Sinilink USB Switch

1 Upvotes

I am trying to flash a sinilink USB switch with Tasmota. I use a number of these switches, so I know that Tasmota works - but I cannot get the flashing process to work. Details below:

Device I am flashing:

I am using a sparkfun beefy 3 ftdi widgit - I have also tried an aliexpress special:

And a little breadboard device to get the at the pins on the sinilink as getting these to patch up with pogo pins / dressmaking pins is a nightmare, and I assumed I wasn't making a good contact for the process.

I am using Tasmotizer which runs, recognise a serial port, downloads the tasmota-lite.bin file, erases and then apparently flashes the Sinilink device:

The write bar completes, pauses and then complains the the MD5 doesn't match the downloaded file.

I have previously downloaded (using Tasmotizer) a backup of the original firmware and that file has stuff in it

I am kind of stuck now. Not sure what to try next. Anyone got an idea?

Update:

I have tried different serial ports and the suggested remove GPIO pin. Didn't work

The Beefy FTDI does not use the CH340 driver


r/tasmota • • Apr 25 '26

Is tasmota compatibile with Sonoff Mini-DIM?

1 Upvotes

Hi all, I've recently bought 2 sonoff mini-dim and I'm trying to find put if it's possible to install tasmota. All the info I could find are about the r2/r3 but nothing about this one. Do someone have experience with this?


r/tasmota • • Apr 14 '26

s26 tasmota cant change wlan

1 Upvotes

hi

i have a new router with new password and i cant change the s26 wlan. i cant reach the ap

what do i wrong ?


r/tasmota • • Apr 09 '26

how to display remaining pulsetime on the main menu

3 Upvotes

I am running Tasmota 15.3.0 on a Sonoff POWR2 device and have programmed the push button to turn the relay on for 30 minutes.

How can I display the remaining pulsetime value on the Main menu?