Re: [mh] MQTT update
H Plato <[email protected]> Mon, 11 Nov 2024 08:11:58 -0700
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
--===============1063681140215936385== Content-Type: multipart/alternative; boundary="Apple-Mail=_FAF26226-5903-436A-BA9C-B326411DD727" --Apple-Mail=_FAF26226-5903-436A-BA9C-B326411DD727 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 There have been a few updates to MQTT in the recent master. I use it to = expose MH objects to Home Assistant. I=E2=80=99ve moved my tasmota = devices to use MQTT, but I now use HA as the middle layer, and then pick = up the attributes I want (power monitoring mostly) through HA_Item. Brian if you have updates, would it be possible for you to take a look = at master and incorporate those changes into your work to make merging = int he future easier? > On Nov 11, 2024, at 4:55=E2=80=AFAM, Mike Jones <[email protected]> = wrote: >=20 > Just noticed this got sent to the wrong email =E2=98=B9 > =20 > =20 > Thanks for the update Brian, > I have a lot of X10 modules that are starting to slowly die one by one = =E2=98=B9 although not a bad product for 25years 24/7 service. > I have starting using Shelly devices and they are really good, MQTT is = the easiest way to use them, at the moment I am just using on/off with = feedback > =20 > I have the MQTT working and reliable > =20 > I will monitor any updates from you and include it in my setup so I = can enhance my use of MQTT. > =20 > Mike > =20 > =20 > From: [email protected] = <[email protected]> > Sent: 01 September 2024 23:59 > To: [email protected] > Subject: Re: [mh] MQTT update > =20 > I'm working in the MQTT area, mostly in mqtt_items. Nothing there is = ready for a PR yet. I'm mostly trying to generalize the code so it's not = so Tasmota-specific. I intend to allow arbitrary MQTT topic names, while = leaving the current, Tasmota-specific ones as the default values. > =20 > I have minor changes in mqtt.pm, but they're just to fix the set-by = field to something more legible. No functional changes planned there on = my end. > =20 > -Brian M. > =20 > On 8/28/24 08:47, Mike Jones wrote: > Hi, > I have just stuck my MH onto a pi5 after 24 years on a PC, the final = OS was SBS2011 and it was at its end of life. > I built the house 25 years ago and is fully automated I still run a = Homevision controller as a big part of the system which was another bit = of kit way ahead of its time. > I would really like a way of getting messages on the HDMI fed TV=E2=80=99= s like I use to do with Homevison on Analog TV=E2=80=99s. > =20 > I have used the opportunity to update 24 years of code on code and = done a lot of tidying up > And wish I had done it a long time ago. > =20 > One thing I wanted was MQTT to talk to Blue Iris CCTV system which is = great when using AI to detect people and even the dog leaving through = out gate =F0=9F=98=8A > =20 > Has anyone updated the mqtt.pm module? > I do have it working but wondered if any of the FIXME error comments = in the code had been cleared. > =20 > I have looked at HA and others but really with IA7 web front end MH = does every I need and more and is much easier to customise. > =20 > =20 > Thanks > =20 > Beadster > UK >=20 >=20 >=20 > ________________________________________________________ > To unsubscribe from this list, go to: = https://lists.sourceforge.net/lists/listinfo/misterhouse-users > =20 > =20 >=20 > ________________________________________________________ > To unsubscribe from this list, go to: = https://lists.sourceforge.net/lists/listinfo/misterhouse-users --Apple-Mail=_FAF26226-5903-436A-BA9C-B326411DD727 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;">There have = been a few updates to MQTT in the recent master. I use it to expose MH = objects to Home Assistant. I=E2=80=99ve moved my tasmota devices to use = MQTT, but I now use HA as the middle layer, and then pick up the = attributes I want (power monitoring mostly) through = HA_Item.<div><br></div><div>Brian if you have updates, would it be = possible for you to take a look at master and incorporate those changes = into your work to make merging int he future easier?<br = id=3D"lineBreakAtBeginningOfMessage"><div><br><blockquote = type=3D"cite"><div>On Nov 11, 2024, at 4:55=E2=80=AFAM, Mike Jones = <[email protected]> wrote:</div><br = class=3D"Apple-interchange-newline"><div><meta charset=3D"UTF-8"><div = class=3D"WordSection1" style=3D"page: WordSection1; caret-color: rgb(0, = 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;"><div style=3D"margin: 0cm; font-size: 11pt; = font-family: Aptos, sans-serif;">Just noticed this got sent to the wrong = email<span class=3D"Apple-converted-space"> </span><span = style=3D"font-family: "Segoe UI Emoji", = sans-serif;">=E2=98=B9</span><o:p></o:p></div><div style=3D"margin: 0cm; = font-size: 11pt; font-family: Aptos, = sans-serif;"><o:p> </o:p></div><div style=3D"margin: 0cm; = font-size: 11pt; font-family: Aptos, = sans-serif;"><o:p> </o:p></div><div style=3D"margin: 0cm; = font-size: 11pt; font-family: Aptos, sans-serif;">Thanks for the update = Brian,<o:p></o:p></div><div style=3D"margin: 0cm; font-size: 11pt; = font-family: Aptos, sans-serif;">I have a lot of X10 modules that are = starting to slowly die one by one<span = class=3D"Apple-converted-space"> </span><span style=3D"font-family: = "Segoe UI Emoji", sans-serif;">=E2=98=B9</span><span = class=3D"Apple-converted-space"> </span>although not a bad product = for 25years 24/7 service.<o:p></o:p></div><div style=3D"margin: 0cm; = font-size: 11pt; font-family: Aptos, sans-serif;">I have starting using = Shelly devices and they are really good, MQTT is the easiest way to use = them, at the moment I am just using on/off with = feedback<o:p></o:p></div><div style=3D"margin: 0cm; font-size: 11pt; = font-family: Aptos, sans-serif;"><o:p> </o:p></div><div = style=3D"margin: 0cm; font-size: 11pt; font-family: Aptos, = sans-serif;">I have the MQTT working and reliable<o:p></o:p></div><div = style=3D"margin: 0cm; font-size: 11pt; font-family: Aptos, = sans-serif;"><o:p> </o:p></div><div style=3D"margin: 0cm; = font-size: 11pt; font-family: Aptos, sans-serif;">I will monitor any = updates from you and include it in my setup so I can enhance my use of = MQTT.<o:p></o:p></div><div style=3D"margin: 0cm; font-size: 11pt; = font-family: Aptos, sans-serif;"><o:p> </o:p></div><div = style=3D"margin: 0cm; font-size: 11pt; font-family: Aptos, = sans-serif;">Mike<o:p></o:p></div><div style=3D"margin: 0cm; font-size: = 11pt; font-family: Aptos, sans-serif;"><o:p> </o:p></div><div = style=3D"margin: 0cm; font-size: 11pt; font-family: Aptos, = sans-serif;"><o:p> </o:p></div><div style=3D"border-width: medium = medium medium 1.5pt; border-style: none none none solid; border-color: = currentcolor currentcolor currentcolor blue; border-image: none; = padding: 0cm 0cm 0cm 4pt;"><div><div style=3D"border-width: 1pt medium = medium; border-style: solid none none; border-color: rgb(225, 225, 225) = currentcolor currentcolor; border-image: none; padding: 3pt 0cm = 0cm;"><div style=3D"margin: 0cm; font-size: 11pt; font-family: Aptos, = sans-serif;"><b><span lang=3D"EN-US" style=3D"font-family: Calibri, = sans-serif;">From:</span></b><span lang=3D"EN-US" style=3D"font-family: = Calibri, sans-serif;"><span = class=3D"Apple-converted-space"> </span>[email protected]= et <[email protected]><br><b>Sent:</b><span = class=3D"Apple-converted-space"> </span>01 September 2024 = 23:59<br><b>To:</b><span = class=3D"Apple-converted-space"> </span>[email protected]= eforge.net<br><b>Subject:</b><span = class=3D"Apple-converted-space"> </span>Re: [mh] MQTT = update<o:p></o:p></span></div></div></div><div style=3D"margin: 0cm; = font-size: 11pt; font-family: Aptos, = sans-serif;"><o:p> </o:p></div><div><div style=3D"margin: 0cm; = font-size: 11pt; font-family: Aptos, sans-serif;">I'm working in the = MQTT area, mostly in mqtt_items. Nothing there is ready for a PR yet. = I'm mostly trying to generalize the code so it's not so = Tasmota-specific. I intend to allow arbitrary MQTT topic names, while = leaving the current, Tasmota-specific ones as the default values.<span = style=3D"font-size: 12pt;"><o:p></o:p></span></div></div><div><div = style=3D"margin: 0cm; font-size: 11pt; font-family: Aptos, = sans-serif;"><o:p> </o:p></div></div><div><div style=3D"margin: = 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">I have minor = changes in mqtt.pm, but they're just to fix the set-by field to = something more legible. No functional changes planned there on my = end.<o:p></o:p></div></div><div><div style=3D"margin: 0cm; font-size: = 11pt; font-family: Aptos, = sans-serif;"><o:p> </o:p></div></div><div><div style=3D"margin: = 0cm; font-size: 11pt; font-family: Aptos, = sans-serif;"> &= nbsp; &nb= sp; -Brian M.<o:p></o:p></div></div><div><div style=3D"margin: = 0cm; font-size: 11pt; font-family: Aptos, = sans-serif;"><o:p> </o:p></div></div><div><div style=3D"margin: = 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">On 8/28/24 08:47, = Mike Jones wrote:<o:p></o:p></div></div><blockquote style=3D"margin-top: = 5pt; margin-bottom: 5pt;"><div style=3D"margin: 0cm; font-size: 11pt; = font-family: Aptos, sans-serif;">Hi,<o:p></o:p></div><div style=3D"margin:= 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">I have just = stuck my MH onto a pi5 after 24 years on a PC, the final OS was SBS2011 = and it was at its end of life.<o:p></o:p></div><div style=3D"margin:= 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">I built the = house 25 years ago and is fully automated I still run a Homevision = controller as a big part of the system which was another bit of kit way = ahead of its time.<o:p></o:p></div><div style=3D"margin: 0cm; font-size: = 11pt; font-family: Aptos, sans-serif;">I would really like a way of = getting messages on the HDMI fed TV=E2=80=99s like I use to do with = Homevison on Analog TV=E2=80=99s.<o:p></o:p></div><div style=3D"margin: = 0cm; font-size: 11pt; font-family: Aptos, = sans-serif;"> <o:p></o:p></div><div style=3D"margin: 0cm; = font-size: 11pt; font-family: Aptos, sans-serif;">I have used the = opportunity to update 24 years of code on code and done a lot of tidying = up<o:p></o:p></div><div style=3D"margin: 0cm; font-size: 11pt; = font-family: Aptos, sans-serif;">And wish I had done it a long time = ago.<o:p></o:p></div><div style=3D"margin: 0cm; font-size: 11pt; = font-family: Aptos, sans-serif;"> <o:p></o:p></div><div = style=3D"margin: 0cm; font-size: 11pt; font-family: Aptos, = sans-serif;">One thing I wanted was MQTT to talk to Blue Iris CCTV = system which is great when using AI to detect people and even the dog = leaving through out gate<span = class=3D"Apple-converted-space"> </span><span style=3D"font-family: = "Segoe UI Emoji", = sans-serif;">=F0=9F=98=8A</span><o:p></o:p></div><div style=3D"margin: = 0cm; font-size: 11pt; font-family: Aptos, = sans-serif;"> <o:p></o:p></div><div style=3D"margin: 0cm; = font-size: 11pt; font-family: Aptos, sans-serif;">Has anyone updated the = mqtt.pm module?<o:p></o:p></div><div style=3D"margin: 0cm; font-size: = 11pt; font-family: Aptos, sans-serif;">I do have it working but wondered = if any of the FIXME error comments in the code had been = cleared.<o:p></o:p></div><div style=3D"margin: 0cm; font-size: 11pt; = font-family: Aptos, sans-serif;"> <o:p></o:p></div><div = style=3D"margin: 0cm; font-size: 11pt; font-family: Aptos, = sans-serif;">I have looked at HA and others but really with IA7 web = front end MH does every I need and more and is much easier to = customise.<o:p></o:p></div><div style=3D"margin: 0cm; font-size: 11pt; = font-family: Aptos, sans-serif;"> <o:p></o:p></div><div = style=3D"margin: 0cm; font-size: 11pt; font-family: Aptos, = sans-serif;"> <o:p></o:p></div><div style=3D"margin: 0cm; = font-size: 11pt; font-family: Aptos, = sans-serif;">Thanks<o:p></o:p></div><div style=3D"margin: 0cm; = font-size: 11pt; font-family: Aptos, = sans-serif;"> <o:p></o:p></div><div style=3D"margin: 0cm; = font-size: 11pt; font-family: Aptos, = sans-serif;">Beadster<o:p></o:p></div><div style=3D"margin: 0cm; = font-size: 11pt; font-family: Aptos, = sans-serif;">UK<o:p></o:p></div><div style=3D"margin: 0cm; font-size: = 11pt; font-family: Aptos, sans-serif;"><span style=3D"font-size: = 12pt;"><br><br><br><o:p></o:p></span></div><pre style=3D"margin: 0cm; = font-size: 10pt; font-family: "Courier = New";">________________________________________________________<o:p><= /o:p></pre><pre style=3D"margin: 0cm; font-size: 10pt; font-family: = "Courier New";">To unsubscribe from this list, go to: <a = href=3D"https://lists.sourceforge.net/lists/listinfo/misterhouse-users" = style=3D"color: blue; text-decoration: = underline;">https://lists.sourceforge.net/lists/listinfo/misterhouse-users= </a><o:p></o:p></pre><pre style=3D"margin: 0cm; font-size: 10pt; = font-family: "Courier = New";"><o:p> </o:p></pre></blockquote><p><o:p> </o:p></p></= div></div><span style=3D"caret-color: rgb(0, 0, 0); font-family: = Helvetica; font-size: 13px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline = !important;">________________________________________________________</spa= n><br style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 13px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;"><span style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 13px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;">To unsubscribe from this = list, go to: = https://lists.sourceforge.net/lists/listinfo/misterhouse-users</span></div= ></blockquote></div><br></div></body></html>= --Apple-Mail=_FAF26226-5903-436A-BA9C-B326411DD727-- --===============1063681140215936385== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1063681140215936385== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ________________________________________________________ To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users --===============1063681140215936385==--