Hi. I have a roller shutter (and a cover as well), controller with a single input trigger. It emulates the pressing of a button: pressing starts moving, pressing stops, pressing again starts on the opposite direction.
I’d like to emulate cover functionality: with the help of a timer, by knowing how long it takes to fully open the cover/roller, I should be able to estimate the position of the device and act accordingly.
I was wondering if:
something similar already exists: I did several searches but didn’t find anything, but I might have used the wrong keywords
if nothing exists, I’d like to try creating a blueprint. For this, I’d like some advices on how to begin: I guess I need to emulate the three buttons (up/stop/dn) and a sensor for the current position
Not sure if the Tasmota part is still required for ota.
It’s been a few years since I played around with shellies & I’ve always done the first flash via wire
Do you think I can flash the .bin file generated by ESPHome directly as a firmware to the Shelly?
I found a Twitter thread where a HA dev hinted about OTA flashing for Shelly devices from ESPHome, but later in the thread he says he didn’t continue the development. I see Shellies can be flashed via cable and PINs, but I don’t have one ATM.
So, I had a quick search. Looks like Tasmota intermediate step is still required for ota because there’s not enough space for original firmware & esp firmware during the first flash.
Unfortunately it seems the more recent Tasmota versions cause issues after reflashing with esphome.
The only currently working way is to flash via cable the first time, which is my preferred option anyway. This thread explains everything, including the Tasmota issue.
Hope it helps, even if it probably wasn’t what you wanted to hear
Thank you for the help. I did find that thread yesterday, but didn’t dig fully into it. My bad.
Anyway I don’t know if I want to embark into reflashing it. I have a spare ESP32 board, I might have a look at it, but I fear it won’t have relay PINs like the Shelly.
I also did find time_cover implementations for HA, but all of them are abandoned. The one available in HACS throws a Python error, but might be a shorter path for me than flashing
The link I gave you at the beginning shows you the time_cover, it’s an integration, you put it together yourself, in Yaml, on the ESP, or am I not understanding? What were you going to flash to the Shelly?
My initial goal was to find an HA component to be used with the Shelly. Flashing the Shelly came up from the discussion, I wasn’t aware of this option.