Re: [mh] MH & HA - Integration? Migration?
H Plato <[email protected]> Mon, 25 Mar 2024 08:57:52 -0600
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
--===============7563725560032976245== Content-Type: multipart/alternative; boundary="Apple-Mail=_33DF1923-8D09-4E08-8EA3-7700643F9C89" --Apple-Mail=_33DF1923-8D09-4E08-8EA3-7700643F9C89 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Thanks Dave. I=E2=80=99m thinking about migrating devices to HA, and = then complementing with MH for my light events, speech events, etc=E2=80=A6= I would be really interested in testing out the module. If you put in a = pull request, might be a good time to gather everything in master for a = release. Do you use insteon at all? I see there is an insteon module, = and would be great to have an updated code base. > On Mar 25, 2024, at 8:33 AM, Dave Neudoerffer <[email protected]> = wrote: >=20 > I have worked on this quite a bit over the past several months. I = have 3 separate HA/MH installations. I have been using MH for many = years, but my son convinced me to add HA into the mix, for exactly the = reasons you state. =20 >=20 > As I did a lot of the work on MQTT for MH, I started with an MQTT = solution. However, HA does not publish discovery nor support commands = on its entities via MQTT. So I used the REST API to get a round trip = -- commands and some discovery via the REST API, state change via MQTT. = This was pretty clumsy still. So I have more recently implemented a = fairly simple HA_Item.pm module that uses the HA Websocket API -- the = websocket API hooks right into the event bus in HA, so you get = everything. I was giving it some time to settle, and wasn't sure = whether anyone else would be interested, but I am happy to share the = module. Or I could put together an MH push, but that would take me a = day or two. >=20 > Dave >=20 > On Mon, Mar 25, 2024 at 9:46=E2=80=AFAM H Plato <[email protected] = <mailto:[email protected]>> wrote: > Hello, >=20 > Is anyone using Home Assistant (HA)? I=E2=80=99ve recently picked up = a new new devices, and it is impressive the amount of device support = available in HA. I=E2=80=99d rather spend my time setting up automations = than developing device modules. So I=E2=80=99m thinking about running = them in parallel, as my MH instance has lots of logic that I don=E2=80=99t= know how to replicate in HA, as well as speech for home events, = watering moisture calculations, etc=E2=80=A6 HA would be a contained VM = that would hold the devices and maybe the user interface. I mainly use = the floorplan IA7 interface, and I haven=E2=80=99t seen that in HA yet. >=20 > Both MH and HA use MQTT, so that could be a communication option, or = using web calls. I also have some older tech that still works fine = (weeder and W800), which I=E2=80=99ll have to figure out. My hardware is = also old, so I=E2=80=99m seeing this as an opportunity to architect a = bit more of a better solution, by virtualizing everything.=20 >=20 > Anyone gone down any of these paths? >=20 > ________________________________________________________ > To unsubscribe from this list, go to: = https://lists.sourceforge.net/lists/listinfo/misterhouse-users = <https://lists.sourceforge.net/lists/listinfo/misterhouse-users> >=20 --Apple-Mail=_33DF1923-8D09-4E08-8EA3-7700643F9C89 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"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" = class=3D"">Thanks Dave. I=E2=80=99m thinking about migrating devices to = HA, and then complementing with MH for my light events, speech events, = etc=E2=80=A6 I would be really interested in testing out the module. If = you put in a pull request, might be a good time to gather everything in = master for a release. Do you use insteon at all? I see there is an = insteon module, and would be great to have an updated code base.<div = class=3D""><br class=3D""></div><div class=3D""><br class=3D""><div><br = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">On Mar = 25, 2024, at 8:33 AM, Dave Neudoerffer <<a = href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = class=3D"">I have worked on this quite a bit over the past several = months. I have 3 separate HA/MH installations. I have been = using MH for many years, but my son convinced me to add HA into the mix, = for exactly the reasons you state. <div class=3D""><br = class=3D""></div><div class=3D"">As I did a lot of the work on MQTT for = MH, I started with an MQTT solution. However, HA does not = publish discovery nor support commands on its entities via MQTT. = So I used the REST API to get a round trip -- commands and some = discovery via the REST API, state change via MQTT. This was pretty = clumsy still. So I have more recently implemented a fairly simple = HA_Item.pm module that uses the HA Websocket API -- the websocket API = hooks right into the event bus in HA, so you get everything. I was = giving it some time to settle, and wasn't sure whether anyone else would = be interested, but I am happy to share the module. Or I could put = together an MH push, but that would take me a day or two.</div><div = class=3D""><br class=3D""></div><div class=3D"">Dave</div></div><br = class=3D""><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Mon, Mar 25, 2024 at 9:46=E2=80=AFAM H Plato = <<a href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>> wrote:<br class=3D""></div><blockquote= class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px = solid rgb(204,204,204);padding-left:1ex">Hello,<br class=3D""> <br class=3D""> Is anyone using Home Assistant (HA)? I=E2=80=99ve recently picked = up a new new devices, and it is impressive the amount of device support = available in HA. I=E2=80=99d rather spend my time setting up automations = than developing device modules. So I=E2=80=99m thinking about running = them in parallel, as my MH instance has lots of logic that I don=E2=80=99t= know how to replicate in HA, as well as speech for home events, = watering moisture calculations, etc=E2=80=A6 HA would be a contained VM = that would hold the devices and maybe the user interface. I mainly use = the floorplan IA7 interface, and I haven=E2=80=99t seen that in HA = yet.<br class=3D""> <br class=3D""> Both MH and HA use MQTT, so that could be a communication option, = or using web calls. I also have some older tech that still works fine = (weeder and W800), which I=E2=80=99ll have to figure out. My hardware is = also old, so I=E2=80=99m seeing this as an opportunity to architect a = bit more of a better solution, by virtualizing everything. <br class=3D"">= <br class=3D""> Anyone gone down any of these paths?<br class=3D""> <br class=3D""> ________________________________________________________<br class=3D""> To unsubscribe from this list, go to: <a = href=3D"https://lists.sourceforge.net/lists/listinfo/misterhouse-users" = rel=3D"noreferrer" target=3D"_blank" = class=3D"">https://lists.sourceforge.net/lists/listinfo/misterhouse-users<= /a><br class=3D""> <br class=3D""> </blockquote></div> </div></blockquote></div><br class=3D""></div></body></html>= --Apple-Mail=_33DF1923-8D09-4E08-8EA3-7700643F9C89-- --===============7563725560032976245== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7563725560032976245== 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 --===============7563725560032976245==--