Announcement

Collapse
No announcement yet.

CRITICAL: Plugin has disconnected.

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

    CRITICAL: Plugin has disconnected.

    The plugin apears to be crashing/restarting.
    I was able to setup devices. I even had motion detection and images showing. Then, at some point while I was trying to setup an IP cam stream in Homeseer's camera settings, it stopped working. I'm not saying that is related. It's just the only thing different that I was doing. I am running this on a full Unbuntu linux PC. I disabled and enabled the plugin a couple of times to see if I could get to the settings page. It went to Loaded Remotely for it's status. I then could not disable it. I stopped homeseer, started it again, and the plugin is disabled. Below is a paste of the HS log and my system information.

    Any troubleshooting advice or info that I can give?

    Thank you for your time,

    Max

    Code:
    2/23/2021 5:11:48 PM HomeSeer Info Plugin Unifi with ID: Unifi and Instance: has disconnected
    2/23/2021 5:11:46 PM HomeSeer Starting Plug-In Plugin Unifi started successfully in 42 milliseconds
    2/23/2021 5:11:46 PM Unifi Info Initialization of Unifi version 4.0.6.0 complete
    2/23/2021 5:11:46 PM HomeSeer Starting Plug-In Initializing plugin Unifi ...
    2/23/2021 5:11:46 PM HomeSeer Starting Plug-In Unifi loaded in 15026 milliseconds
    2/23/2021 5:11:31 PM HomeSeer Info Plugin Unifi with instance Unifi has connected. IP:127.0.0.1:56866
    2/23/2021 5:11:31 PM HomeSeer Warning I/O interface Unifi is down, executable is not running, restarting ...
    2/23/2021 5:11:03 PM HomeSeer Info Plugin Unifi with ID: Unifi and Instance: has disconnected
    2/23/2021 5:11:00 PM HomeSeer Starting Plug-In Plugin Unifi started successfully in 40 milliseconds
    2/23/2021 5:11:00 PM Unifi Info Initialization of Unifi version 4.0.6.0 complete
    2/23/2021 5:11:00 PM HomeSeer Starting Plug-In Initializing plugin Unifi ...
    2/23/2021 5:11:00 PM HomeSeer Starting Plug-In Unifi loaded in 15027 milliseconds
    2/23/2021 5:10:45 PM HomeSeer Info Plugin Unifi with instance Unifi has connected. IP:127.0.0.1:56844
    2/23/2021 5:10:45 PM HomeSeer Warning I/O interface Unifi is down, executable is not running, restarting ...
    2/23/2021 5:10:17 PM HomeSeer Info Plugin Unifi with ID: Unifi and Instance: has disconnected
    2/23/2021 5:10:15 PM HomeSeer Starting Plug-In Plugin Unifi started successfully in 39 milliseconds
    2/23/2021 5:10:15 PM Unifi Info Initialization of Unifi version 4.0.6.0 complete
    2/23/2021 5:10:15 PM HomeSeer Starting Plug-In Initializing plugin Unifi ...
    2/23/2021 5:10:15 PM HomeSeer Starting Plug-In Unifi loaded in 15027 milliseconds
    2/23/2021 5:10:00 PM HomeSeer Info Plugin Unifi with instance Unifi has connected. IP:127.0.0.1:56822
    2/23/2021 5:10:00 PM HomeSeer Warning I/O interface Unifi is down, executable is not running, restarting ...
    2/23/2021 5:09:32 PM HomeSeer Info Plugin Unifi with ID: Unifi and Instance: has disconnected
    2/23/2021 5:09:30 PM HomeSeer Starting Plug-In Plugin Unifi started successfully in 40 milliseconds
    Code:
    Date/time=2/23/2021 5:07:40 PM EST
    Version=HS4 Standard Edition 4.1.11.0 (Linux)
    MONO Version=Mono JIT compiler version 6.12.0.107 (tarball Thu Dec 10 05:22:56 UTC 2020)
    
    License=Registered
    Confguration File=/usr/local/HomeSeer/Data/HomeSeerData.json
    Uptime=0 Days 0 Hours 15 Minutes 2 Seconds
    Lan IP=10.7.29.19 (729automation)
    Device Count=401
    Event Count=49
    Plugins Enabled=Z-Wave:,Zigbee:,EasyTrigger:,Unifi:
    Modules/Threads=88 Modules, 58 Threads
    Available Threads=399
    HomeSeer Memory Used=163 Mbytes
    Plugins Installed=EasyTrigger 3.0.0.73,Unifi 4.0.6.0,Zigbee 4.0.8.0,Z-Wave 3.0.3.1

    #2
    Hi Max!

    Thanks for trying the plugin, sorry for the bad experience. Let's see if we can fix this!

    Make sure the plugin is not running. Open Unifi.ini (in your HomeSeer/config directory) with your favorite editor and look for "UnifiSystem" in the [Settings] section. Take that number and look for a section with that same name. It is probably the only section that fully consists of numbers. In that section, add (or edit) the following:
    LogToFile=True
    LogReceived=True
    LogSend=True
    LogDevUpd=True
    LogDebug=True

    Then start the plugin until it crashes again and send me the log (in HomeSeer/Logs) by PM as it might include some personal information.

    If you have the time, a second step might be to remove features one-by-one in the Unifi.ini file to see if we can find the offending one. Just make sure to backup the ini file first so you can revert when this is fixed. The layout is quite obvious, there is a section per device type, and the entries in the section are the same as the HS4 feature addresses (MAC address of the Unifi device and a unique code per feature). Just remove the line to disable that feature. The HS4 feature device won't be removed.

    Lastly, we might speed up this process if you allow me to reproduce this on your system, but that involves opening port 443 and giving me some Unifi credentials. Let me know by PM if you are willing to do that.

    Thanks again!
    stefxx

    Comment


      #3
      I made the entries. I then enabled the plug in. I watched it connect/disconnect a few times. Then I disabled it.
      the log is to big to send in messenger. If you want you can send me your email and we can try that.

      I am limited to cell phone use right now. So, editing the config again won't happen until later.

      As far as remote access, this is a customer's network. I would have to jump threw a few hoops to allow external access. So, I would like to avoid that if possible.

      Comment


        #4
        Hi! I'll PM you with my email address so you can send the log to me. Thanks!
        stefxx

        Comment

        Working...
        X