News for hackers. Stuff that matters.
Re:Tasmota: Open-source firmware for ESP devices by holoduke on Sunday May 05, 2024 @05:50PM (#40268806)
A few years ago you could flash cheap tuya devices with this tasmota firmware, so you could add it to your homeassistant with wifi. Nk cloud. Later tuya devices had upgraded hardware which made it hard to convert. Anybody knows if things have changed?
Re:Tasmota: Open-source firmware for ESP devices by philjohn on Sunday May 05, 2024 @06:26PM (#40269127)
There's a fork of ESPHome called LibreTiny that runs on some of the more recent Tuya devices, but it requires flashing it using a serial adapter and soldering to various pads unless you have a jig to do it.

I just decided to go all in on Zigbee devices instead (except for the Shelly Plus 1's I have).

Re:Tasmota: Open-source firmware for ESP devices by spdustin on Sunday May 05, 2024 @06:28PM (#40269153)
It's built-in to ESPHome now, actually!
Re:Tasmota: Open-source firmware for ESP devices by rcarmo on Monday May 06, 2024 @04:20AM (#40272407)
Yeah, but not many ESP boards ship with ZigBee support.
Re:Tasmota: Open-source firmware for ESP devices by cromka on Monday May 06, 2024 @05:23PM (#40279665)
It’s not actually that hard, all I needed to flash my device was a TTL USB with 3.3v and soldering two cables.
Re:Tasmota: Open-source firmware for ESP devices by _Microft on Sunday May 05, 2024 @06:07PM (#40268950)
There might be similar devices that even come with Tasmota pre-installed these days.
Re:Tasmota: Open-source firmware for ESP devices by sigio on Sunday May 05, 2024 @07:07PM (#40269443)
Yeah, I've resorted to buying Pre-Flashed tasmota devices. There's this german webshop mediarath.de, which sells home-automation devices that come pre-flashed with a customizable tasmota build for not much more then 'default'
Re:Tasmota: Open-source firmware for ESP devices by announcer4614 on Sunday May 05, 2024 @06:00PM (#40268887)
I've found many of the devices can now be flashed with https://github.com/openshwprojects/OpenBK7231T_App
Re:Tasmota: Open-source firmware for ESP devices by mrja on Sunday May 05, 2024 @06:53PM (#40269362)
tuya-cloudcutter has entered the chat.

https://github.com/tuya-cloudcutter/tuya-cloudcutter

Re:Tasmota: Open-source firmware for ESP devices by woleium on Monday May 06, 2024 @10:27AM (#40275094)
does this still work? i read that it’s no good with the more recent hardware
Re:Tasmota: Open-source firmware for ESP devices by clouseauu on Sunday May 05, 2024 @08:47PM (#40270048)
If you're comfortable with some soldering/de-soldering, you can replace the entire chip in some cases. I did so with some downlights a while ago. They've been working great with Tasmota for some months now: https://imgur.com/a/A9donLJ. This is the post that gave me the confidence to do it: https://blakadder.com/replace-tuya-cb2l-wb2l-bw2l/
Re:Tasmota: Open-source firmware for ESP devices by eternityforest on Monday May 06, 2024 @03:17AM (#40272044)
I much prefer ESPHome, it really makes it easy to compile firmware and add on device automation, but Tasmota seems to also be a pretty good choice.

It seems like more native hardware is slowly coming out for this stuff, just not as fast as one might like, and none of it has much support for device-to-device interactions.

There's nothing except a full computer or Pi class device that can really discover and control this stuff, a handheld remote with months of battery life can't build a nice UI automatically quite yet, even though the hardware is there now(Cardputer, T-deck, etc)

Re:Tasmota: Open-source firmware for ESP devices by timonoko on Monday May 06, 2024 @08:27AM (#40273838)
Just for fun. What is the shortest micropython server for ON/OFF-type socket? Have not tested this yet:

    import network,socket,time

    sta_if = network.WLAN(network.STA_IF)
    if not sta_if.isconnected():
        sta_if.active(True)
        sta_if.connect('wifi', 'password')
        while not sta_if.isconnected():  pass

    from machine import Pin
    
    relayON =Pin(5, Pin.OUT)  
           
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    s.bind(('', 80))
    s.listen(5)
    
    while True:
        s.settimeout(0.5)
        try:
            conn, addr = s.accept()
            request = conn.recv(1024)
            request = str(request)
            if request.find('/ON') == 6:
                relayON.value(1)
            if request.find('/OFF') == 6:
                relayON.value(0)
            conn.close()
        except: pass
Re:Tasmota: Open-source firmware for ESP devices by te0006 on Monday May 06, 2024 @05:55PM (#40279960)
Is there a Tasmota version now that includes a MicroPython interpreter?
Re:Tasmota: Open-source firmware for ESP devices by timonoko on Monday May 06, 2024 @07:45PM (#40280752)
The point is that you don't much need these readymade Tasmotas and whatevers. :-)
Re:Tasmota: Open-source firmware for ESP devices by te0006 on Tuesday May 07, 2024 @03:35AM (#40283260)
I tried micropython, liked it, and developed and operated a few home automation devices with it. But changing anything after a few months was a pain - what flashing tool did I use, how did that detail work, etc. Now I run around 15 Tasmota devices in my household and would never look back. The initial flash, depending on the device at hand, can be trivial (e.g. using https://github.com/tasmota/tasmotizer on a device with builtin USB connectivity or with a USB-serial cable) or a bit less so (like the somewhat involved OTA reflashing process https://github.com/yaourdt/mgos-to- for the very handy and inexpensive Shelly devices). In any case, after that it all becomes easy, with web-based configuration, OTA updates, "fleet managament" software like https://github.com/danmed/TasmoBackup, and plug&play integratiom with Home Assistant. If somebody integrated micropython into Tasmota for cases where the countless configuration options and libraries integrated into Tasmota don't suffice, it would be perfect. But meanwhile there is a similar scripting language available within Tasmota for ESP32 devices so I can live with that.