Announcement

Collapse
No announcement yet.

Fan/Light Issues again

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

    Fan/Light Issues again

    Over the past couple of weeks since my upgrade to the HS4 PI (I'm now running 4.0.4.3), I've noticed some issues with my infamous fan/light in the office. I've had the remote control handy, so I've not bothered too much about it - but I had some time today to look into it.

    When I looked at the JSON for the unit, it had the info for the Rapsbee unit there - no idea why, but it probably explained why it wasn't working.
    So...

    Turned on logging
    Deleted the fan from HS4
    Shut down the PlugIn
    Pulled the log file (-1)
    Started the PlugIn.
    Got this error when starting it.

    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.FeatureCreation.CreateFeatureFan(Int32 Deviceref, MyLightsTableRow lightrow)
    Added On/off feature For Light - Office Fan Unit
    Device added for light Light - Office Fan Unit
    Creating device for Light - Office Fan Unit of type Fan
    Let it run for a bit, and see if it picked up anything.
    Shut the PlugIn.
    Pulled the log file (-2).
    Started the PlugIn.
    Let it run again.
    Turned off logging, and pulled the log file (-3).


    The fan light is working, but the actual fan unit is nowhere to be seen - I'm guessing because of the error on the creation?
    I've just emailed the 3 log files off to you.


    G


    Here's the JSON from the root device..

    **************************** Object info *****************************
    {
    "etag": "39f96bc579250755c87094425e617a15",
    "hascolor": false,
    "lastannounced": "2021-03-13T20:51:31Z",
    "lastseen": "2021-03-14T22:44Z",
    "manufacturername": "King Of Fans, Inc.",
    "modelid": "HDC52EastwindFan",
    "name": "Light - Office Fan Unit",
    "state": {
    "alert": "none",
    "bri": 51,
    "on": false,
    "reachable": true,
    "speed": 0
    },
    "swversion": "0x0000000F",
    "type": "Fan",
    "uniqueid": "00:22:a3:00:00:22:c9:44-01"
    }
    ************************* End Object info ***************************

    #2
    Anything you want me to try, or any additional logs you need?


    G

    Comment


      #3
      Graham,
      Not yet. I have the logs, but I am in between a larger change that I want to round up first. Will be back on this
      -- 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


        #4
        gmitch64

        Extra question after all... Is the fan device not created at all? Not even as a floating device? I am under the impression that it might have created the device, but did not finish correctly.

        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