yaourdt / mgos-to-tasmota

A minimal firmware for OTA (over the air) flashing Tasmota, HAA, or ESPurna from Mongoose OS or compatible firmware types.
GNU General Public License v3.0
420 stars 69 forks source link

Shelly Plug US #11

Closed jnoxon closed 4 years ago

jnoxon commented 4 years ago

I successfully flashed a Shelly Plug US with 8.5.0. Thanks!

If I set it as a Shelly 1, the basic functionality works--I can turn it on and off.

What's a good starting point so I can start to figure out how to add support for the power monitoring? I don't mind doing custom Tasmota builds, I just have no idea where to start.

I have a defective Shelly Plug US that I don't mind cutting open if it helps.

Thanks for any pointers!

jnoxon commented 4 years ago

For what it's worth, I stumbled across the Shelly Plug S template, and it doesn't work at all. I'd really hoped the hardware would be internally similar.

{"NAME":"Shelly Plug S","GPIO":[56,255,158,255,255,134,0,0,131,17,132,21,255],"FLAG":2,"BASE":45}

I realize this is the wrong place to ask this, so you won't offend me by simply closing the issue. Thanks either way for providing this tool.

jnoxon commented 4 years ago

DigiBlur provided this template which seems to mostly work:

{"NAME":"ShellyPlugUS","GPIO":[52,255,57,255,21,134,0,0,131,17,132,157,0],"FLAG":0,"BASE":45}

yaourdt commented 4 years ago

@jnoxon sorry for not replying to you sooner! I'm happy you / @DigiBlur figured out a template, I'll add it to the README.md file, so others can use it too.

yaourdt commented 4 years ago

Thank you for sharing it!

digiblur commented 4 years ago

https://youtu.be/_TSJB_IzxG0

https://www.digiblur.com/2020/08/shelly-plug-us-with-power-monitoring.html