Announcement

Collapse
No announcement yet.

JowiHue restarting every hour after recent plugin update

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

    JowiHue restarting every hour after recent plugin update

    I haven't touched HS4 in months because everything has been working flawlessly. Recently popped into HS4 Plugins page and did an update on JowiHue plugin to version 4.0.8.1 and now I am getting random errors and the plugin restarts every hour or so.

    Random errors that popup but then are resolved after a restart of the plugin:
    Code:
    Warning: Please doublecheck parameters with documentation?
    Error: (PluginFunction): calling SetLightsKelvin: Exception has been thrown by the target of an invocation.
    Code:
    Error: (SetLightsOff):Index was outside the bounds of the array.




    Here are the logs to during self restart:

    11/13/2022 9:54:28 PM
    HomeSeer
    Error
    Error while getting feature 0 : Object reference not set to an instance of an object.

    11/13/2022 9:54:28 PM
    JowiHue
    Error
    Error: (CreateNewDevice):Exception while executing GetDeviceWithFeaturesByRef - devRef : 3833 - message : Error while converting 4181 to HsFeature : An entry with the same key already exists.

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    ============================================================ ==================================

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    -------------------------------------Plugin info ---------------------------------------------

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    0 Animations available for use in this plugin

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    1 Local scenes available for use in the JowiHue plugin

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    27 Presets available for use in the JowiHue plugin

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    ============================================================ ==================================

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    -------------------------------------Bridge info ---------------------------------------------

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    1 Daylight sensor found on bridge 'Philips Hue Hub'

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    Bridge Philips Hue Hub is at version 1953188020 of type BSB002

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    11 Groups available on bridge 'Philips Hue Hub'

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    23 lights and/or plugs connected to bridge 'Philips Hue Hub'

    11/13/2022 9:54:28 PM
    JowiHue
    Info

    ============================================================ ==================================

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    There are 0 JowiHue triggers used in events

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    There are 14 JowiHue actions used in events

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    ============================================================ ==================================

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    HTTPS access enabled on bridge Philips Hue Hub

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    Started Philips bridge Philips Hue Hub

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    Events enabled on Philips Hue Hub refresh bridge every 3 minutes

    11/13/2022 9:54:28 PM
    JowiHue
    Info
    Philips Hue V2 API initialised

    11/13/2022 9:54:26 PM
    JowiHue
    Info
    starting Philips APIv2

    11/13/2022 9:54:26 PM
    JowiHue
    Info
    Enabling basic ClipAPIV2 on Philips Hue Hub

    11/13/2022 9:54:26 PM
    JowiHue
    Info
    * Connected to bridge Philips Hue Hub at 192.168.1.1:80 (EDIT: REMOVED IP ADDRESS)

    11/13/2022 9:54:26 PM
    HomeSeer
    Starting Plug-In
    Plugin JowiHue started successfully in 520 milliseconds

    11/13/2022 9:54:26 PM
    JowiHue
    Info
    ****** Creating table DeviceTypes

    11/13/2022 9:54:26 PM
    JowiHue
    Info
    dropped table devicetypes: 0

    11/13/2022 9:54:26 PM
    JowiHue
    Info
    settings loaded

    11/13/2022 9:54:26 PM
    JowiHue
    Info
    Starting plugin JowiHue 4.0.8.1 On Windows

    11/13/2022 9:54:26 PM
    JowiHue
    Info
    Logfile is set to C:\Program Files (x86)\HomeSeer HS3/Logs/JowiHue.log

    11/13/2022 9:54:25 PM
    HomeSeer
    Starting Plug-In
    Initializing plugin JowiHue ...

    11/13/2022 9:54:25 PM
    HomeSeer
    Starting Plug-In
    JowiHue loaded in 15064 milliseconds

    11/13/2022 9:54:13 PM
    HomeSeer
    Event
    Event Trigger "Room Occupancy (Scripts Not Logged) Bathroom - Re-enable Motion Detection"

    11/13/2022 9:54:10 PM
    HomeSeer
    Info
    Plugin JowiHue with instance JowiHue has connected. IP:127.0.0.1:64612

    11/13/2022 9:54:10 PM
    HomeSeer
    Warning
    I/O interface JowiHue is down, executable is not running, restarting ...


    #2
    Any guidance to resolve this issue? I'm afraid to update to 4.0.8.2 from 4.0.8.1 with other people posting issues with the 4.0.8.2 update. Appreciate any help.

    Comment


      #3
      Just upgraded to 4.0.8.2 hoping ti would resolve these issues and still getting the same errors.

      11/16/2022 3:07:32 PM
      HomeSeer
      Error
      Error while getting feature 0 : Object reference not set to an instance of an object.

      11/16/2022 3:07:32 PM
      JowiHue
      Error
      Error: (CreateNewDevice):Exception while executing GetDeviceWithFeaturesByRef - devRef : 3833 - message : Error while converting 4192 to HsFeature : An entry with the same key already exists.

      Comment


        #4
        It's been a while since I updated HS4, updating to the current release of 4.2.16.0 seems to have resolved my issues. Will post back if otherwise.

        Comment


          #5
          For future reference, you may want to just restart HS4 first rather than updating the release. Updating also does a restart (obviously) but a restart alone may be enough to resolve your issue vs. updating and restarting. Also, I do a shutdown and a full backup of the "HomeSeer HS4" directory prior to updating. Kind of a safety net in case something goes sideways.
          "if I have seen further [than others], it is by standing on the shoulders of giants." --Sir Isaac Newton (1675)

          Comment


            #6
            Originally posted by kenm View Post
            For future reference, you may want to just restart HS4 first rather than updating the release. Updating also does a restart (obviously) but a restart alone may be enough to resolve your issue vs. updating and restarting. Also, I do a shutdown and a full backup of the "HomeSeer HS4" directory prior to updating. Kind of a safety net in case something goes sideways.
            Valid tips, thank you. I do a daily backup of HS4 via it's own backup system and I also use BLBackup to a NAS but I should start doing proper restarts moving forward. Thank you again.

            UPDATE: It's been almost 24 hours and no errors from JowiHue plugin so I am happy this issue was resolved with a simple update.

            Comment


              #7
              Back again from being away. Glad you got this resolved. It is possible parts of the changes in the HS4 version have influenced the plugin. The PluginSDK changes sometimes with the new HS version. Sometimes I have to update the plugin to follow the SDK changes. Maybe I have changed something that caused the issues you saw and missed noticing it was holding breaking changes. I hope to prevent this for the future.

              Wim
              -- Wim

              Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

              1210 devices/features ---- 392 events ----- 40 scripts

              Comment

              Working...
              X