Re: [mh] MH & HA - Integration? Migration?

Dave Neudoerffer <[email protected]> Mon, 25 Mar 2024 11:12:57 -0400
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <CAOFx8LP4Gc0XhRwRiLisDwJ-BvaJzRTve+gGNBwCeKUa6Qa3+w@mail.gmail.com>
--===============8322677591874500507==
Content-Type: multipart/alternative; boundary="00000000000073824906147d9cf3"

--00000000000073824906147d9cf3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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.

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).

I am out doing some errands but will attach the HA module to this thread
later today.

I will start working on a bit of doc before I submit a push :-)

Dave

On Mon, Mar 25, 2024, 10:57=E2=80=AFAM H Plato <[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.
>
>
>
> On Mar 25, 2024, at 8:33 AM, Dave Neudoerffer <[email protected]>
> wrote:
>
> 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 m=
y
> son convinced me to add HA into the mix, for exactly the reasons you
> state.
>
> 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.  Thi=
s
> 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.
>
> Dave
>
> On Mon, Mar 25, 2024 at 9:46=E2=80=AFAM H Plato <[email protected]> wrote:
>
>> Hello,
>>
>>   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 M=
H instance
>> has lots of logic that I don=E2=80=99t know how to replicate in HA, as w=
ell 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.
>>
>>   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 (weed=
er
>> and W800), which I=E2=80=99ll have to figure out. My hardware is also ol=
d, so I=E2=80=99m
>> seeing this as an opportunity to architect a bit more of a better soluti=
on,
>> by virtualizing everything.
>>
>>   Anyone gone down any of these paths?
>>
>> ________________________________________________________
>> To unsubscribe from this list, go to:
>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>>
>>
>

--00000000000073824906147d9cf3
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">I do use insteon extensively. I use the mh support for in=
steon 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 b=
ecause 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 w=
ell.=C2=A0 Then I can use whichever interface I choose. I also publish most=
 devices to Google so I can control via voice or Google home.=C2=A0<div dir=
=3D"auto"><br></div><div dir=3D"auto">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 comm=
ands. (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).=C2=A0<br><div dir=3D"auto"><br></div><di=
v dir=3D"auto">I am out doing some errands but will attach the HA module to=
 this thread later today.=C2=A0</div><div dir=3D"auto"><br></div><div dir=
=3D"auto">I will start working on a bit of doc before I submit a push :-)</=
div><div dir=3D"auto"><br></div><div dir=3D"auto">Dave</div></div></div><br=
><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, M=
ar 25, 2024, 10:57=E2=80=AFAM H Plato &lt;<a href=3D"mailto:[email protected]=
m">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quot=
e" 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">Thanks Dav=
e. I=E2=80=99m thinking about migrating devices to HA, and then complementi=
ng with MH for my light events, speech events, etc=E2=80=A6 I would be real=
ly interested in testing out the module. If you put in a pull request, migh=
t be a good time to gather everything in master for a release. Do you use i=
nsteon at all? I see there is an insteon module, and would be great to have=
 an updated code base.<div><br></div><div><br><div><br><blockquote type=3D"=
cite"><div>On Mar 25, 2024, at 8:33 AM, Dave Neudoerffer &lt;<a href=3D"mai=
lto:[email protected]" target=3D"_blank" rel=3D"noreferrer">dave@neudoer=
ffer.com</a>&gt; wrote:</div><br><div><div dir=3D"ltr">I have worked on thi=
s quite a bit over the past several months.=C2=A0 I have 3 separate HA/MH i=
nstallations.=C2=A0 I have been using MH for many years, but my son convinc=
ed me to add HA into the mix, for exactly the reasons you state.=C2=A0=C2=
=A0<div><br></div><div>As I did a lot of the work on MQTT for MH, I=C2=A0st=
arted with an MQTT solution.=C2=A0 However, HA does not publish discovery n=
or support commands on its entities via MQTT.=C2=A0 So I used the REST API =
to get a round trip=C2=A0 -- commands and some discovery via the REST API, =
state change via MQTT.=C2=A0 This was pretty clumsy still.=C2=A0 So I have =
more recently implemented a fairly simple HA_Item.pm module that uses the H=
A Websocket API -- the websocket API hooks right into the event bus in HA, =
so you get everything.=C2=A0 I was giving it some time to settle, and wasn&=
#39;t sure whether anyone else would be interested, but I am happy to share=
 the module.=C2=A0 Or I could put together an MH push, but that would take =
me a day or two.</div><div><br></div><div>Dave</div></div><br><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 &lt;<a href=3D"mailto:[email protected]" target=3D"=
_blank" rel=3D"noreferrer">[email protected]</a>&gt; wrote:<br></div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
=C2=A0 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 avail=
able in HA. I=E2=80=99d rather spend my time setting up automations than de=
veloping device modules. So I=E2=80=99m thinking about running them in para=
llel, 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 calcu=
lations, etc=E2=80=A6 HA would be a contained VM that would hold the device=
s and maybe the user interface. I mainly use the floorplan IA7 interface, a=
nd I haven=E2=80=99t seen that in HA yet.<br>
<br>
=C2=A0 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>
<br>
=C2=A0 Anyone gone down any of these paths?<br>
<br>
________________________________________________________<br>
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">https://lists.sourceforge.net/lists/listinfo/misterhouse-users<=
/a><br>
<br>
</blockquote></div>
</div></blockquote></div><br></div></div></blockquote></div>

--00000000000073824906147d9cf3--


--===============8322677591874500507==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============8322677591874500507==
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


--===============8322677591874500507==--