Announcement

Collapse
No announcement yet.

HS3 - MQTT Log

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HS3 - MQTT Log

    Michael, I was several version behind so upgraded to the latest HS3 version today( It shows 5.23.21.2 despite down loading 5.23.21.3). It appears that now each time your plugin receives MQTT data it puts it in the HS3 Log. This is great for Debugging but is there a way to turn it on/off so it only does that when I need it. I looked and did not see an option.

    Also, I noticed after upgrading the LOCAL->GW1000 section had Disconnect from GW1000 checked, prior to upgrade Connect to GW1000 was checked. Now for the really odd part. Even though Disconnect was checked it was still connected and receiving data.

    #2
    I cannot explain what you have seen. I am in the middle of adding Epson projector to 5.24.0.0. I tried sending MQTT and I see nothing appearing in the HS Log. This version is attached. You may also need the Newtonsoft.zip and MySQL.zip from https://forums.homeseer.com/forum/hs...ge-log-hs4-hs3 which go into \bin\mcsMQTT folder too.

    Attached Files

    Comment


      #3
      I had already pulled down the JSON and mysql zip files. I installed the new 5.24.0.0 that you included and it now does not write every MQTT received to the HS3 Log.

      That is the behavior I had in the past.

      Thanks for the Plug-in, with out you plugin I would loose at least half the functionality I have.

      Comment


        #4
        Hi, Mickael

        I have installed the V5.24.0.8 and i receive a lot of log from Mqtt

        Can i chose the device with log?

        avr.-21 09:32:35 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,537 to 12123,538
        avr.-21 09:32:35 mcsMQTT Device 5543(Ecodevice Ecodevice:T1_PAPP) Changed from 770 to 760
        avr.-21 09:32:30 mcsMQTT Device 5543(Ecodevice Ecodevice:T1_PAPP) Changed from 760 to 770
        avr.-21 09:32:30 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,536 to 12123,537
        avr.-21 09:32:25 mcsMQTT Device 5543(Ecodevice Ecodevice:T1_PAPP) Changed from 770 to 760
        avr.-21 09:32:25 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,535 to 12123,536
        avr.-21 09:32:22 mcsMQTT Device 5466(Ecodevice Ecodevice:T2_BBRHPJB) Changed from 16491,684 to 16491,685
        avr.-21 09:32:20 mcsMQTT Device 5543(Ecodevice Ecodevice:T1_PAPP) Changed from 750 to 770
        avr.-21 09:32:20 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,534 to 12123,535
        avr.-21 09:32:09 mcsMQTT Device 5543(Ecodevice Ecodevice:T1_PAPP) Changed from 730 to 750
        avr.-21 09:32:09 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,533 to 12123,534
        avr.-21 09:32:04 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,532 to 12123,533
        avr.-21 09:31:59 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,531 to 12123,532
        avr.-21 09:31:58 mcsMQTT Device 5466(Ecodevice Ecodevice:T2_BBRHPJB) Changed from 16491,683 to 16491,684
        avr.-21 09:31:54 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,53 to 12123,531
        avr.-21 09:31:49 mcsMQTT Device 5543(Ecodevice Ecodevice:T1_PAPP) Changed from 740 to 730
        avr.-21 09:31:49 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,529 to 12123,53
        avr.-21 09:31:44 mcsMQTT Device 5543(Ecodevice Ecodevice:T1_PAPP) Changed from 730 to 740
        avr.-21 09:31:39 mcsMQTT Device 5466(Ecodevice Ecodevice:T2_BBRHPJB) Changed from 16491,682 to 16491,683
        avr.-21 09:31:39 mcsMQTT Device 5543(Ecodevice Ecodevice:T1_PAPP) Changed from 720 to 730
        avr.-21 09:31:39 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,527 to 12123,529
        avr.-21 09:31:33 mcsMQTT Device 5543(Ecodevice Ecodevice:T1_PAPP) Changed from 730 to 720
        avr.-21 09:31:28 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,526 to 12123,527
        avr.-21 09:31:23 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,525 to 12123,526
        avr.-21 09:31:21 mcsMQTT Device 5466(Ecodevice Ecodevice:T2_BBRHPJB) Changed from 16491,681 to 16491,682
        avr.-21 09:31:13 mcsMQTT Device 5543(Ecodevice Ecodevice:T1_PAPP) Changed from 740 to 730
        avr.-21 09:31:13 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,523 to 12123,525
        avr.-21 09:31:08 mcsMQTT Device 5543(Ecodevice Ecodevice:T1_PAPP) Changed from 760 to 740
        avr.-21 09:31:03 mcsMQTT Device 5543(Ecodevice Ecodevice:T1_PAPP) Changed from 740 to 760
        avr.-21 09:31:03 mcsMQTT Device 5415(Ecodevice Ecodevice:T1_BBRHPJB) Changed from 12123,522 to 12123,523
        avr.-21 09:30:59 mcsMQTT Device 5026(Chambre parentale Volet chambre parentale) Changed from 1 to 3
        avr.-21 09:30:59 mcsMQTT Device 5025(Chambre Orange Volet gauche chambre orange) Changed from 1 to 3
        avr.-21 09:30:59 mcsMQTT Device 5023(Chambre Orange Volet droit chambre orange) Changed from 1 to 3
        avr.-21 09:30:59 mcsMQTT Device 5024(Chambre Grise Volet chambre Grise) Changed from 1 to 3
        avr.-21 09:30:59 mcsMQTT Device 5020(Chambre du Monde Volet gauche chambre du Monde) Changed from 1 to 3
        avr.-21 09:30:59 mcsMQTT Device 5022(Chambre du Monde Volet droit chambre du Monde) Changed from 1 to 3
        avr.-21 09:30:58 mcsMQTT Device 5543(Ecodevice Ecodevice:T1_PAPP) Changed from 730 to 740
        Thanks

        Jean-Francois.

        Comment


          #5
          Hi, Mickael

          I deleted all devices "Ecodevice", topic also

          I recreated devices and no log Now

          Thanks.

          Comment


            #6
            Do you know how the Ecodevice topics were created? Is it something the plugin did that you did not expect or is it something that had existed before?

            Comment


              #7
              Hi, Mickael

              The first devices was created from json in html page

              http://eco-devices/api/xdevices.json?cmd=10

              Reponse:
              {"product":"Eco-devices","T1_PTEC":"HPJB","T1_PAPP":1120,"T1_BBRHCJB":114648 05,"T1_BBRHPJB":12143431,"T1_BBRHCJW":2581594,"T1_BBRHPJW":2 143478,"T1_BBRHCJR":348278,"T1_BBRHPJR":701975,"T1_DEMAIN":"----","T2_PTEC":"HPJB","T2_PAPP":170,"T2_BBRHCJB":21160660,"T2_B BRHPJB":16493412,"T2_BBRHCJW":9443281,"T2_BBRHPJW":8349524," T2_BBRHCJR":380610,"T2_BBRHPJR":763405,"T2_DEMAIN":"----","INDEX_C1":0,"INDEX
              Last devices was created from Xml page:

              http://eco-devices/protect/settings/teleinfo1.xml

              Reponse:

              This XML file does not appear to have any style information associated with it. The document tree is shown below.


              <response>
              <!-- GCE ELectronics - XML - XDEVICES - ECO-DEVICES - Copyright 2013 -->
              <!-- APPUYEZ SUR LA TOUCHE F5 DE VOTRE CLAVIER POUR ACTUALISER -->
              <!-- TELEINFO 1 -->
              <T1_ADCO>061961525045</T1_ADCO>
              <T1_OPTARIF>BBR*</T1_OPTARIF>
              <T1_ISOUSC>45</T1_ISOUSC>
              <T1_BASE>0</T1_BASE>
              <T1_HCHC>0</T1_HCHC>
              <T1_HCHP>0</T1_HCHP>
              <T1_EJPHN>0</T1_EJPHN>
              <T1_EJPHPM>0</T1_EJPHPM>
              <T1_BBRHCJB>11464805</T1_BBRHCJB>
              <T1_BBRHPJB>12143481</T1_BBRHPJB>
              <T1_BBRHCJW>2581594</T1_BBRHCJW>
              <T1_BBRHPJW>2143478</T1_BBRHPJW>
              <T1_BBRHCJR>348278</T1_BBRHCJR>
              <T1_BBRHPJR>701975</T1_BBRHPJR>
              <T1_PEJP>0</T1_PEJP>
              <T1_PTEC>HPJB</T1_PTEC>
              <T1_DEMAIN>----</T1_DEMAIN>
              <T1_IINST>5</T1_IINST>
              <T1_IINST1>5</T1_IINST1>
              <T1_IINST2>0</T1_IINST2>
              <T1_IINST3>0</T1_IINST3>
              <T1_ADPS>0</T1_ADPS>
              <T1_IMAX>90</T1_IMAX>
              <T1_IMAX1>90</T1_IMAX1>
              <T1_IMAX2>0</T1_IMAX2>
              <T1_IMAX3>0</T1_IMAX3>
              <T1_PPAP>1100</T1_PPAP>
              <T1_PAPP>1100</T1_PAPP>
              <T1_HHPHC>A</T1_HHPHC>
              <T1_MOTDETAT>000000</T1_MOTDETAT>
              <T1_PPOT>-</T1_PPOT>
              <!-- FIN TELEINFO 1 -->

              </response>
              Idem for T2 counter

              I prefer to use XML because i have more informations coming back

              Thanks a lot.

              Jean-Francois.

              Comment

              Working...
              X