Re: [mh] MQTT update

[email protected] Mon, 11 Nov 2024 11:15:45 -0800
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============8134684313480272934==
Content-Type: multipart/alternative;
 boundary="------------xNzeUU2UE4pfemqYDl46NMu3"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------xNzeUU2UE4pfemqYDl46NMu3
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

My updates are only half done at this point. They only need a couple of 
hours, but I'm not expecting to be able to focus on them for a week or 
two. And yes, I'll be happy rebase my code against the current master, 
so that updates are minimal when you get them.

Thank you for taking the time to push out a new master. I think that's a 
good move, and it'll make some future next master easier.

               -Brian M


On 11/11/24 07:11, H Plato wrote:
> There have been a few updates to MQTT in the recent master. I use it 
> to expose MH objects to Home Assistant. I’ve 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 AM, Mike Jones <[email protected]> wrote:
>>
>> Just noticed this got sent to the wrong email☹
>> Thanks for the update Brian,
>> I have a lot of X10 modules that are starting to slowly die one by 
>> one☹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
>> I have the MQTT working and reliable
>> I will monitor any updates from you and include it in my setup so I 
>> can enhance my use of MQTT.
>> Mike
>> *From:*[email protected] <[email protected]>
>> *Sent:*01 September 2024 23:59
>> *To:*[email protected]
>> *Subject:*Re: [mh] MQTT update
>> 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.
>> 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.
>> -Brian M.
>> 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’s like I use to do with Homevison on Analog TV’s.
>>     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.
>>     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😊
>>     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.
>>     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.
>>     Thanks
>>     Beadster
>>     UK
>>
>>
>>
>>     ________________________________________________________
>>
>>     To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>>
>> ________________________________________________________
>> To unsubscribe from this list, go to: 
>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>
>
>
> ________________________________________________________
> To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>

--------------xNzeUU2UE4pfemqYDl46NMu3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">
      <p>My updates are only half done at this point. They only need a
        couple of hours, but I'm not expecting to be able to focus on
        them for a week or two. And yes, I'll be happy rebase my code
        against the current master, so that updates are minimal when you
        get them.</p>
      <p>Thank you for taking the time to push out a new master. I think
        that's a good move, and it'll make some future next master
        easier.</p>
      <p>              -Brian M<br>
      </p>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 11/11/24 07:11, H Plato wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <meta http-equiv="content-type" content="text/html; 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’ve 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="lineBreakAtBeginningOfMessage">
        <div><br>
          <blockquote type="cite">
            <div>On Nov 11, 2024, at 4:55 AM, Mike Jones
              <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote:</div>
            <br class="Apple-interchange-newline">
            <div>
              <meta charset="UTF-8">
              <div class="WordSection1"
style="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="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">Just
                  noticed this got sent to the wrong email<span
                    class="Apple-converted-space"> </span><span
style="font-family: &quot;Segoe UI Emoji&quot;, sans-serif;">☹</span><o:p></o:p></div>
                <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><o:p> </o:p></div>
                <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><o:p> </o:p></div>
                <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">Thanks
                  for the update Brian,<o:p></o:p></div>
                <div
style="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="Apple-converted-space"> </span><span
style="font-family: &quot;Segoe UI Emoji&quot;, sans-serif;">☹</span><span
                    class="Apple-converted-space"> </span>although not a
                  bad product for 25years 24/7 service.<o:p></o:p></div>
                <div
style="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="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><o:p> </o:p></div>
                <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">I
                  have the MQTT working and reliable<o:p></o:p></div>
                <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><o:p> </o:p></div>
                <div
style="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="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><o:p> </o:p></div>
                <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">Mike<o:p></o:p></div>
                <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><o:p> </o:p></div>
                <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><o:p> </o:p></div>
                <div
style="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="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="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><b><span
                            lang="EN-US"
                            style="font-family: Calibri, sans-serif;">From:</span></b><span
                          lang="EN-US"
                          style="font-family: Calibri, sans-serif;"><span
                            class="Apple-converted-space"> </span><a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
                          <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a><br>
                          <b>Sent:</b><span
                            class="Apple-converted-space"> </span>01
                          September 2024 23:59<br>
                          <b>To:</b><span class="Apple-converted-space"> </span><a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><br>
                          <b>Subject:</b><span
                            class="Apple-converted-space"> </span>Re:
                          [mh] MQTT update<o:p></o:p></span></div>
                    </div>
                  </div>
                  <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><o:p> </o:p></div>
                  <div>
                    <div
style="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="font-size: 12pt;"><o:p></o:p></span></div>
                  </div>
                  <div>
                    <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><o:p> </o:p></div>
                  </div>
                  <div>
                    <div
style="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="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><o:p> </o:p></div>
                  </div>
                  <div>
                    <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">                        
                      -Brian M.<o:p></o:p></div>
                  </div>
                  <div>
                    <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><o:p> </o:p></div>
                  </div>
                  <div>
                    <div
style="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="margin-top: 5pt; margin-bottom: 5pt;">
                    <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">Hi,<o:p></o:p></div>
                    <div
style="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="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="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">I
                      would really like a way of getting messages on the
                      HDMI fed TV’s like I use to do with Homevison on
                      Analog TV’s.<o:p></o:p></div>
                    <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"> <o:p></o:p></div>
                    <div
style="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="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="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"> <o:p></o:p></div>
                    <div
style="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="Apple-converted-space"> </span><span
style="font-family: &quot;Segoe UI Emoji&quot;, sans-serif;">😊</span><o:p></o:p></div>
                    <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"> <o:p></o:p></div>
                    <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">Has
                      anyone updated the mqtt.pm module?<o:p></o:p></div>
                    <div
style="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="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"> <o:p></o:p></div>
                    <div
style="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="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"> <o:p></o:p></div>
                    <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"> <o:p></o:p></div>
                    <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">Thanks<o:p></o:p></div>
                    <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"> <o:p></o:p></div>
                    <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">Beadster<o:p></o:p></div>
                    <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">UK<o:p></o:p></div>
                    <div
style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span
                        style="font-size: 12pt;"><br>
                        <br>
                        <br>
                        <o:p></o:p></span></div>
                    <pre
style="margin: 0cm; font-size: 10pt; font-family: &quot;Courier New&quot;;">________________________________________________________<o:p></o:p></pre>
                    <pre
style="margin: 0cm; font-size: 10pt; font-family: &quot;Courier New&quot;;">To unsubscribe from this list, go to: <a
href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users"
                    style="color: blue; text-decoration: underline;"
                    moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.sourceforge.net/lists/listinfo/misterhouse-users</a><o:p></o:p></pre>
                    <pre
style="margin: 0cm; font-size: 10pt; font-family: &quot;Courier New&quot;;"><o:p> </o:p></pre>
                  </blockquote>
                  <p><o:p> </o:p></p>
                </div>
              </div>
              <span
style="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;">________________________________________________________</span><br
style="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="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:
                <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users">https://lists.sourceforge.net/lists/listinfo/misterhouse-users</a></span></div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">________________________________________________________
To unsubscribe from this list, go to: <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users">https://lists.sourceforge.net/lists/listinfo/misterhouse-users</a>

</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>

--------------xNzeUU2UE4pfemqYDl46NMu3--


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


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


--===============8134684313480272934==--