I keep receiving the error in the Subject every five minutes. I'm currently running HS3 with a single Hue Bridge. The plug-in detects the bridge and everything seems to work fine. Not sure what this error is for/from...
Announcement
Collapse
No announcement yet.
Error: (BridgeFound)::Object reference not set to an instance of an object.
Collapse
X
-
Could you send me a trace of the plugin? Somehow there will be wrong reference in your situation, I hope to be able to find this in the trace so we can solve this.
For a correct trace, please follow these steps:- enable the detailed trace and log to file options in the configuration of the plugin
- Stop and start the plugin, so we have the start of the plugin included in the logs
- let the plugin initialize and let it run until it logs the error in the HS3 log.
- Then disable the detailed trace and log to file options.
- In the Logs subdirectory of your HS installation directory you will find JowiHue.log, please send me this file?
Thanks,
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
-
I'll spare you the email, as I ran the log (snippet below) and I figured out the problem, or at least the cause of the error. I have a HA Bridge running to enable control of lights from my Logitech Harmony. Your plug-in is detecting the bridge, but is unable to communicate with it, hence the error.
21:19:56.7850000 -- (UPNP.UDPListener) 9 blocks found to process
21:19:56.7850000 -- (UPNP.UDPListener) UPNP: Unknown Bridge found on IP 192.168.1.61
21:19:56.7850000 -- (MyBridges.BridgeFound) Checking url:http://192.168.1.61:8080/api/config bridgeip:192.168.1.61 port: 8080
21:19:56.7850000 -- (BridgeApi.GetJsonCommand) System.Net.WebException(0x80131509): The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at HSPI_JowiHue.BridgeApi.SendRequest(Uri uri, Byte[] jsonDataBytes, String contentType, String method)
at HSPI_JowiHue.BridgeApi.GetJsonCommand(String URL, Object ReqObject, Boolean Dict, String Type)
21:19:56.7850000 -- (MyBridges.BridgeCheckIP) called for 192.168.1.61:8080
21:19:56.8250000 -- (MyBridges.BridgeFound) Checking yet unknown bridge with ip 192.168.1.61:8080
21:19:56.8250000 -- (MyBridges.BridgeFound) unknown type bridge found on192.168.1.61:8080
21:19:56.8250000 -- (MyBridges.BridgeFound) Error: :Object reference not set to an instance of an object.
21:19:56.8250000 -- (MyBridges.BridgeFound) System.NullReferenceException(0x80004003): Object reference not set to an instance of an object.
at HSPI_JowiHue.MyBridges.BridgeFound(String BridgeIP, String Port)
21:19:56.8250000 -- (UPNP.UDPListener) UPNP: Known Bridge found on IP 192.168.1.90
21:19:57.3250000 -- (UPNP.Bridgescan) UPNP deCONZ []
21:19:57.3250000 -- (UPNP.Bridgescan) Debug: End search for bridges
21:19:57.7950000 -- (BridgeApi.GetJsonCommand) Sendrequest took 53 millisconds Thread: 0
Comment
-
Somehow the discovery of a HA bridge keeps changing. Though I did catch these emulators but every now and then it seems something changes and the plugin trips over it.
You you try and get the description.xml for me, so I can check in the plugin if I can catch it again?
f you go to 192.168.1.61\description.xml, it should open a text file showing contents?
-- 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
-
<?xml version="1.0" encoding="UTF-8" ?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://192.168.1.61:8080/</URLBase>
<device>
<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
<friendlyName>Philips hue (192.168.1.61)</friendlyName>
<manufacturer>Royal Philips Electronics</manufacturer>
<manufacturerURL>http://www.philips.com</manufacturerURL>
<modelDescription>Philips hue Personal Wireless Lighting</modelDescription>
<modelName>Philips hue bridge 2015</modelName>
<modelNumber>BSB002</modelNumber>
<modelURL>http://www.meethue.com</modelURL>
<serialNumber>000c2992e932</serialNumber>
<UDN>uuid:2f402f80-da50-11e1-9b23-000c2992e932</UDN>
<presentationURL>index.html</presentationURL>
<iconList>
<icon>
<mimetype>image/png</mimetype>
<height>48</height>
<width>48</width>
<depth>24</depth>
<url>hue_logo_0.png</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<height>120</height>
<width>120</width>
<depth>24</depth>
<url>hue_logo_3.png</url>
</icon>
</iconList>
</device>
</root>
Comment
-
I think I am seeing a possibility to recognize it, comparing with my Philips Hue bridge here. Thanks!-- 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
Comment