Announcement

Collapse
No announcement yet.

programming best practices homeseer plugin

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

  • #16
    Originally posted by mfisher View Post
    The issue for me was that the plugin exe must be in the HS directory when HS starts in order for it to get initialized when it tries to connect. I was compiling and debugging as a remote system (both on my local machine and also trying from my laptop) and I could not connect because the exe was not seen by HS in the dir.
    Ah, I think this explains the behavior I was seeing developing my C# sample. It never connected until I published it to the HomeSeer directory and ran it there first. After that I was able to debug in VS with the output directory set to the default project folder.
    HS Pro 3.0 | Linux Ubuntu 16.04 x64 virtualized under Proxmox (KVM)
    Hardware: Z-NET - W800 Serial - Digi PortServer TS/8 and TS/16 serial to Ethernet - Insteon PLM - RFXCOM - X10 Wireless
    Plugins: HSTouch iOS and Android, RFXCOM, BlueIris, BLLock, BLDSC, BLRF, Insteon PLM (MNSandler), Device History, Ecobee, BLRing, Kodi, UltraWeatherWU3
    Second home: Zee S2 with Z-Wave, CT101 Z-Wave Thermostat, Aeotec Z-Wave microswitches, HSM200 occupancy sensor, Ecolink Z-Wave door sensors, STI Driveway Monitor interfaced to Zee S2 GPIO pins.

    Comment


    • #17
      indeed it works your solution , the only thing is a kind of bug in vs2012 , the working directory wont change if i dont change the build directory.

      i am glad this is solved.

      Comment


      • #18
        Ok, I see now, I'll put in a fix.
        website | buy now | support | youtube

        Comment


        • #19
          Has this been fixed?

          tenholde
          tenholde

          Comment


          • #20
            I believe this is ok now, did you try it with the 3.0.0.1 version?
            website | buy now | support | youtube

            Comment

            Unconfigured PHP Module

            Collapse

            Working...
            X