TasmoAdmin in Home Assistant. Use the Sonoff S31 flashed with Tasmota.

Sdílet
Vložit
  • čas přidán 1. 07. 2024
  • PART 2 of the series- TasmoAdmin. Use the newly flashed S31 plug with Tasmota in Home Assistant. We go through the relevant settings to allow use of the plug as well as display of the power monitoring that comes along with the plug and firmware.
    As I mentioned in Part 1 of the video, this isn't new to the Home Assistant or Home Automation world, but a refresh might be helpful to some, so I though I'd put this little series together. Enjoy!
    Part 1 of the series: • Tasmota on Sonoff. Fla...
    Links:
    Tasmotizer: github.com/tasmota/tasmotizer...
    Tasmota Firmware: ota.tasmota.com/tasmota/release/
    Tasmota Docs: tasmota.github.io/docs/
    Discord: / discord
    If you would like to support me:
    Buy me a beverage: ko-fi.com/mostlychris
    Become a patron: / mostlychris
    Products I reference in my videos (Contains affiliate links)
    www.mostlychris.com/my-smart-...
    www.xsplit.com?ref=chriswest&discount=mostlychri&pp=stripe_affiliate
    DISCLAIMER: Some of the links above take you to affiliate sites that may or may not pay a small commission to me. It doesn't increase the cost to you, but it does help support me in making these videos.
    00:00 Intro
    00:28 What is Tasmota?
    01:30 Install TasmoAdmin Add-On
    02:28 TasmoAdmin Login
    03:10 Find Tasmotized Devices
    05:05 Devices List UI
    07:15 Config the Device
    11:03 Device Web Interface
    12:48 Add Home Assistant Integration
    14:17 Device is ready to use!
    15:12 Add to Dashboard
    16:41 Final Thoughts
    Want to send me something? Send it here!
    Mostlychris
    24165 IH-10 West
    STE 217 #164
    San Antonio, TX 78257
  • Jak na to + styl

Komentáře • 46

  • @d_sellers1
    @d_sellers1 Před 3 lety +3

    @12:41 The "Protect from powering off" feature is actually very useful especially if you're using a plug solely for power monitoring. I accidentally switched off one of my desktops because I wasn't paying attention to which button I was clicking... Not that big of a deal since it probably needed to be rebooted anyway, but if a freezer was turned off and not noticed...

    • @mostlychris
      @mostlychris  Před 3 lety

      Exactly. I don't want to inadvertently turn it off since it is on the freezer. I have temp monitoring on the that freezer so I'd get an alert if that actually happened and the temp increased past the threshold.

  • @firepilot17
    @firepilot17 Před 3 lety +1

    Thanks for the video! I had one problem with home assistant - you have to use the local IP address to home assistant for tasmota, the duck.dns did not work when opening the UI.

    • @mostlychris
      @mostlychris  Před 3 lety

      Thanks for the info!

    • @firepilot17
      @firepilot17 Před 3 lety

      @@mostlychris I installed 3 cloud free plugs. These are awesome especially since the Shelly plugs have been back ordered since at least April. I’m still waiting on two, they told me this month (July).

    • @mostlychris
      @mostlychris  Před 3 lety

      @@firepilot17 Excellent. What do you have plugged into those?

    • @firepilot17
      @firepilot17 Před 3 lety

      @@mostlychris Washing machine with automation telling me it’s done (correct 90% of the time), dehumidifier, and an interior camera that occasionally stops recording but still shows online. I just have to power cycle that for it to work again, and now I don’t have to be home to do it.

    • @mostlychris
      @mostlychris  Před 3 lety +1

      Those are all good uses. I have an appliance switch on my washing machine. The display runs about 5 watts when it is on and it will stay on after a cycle if it is time to run a clean cycle. Because of that, I had to set the threshold of "> 5 watts for more than 5 minutes = running" and otherwise I consider it done with the wash.

  • @coolspot18
    @coolspot18 Před rokem

    I finally got around and followed your Tasmota guide and setup TasmoAdmin too. Unfortunately TasmotaAdmin caused my Sonoff S31 switches to continually crash. On Tasmota's Github discussions and Reddit, it seems TasmoAdmin is not recommended - it is known to cause issues with Tasmota devices and can cause lock ups and soft reboots...

    • @mostlychris
      @mostlychris  Před rokem

      Thanks for the feedback. I don't run it unless I actually need to do something. I've heard it is quite chatty.

  • @ericilkwatson5557
    @ericilkwatson5557 Před rokem

    Is there any way to sort columns? For example, to sort by name or by IP address.

  • @rapiddave9313
    @rapiddave9313 Před 2 lety

    From what I've read, ESPhome works with this plug also. Any advice on why to use one over the other? I have no experience with MQTT and am somewhat concerned to go down that road.

    • @mostlychris
      @mostlychris  Před rokem

      Personal preference. I started flashing Tasmota as a demo and then just did the rest the same. I use ESPHome for some things such as the ESP devices.

  • @H20FRKS
    @H20FRKS Před 3 lety

    What is your opinion when naming best practices for devices/entities. should you include tasmota or esphome in the naming? would this help troubleshoot a device to know what integration you used?

    • @d_sellers1
      @d_sellers1 Před 3 lety

      I try to keep my entity names simple and kinda based on rooms. I have light.living_room_1 & .living_room_2. Same for the my bedroom. In the other bedroom, they're just called .desk, .dresser, and .nightstand. (Simple but memorable names will be useful when automating.) When I look at the entities, for example light.nightstand, I can see its Integration is Tuya.
      Now, with that said, I also have a spreadsheet where I keep track of all my devices on my network. I have the name, MAC address, IP address, if the IP is static, device type, and then vendor, make, serial numbers and other information. I have a separate sheet where I have the device_ieee for my zigbee devices. The spreadsheet would be my first stop for troubleshooting. I can filter the sheet to show me just smart bulbs, for example. Also, the bulbs themselves have a label with the MAC address for easy reference if needed.

    • @mostlychris
      @mostlychris  Před 3 lety

      Excellent way to track things. I use simple names as well, especially if I try to control them via a smart speaker. The fewer words I have to speak for interpretation, the better. Some of the stuff that I use for purely monitoring I might add the device type. Generally speaking, though, it's just simple names.

  • @Supercazzola
    @Supercazzola Před 2 lety

    Would you happen to know the difference or when one would want to use the setoption19 1 and use the MQTT integration to find the plug, or leave setoption19 0 and let the tasmota integration find it? With all my others, I did the setoption19 1 and had MQTT see it under devices. But I forgot to do that with my S31 plug and it showed up under the tasmota integration.... thoughts ? I still configured the MQTT in the S31, so who knows?

    • @mostlychris
      @mostlychris  Před 2 lety

      Setoption 19 is used to make the device discoverable in HA. That also sets the topic in Setoption 59. If you switch it off, you'll have to reset the topic. However, it sounds like things are working for you regardless. If that is the case, then no need to change anything.

  • @Joseph-ko2kl
    @Joseph-ko2kl Před 2 lety +1

    Chris this was right on time since I just received 4 Tasmota flashed plugs, I have the first one loaded up and I can see it in HA but everything is unavailable, I can control it thru Tasmota admin so I know it works, did I miss a step

    • @mostlychris
      @mostlychris  Před rokem

      Can you put a screenshot in my Discord?

    • @Joseph-ko2kl
      @Joseph-ko2kl Před rokem

      @@mostlychris I think I figured it out...maybe. still have issues but long story short I need to remove the plugs, do a re set and see if they stay available. More to follow if I have issues. Thanks

  • @robertjones9189
    @robertjones9189 Před 2 lety +1

    This saved me a lot of time setting up tasmoadmin. My Tasmota devices are showing up in the tasmoadmin web ui and can be controlled from there. Also the tasmota devices are showing up in the mqtt integration tool and can be controlled from there. Unfortunately they aren't showing up under the tasmota integration tool! Any ideas?

    • @mostlychris
      @mostlychris  Před 2 lety

      Hey Robert, can you remind me what the "tasmota integration tool" is.

    • @robertjones9189
      @robertjones9189 Před 2 lety

      @@mostlychris Hi Chris, when I said "tasmota integration tool" I meant the standard "tasmota tool" you can install on home assistant. It turns out that you can only set the system up to run either tasmota or mqtt. Home assistant uses the mqtt settings on the tasmota device - so you have to decide whether you want to use the mqtt or tasmota plugin to run the devices. You can't use both. Or at least I couldn't.

  • @rrpedrigal
    @rrpedrigal Před rokem

    I have S40 Type A plug and it is not supported by Tasmota. If I buy S31 version, can I remove the ground prong at the back? My outlet here is only 2 prong.

    • @mostlychris
      @mostlychris  Před rokem

      You can do whatever you would like, but removing the ground--and thus some protection--doesn't seem like a good idea. I would caution against modifying the plug in terms of its electrical characteristics. As always, consult with an electrician.

  • @deez-nutskroll7223
    @deez-nutskroll7223 Před 3 lety

    I have a Sonoff Basic R2. I got it to flash and all but when I went to add it to home assistant I was able to get TasmoAdmin on but I open the web UI and all I get is "Failed to open page" is that because I'm running my home assistant on a raspberry pi with a DNS server?

    • @mostlychris
      @mostlychris  Před 3 lety

      Maybe. It might not be able to resolve the domain name using mDNS. Try changing it to use the IP address of the device instead.

  • @TheDiverJim
    @TheDiverJim Před 2 lety

    Is TasmoAdmin broke with latest updates? I'm getting this error: ERR_SSL_VERSION_OR_CIPHER_MISMATCH when trying to open the webUI... I've tried uninstalling and reinstalling. everything is updated.

    • @mostlychris
      @mostlychris  Před 2 lety

      I had to disable SSL in the config for the add-on. There have been some SSL changed recently in HA that have complicated some of the add-ons that aren't updated. Unifi was a big one for me as well. If you use this without SSL enabled, make sure you are only connecting locally.

  • @TheCowboysdude
    @TheCowboysdude Před rokem +1

    Problem I'm having is I get all the way up to the clicking on the webui button and it won't load... blank page.

    • @manuelpescado
      @manuelpescado Před rokem +2

      Going to TasmoAdmin and disable SSL in the configuration tab worked for me

    • @TheCowboysdude
      @TheCowboysdude Před rokem +1

      That's solved that now to get it to show up in the Tasmoto Intregration.... it's not finding it for some reason and I know my mqtt is setup correctly....

  • @TheDiverJim
    @TheDiverJim Před 3 lety

    How do you use this for OTA updates?

    • @mostlychris
      @mostlychris  Před 3 lety +2

      In TasmoAdmin under Devices, there is an "Update" option. This will allow you to update devices. You can either specify the firmware (download the files) or tell TasoAdmin to use the latest from the website.

  • @coolspot18
    @coolspot18 Před 2 lety

    Is the Sonoff S31 more reliable with TASMOTA?

    • @mostlychris
      @mostlychris  Před 2 lety

      I haven't had any issues using them either way. Using Tasmota, though, eliminates the need to set them up via the app first.

  • @svensyoutube1
    @svensyoutube1 Před 11 měsíci

    service dosnt start

  • @yousaf.saleem
    @yousaf.saleem Před 3 lety

    This is 120V device. Which alternative is available for 220V?

    • @d_sellers1
      @d_sellers1 Před 3 lety

      Looking on Amazon, the S26 looks like UK and the S20 looks like EU. The S26 appears to be available in several different plug versions. sonoff.tech/wp-content/uploads/2021/03/%E4%BA%A7%E5%93%81%E5%8F%82%E6%95%B0%E8%A1%A8-S26-20210121.pdf
      There may be some other differences because I noticed the S26 does not have power monitoring; you might consider the Sonoff POWR2 or DUAL R2 if you're looking for power monitoring, as per a comment by Sonoff.

    • @yousaf.saleem
      @yousaf.saleem Před 3 lety

      @@d_sellers1 does DUAL POWER R2 support power monitoring?

    • @d_sellers1
      @d_sellers1 Před 3 lety

      @@yousaf.saleem Looking at the datasheet, it does support powering monitoring but it is a module instead of a plug. sonoff.tech/product-document/diy-smart-switch-doc/dualr3-doc/

    • @mostlychris
      @mostlychris  Před 3 lety

      Thanks @Derek Sellers for jumping on the answers for this question.