Announcement

Collapse
No announcement yet.

Jon00 Homeseer 2 - Homeseer 3 - Homeseer 4 Connector

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

    I don't have the source code for the HS2 restart anymore so cannot check what could be going on. That said, it would look at the process name which is different between HS2 & HS3. I don't have an answer unfortunately. It should be possible to modify HS3 restart to use the HS2 process name and recompile a version for HS2..
    Jon

    Comment


      Originally posted by jono View Post
      Hi Jon,
      I have an interesting issue. I run HS2 and HS3 on the same machine thanks to this great connector. However, when I run Jon00 Restart in HS2, it creates havoc in my same machine HS3. The havoc appears to be an abrupt (not gentle) unintended restart of HS3 as well and when HS3 comes back up I often lose config files and HS3 plug-ins don't always restart correctly.
      So the obvious thing is to turn off Jon00 Restart in HS2 which I have done.
      My question is whether there is a way to restart HS2 on a periodic basis without causing these unintended consequence HS3 problems on the same machine?
      An update on this: It turns out that a manual restart of HS2 causes the same problem. So I started looking at the startup HS2 log and the first thing a start-up of HS2 does after starting is "End plug-in process ___". These plug-ins appear to be my HS3 plug-ins, as one of them MeiUnifi doesn't even exist in HS2!
      So something in the HS2 start-up process immediately shuts down HS3 plug-ins running on the same machine. Has anyone else seen this? Is there a work around?
      Perhaps I should post this on the HS3 Software forum. I started here because of the HS2-HS3 connector, but it seems independent of the connector.
      Further, if HS3 is not running then the following log entries do not appear in HS2 on start-up. They only appear when HS3 is running.


      Click image for larger version  Name:	Capture.PNG Views:	0 Size:	10.1 KB ID:	1314805

      Comment


        I would suggest that HS2 (on startup) is first terminating any running plugins by enumerating through all processes starting with HSPI. Unfortunately HS3 also uses plugins with the same name hence the issue seen.
        Jon

        Comment


          Hi Jon, I am interested in using this connector for an HS3 to HS3 connection as indicated towards the end of the documentation file. I have two machines located on the same vpn tunnel network but in different locations behind different routers and different IP addresses. I'm interested in sharing device information across them.
          HS3 Machine B has variables that will change. I would like to capture those changes on HS3 Machine C.
          I set up the HS3Settings.txt file on Machine B and I set up HS3 Connector to run on both machines.

          My settings file for machine B (ip address 192.168.1.10) is:
          hs3hostadd=192.168.1.10
          hs2clientadd=192.168.2.10
          porta=9010
          portb=9020

          My settings file for machine C (ip address 192.168.2.10) is:
          hs3hostadd=192.168.2.10
          hs2clientadd=192.168.1.10
          porta=9020
          portb=9010

          I created test variables T-A1 on Machine B and T-A2 on Machine C.
          So my devices.txt file on Machine B is:
          T-A1 T-A2 0

          I tried changing test device T-A1 on Machine B, but nothing happens to T-A2 on Machine C.
          Any sense of what I may be doing wrong?
          Do I need to be opening firewall ports on the sending or receiving machine? Again, the machines are on the same local network with a vpn tunnel.
          Thanks for any guidance you can give me.
          Jono

          Comment


            Can you view the HS3 web pages from Machine B on Machine C and vice versa?

            I would suggest that you need to ensure Port 9020 and Port 9010 are open between the two subnets
            Jon

            Comment


              Originally posted by jon00 View Post
              Can you view the HS3 web pages from Machine B on Machine C and vice versa?

              I would suggest that you need to ensure Port 9020 and Port 9010 are open between the two subnets
              Opening the ports specifically (as opposed to for the program Jon00HS3Gateway.exe) fixed the problem. Thank you Jon!

              Comment


                Jon, I have one minor nit I'm trying to fix in my HS3 to HS3 set up. The receiving machine shows the status icons in giant size (about 6X normal in height), even though the sending machine has the status icons of normal size. Is there a way to adjust this by adjusting what the connector sends, or by adjusting how the receiving machine renders it? Here is a snip of the receiving machine device page:
                Click image for larger version

Name:	Capture.PNG
Views:	100
Size:	24.5 KB
ID:	1361005

                Comment


                  That would need a modification to the gateway. In your HS3Devices.txt, set parameter 3 to a value of 2. That should then only display the status text. If you want an image, add this using the status/Graphics tab for the virtual device.
                  Jon

                  Comment


                    Originally posted by jon00 View Post
                    That would need a modification to the gateway. In your HS3Devices.txt, set parameter 3 to a value of 2. That should then only display the status text. If you want an image, add this using the status/Graphics tab for the virtual device.
                    Thank you Jon. It works!

                    Comment


                      FYI, I decided to update the HS3 client which now renders the icon size correctly. I've updated the download zip accordingly.
                      Jon

                      Comment


                        Hi Jon,

                        Thank you so much for your work on this! I am using your plugin to close the gap between HST's shortcomings in fixing their plugins in HS3 but using working HS2 versions. My setup is that both HS2Pro and 3Pro are on the same machine. The only plugin I have enabled in HS2 is Global Cache Pro and HSTouch Server. In turn, I have disabled the Global Cache plugin in HS3Pro - Hoping this will eliminate the shutting down of plugins given the same HSPI naming conventions you mention above.

                        Here is my issue:

                        HS2 Connector zip from your site is throwing a Windows 10 Trojan flag and I can't get it downloaded correctly. Thankfully, I installed HS2 Connector when my hometroller XPe was working and many of the DLL and configs where already in there. I was able to finally get it downloaded via a MAC and was able to get the updated exe updated. However, now the exe will not execute due to a warning that pops up and says it is untrusted. I have to click on More Info and say, Run Anyway. This poses a problem when the machine reboots as this will fail to load without intervention. Given the number of reboots win10 needs, this is a challenge. How can I fix this?

                        HS3 Connector exe does NOT throw this error and executes just fine.

                        What I have done to try and solve for this is to add HS2, HS2 Connector and HS3 Connector exe's to the Startup Task I made to load HS3. I followed this link to do the initial Task Scheduler task: https://helpdesk.homeseer.com/articl...hs3-on-windows

                        This does not solve the HS2 Connector not loading automatically however.

                        Once both connectors are manually going, I do get correct log entries saying this in HS2:

                        4/20/2020 9:05:47 AM - Jon00_HS2GW - Ready
                        4/20/2020 9:05:47 AM - Jon00_HS2GW - Shutdown mode 0
                        4/20/2020 9:05:47 AM - Jon00_HS2GW - RX port xxx
                        4/20/2020 9:05:47 AM - Jon00_HS2GW - TX port xxx
                        4/20/2020 9:05:47 AM - Jon00_HS2GW - Version 1.1.4
                        4/20/2020 9:05:47 AM - Jon00_HS2GW - Connected to Homeseer
                        4/20/2020 9:05:47 AM - Network - Remote client connected from: 192.168.1.xx

                        And this in HS3 Log:
                        Apr-20 8:19:50 AM Jon00_HS3GW Ready
                        Apr-20 8:19:50 AM Jon00_HS3GW RX port xx
                        Apr-20 8:19:50 AM Jon00_HS3GW TX port xx
                        Apr-20 8:19:50 AM Jon00_HS3GW Version 1.1.5
                        Apr-20 8:19:50 AM Jon00_HS3GW Connected to Homeseer

                        I have a second issue:

                        Both my HS2Devices.txt and HS3Devices are blank.

                        I do have both connectors up and running in the tray and I did click the "Setup" in the tray by right clicking it. I got this in the HS2 log and nothing in my HS3 log:

                        4/20/2020 9:31:27 AM - Jon00_HS2GW - Setup Completed
                        4/20/2020 9:31:23 AM - Web Server - Web Server authorized local login successful from: 192.168.1.xx User: xxxx
                        4/20/2020 9:31:23 AM - Jon00_HS2GW - Setup Started


                        Any help is appreciated, sir!

                        Thank you!!

                        Steve
                        Anyone on Windows 10 can follow this procedure or use this to recover autostart if an S6 unit is not auto starting HS3. Note that User Account Control (UAC) in
                        Transitioning to HS3Pro .298 - WinXPEmbedded

                        Hometroller S3 Pro - WinXPEmbedded - HSP 2.5.0.81 - BLStat - HSPhone - HSTouch Srvr 1.0.0.73 - Touchpad - BLLan - BLOccupied - DSC Plug 2.0.0.14 - BLStat .38

                        Comment


                          I've sent you a PM
                          Jon

                          Comment

                          Working...
                          X