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.
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..
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
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
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 ***************************
{
"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 ***************************
Comment