Announcement

Collapse
No announcement yet.

HAI Plugin Beta 1.0.0.5

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

    HAI Plugin Beta 1.0.0.5

    A new version of the HAI Plugin has been posted to this thread

    With this version, you can now use HS3 events to arm/disarm your panel.
    Screenshots:
    Attached Files
    HS4Pro on a Raspberry Pi4
    54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
    Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

    HSTouch Clients: 1 Android

    #2
    Rob,

    Works and is quick here!

    Doing side by side comparisions to Omnitouch Pro running / Omnitouch screens.
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
    HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

    HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
    HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

    Comment


      #3
      Nice - let me know how that comparison goes. I'm curious how the Omnitouch screens perform. I've thought about including an "alarm" screen for HSTouch clients to control the plugin. I'd like your thoughts on how that would work compared to the Omnitouch screens.
      HS4Pro on a Raspberry Pi4
      54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
      Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

      HSTouch Clients: 1 Android

      Comment


        #4
        The Omnitouch Pro screen unedited is very simple.

        SnapLink doesn't have any real code buttons; its just an on or off thing.

        Doing the key presses on the Omnitouch IP connected screen is fast with no delays.

        The last picture attached is the newest Omnitouch in wall controller which is Android based.

        The Omnitouch software runs on the same wintel touchscreens as HSTouch runs on such that I can have the two side by side to test with.
        Attached Files
        Last edited by Pete; March 2, 2014, 06:36 AM.
        - Pete

        Auto mator
        Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
        Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
        HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

        HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
        HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

        X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

        Comment


          #5
          Working fine and fast.

          Note that the mysql pieces do not work yet? I would though like to test local and remote mysql DB logging.
          - Pete

          Auto mator
          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
          HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

          HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
          HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

          Comment


            #6
            Yeah, the MySQL piece needs to be re-tooled. Another user was having problems when the root user password was set to root. I need to make a dialog to prompt the user for the current root password so it can create the HAI schema. Will be working on that asap...
            HS4Pro on a Raspberry Pi4
            54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
            Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

            HSTouch Clients: 1 Android

            Comment


              #7
              Thank-you Rob!

              Yup; saw something in the console logs when I changed the root mysql password to root; but it was sort of non descriptive.

              Do you have a little HAI mysql DB already done up for the plugin that I could seed my current beta test with?
              Last edited by Pete; March 4, 2014, 09:21 AM.
              - Pete

              Auto mator
              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
              HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

              HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
              HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

              X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

              Comment


                #8
                Originally posted by Pete View Post
                Thank-you Rob!

                Yup; saw something in the console logs when I changed the root mysql password to root; but it was sort of non descriptive.

                Do you have a little HAI mysql DB already done up for the plugin that I could seed my current beta test with?
                If you can set your mysql root password to root, it should build the HAI schema. If not, I might get you to test out the new automated app.
                HS4Pro on a Raspberry Pi4
                54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
                Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

                HSTouch Clients: 1 Android

                Comment


                  #9
                  Yup; tried that with the previous build and this one.

                  Will do the following right now...

                  1 - turn on the plugin console.
                  2 - Shutdown HS3
                  3 - Change the mysql root password to root.
                  root@ICS-ZM-2:~# mysqladmin -u root -p'oldpassword' password root
                  4 - started up HS3

                  3/4/2014 2:46:16 PM--Connected to HS
                  3/4/2014 2:46:16 PM--Checking root devices for HAI...
                  3/4/2014 2:46:18 PM--Device initialization is complete.
                  3/4/2014 2:46:18 PM--CONNECTION STATUS: Connecting
                  3/4/2014 2:46:18 PM--Panel Connected.
                  3/4/2014 2:46:18 PM--Identifying Controller...
                  3/4/2014 2:46:19 PM--CONTROLLER IS: OmniPro II (3.12)
                  3/4/2014 2:46:28 PM--Searching for key for [area1]
                  5 - disabled mysql logging in HS3 HAI GUI

                  Console shows:

                  root@ICS-ZM-2:/usr/local/HomeSeer# 3/4/2014 2:48:05 PM--cbUseMySQL=unchecked&id=cbUseMySQL
                  6 - enabled mysql logging in HS3 GUI

                  Console shows:

                  root@ICS-ZM-2:/usr/local/HomeSeer# 3/4/2014 2:50:02 PM--cbUseMySQL=checked&id=cbUseMySQL
                  7 - console logs show following but nothing related to mysql

                  root@ICS-ZM-2:/usr/local/HomeSeer# 3/4/2014 2:50:43 PM--UNSOLICITED: ExtendedStatus
                  3/4/2014 2:51:13 PM--UNSOLICITED: ExtendedStatus
                  8 - database directory shows: (note that both HAI.db and hai.hsd are zero files)

                  root@ICS-ZM-2:/usr/local/HomeSeer/Data/HAI# ls -l
                  total 0
                  -rwxr-xr-x 1 root root 0 Jan 17 12:09 HAI.db
                  -rwxr-xr-x 1 root root 0 Jan 17 12:09 hai.hsd
                  root@ICS-ZM-2:/usr/local/HomeSeer/Data/HAI#
                  Should I delete these two files to see if it creates new ones?
                  Last edited by Pete; March 4, 2014, 03:44 PM.
                  - Pete

                  Auto mator
                  Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                  Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                  HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                  HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                  HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                  X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                  Comment


                    #10
                    ok - that sounds buggy to me... Let me take a look and see what I can find out...
                    HS4Pro on a Raspberry Pi4
                    54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
                    Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

                    HSTouch Clients: 1 Android

                    Comment


                      #11
                      Thanks Rob!

                      Yup it would be nice to see something like this in the HS logs or HAI console...when starting the plugin.

                      Mar-04 4:04:32 PM Database HAI Loading Devices...
                      Mar-04 4:04:32 PM Database Opening up HAI database /usr/local/HomeSeer/Data/HAI.hsd
                      Mar-04 4:04:32 PM Database Opening up HAI mysqldatabase /usr/local/HomeSeer/Data/HAI.db
                      Last edited by Pete; March 4, 2014, 04:59 PM.
                      - Pete

                      Auto mator
                      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                      HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                      HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                      HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                      X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                      Comment


                        #12
                        Time integration would be nice; sort of dynamic yet hard coded NTP sync with an adjustable time frame and NTP server and HAI Sync (sort of soft and hard coded would be really nice).

                        Some just before and after thoughts....
                        - Pete

                        Auto mator
                        Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                        Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                        HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                        HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                        HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                        X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                        Comment


                          #13
                          I will check the API to see if there is a command to set the time. I suspect there is a call in there somewhere. That would be a nice feature to "re-synch" the clock every 'x' hours or so...
                          HS4Pro on a Raspberry Pi4
                          54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
                          Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

                          HSTouch Clients: 1 Android

                          Comment


                            #14
                            Thanks Rob.

                            Yup; its there.

                            SET TIME COMMAND

                            This message is used to set the time, date, and daylight savings time flag in an HAI controller.
                            Start character 0x21
                            Message length 0x08
                            Message type 0x13
                            Data 1 year (0-99)
                            Data 2 month (1-12)
                            Data 3 day (1-31)
                            Data 4 day of week (1-7)
                            Data 5 hour (0-23)
                            Data 6 minute (0-59)
                            Data 7 daylight savings time flag (0-1)
                            CRC 1 varies
                            CRC 2 varies
                            Expected reply ACKNOWLEDGE
                            - Pete

                            Auto mator
                            Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                            Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                            HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                            HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                            HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                            X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                            Comment


                              #15
                              @rob,

                              We should lock this OP / and posts now as the title the posts are legacy eh?
                              - Pete

                              Auto mator
                              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                              HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                              HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                              HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                              X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                              Comment

                              Working...
                              X