Re: [mh] MH & HA - Integration? Migration?
H Plato <[email protected]> Mon, 25 Mar 2024 09:22:11 -0600
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
--===============4625974933010080750== Content-Type: multipart/alternative; boundary="Apple-Mail=_45BED299-1807-4AA5-843F-D62C2A954BC5" --Apple-Mail=_45BED299-1807-4AA5-843F-D62C2A954BC5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Thats great Dave. Thank you. Insteon is really reliable - the only issue I have is programming = keypadlincs. The aldb updates often timeout, so the most reliable and = quickest way to update them is to physically remove all the switches and = the keypadlinc and connect them to a =E2=80=98wiring harness=E2=80=99 = type box. A plastic 4 gang box with quick connects. Then I plug that = into the same outlet as the PLM, and the aldb can then get updated = properly. Take about an hour, but will work. I think I can do USB passthrough for my serial items, has anyone figured = out remote sound? Currently I have an 8 port PCI sound card that I use = alsa devices for each room and the =E2=80=98aplay=E2=80=99 command to = play the festival file. I have an 8 port Raspberry Pi HAT that I was = going to use, but don=E2=80=99t know how to send sound remotely. This = would remove the PCI card dependancy allowing me to create a proper MH = VM. > On Mar 25, 2024, at 9:12 AM, Dave Neudoerffer <[email protected]> = wrote: >=20 > I do use insteon extensively. I use the mh support for insteon as = there have been some reported issues with the ha insteon support. I also = tried insteonmqtt for a while but prefer the support in MH, partly = because I am familiar with the code, but also it works very well. I = publish whatever devices in MH I choose via mqtt. That way HA has full = control as well. Then I can use whichever interface I choose. I also = publish most devices to Google so I can control via voice or Google = home.=20 >=20 > My setups are all a mix of devices in MH and HA. For a while, I had = some devices that were Google only and used an open source project to = send text that got converted to Google voice commands. (Have an MH = module for that too). That worked well but, believe it or not, but felt = pretty hokey, so I have recently moved those devices into HA (mostly = with the HA tuya plugin).=20 >=20 > I am out doing some errands but will attach the HA module to this = thread later today.=20 >=20 > I will start working on a bit of doc before I submit a push :-) >=20 > Dave >=20 > On Mon, Mar 25, 2024, 10:57=E2=80=AFAM H Plato <[email protected] = <mailto:[email protected]>> wrote: > 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. >=20 >=20 >=20 >> On Mar 25, 2024, at 8:33 AM, Dave Neudoerffer <[email protected] = <mailto:[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 >=20 --Apple-Mail=_45BED299-1807-4AA5-843F-D62C2A954BC5 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"">Thats= great Dave. Thank you.<div class=3D""><br class=3D""></div><div = class=3D"">Insteon is really reliable - the only issue I have is = programming keypadlincs. The aldb updates often timeout, so the most = reliable and quickest way to update them is to physically remove all the = switches and the keypadlinc and connect them to a =E2=80=98wiring = harness=E2=80=99 type box. A plastic 4 gang box with quick connects. = Then I plug that into the same outlet as the PLM, and the aldb can then = get updated properly. Take about an hour, but will work.</div><div = class=3D""><br class=3D""></div><div class=3D"">I think I can do USB = passthrough for my serial items, has anyone figured out remote sound? = Currently I have an 8 port PCI sound card that I use alsa devices for = each room and the =E2=80=98aplay=E2=80=99 command to play the festival = file. I have an 8 port Raspberry Pi HAT that I was going to use, but = don=E2=80=99t know how to send sound remotely. This would remove the PCI = card dependancy allowing me to create a proper MH VM.<br = class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On Mar 25, 2024, at 9:12 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"auto" = class=3D"">I do use insteon extensively. I use the mh support for = insteon as there have been some reported issues with the ha insteon = support. I also tried insteonmqtt for a while but prefer the support in = MH, partly because I am familiar with the code, but also it works very = well. I publish whatever devices in MH I choose via mqtt. That way HA = has full control as well. Then I can use whichever interface I = choose. I also publish most devices to Google so I can control via voice = or Google home. <div dir=3D"auto" class=3D""><br = class=3D""></div><div dir=3D"auto" class=3D"">My setups are all a mix of = devices in MH and HA. For a while, I had some devices that were Google = only and used an open source project to send text that got converted to = Google voice commands. (Have an MH module for that too). That worked = well but, believe it or not, but felt pretty hokey, so I have recently = moved those devices into HA (mostly with the HA tuya plugin). <br = class=3D""><div dir=3D"auto" class=3D""><br class=3D""></div><div = dir=3D"auto" class=3D"">I am out doing some errands but will attach the = HA module to this thread later today. </div><div dir=3D"auto" = class=3D""><br class=3D""></div><div dir=3D"auto" class=3D"">I will = start working on a bit of doc before I submit a push :-)</div><div = dir=3D"auto" class=3D""><br class=3D""></div><div dir=3D"auto" = class=3D"">Dave</div></div></div><br class=3D""><div = class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Mar = 25, 2024, 10:57=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:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><div = style=3D"word-wrap:break-word;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 = class=3D""><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]" target=3D"_blank" rel=3D"noreferrer" = class=3D"">[email protected]</a>> wrote:</div><br class=3D""><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]" target=3D"_blank" = rel=3D"noreferrer" 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 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></div></blockquote></div> </div></blockquote></div><br class=3D""></div></body></html>= --Apple-Mail=_45BED299-1807-4AA5-843F-D62C2A954BC5-- --===============4625974933010080750== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============4625974933010080750== 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 --===============4625974933010080750==--