Home Assistant Community Add-on: TasmoAdmin

Unfortunately, that is not possible with this application.

Hello,

I am running the latest hass.io on my Raspberry Pi 3b+ with DuckDNS SSL enabled, which is working pretty good. But when it comes to the TasmoAdmin-Plugin, I can only run it with SSL disabled. When I try to activate SSL, I am getting an nginx “sed: bad option in substitution expression”-error and I don’t know how to handle this. Any ideas?

Here is the full Log:

[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] 01-tasmoadmin: applying…
[fix-attrs.d] 01-tasmoadmin: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] 00-banner.sh: executing…

Hass.io Add-on: TasmoAdmin
Centrally manage all your Sonoff-Tasmota devices

Add-on version: 0.7.1
You are running the latest version of this add-on.
System: HassOS 2.11 (armv7 / raspberrypi3)
Home Assistant version: 0.92.1
Supervisor version: 162

Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.

[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing…
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nginx.sh: executing…
sed: bad option in substitution expression
[cont-init.d] nginx.sh: exited 1.
[cont-finish.d] executing container finish scripts…
[cont-finish.d] 99-message.sh: executing…

            Oops! Something went wrong.

We are so sorry, but something went terribly wrong when
starting or running this add-on.

Be sure to check the log above, line by line, for hints.

[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

This seems a shame.

What stops this from being ingress compatible?

Basically Ingress acts as a reverse proxy, which is not that uncommon. Nevertheless, it hosts the application in a subfolder. Not all applications can handle this correctly.

I am having issues doing an OTA firmware update for my devices. I am running hassio in docker on a NUC. I am specifying the OTA Server IP as my NUC ip and the port is what i use to access tasmoAdmin. SSL enabled is checked since it is enabled for the addon. When I attempt to update there are no errors on the TasmoAdmin side, but in the console of the device i am trying to update i see this:

22:57:03 MQT: stat/sonoff02/RESULT = {“OtaUrl”:“https://192.168.1.204:9541/data/firmwares/sonoff.bin”}
22:57:03 MQT: stat/sonoff02/RESULT = {“Upgrade”:“Version 6.4.1 from https://192.168.1.204:9541/data/firmwares/sonoff.bin”}
22:56:08 HTP: Web server active on sonoff02-4562 with IP address 192.168.1.224
22:56:10 HTP: Web server stopped
22:56:10 HTP: Web server active on sonoff02-4562 with IP address 192.168.1.224
22:56:12 HTP: Web server stopped
22:56:12 HTP: Web server active on sonoff02-4562 with IP address 192.168.1.224
22:56:14 HTP: Web server stopped
22:56:14 HTP: Web server active on sonoff02-4562 with IP address 192.168.1.224
22:56:16 HTP: Web server stopped
22:56:16 HTP: Web server active on sonoff02-4562 with IP address 192.168.1.224
22:56:18 MQT: stat/sonoff02/UPGRADE = Failed HTTP error: connection refused

It seems like either TasmoAdmin is not able to save the firmware file or the device can’t access it.

Let me know if more details would be helpful.

Disable SSL on TasmoAdmin side.

Hi
I have a problem. I isntalled tasmoadmin and run is. Looks ok but web page tasmoadmin not open.

I used to have that problem. Don’t know what happened but on my setup it works. I have SSL=true, and I can access it from the sidebar or from the addon itself via duckDNS, Hassio.local and 192.168.xxx.xxx

But i can not. I test on SSL true and false and not open. Also i have network 192.168.xxx.xxx

I don’t really know how it sorted itself out, sorry.

1 Like

Great App, used It a lot before,… but now behind Nginx I cant AutoScan anymore :frowning:
I saw that people had this problem in the past, but cant find a solution for me.
My Log:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] 01-tasmoadmin: applying... 
[fix-attrs.d] 01-tasmoadmin: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Hass.io Add-on: TasmoAdmin
 Centrally manage all your Sonoff-Tasmota devices
-----------------------------------------------------------
 Add-on version: 0.7.1
 You are running the latest version of this add-on.
 System: HassOS 2.12  (armv7 / raspberrypi2)
 Home Assistant version: 0.94.3
 Supervisor version: 166
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nginx.sh: executing... 
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] tasmoadmin.sh: executing... 
[cont-init.d] tasmoadmin.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[12:51:28] INFO: Starting PHP-FPM server...
[12:51:30] INFO: Starting NGinx server...

OK I got past this problem,… but a new one appeared.

Same as Bierdbrainuk had in Jun ‘18

Having a problem getting it to work in panel_iframe

I copied the iframe section from the install but I just get a blank page with sonweb in the top corner.

I have tried using http, https my duckdns address and local ip address and with and without :9541 but get ether the blank screen or broken link image.

addon is great and working through the web ui link

the console gives this error

:tada: Release v0.8.0

Full Changelog

This is a general maintenance release, without any breaking changes.

:hammer: Changes

  • :pencil2: Fixes spelling error (#46)
  • :pencil2: Maintaince -> Maintenance
  • :arrow_up: Upgrades add-on base image to v4.0.1
  • :sparkles: Adds FUNDING.yml
  • :hammer: Replaces NGinx wait script with Bashio
  • :arrow_up: Upgrades nginx to 1.16.0-r2
  • :arrow_up: Upgrades php to 7.3.6-r0
  • :arrow_up: Upgrades git to 2.22.0-r0

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

Hey thread, dumb question.

My Sonoff devices were flashed with a firmware designed for SmartThings (from when I used that many years ago). I flashed one of my devices with Tasmota (mostly so I could use TasmoAdmin).

Is there a quick way to link my Tasmota devices to my MQTT broker? I know how to replace them via my config.yaml by updating my old devices to these using:

switch:
    platform: mqtt
    name: "Sonoff Switch XXX"
    command_topic: "cmnd/sonoffXX/power"
    state_topic: "stat/sonoffXX/POWER"
    qos: 1
    payload_on: "ON"
    payload_off: "OFF"
    retain: true

Was hoping to avoid the copy and paste name change spam

Hey @mitch,

That is a bit off-topic for this thread. So in general, you should create a new topic for those things. It will get you answers faster in general as well (+ we don’t pollute other topics).

I believe there is an option to enable auto discovery on Tasmota and on the MQTT integration.

…/Frenck

Thanks Frenck, apologies for cross-posting and polluting the topic!

1 Like

:tada: Release v0.8.1

Full Changelog

This is a general maintenance release, without any breaking changes.

:hammer: Changes

  • :arrow_up: Upgrades add-on base image to v4.0.2
  • :arrow_up: Upgrades php to 7.3.7-r0

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

Is it possible to install TasmoAdmin on a “manual” Home Assistant installation (i.e. not a hass.io install)?

Yep, see the TasmoAdmin project for instructions.