Tasmota: MQTT broker light, Webpage to display selected mqtt topics.

Created on 14 Sep 2019  路  7Comments  路  Source: arendst/Tasmota

Is your feature request related to a problem? Please describe.

Setting up a mqtt broker and mosquitto to display the values is a nightmare. We dont have a PC running 24/7 or a raspberry pi and we dont want mosquitto installed on every PC and every phone. We want a webpage like the tasmota main page to control switches on different devices and read sensors on all devices.

Describe the solution you'd like

I would like tasmota to have an optional mtqq broker "light" installed.
And a webpage to display selected values.

Describe alternatives you've considered

It dooesent have to be mqtt, anything simple will do.

The alternative would be a webpage served by one tasmota device including text and buttons served from other tasmota devices. With images this would look like a table of
<'img src=192.168.1.xxx/mainbutton.png'>
<'img src=192.168.1.yyy/mainbutton.png'>
No idea how to do that with active buttons.

Additional context

Make home Automation Simple Again!

requested feature (hold over)

Most helpful comment

Unfortunately, true home automation is not simple. The outcome of automation is to make life simpler :wink:

Setting up a mqtt broker and mosquitto to display the values is a nightmare. An opinion, and, in my opinion, pretty inaccurate. I say this as someone who knew NOTHING when I started this journey.

  • RPi ZeroW & USB power supply - $5 (you probably already have multiple old smartphone chargers)
  • Flash RaspianLite - 10 minutes
  • Modify two files: ssh (empty) and wpa_supplicant.conf (edit to add Wi-Fi credentials)
  • Boot RPi & remotely connect to it
  • Install Mosquitto (1 command)
  • Modify three files: mosquitto.conf (defaults), passwd, conf.d/listeners (1 line)
  • Restart mosquitto

I actually did this yesterday. OK, not my first time, but no more than 30 minutes work. OK, 1 hour with learning curve. Then pretty much forget it.

Mike

All 7 comments

Feel free to fork and do as you like, it is allowed since it is open source.

Unfortunately, true home automation is not simple. The outcome of automation is to make life simpler :wink:

Setting up a mqtt broker and mosquitto to display the values is a nightmare. An opinion, and, in my opinion, pretty inaccurate. I say this as someone who knew NOTHING when I started this journey.

  • RPi ZeroW & USB power supply - $5 (you probably already have multiple old smartphone chargers)
  • Flash RaspianLite - 10 minutes
  • Modify two files: ssh (empty) and wpa_supplicant.conf (edit to add Wi-Fi credentials)
  • Boot RPi & remotely connect to it
  • Install Mosquitto (1 command)
  • Modify three files: mosquitto.conf (defaults), passwd, conf.d/listeners (1 line)
  • Restart mosquitto

I actually did this yesterday. OK, not my first time, but no more than 30 minutes work. OK, 1 hour with learning curve. Then pretty much forget it.

Mike

@meingraham: where do you get a pi0w with powersupply for $5? I want that please! I paid $10+shipping.

Other than that. Fully agree.

In addition: implementing that (based on mqtt or other) is not possible on an esp8266. You need too much RAM to queue incoming messages and too many simultaneous network connections to publishers and subscribers.

@joba-1

I bought a couple of Pi0W at a large electronics store (MicroCenter in Virginia). For a ZeroW, an old phone microUSB plug (i.e., $0) is enough power for running a lightweight mosquitto instance.

But even for $10...

Actually I'm currently running mosquitto on my router with OpenWRT which works pretty well. My router is TPLink Archer 2600.

Many ways to skin the cat... If you have a Linux "server" (e.g., a router with openWRT) already, then install mosquitto and modify 3 files.

The end of "My Cousin Vinny" comes to mind :wink:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Vujagig picture Vujagig  路  3Comments

jensuffhaus picture jensuffhaus  路  3Comments

grizewald picture grizewald  路  3Comments

Joeyhza picture Joeyhza  路  3Comments

wirelesssolution picture wirelesssolution  路  3Comments