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
    HS3Pro Running on a Raspberry Pi3
    68 Z-Wave Nodes, 174 Events, 326 Devices
    UPB modules via OMNI plugin/panel
    Plugins: Z-Wave, OMNI, HSTouch, weatherXML, EasyTrigger
    HSTouch Clients: 3 Android, 1 Joggler

  • #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- Mono 6.8X
    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
    HS4 Pro - V4.0.9.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
    HS4 Lite -

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, 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.
      HS3Pro Running on a Raspberry Pi3
      68 Z-Wave Nodes, 174 Events, 326 Devices
      UPB modules via OMNI plugin/panel
      Plugins: Z-Wave, OMNI, HSTouch, weatherXML, EasyTrigger
      HSTouch Clients: 3 Android, 1 Joggler

      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 2nd, 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- Mono 6.8X
        Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
        HS4 Pro - V4.0.9.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
        HS4 Lite -

        X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, 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- Mono 6.8X
          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
          HS4 Pro - V4.0.9.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
          HS4 Lite -

          X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, 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...
            HS3Pro Running on a Raspberry Pi3
            68 Z-Wave Nodes, 174 Events, 326 Devices
            UPB modules via OMNI plugin/panel
            Plugins: Z-Wave, OMNI, HSTouch, weatherXML, EasyTrigger
            HSTouch Clients: 3 Android, 1 Joggler

            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 4th, 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- Mono 6.8X
              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
              HS4 Pro - V4.0.9.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
              HS4 Lite -

              X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, 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.
                HS3Pro Running on a Raspberry Pi3
                68 Z-Wave Nodes, 174 Events, 326 Devices
                UPB modules via OMNI plugin/panel
                Plugins: Z-Wave, OMNI, HSTouch, weatherXML, EasyTrigger
                HSTouch Clients: 3 Android, 1 Joggler

                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 4th, 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- Mono 6.8X
                  Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
                  HS4 Pro - V4.0.9.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
                  HS4 Lite -

                  X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

                  Comment


                  • #10
                    ok - that sounds buggy to me... Let me take a look and see what I can find out...
                    HS3Pro Running on a Raspberry Pi3
                    68 Z-Wave Nodes, 174 Events, 326 Devices
                    UPB modules via OMNI plugin/panel
                    Plugins: Z-Wave, OMNI, HSTouch, weatherXML, EasyTrigger
                    HSTouch Clients: 3 Android, 1 Joggler

                    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 4th, 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- Mono 6.8X
                      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
                      HS4 Pro - V4.0.9.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
                      HS4 Lite -

                      X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, 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- Mono 6.8X
                        Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
                        HS4 Pro - V4.0.9.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
                        HS4 Lite -

                        X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, 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...
                          HS3Pro Running on a Raspberry Pi3
                          68 Z-Wave Nodes, 174 Events, 326 Devices
                          UPB modules via OMNI plugin/panel
                          Plugins: Z-Wave, OMNI, HSTouch, weatherXML, EasyTrigger
                          HSTouch Clients: 3 Android, 1 Joggler

                          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- Mono 6.8X
                            Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
                            HS4 Pro - V4.0.9.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
                            HS4 Lite -

                            X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, 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- Mono 6.8X
                              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
                              HS4 Pro - V4.0.9.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
                              HS4 Lite -

                              X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

                              Comment

                              Working...
                              X