Coder Social home page Coder Social logo

homebridge-foscamcamera's People

Contributors

echamberlain avatar jonathanweinberg avatar luisiam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-foscamcamera's Issues

Error on start up

Hi,

I have the following issue: when starting Homebridge (latest) (running on macOS Sierra) with Foscam in the config I get this error:

(node:56500) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): RequestError: Error: getaddrinfo ENOTFOUND http http:80

The rest of the accessories and the WeMo platform continue to function, though.

Here's the config (edited):

{  
    "bridge":{  
        "name":"Homebridge",
        "username":"AA:AA:AA:AA:AA:AA",
        "port":12345,
        "pin":"000-00-000"
    },
    "description":"This is my home.",
    "accessories": [
        {
            "accessory": "TV",
            "name": "TV",
            "description": "Livingroom TV",
            "ip": "192.168.178.71",
            "maxVolume": 15
        }
    ],
    "platforms":[  
        {  
            "platform":"BelkinWeMo",
            "name":"WeMo Platform",
            "noMotionTimer":180,
            "ignoredDevices":[  

            ]
        },
        {
            "platform": "FoscamCamera",
	    "name": "Foscam",
	    "cameras": [{
				"username": "homebridge",
				"password": "notTheRealPWD",
				"host": "http://192.168.178.28",
				"port": 9339,
				"stay": 0,
				"away": 0,
				"night": 0
			}]
        }
    ]
}

If I remove the Foscam platform, my homebridge starts up correctly and all the pre-existing platforms and accessories continue to function correctly.

I tried blowing up the persist folder and setting up everything again, but I get the same error.

Is there something else I can try?

Thanks,
Nick

How to configure "away", "stay" and "night"

I don't know which values set on labels "away", "stay" and "night". The documentation of the plugin say:

The support configuration depends on your device. The foscam public cgi defines the following:

bit 3 | bit 2 | bit 1 | bit 0

bit 0 = Ring bit 1 = Send email bit 2 = Snap picture bit 3 = Record

Note: The configuration is defined as int, thus the following are valid, for example: 0 (Do Nothing), 1 (Ring), 2 (Email), 3 (Ring + Email), 4 (Record), 12 (Picture and Record), 13 (Ring, Picture and Record), etc.

But I don't understand why 13 is Ring, Picture and Record; and why 3 is Ring+Email,... Anyone can say me how to create this values? I need the value for Email+Picture+Record and the value for Picture+Record.

An other question is: "Picture" is for iOS Notification or for save the screenshot on the SD card of Foscam camera?

Thanks!!

No Stream

Hi there everything is working, I can arm my cam and getting notification with snapshot, however the Stream is not working rtsp is working. Its a Foscam FI9900P!

[6/28/2017, 2:49:53 PM] [Foscam] FI9900P Motion Detected! [6/28/2017, 2:49:54 PM] [Foscam] Foscam-NG: Getting snapshot. [6/28/2017, 2:49:55 PM] [Foscam] Foscam-NG: Got snapshot. [6/28/2017, 2:49:55 PM] [Foscam] FI9900P is armed (night). [6/28/2017, 2:49:58 PM] [Foscam] FI9900P is set to disarmed. [6/28/2017, 3:18:36 PM] [Foscam] Foscam-NG: Getting snapshot. [6/28/2017, 3:18:36 PM] [Foscam] Foscam-NG: Got snapshot. [6/28/2017, 3:18:36 PM] [Foscam] FI9900P is disarmed. [6/28/2017, 3:18:46 PM] [Foscam] Foscam-NG: Getting snapshot. [6/28/2017, 3:18:47 PM] [Foscam] Foscam-NG: Got snapshot. [6/28/2017, 3:18:53 PM] [Foscam] FI9900P is set to armed (stay). [6/28/2017, 3:18:58 PM] [Foscam] Foscam-NG: Getting snapshot. [6/28/2017, 3:19:19 PM] [Foscam] Foscam-NG: Got snapshot. [6/28/2017, 3:19:29 PM] [Foscam] Foscam-NG: Getting snapshot. [6/28/2017, 3:19:30 PM] [Foscam] Foscam-NG: Got snapshot. Unhandled rejection RequestError: Error: read ECONNRESET at new RequestError (/usr/lib/node_modules/homebridge-foscamcamera/node_modules/request-promise/lib/errors.js:11:15) at Request.RP$callback [as _callback] (/usr/lib/node_modules/homebridge-foscamcamera/node_modules/request-promise/lib/rp.js:60:32) at self.callback (/usr/lib/node_modules/homebridge-foscamcamera/node_modules/request/request.js:188:22) at emitOne (events.js:96:13) at Request.emit (events.js:191:7) at Request.onRequestError (/usr/lib/node_modules/homebridge-foscamcamera/node_modules/request/request.js:884:8) at emitOne (events.js:96:13) at ClientRequest.emit (events.js:191:7) at Socket.socketErrorListener (_http_client.js:358:9) at emitOne (events.js:96:13) at Socket.emit (events.js:191:7) at emitErrorNT (net.js:1279:8) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickCallback (internal/process/next_tick.js:104:9)

Welcome Support

Hi... at first thank for the great Job....

I own a Netatmo Welcome Cam and I am so currious to integrate it in homebridge...

When do you release the support of this Netatmo module ?

when the motion sernsor reset the motion status, homebridge will quit abnormally

the following is the debug info
/usr/local/lib/node_modules/homebridge-foscamcamera/index.js:411
thisCamera.resetMotion = null;
TypeError: Cannot set property 'resetMotion' of undefined
at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-foscamcamera/index.js:411:28)
at tryOnTimeout (timers.js:232:11)
at Timer.listOnTimeout (timers.js:202:5)

i'm getting error

"[Thu Sep 29 2016 23:50:18 GMT-0700 (PDT)] ERROR LOADING PLUGIN homebridge-foscamcamera:
[Thu Sep 29 2016 23:50:18 GMT-0700 (PDT)] Error: Could not locate the bindings file. Tried:
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/build/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/build/Debug/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/build/Release/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/out/Debug/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/Debug/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/out/Release/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/Release/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/build/default/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/compiled/4.2.1/linux/arm/binding.node
at bindings (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/node-opus/node_modules/bindings/bindings.js:88:9)
at Object. (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/lib/ref.js:5:47)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/lib/struct.js:49:11)
at Module._compile (module.js:435:26)"

Camera model support?

I've got older Foscam FI8910W (MJPEG) cameras - are these supported? If not which models are supported?

Receiving the following error on home bridge launch.

(node:13071) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): StatusCodeError: 404 - <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD>
<BODY BGCOLOR="#cc9999"><H4>404 Not Found</H4>
File not found.
</BODY></HTML>

One iPhone OK, an iPad and iPhone Shows 'No Response'

I'm not sure what has happened. We have come back from holiday, and only my iPhone 7 iOS 10.1 is successfully showing the motion/and security accessories. Another iPhone 7 10.0 and an iPad Air 2 iOS 10.1.1 shows both accessories as 'No Response'. All devices are on the same Wi-Fi. iPad is activg as the Home Hub.

Why would one iPhone work, but the other two iOS devices not?

iOS 10.2

Hi,

Any news for streaming on Home app running with iOS 10.2?

Tnx.

No Live Stream on FI9800P

Hi Guys, I need your help.
I have 2 Foscam cameras, one is R2 (V2) that works perfectly with this plugin, I can watch live stream even on 3G connection.

the problem I have is with my new Foscam FI9800P camera, the camera is recognized and I can get snapshots, I just can't get a live stream on Home app.

I noticed 2 things that might help you understand.

For the R2 camera I can see that the connection is using the port from the config file (88), Example: rtsp://username:[email protected]:88/videoMain
but for the FI9800P camera it seems like it's not using the port from the config file which is set to 89, instead it's using port 554 which I noticed related to the RTSP setup in the Foscam settings.
Example: rtsp://username:[email protected]:554/videoMain

another thing is that I see some kind of an error in the logs:

Apr 25 18:30:57 raspberrypi homebridge[10725]: (node:10725) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: self.transcoderClass is not a constructor
Apr 25 18:31:07 raspberrypi homebridge[10725]: [4/25/2017, 6:31:07 PM] [Living Room Foscam] Stop: rtsp://username:[email protected].**:554/videoMain

I'm using iPhone 7 with both iPad and AppleTV 4 as hubs, all of them are using the latest betas.

Please help me get the live stream!
Thanks

Notifications issue

Hello,

I notice every few hours I have to restart homebridge (which restart foscam plugin) because it doesn't detect motion (I stand front of camera for the test) and I don't get any notification. After restart homebridge it works again during few hours, after that it doesn't detect motion again and I doesn't get any notification again.

Do you know why?

Thank you.

iOS11 Can't Add Cameras as Accessories

In iOS10, each camera could be added to HomeKit as separate accessories with the same pin as when Homebridge was added. However, in iOS11, the cameras don't appear as accessories to add. Homebridge may be added, but pairing with each camera separately cannot be done as the instructions state:

"Due to protocol limitation, users will need to pair with the camera in a HomeKit app separately.
Pairing PIN is the same as the HomeBridge pairing PIN."

How are cameras added to Homebridge in iOS11?

No notification

I'm using a foscam FI9853EP with the plugin. I'm having troubles with notifications (Home and Eve app). I get notifications when changing the status (away, night, etc) however no notifaction when motion is detected. I do get them in the log file:

 [1/10/2017, 4:03:40 PM] [Foscam] FI9853EP Motion Detected!
[1/10/2017, 4:03:41 PM] [Foscam] Foscam-NG: Getting snapshot.
[1/10/2017, 4:03:41 PM] [Foscam] Foscam-NG: Getting snapshot.
[1/10/2017, 4:03:44 PM] [Foscam] Foscam-NG: Got snapshot.

If i go to the Home app manually I can see the snapshot. When I click on it it says 'camera not responding'.


[1/10/2017, 4:10:51 PM] [Foscam] Foscam Camera Info: { result: 0,
  productName: 'FI9853EP',
  serialNo: 1,
  devName: 'FI9853EP',
  mac: '00626E6AF18E',
  year: 2017,
  mon: 1,
  day: 10,
  hour: 14,
  min: 1,
  sec: 3,
  timeZone: -3600,
  firmwareVer: '2.22.2.27',
  hardwareVer: '1.5.3.19',
  pkgTime: '2016-08-01_15%3A12%3A19' } rtsp://xxxx:[email protected]:88/videoMain rtsp://xxxxx:[email protected]:88/videoSub

And here a part of the log:

HAPServer [45:FD:69:16:9F:DC] HAP Request: GET /characteristics?id=1.21 +4ms
  Accessory [Foscam FI9853EP] Getting value for Characteristic "Streaming Status" +8ms
  Accessory [Foscam FI9853EP] Got Characteristic "Streaming Status" value: AQEA +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +77ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":31,"iid":9,"ev":false}] +8ms
  Accessory [Homebridge] Unregistering Characteristic "Contact Sensor State" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +57ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +9ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":47,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Motion Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +46ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":47,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Motion Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +44ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":48,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Temperature" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +104ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":47,"iid":9,"ev":false}] +8ms
  Accessory [Homebridge] Unregistering Characteristic "Motion Detected" for events +3ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +44ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":49,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Relative Humidity" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +44ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":46,"iid":9,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "Contact Sensor State" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +50ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":50,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Contact Sensor State" for events +3ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +45ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":46,"iid":9,"ev":false}] +7ms
  Accessory [Homebridge] Unregistering Characteristic "Contact Sensor State" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
[1/10/2017, 4:20:07 PM] [Hue] Hue Brains: hue bridge request: get /
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +71ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":51,"iid":9,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "Motion Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +68ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":48,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Temperature" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +10ms
  EventedHTTPServer [::ffff:192.168.2.34] Sending HTTP event '1.44' with data: {"characteristics":[{"aid":1,"iid":44,"value":false}]} +59ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +27ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":52,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Motion Detected" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +63ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":49,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Relative Humidity" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +109ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":53,"iid":9,"ev":true},{"aid":53,"iid":10,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Outlet In Use" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +44ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":50,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Contact Sensor State" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +56ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":54,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Contact Sensor State" for events +3ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +14ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +96ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":50,"iid":9,"ev":false}] +10ms
  Accessory [Homebridge] Unregistering Characteristic "Contact Sensor State" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +17ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +49ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":55,"iid":9,"ev":true},{"aid":55,"iid":10,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Brightness" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +46ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":51,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Motion Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +49ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":56,"iid":9,"ev":true},{"aid":56,"iid":10,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Brightness" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +46ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":51,"iid":9,"ev":false}] +9ms
  Accessory [Homebridge] Unregistering Characteristic "Motion Detected" for events +3ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +45ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":108,"iid":9,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +60ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":53,"iid":9,"ev":true},{"aid":53,"iid":10,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Outlet In Use" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +51ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":57,"iid":9,"ev":true},{"aid":57,"iid":10,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Brightness" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +58ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":52,"iid":9,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "Motion Detected" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +56ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":109,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +3ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +48ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":52,"iid":9,"ev":false}] +8ms
  Accessory [Homebridge] Unregistering Characteristic "Motion Detected" for events +3ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +52ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":111,"iid":9,"ev":true},{"aid":111,"iid":10,"ev":true},{"aid":111,"iid":11,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Position" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Target Position" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Position State" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +106ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":54,"iid":9,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "Contact Sensor State" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +51ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":80,"iid":9,"ev":true},{"aid":80,"iid":10,"ev":true},{"aid":80,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +3ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +50ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":54,"iid":9,"ev":false}] +7ms
  Accessory [Homebridge] Unregistering Characteristic "Contact Sensor State" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +58ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":81,"iid":9,"ev":true},{"aid":81,"iid":10,"ev":true},{"aid":81,"iid":12,"ev":true},{"aid":81,"iid":13,"ev":true},{"aid":81,"iid":14,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +53ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":55,"iid":9,"ev":true},{"aid":55,"iid":10,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +3ms
  Accessory [Homebridge] Registering Characteristic "Brightness" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +51ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":82,"iid":9,"ev":true},{"aid":82,"iid":10,"ev":true},{"aid":82,"iid":12,"ev":true},{"aid":82,"iid":13,"ev":true}] +15ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +6ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +53ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":56,"iid":9,"ev":true},{"aid":56,"iid":10,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Brightness" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +52ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":83,"iid":9,"ev":true},{"aid":83,"iid":10,"ev":true},{"aid":83,"iid":12,"ev":true},{"aid":83,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +3ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +67ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":57,"iid":9,"ev":true},{"aid":57,"iid":10,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +3ms
  Accessory [Homebridge] Registering Characteristic "Brightness" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +63ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":84,"iid":9,"ev":true},{"aid":84,"iid":10,"ev":true},{"aid":84,"iid":12,"ev":true},{"aid":84,"iid":13,"ev":true},{"aid":84,"iid":14,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +3ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +54ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":108,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +61ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":85,"iid":9,"ev":true},{"aid":85,"iid":10,"ev":true},{"aid":85,"iid":12,"ev":true},{"aid":85,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +103ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":109,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +53ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":86,"iid":9,"ev":true},{"aid":86,"iid":11,"ev":true},{"aid":86,"iid":12,"ev":true},{"aid":86,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Temperature" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +55ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":111,"iid":9,"ev":true},{"aid":111,"iid":10,"ev":true},{"aid":111,"iid":11,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Position" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Target Position" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Position State" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +56ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":87,"iid":9,"ev":true},{"aid":87,"iid":11,"ev":true},{"aid":87,"iid":12,"ev":true},{"aid":87,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Motion Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +49ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":111,"iid":9,"ev":false}] +7ms
  Accessory [Homebridge] Unregistering Characteristic "Current Position" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +56ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":88,"iid":9,"ev":true},{"aid":88,"iid":11,"ev":true},{"aid":88,"iid":12,"ev":true},{"aid":88,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Ambient Light Level" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +54ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":80,"iid":9,"ev":true},{"aid":80,"iid":10,"ev":true},{"aid":80,"iid":12,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +66ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":89,"iid":9,"ev":true},{"aid":89,"iid":10,"ev":true},{"aid":89,"iid":12,"ev":true},{"aid":89,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +66ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":82,"iid":9,"ev":true},{"aid":82,"iid":10,"ev":true},{"aid":82,"iid":12,"ev":true},{"aid":82,"iid":13,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +59ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":90,"iid":9,"ev":true},{"aid":90,"iid":11,"ev":true},{"aid":90,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +8ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +7ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +65ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":81,"iid":9,"ev":true},{"aid":81,"iid":10,"ev":true},{"aid":81,"iid":12,"ev":true},{"aid":81,"iid":13,"ev":true},{"aid":81,"iid":14,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +9ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +105ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":91,"iid":9,"ev":true},{"aid":91,"iid":11,"ev":true},{"aid":91,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +56ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":83,"iid":9,"ev":true},{"aid":83,"iid":10,"ev":true},{"aid":83,"iid":12,"ev":true},{"aid":83,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +81ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":92,"iid":9,"ev":true},{"aid":92,"iid":11,"ev":true},{"aid":92,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +3ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +6ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":84,"iid":9,"ev":true},{"aid":84,"iid":10,"ev":true},{"aid":84,"iid":12,"ev":true},{"aid":84,"iid":13,"ev":true},{"aid":84,"iid":14,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +3ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +104ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":93,"iid":9,"ev":true},{"aid":93,"iid":11,"ev":true},{"aid":93,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +6ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":85,"iid":9,"ev":true},{"aid":85,"iid":10,"ev":true},{"aid":85,"iid":12,"ev":true},{"aid":85,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +108ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":94,"iid":9,"ev":true},{"aid":94,"iid":11,"ev":true},{"aid":94,"iid":12,"ev":true}] +9ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +3ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +17ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":86,"iid":9,"ev":true},{"aid":86,"iid":11,"ev":true},{"aid":86,"iid":12,"ev":true},{"aid":86,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Temperature" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +117ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":95,"iid":9,"ev":true},{"aid":95,"iid":11,"ev":true},{"aid":95,"iid":12,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +6ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":87,"iid":9,"ev":true},{"aid":87,"iid":11,"ev":true},{"aid":87,"iid":12,"ev":true},{"aid":87,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Motion Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +6ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +158ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":96,"iid":9,"ev":true},{"aid":96,"iid":11,"ev":true},{"aid":96,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +6ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":87,"iid":9,"ev":false}] +8ms
  Accessory [Homebridge] Unregistering Characteristic "Motion Detected" for events +3ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +80ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":88,"iid":9,"ev":true},{"aid":88,"iid":11,"ev":true},{"aid":88,"iid":12,"ev":true},{"aid":88,"iid":13,"ev":true}] +9ms
  Accessory [Homebridge] Registering Characteristic "Current Ambient Light Level" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +52ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":97,"iid":9,"ev":true},{"aid":97,"iid":11,"ev":true},{"aid":97,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +65ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":89,"iid":9,"ev":true},{"aid":89,"iid":10,"ev":true},{"aid":89,"iid":12,"ev":true},{"aid":89,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP request: /characteristics +57ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":98,"iid":9,"ev":true},{"aid":98,"iid":11,"ev":true},{"aid":98,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.34] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +52ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":90,"iid":9,"ev":true},{"aid":90,"iid":11,"ev":true},{"aid":90,"iid":12,"ev":true}] +9ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +3ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +91ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":90,"iid":9,"ev":false}] +8ms
  Accessory [Homebridge] Unregistering Characteristic "Occupancy Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +83ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +8ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":91,"iid":9,"ev":true},{"aid":91,"iid":11,"ev":true},{"aid":91,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +134ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +9ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":91,"iid":9,"ev":false}] +7ms
  Accessory [Homebridge] Unregistering Characteristic "Occupancy Detected" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +85ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":92,"iid":9,"ev":true},{"aid":92,"iid":11,"ev":true},{"aid":92,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +80ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":93,"iid":9,"ev":true},{"aid":93,"iid":11,"ev":true},{"aid":93,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +81ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":92,"iid":9,"ev":false}] +8ms
  Accessory [Homebridge] Unregistering Characteristic "Occupancy Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +74ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":93,"iid":9,"ev":false}] +8ms
  Accessory [Homebridge] Unregistering Characteristic "Occupancy Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +12ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +79ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":94,"iid":9,"ev":true},{"aid":94,"iid":11,"ev":true},{"aid":94,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +78ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":94,"iid":9,"ev":false}] +8ms
  Accessory [Homebridge] Unregistering Characteristic "Occupancy Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +93ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":95,"iid":9,"ev":true},{"aid":95,"iid":11,"ev":true},{"aid":95,"iid":12,"ev":true}] +9ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +109ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":95,"iid":9,"ev":false}] +9ms
  Accessory [Homebridge] Unregistering Characteristic "Occupancy Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +84ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":96,"iid":9,"ev":true},{"aid":96,"iid":11,"ev":true},{"aid":96,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +135ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":96,"iid":9,"ev":false}] +8ms
  Accessory [Homebridge] Unregistering Characteristic "Occupancy Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +9ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +77ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":97,"iid":9,"ev":true},{"aid":97,"iid":11,"ev":true},{"aid":97,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +12ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +80ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":97,"iid":9,"ev":false}] +8ms
  Accessory [Homebridge] Unregistering Characteristic "Occupancy Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +82ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":98,"iid":9,"ev":true},{"aid":98,"iid":11,"ev":true},{"aid":98,"iid":12,"ev":true}] +9ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP request: /characteristics +78ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":98,"iid":9,"ev":false}] +10ms
  Accessory [Homebridge] Unregistering Characteristic "Occupancy Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.22] HTTP Response is finished +7ms
[1/10/2017, 4:20:22 PM] [Hue] Hue Brains: hue bridge request: get /
  EventedHTTPServer [::ffff:192.168.2.36] New connection from client +19s
  EventedHTTPServer [::ffff:192.168.2.36] HTTP server listening on port 44081 +4ms
  EventedHTTPServer [::ffff:192.168.2.36] New connection from client +82ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP server listening on port 33571 +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /pair-verify +41ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: POST /pair-verify +4ms
  HAPServer [CC:22:3D:E3:CE:30] Pair verify step 1/2 +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +71ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /pair-verify +10ms
  HAPServer [45:FD:69:16:9F:DC] HAP Request: POST /pair-verify +5ms
  HAPServer [45:FD:69:16:9F:DC] Pair verify step 1/2 +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +91ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /pair-verify +79ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: POST /pair-verify +4ms
  HAPServer [CC:22:3D:E3:CE:30] Pair verify step 2/2 +8ms
  HAPServer [CC:22:3D:E3:CE:30] Client 48A4ABB1-A126-47BF-A5C5-91809DAB9D88 verification complete +30ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +15ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /pair-verify +11ms
  HAPServer [45:FD:69:16:9F:DC] HAP Request: POST /pair-verify +4ms
  HAPServer [45:FD:69:16:9F:DC] Pair verify step 2/2 +8ms
  HAPServer [45:FD:69:16:9F:DC] Client 48A4ABB1-A126-47BF-A5C5-91809DAB9D88 verification complete +31ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +14ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /accessories +26ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: GET /accessories +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +452ms
[1/10/2017, 4:20:42 PM] [Hue] Hue Brains: hue bridge request: get /
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /accessories +7s
  HAPServer [45:FD:69:16:9F:DC] HAP Request: GET /accessories +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +49ms
[1/10/2017, 4:20:42 PM] [eDomoticz] Retrying connection to MQTT broker... (2/5)
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +914ms
  HAPServer [45:FD:69:16:9F:DC] HAP Request: PUT /characteristics +5ms
  Accessory [Foscam FI9853EP] Processing characteristic set: [{"aid":1,"iid":14,"ev":true},{"aid":1,"iid":21,"ev":true},{"aid":1,"iid":28,"ev":true},{"aid":1,"iid":35,"ev":true},{"aid":1,"iid":39,"ev":true},{"aid":1,"iid":40,"ev":true},{"aid":1,"iid":41,"ev":true},{"aid":1,"iid":44,"ev":true},{"aid":1,"iid":45,"ev":true},{"aid":1,"iid":46,"ev":true}] +9ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Streaming Status" for events +5ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Streaming Status" for events +5ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Streaming Status" for events +4ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Streaming Status" for events +4ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Security System Current State" for events +6ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Security System Target State" for events +4ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Status Fault" for events +5ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Motion Detected" for events +4ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Status Active" for events +5ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +9ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +322ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +5ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":113,"iid":11,"ev":true},{"aid":113,"iid":14,"ev":true},{"aid":74,"iid":12,"ev":true},{"aid":74,"iid":15,"ev":true},{"aid":75,"iid":12,"ev":true},{"aid":75,"iid":15,"ev":true},{"aid":76,"iid":12,"ev":true},{"aid":76,"iid":15,"ev":true},{"aid":77,"iid":12,"ev":true},{"aid":77,"iid":15,"ev":true},{"aid":104,"iid":11,"ev":true},{"aid":104,"iid":14,"ev":true},{"aid":105,"iid":17,"ev":true},{"aid":105,"iid":20,"ev":true},{"aid":101,"iid":14,"ev":true},{"aid":101,"iid":17,"ev":true},{"aid":31,"iid":11,"ev":true},{"aid":31,"iid":14,"ev":true},{"aid":46,"iid":11,"ev":true},{"aid":46,"iid":14,"ev":true},{"aid":47,"iid":11,"ev":true},{"aid":47,"iid":14,"ev":true},{"aid":48,"iid":11,"ev":true},{"aid":48,"iid":14,"ev":true},{"aid":49,"iid":11,"ev":true},{"aid":49,"iid":14,"ev":true},{"aid":50,"iid":11,"ev":true},{"aid":50,"iid":14,"ev":true},{"aid":51,"iid":11,"ev":true},{"aid":51,"iid":14,"ev":true},{"aid":52,"iid":11,"ev":true},{"aid":52,"iid":14,"ev":true},{"aid":53,"iid":12,"ev":true},{"aid":53,"iid":15,"ev":true},{"aid":54,"iid":11,"ev":true},{"aid":54,"iid":14,"ev":true},{"aid":55,"iid":12,"ev":true},{"aid":55,"iid":15,"ev":true},{"aid":56,"iid":12,"ev":true},{"aid":56,"iid":15,"ev":true},{"aid":57,"iid":12,"ev":true},{"aid":57,"iid":15,"ev":true},{"aid":110,"iid":11,"ev":true},{"aid":110,"iid":14,"ev":true},{"aid":108,"iid":11,"ev":true},{"aid":108,"iid":14,"ev":true},{"aid":109,"iid":11,"ev":true},{"aid":109,"iid":14,"ev":true},{"aid":111,"iid":13,"ev":true},{"aid":111,"iid":16,"ev":true},{"aid":79,"iid":8,"ev":true},{"aid":79,"iid":11,"ev":true},{"aid":80,"iid":14,"ev":true},{"aid":80,"iid":17,"ev":true},{"aid":81,"iid":16,"ev":true},{"aid":81,"iid":19,"ev":true},{"aid":82,"iid":15,"ev":true},{"aid":82,"iid":18,"ev":true},{"aid":83,"iid":15,"ev":true},{"aid":83,"iid":18,"ev":true},{"aid":84,"iid":16,"ev":true},{"aid":84,"iid":19,"ev":true},{"aid":85,"iid":15,"ev":true},{"aid":85,"iid":18,"ev":true},{"aid":86,"iid":15,"ev":true},{"aid":86,"iid":18,"ev":true},{"aid":87,"iid":15,"ev":true},{"aid":87,"iid":18,"ev":true},{"aid":88,"iid":15,"ev":true},{"aid":88,"iid":18,"ev":true},{"aid":89,"iid":15,"ev":true},{"aid":89,"iid":18,"ev":true},{"aid":90,"iid":14,"ev":true},{"aid":90,"iid":17,"ev":true},{"aid":91,"iid":14,"ev":true},{"aid":91,"iid":17,"ev":true},{"aid":92,"iid":14,"ev":true},{"aid":92,"iid":17,"ev":true},{"aid":93,"iid":14,"ev":true},{"aid":93,"iid":17,"ev":true},{"aid":94,"iid":14,"ev":true},{"aid":94,"iid":17,"ev":true},{"aid":95,"iid":14,"ev":true},{"aid":95,"iid":17,"ev":true},{"aid":96,"iid":14,"ev":true},{"aid":96,"iid":17,"ev":true},{"aid":97,"iid":14,"ev":true},{"aid":97,"iid":17,"ev":true},{"aid":98,"iid":14,"ev":true},{"aid":98,"iid":17,"ev":true}] +11ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +7ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +6ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +11ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +8ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +11ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +6ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +12ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +6ms
  HAPServer [45:FD:69:16:9F:DC] HAP Request: PUT /characteristics +4ms
  Accessory [Foscam FI9853EP] Processing characteristic set: [{"aid":1,"iid":39,"ev":true}] +8ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Security System Current State" for events +3ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
[1/10/2017, 4:20:43 PM] [eDomoticz] Successfully connected to MQTT broker.
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +402ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":113,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +6ms
  HAPServer [45:FD:69:16:9F:DC] HAP Request: PUT /characteristics +4ms
  Accessory [Foscam FI9853EP] Processing characteristic set: [{"aid":1,"iid":14,"ev":true}] +8ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Streaming Status" for events +3ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +107ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":74,"iid":9,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "On" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics?id=1.14 +6ms
  HAPServer [45:FD:69:16:9F:DC] HAP Request: GET /characteristics?id=1.14 +4ms
  Accessory [Foscam FI9853EP] Getting value for Characteristic "Streaming Status" +7ms
  Accessory [Foscam FI9853EP] Got Characteristic "Streaming Status" value: AQEA +6ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +165ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":75,"iid":9,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +6ms
  HAPServer [45:FD:69:16:9F:DC] HAP Request: PUT /characteristics +4ms
  Accessory [Foscam FI9853EP] Processing characteristic set: [{"aid":1,"iid":28,"ev":true}] +7ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Streaming Status" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +92ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":76,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics?id=1.28 +5ms
  HAPServer [45:FD:69:16:9F:DC] HAP Request: GET /characteristics?id=1.28 +4ms
  Accessory [Foscam FI9853EP] Getting value for Characteristic "Streaming Status" +8ms
  Accessory [Foscam FI9853EP] Got Characteristic "Streaming Status" value: AQEA +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +88ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":77,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +3ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +6ms
  HAPServer [45:FD:69:16:9F:DC] HAP Request: PUT /characteristics +4ms
  Accessory [Foscam FI9853EP] Processing characteristic set: [{"aid":1,"iid":35,"ev":true}] +7ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Streaming Status" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +92ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":104,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics?id=1.35 +6ms
  HAPServer [45:FD:69:16:9F:DC] HAP Request: GET /characteristics?id=1.35 +4ms
  Accessory [Foscam FI9853EP] Getting value for Characteristic "Streaming Status" +7ms
  Accessory [Foscam FI9853EP] Got Characteristic "Streaming Status" value: AQEA +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +6ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +124ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":105,"iid":15,"ev":true},{"aid":105,"iid":23,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +19ms
  HAPServer [45:FD:69:16:9F:DC] HAP Request: PUT /characteristics +3ms
  Accessory [Foscam FI9853EP] Processing characteristic set: [{"aid":1,"iid":21,"ev":true}] +11ms
  Accessory [Foscam FI9853EP] Registering Characteristic "Streaming Status" for events +3ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +91ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":31,"iid":9,"ev":true}] +9ms
  Accessory [Homebridge] Registering Characteristic "Contact Sensor State" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics?id=1.21 +5ms
  HAPServer [45:FD:69:16:9F:DC] HAP Request: GET /characteristics?id=1.21 +5ms
  Accessory [Foscam FI9853EP] Getting value for Characteristic "Streaming Status" +7ms
  Accessory [Foscam FI9853EP] Got Characteristic "Streaming Status" value: AQEA +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +6ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +140ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":46,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Contact Sensor State" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +109ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +8ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":48,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Temperature" for events +3ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +76ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":47,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Motion Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +48ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":49,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Relative Humidity" for events +3ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +52ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":50,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Contact Sensor State" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +47ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":51,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Motion Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +52ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":52,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Motion Detected" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +53ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":53,"iid":9,"ev":true},{"aid":53,"iid":10,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Outlet In Use" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +72ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":54,"iid":9,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "Contact Sensor State" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +55ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":55,"iid":9,"ev":true},{"aid":55,"iid":10,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Brightness" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
[1/10/2017, 4:20:46 PM] [Foscam] FI9853EP Motion Detected!
  EventedHTTPServer [::ffff:192.168.2.34] Sending HTTP event '1.44' with data: {"characteristics":[{"aid":1,"iid":44,"value":true}]} +125ms
  EventedHTTPServer [::ffff:192.168.2.36] Sending HTTP event '1.44' with data: {"characteristics":[{"aid":1,"iid":44,"value":true}]} +22ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +25ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":56,"iid":9,"ev":true},{"aid":56,"iid":10,"ev":true}] +9ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Brightness" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +56ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":57,"iid":9,"ev":true},{"aid":57,"iid":10,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Brightness" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +14ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /resource +50ms
  HAPServer [45:FD:69:16:9F:DC] HAP Request: POST /resource +4ms
[1/10/2017, 4:20:46 PM] [Foscam] Foscam-NG: Getting snapshot.
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +117ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":108,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +78ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":109,"iid":9,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "On" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +53ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":111,"iid":9,"ev":true},{"aid":111,"iid":10,"ev":true},{"aid":111,"iid":11,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Position" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Target Position" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Position State" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +67ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":81,"iid":9,"ev":true},{"aid":81,"iid":10,"ev":true},{"aid":81,"iid":12,"ev":true},{"aid":81,"iid":13,"ev":true},{"aid":81,"iid":14,"ev":true}] +9ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +3ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +112ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":82,"iid":9,"ev":true},{"aid":82,"iid":10,"ev":true},{"aid":82,"iid":12,"ev":true},{"aid":82,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +98ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":80,"iid":9,"ev":true},{"aid":80,"iid":10,"ev":true},{"aid":80,"iid":12,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +6ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +59ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":83,"iid":9,"ev":true},{"aid":83,"iid":10,"ev":true},{"aid":83,"iid":12,"ev":true},{"aid":83,"iid":13,"ev":true}] +9ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +76ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":84,"iid":9,"ev":true},{"aid":84,"iid":10,"ev":true},{"aid":84,"iid":12,"ev":true},{"aid":84,"iid":13,"ev":true},{"aid":84,"iid":14,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +62ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":85,"iid":9,"ev":true},{"aid":85,"iid":10,"ev":true},{"aid":85,"iid":12,"ev":true},{"aid":85,"iid":13,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +93ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":87,"iid":9,"ev":true},{"aid":87,"iid":11,"ev":true},{"aid":87,"iid":12,"ev":true},{"aid":87,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Motion Detected" for events +3ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +7ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
[1/10/2017, 4:20:48 PM] [Foscam] Foscam-NG: Got snapshot.
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +52ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +7s
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":86,"iid":9,"ev":true},{"aid":86,"iid":11,"ev":true},{"aid":86,"iid":12,"ev":true},{"aid":86,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Temperature" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +138ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":88,"iid":9,"ev":true},{"aid":88,"iid":11,"ev":true},{"aid":88,"iid":12,"ev":true},{"aid":88,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Current Ambient Light Level" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Battery Level" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +112ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":89,"iid":9,"ev":true},{"aid":89,"iid":10,"ev":true},{"aid":89,"iid":12,"ev":true},{"aid":89,"iid":13,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Event" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Programmable Switch Output State" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +56ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":90,"iid":9,"ev":true},{"aid":90,"iid":11,"ev":true},{"aid":90,"iid":12,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +6ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +54ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +3ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":91,"iid":9,"ev":true},{"aid":91,"iid":11,"ev":true},{"aid":91,"iid":12,"ev":true}] +11ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +56ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":92,"iid":9,"ev":true},{"aid":92,"iid":11,"ev":true},{"aid":92,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +62ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":94,"iid":9,"ev":true},{"aid":94,"iid":11,"ev":true},{"aid":94,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +9ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +60ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":93,"iid":9,"ev":true},{"aid":93,"iid":11,"ev":true},{"aid":93,"iid":12,"ev":true}] +7ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +67ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +21ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":95,"iid":9,"ev":true},{"aid":95,"iid":11,"ev":true},{"aid":95,"iid":12,"ev":true}] +23ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +8ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +10ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +10ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +97ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":96,"iid":9,"ev":true},{"aid":96,"iid":11,"ev":true},{"aid":96,"iid":12,"ev":true}] +10ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +3ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +5ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +8ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +112ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":98,"iid":9,"ev":true},{"aid":98,"iid":11,"ev":true},{"aid":98,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP request: /characteristics +83ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +4ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":97,"iid":9,"ev":true},{"aid":97,"iid":11,"ev":true},{"aid":97,"iid":12,"ev":true}] +8ms
  Accessory [Homebridge] Registering Characteristic "Occupancy Detected" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Active" for events +4ms
  Accessory [Homebridge] Registering Characteristic "Status Fault" for events +4ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP Response is finished +7ms
[1/10/2017, 4:20:57 PM] [Hue] Hue Brains: hue bridge request: get /
  EventedHTTPServer [::ffff:192.168.2.36] Client connection error: write EPIPE +4s
  EventedHTTPServer [::ffff:192.168.2.36] Client connection closed +5ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP connection was closed +13ms
  EventedHTTPServer [::ffff:192.168.2.36] HTTP server was closed +7ms

Any clue what's going wrong?

Foscam-Homebridge plugin doesn't work anymore

Hello,

I notice Foscam is not recognize in homebridge anymore and I get this message in log :

(node:24555) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): RequestError: Error: connect EHOSTUNREACH 192.xxx.xxx.xxx:xxxx(myip)

I just update my ubuntu system, friday it worked but now I don't manage to make it works.

I try to update with this command too without success :

sudo sudo npm install -g homebridge-foscamcamera

Do you have a solution?

Thank you.

Remote Access via Apple TV Gen 3

This issue is not to do with the live stream. I am aware this is an issue with iOS 10.1.

The Motion Sensor and the Arm/Disarm doesn't work on 3G;

img_8185

The picture shows both as 'No Response'. This has nothing to do with the video streaming part of the plugin right? As soon as I am on 3G I get this. On Wi-Fi, they work fine.

Microphone and loudspeaker control

Hello, it is not possible through a HomeKit app unfortunately the speaker and the microphone does not control over the app. A developer of a HomeKit app told me:

The developer of the Homebridge plugin for Fosam is to implement the services of type HMSERVICETYPESPEAKER and HMSERVICETYPEMICROPHONE, each with the characteristic HMCHARACTERISTICTYPEMUTE.

Do you understand what I say? My English is unfortunately not good, sorry.

s

The livestream of my Maginon IPC-10AC camera works great in the browser, but HomeKit is only pulling the stills. I've tried adjusting the resolution to 320X240 and the FPS to 20 but to no avail.
Does anybody have any idea how to show the stream?
Config.json looks like this:
`"platform": "Camera-ffmpeg-omx",

"cameras": [{
"name": "Hjem",
"videoConfig": {
"source": "-re -i http://correctipandport.asf?user=user&pwd=pass&resolution=640X480",
"stillImageSource": "-re -i http://correctipandport/snapshot.cgi?user=user&pwd=pass",
"maxStreams": 2,
"maxWidth": 640,
"maxHeight": 480,
"maxFPS": 30
}
}]
}]
}`

Can't load video stream from C1 in Home app

My cameras are added and get snapshots and motion detection switches set up fine but when I try to load the video stream in the Home app I get this error:

(node:18706) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 9): TypeError: self.transcoderClass is not a constructor

This only happens on my C1's. I have other models that work fine.

Plugin Loading SyntaxError

Apr 10 18:59:27 raspberrypi3 homebridge[6356]: [Mon Apr 10 2017 18:59:27 GMT-0400 (EDT)] ====================
Apr 10 18:59:27 raspberrypi3 homebridge[6356]: [Mon Apr 10 2017 18:59:27 GMT-0400 (EDT)] ERROR LOADING PLUGIN homebridge-foscamcamera:
Apr 10 18:59:27 raspberrypi3 homebridge[6356]: [Mon Apr 10 2017 18:59:27 GMT-0400 (EDT)] SyntaxError: Unexpected token =
Apr 10 18:59:27 raspberrypi3 homebridge[6356]: at exports.runInThisContext (vm.js:53:16)
Apr 10 18:59:27 raspberrypi3 homebridge[6356]: at Module._compile (module.js:414:25)
Apr 10 18:59:27 raspberrypi3 homebridge[6356]: at Object.Module._extensions..js (module.js:442:10)
Apr 10 18:59:27 raspberrypi3 homebridge[6356]: at Module.load (module.js:356:32)
Apr 10 18:59:27 raspberrypi3 homebridge[6356]: at Function.Module._load (module.js:311:12)
Apr 10 18:59:27 raspberrypi3 homebridge[6356]: at Module.require (module.js:366:17)
Apr 10 18:59:27 raspberrypi3 homebridge[6356]: at require (module.js:385:17)
Apr 10 18:59:27 raspberrypi3 homebridge[6356]: at Object. (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/foscam-binary-client/index.js:6:26)
Apr 10 18:59:27 raspberrypi3 homebridge[6356]: at Module._compile (module.js:435:26)
Apr 10 18:59:27 raspberrypi3 homebridge[6356]: at Object.Module._extensions..js (module.js:442:10)
Apr 10 18:59:27 raspberrypi3 homebridge[6356]: [Mon Apr 10 2017 18:59:27 GMT-0400 (EDT)] ====================

No camera picture

I was able to attach two cameras to home bridge. Both are working well.
I have home at two different IOS devices.
The device(1) I used to add the second camera shows both cameras with snapshot / livestream.
The other one(2) shows only one camera, while the second one is black.
When I remove the accessory at that device(2) and attach it back, I see both, but at the first device(1) the new camera is black.

Looking at the log file, the device with the black camera does not invoke any request towards the home bridge.
In the config.json, both cameras have the same definition except the camera ip address.
Any idea?

ECONNREFUSED Error on Startup

I'm attempting to connect to two FOSCAM Fl9826P cameras, one wired, one wireless. When I start up homebridge, the wired camera (10.0.1.52) loads properly into HomeKit, the wireless camera (172.16.42.8) does not. I get the following error:
(node:7951) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): RequestError: Error: connect ECONNREFUSED 172.16.42.8:88

The ECONNREFUSED error makes it sound like the username or password is incorrect. I double/triple checked my config.json to verify it matches the username/password in the iOS app where the video stream loads correctly.

Any help appreciated!

Here is my config.json
{
"bridge": {
"name": "Homebridge",
"username": "REDACTED",
"port": REDACTED,
"pin": "REDACTED"
},

    "description": "This is an example configuration file with one fake accessory and one fake platform. You can use thi$

    "platforms": [{
            "platform": "FoscamCamera",
            "name": "Foscam",
            "cameras": [{
                    "username": "REDACTED",
                    "password": "REDACTED",
                    "host": "172.16.42.8"
            }, {
                    "username": "REDACTED",
                    "password": "REDACTED",
                    "host": "10.0.1.52"
            }]
    }]

}

Unhandled rejection TypeError: Cannot read property 'split' of null

I'm getting an error but I don't know if my camera is supported.

$ node -v
v6.7.0

$ npm -v
3.10.8

Foscam Fl9821W V2.1
1.5.3.19
2.21.2.27

Oct 04 21:33:11 osmc-bedroom homebridge[19977]: Receiver socket listening 0.0.0.0:9761
Oct 04 21:33:12 osmc-bedroom homebridge[19977]: [10/4/2016, 9:33:12 PM] Homebridge is running on port 51826.
Oct 04 21:33:21 osmc-bedroom homebridge[19977]: [10/4/2016, 9:33:21 PM] [Foscam Kitchen] FoscamAccessory configured with jamie 192.168.1.2 80 3
Oct 04 21:33:22 osmc-bedroom homebridge[19977]: Unhandled rejection TypeError: Cannot read property 'split' of null

Crashing with the follow error

Crashing my bridge, any help to fix this error would be great;

Unhandled Rejection Detected at: Promise Promise {
{ RequestError: Error: connect ETIMEDOUT MyIP:8010
at new RequestError (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request-promise/lib/errors.js:11:15)
at Request.RP$callback [as _callback] (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request-promise/lib/rp.js:60:32)
at self.callback (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request/request.js:186:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request/request.js:845:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at Socket.socketErrorListener (_http_client.js:310:9)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at emitErrorNT (net.js:1278:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
name: 'RequestError',
message: 'Error: connect ETIMEDOUT MyIP:8010',
cause:
{ Error: connect ETIMEDOUT MyIP:8010
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
code: 'ETIMEDOUT',
errno: 'ETIMEDOUT',
syscall: 'connect',
address: 'MyIP',
port: 8010 },
error:
{ Error: connect ETIMEDOUT MyIP:8010
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
code: 'ETIMEDOUT',
errno: 'ETIMEDOUT',
syscall: 'connect',
address: 'MyIP',
port: 8010 },
options:
{ rejectUnauthorized: true,
qs: [Object],
uri: 'http://MyIP:8010/cgi-bin/CGIProxy.fcgi',
method: 'GET',
callback: undefined,
transform: undefined,
simple: true,
resolveWithFullResponse: false },
response: undefined } } reason: { RequestError: Error: connect ETIMEDOUT MyIP:8010
at new RequestError (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request-promise/lib/errors.js:11:15)
at Request.RP$callback [as _callback] (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request-promise/lib/rp.js:60:32)
at self.callback (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request/request.js:186:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request/request.js:845:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at Socket.socketErrorListener (_http_client.js:310:9)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at emitErrorNT (net.js:1278:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
name: 'RequestError',
message: 'Error: connect ETIMEDOUT MyIP:8010',
cause:
{ Error: connect ETIMEDOUT MyIP:8010
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
code: 'ETIMEDOUT',
errno: 'ETIMEDOUT',
syscall: 'connect',
address: 'MyIP',
port: 8010 },
error:
{ Error: connect ETIMEDOUT MyIP:8010
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
code: 'ETIMEDOUT',
errno: 'ETIMEDOUT',
syscall: 'connect',
address: 'MyIP',
port: 8010 },
options:
{ rejectUnauthorized: true,
qs:
{ usr: '',
pwd: '
',
cmd: 'getMotionDetectConfig1' },
uri: 'http://MyIP:8010/cgi-bin/CGIProxy.fcgi',
method: 'GET',
callback: undefined,
transform: undefined,
simple: true,
resolveWithFullResponse: false },
response: undefined }
Restarting homebridge due to an error
restarting...
Unhandled Rejection Detected at: Promise Promise {
{ RequestError: Error: connect ETIMEDOUT MyIP:85
at new RequestError (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request-promise/lib/errors.js:11:15)
at Request.RP$callback [as _callback] (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request-promise/lib/rp.js:60:32)
at self.callback (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request/request.js:186:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request/request.js:845:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at Socket.socketErrorListener (_http_client.js:310:9)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at emitErrorNT (net.js:1278:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
name: 'RequestError',
message: 'Error: connect ETIMEDOUT 7MyIP:85',
cause:
{ Error: connect ETIMEDOUT MyIP:85
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
code: 'ETIMEDOUT',
errno: 'ETIMEDOUT',
syscall: 'connect',
address: 'MyIP',
port: 85 },
error:
{ Error: connect ETIMEDOUT MyIP:85
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
code: 'ETIMEDOUT',
errno: 'ETIMEDOUT',
syscall: 'connect',
address: 'MyIP',
port: 85 },
options:
{ rejectUnauthorized: true,
qs: [Object],
uri: 'http://MyIP:85/cgi-bin/CGIProxy.fcgi',
method: 'GET',
callback: undefined,
transform: undefined,
simple: true,
resolveWithFullResponse: false },
response: undefined } } reason: { RequestError: Error: connect ETIMEDOUT MyIP:85
at new RequestError (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request-promise/lib/errors.js:11:15)
at Request.RP$callback [as _callback] (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request-promise/lib/rp.js:60:32)
at self.callback (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request/request.js:186:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/request/request.js:845:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at Socket.socketErrorListener (_http_client.js:310:9)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at emitErrorNT (net.js:1278:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
name: 'RequestError',
message: 'Error: connect ETIMEDOUT MyIP:85',
cause:
{ Error: connect ETIMEDOUT MyIP:85
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
code: 'ETIMEDOUT',
errno: 'ETIMEDOUT',
syscall: 'connect',
address: 'MyIP',
port: 85 },
error:
{ Error: connect ETIMEDOUT MyIP:85
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
code: 'ETIMEDOUT',
errno: 'ETIMEDOUT',
syscall: 'connect',
address: 'MyIP',
port: 85 },
options:
{ rejectUnauthorized: true,
qs:
{ usr: '',
pwd: '
*',
cmd: 'getMotionDetectConfig1' },
uri: 'http://MyIP:85/cgi-bin/CGIProxy.fcgi',
method: 'GET',
callback: undefined,
transform: undefined,
simple: true,
resolveWithFullResponse: false },
response: undefined }

Failed to retrieve current state!

Retrieving the current state on the last camera only - all Foscam R2. Modifying the config (sort order/removing entries) appears to support this. Any ideas?

Homebridge 0.4.6
Node v6.7.0
foscamcamera 0.1.16


{
"bridge": {
"name": "homebridge",
"username": "AA:AA:AA:AA:AA:AA",
"port": 51000,
"pin": "123-45-678"
},

"description": "Test",

"accessories": [],

"platforms": [{
"platform": "FoscamCamera",
"cameras": [{
"username": "User1",
"password": "Password1",
"host": "10.0.1.101",
"port": 8581,
"stay": 0,
"away": 14,
"night": 4
}, {
"username": "User2",
"password": "Password2",
"host": "10.0.1.102",
"port": 8581,
"stay": 12,
"away": 14,
"night": 12
}, {
"username": "User3",
"password": "Password3",
"host": "10.0.1.103",
"port": 8581,
"stay": 12,
"away": 14,
"night": 12
}]
}]

}

Cannot find a cam

Hi All,
I have homebridge installed with your plugin to see toy cameras.
I have configured my home with all my 5 cameras and worked well but then I reset all because the SD was unstable.
Now I can see 4 of 5 cameras when I try to add an accessory, and there is no way the find the 5th.
Have you any suggest?
Thanks, Alberto

Motion Detection causes Homebridge to crash

This used to work fine, I'm not sure when it started failing; possibly after I did the latest npm update -g homebridge-foscamcamera on Thursday 24th November;

[11/27/2016, 12:41:21 PM] [Foscam2] C2 Motion Detected!
[11/27/2016, 12:41:21 PM] [Foscam2] Foscam-NG: Getting snapshot.
[11/27/2016, 12:41:21 PM] [Foscam2] Foscam-NG: Getting snapshot.
[11/27/2016, 12:41:21 PM] [Foscam2] Foscam-NG: Got snapshot.
[11/27/2016, 12:41:22 PM] [Foscam2] Foscam-NG: Got snapshot.
[11/27/2016, 12:41:32 PM] [Foscam2] Foscam-NG: Getting snapshot.
[11/27/2016, 12:41:32 PM] [Foscam2] Foscam-NG: Got snapshot.
/usr/local/lib/node_modules/homebridge-foscamcamera/index.js:411
    thisCamera.resetMotion = null;
                           ^

TypeError: Cannot set property 'resetMotion' of undefined
    at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-foscamcamera/index.js:411:28)
    at tryOnTimeout (timers.js:232:11)
    at Timer.listOnTimeout (timers.js:202:5)

Streaming error

After successfully having it run over a couple of day, today it crashed with the following error:

...
Thu, 13 Oct 2016 07:36:22 GMT StreamController
Session: <Buffer@0x1efbeaa 0d 0d da 8a 73 69 4b 96 a7 1f f9 46 61 62 09 50>
ControllerAddress: 192.168.178.53
VideoPort: 64154
AudioPort: 52448
Video Crypto: 2
Video Master Key: <Buffer@0x1efbedb >
Video Master Salt: <Buffer@0x1efbedd >
Audio Crypto: 2
Audio Master Key: <Buffer@0x1efbee4 >
Audio Master Salt: <Buffer@0x1efbee6 >
Thu, 13 Oct 2016 07:36:22 GMT rtsp-stream start-line sent SETUP rtsp://192.168.178.21:88/videoMain/track1 RTSP/1.0
Thu, 13 Oct 2016 07:36:22 GMT rtsp-stream headers sent { Transport: 'RTP/AVP;unicast;client_port=10000-10001',
CSeq: 3,
Authorization: 'Digest username="RV", realm="Foscam IPCam Living Video", nonce="564ee45d32c0933144238e5e8ee1161f", uri="rtsp://192.168.178.21:88/videoMain/track1", response="13748afdd8dd7099ae00d00b8f4a8cb8",' }
Thu, 13 Oct 2016 07:36:23 GMT rtsp-stream decoding chunk 'RTSP/1.0 200 OK\r\nCSeq: 3\r\nDate: Thu, Oct 13 2016 07:36:31 GMT\r\nTransport: RTP/AVP;unicast;destination=192.168.178.55;source=192.168.178.21;client_port=10000-10001;server_port=6970-6971\r\nSession: 660EFFB5;timeout=65\r\n\r\n'
Thu, 13 Oct 2016 07:36:23 GMT rtsp-stream start of header
Thu, 13 Oct 2016 07:36:23 GMT rtsp-stream end of header
Thu, 13 Oct 2016 07:36:23 GMT rtsp-stream start-line sent SETUP rtsp://192.168.178.21:88/videoMain/track2 RTSP/1.0
Thu, 13 Oct 2016 07:36:23 GMT rtsp-stream headers sent { Transport: 'RTP/AVP;unicast;client_port=10006-10007',
CSeq: 4,
Authorization: 'Digest username="RV", realm="Foscam IPCam Living Video", nonce="564ee45d32c0933144238e5e8ee1161f", uri="rtsp://192.168.178.21:88/videoMain/track2", response="8dae190336204dffaa44b6bfde7d6323",',
Session: '660EFFB5' }
Thu, 13 Oct 2016 07:36:23 GMT rtsp-stream decoding chunk 'RTSP/1.0 200 OK\r\nCSeq: 4\r\nDate: Thu, Oct 13 2016 07:36:32 GMT\r\nTransport: RTP/AVP;unicast;destination=192.168.178.55;source=192.168.178.21;client_port=10006-10007;server_port=6972-6973\r\nSession: 660EFFB5;timeout=65\r\n\r\n'
Thu, 13 Oct 2016 07:36:23 GMT rtsp-stream start of header
Thu, 13 Oct 2016 07:36:23 GMT rtsp-stream end of header
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.29] Sending HTTP event '1.22' with data: {"characteristics":[{"aid":1,"iid":22,"value":"ARANDdqKc2lLlqcf+UZhYglQAxsBAQACDjE5Mi4xNjguMTc4LjUzAwKa+gQC4MwEBwIAAwABAQIFBwIAAwABAQI="}]}
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.53] Muting event '1.22' notification for this connection since it originated here.
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.29] Sending HTTP event '1.22' with data: {"characteristics":[{"aid":1,"iid":22,"value":"ARANDdqKc2lLlqcf+UZhYglQAxsBAQACDjE5Mi4xNjguMTc4LjUzAwKa+gQC4MwEBwIAAwABAQIFBwIAAwABAQI="}]}
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.53] Muting event '1.22' notification for this connection since it originated here.
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.53] HTTP Response is finished
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.53] HTTP request: /characteristics?id=1.22
Thu, 13 Oct 2016 07:36:23 GMT HAPServer [E2:CD:13:7C:9E:FA] HAP Request: GET /characteristics?id=1.22
Thu, 13 Oct 2016 07:36:23 GMT Accessory [Foscam Cam2] Getting value for Characteristic "Setup Endpoints"
Thu, 13 Oct 2016 07:36:23 GMT StreamController Setup Read
Thu, 13 Oct 2016 07:36:23 GMT Accessory [Foscam Cam2] Got Characteristic "Setup Endpoints" value: ARANDdqKc2lLlqcf+UZhYglQAgEAAxsBAQACDjE5Mi4xNjguMTc4LjU1AwISJwQCGCcEBwEBAgIAAwAFBwEBAgIAAwAGBAc74cwHBKJZqy8=
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.29] Sending HTTP event '1.22' with data: {"characteristics":[{"aid":1,"iid":22,"value":"ARANDdqKc2lLlqcf+UZhYglQAgEAAxsBAQACDjE5Mi4xNjguMTc4LjU1AwISJwQCGCcEBwEBAgIAAwAFBwEBAgIAAwAGBAc74cwHBKJZqy8="}]}
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.53] Muting event '1.22' notification for this connection since it originated here.
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.29] Sending HTTP event '1.22' with data: {"characteristics":[{"aid":1,"iid":22,"value":"ARANDdqKc2lLlqcf+UZhYglQAgEAAxsBAQACDjE5Mi4xNjguMTc4LjU1AwISJwQCGCcEBwEBAgIAAwAFBwEBAgIAAwAGBAc74cwHBKJZqy8="}]}
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.53] Muting event '1.22' notification for this connection since it originated here.
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.53] HTTP Response is finished
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.53] HTTP request: /characteristics
Thu, 13 Oct 2016 07:36:23 GMT HAPServer [E2:CD:13:7C:9E:FA] HAP Request: PUT /characteristics
Thu, 13 Oct 2016 07:36:23 GMT Accessory [Foscam Cam2] Processing characteristic set: [{"aid":1,"iid":20,"value":"ARUCAQABEA0N2opzaUuWpx/5RmFiCVA="}]
Thu, 13 Oct 2016 07:36:23 GMT Accessory [Foscam Cam2] Setting Characteristic "Selected Stream Configuration" to value ARUCAQABEA0N2opzaUuWpx/5RmFiCVA=
Thu, 13 Oct 2016 07:36:23 GMT StreamController Write SelectedStreamConfiguration
Thu, 13 Oct 2016 07:36:23 GMT rtsp-stream start-line sent TEARDOWN rtsp://192.168.178.21:88/videoMain RTSP/1.0
Thu, 13 Oct 2016 07:36:23 GMT rtsp-stream headers sent { Session: '660EFFB5',
CSeq: 5,
Authorization: 'Digest username="RV", realm="Foscam IPCam Living Video", nonce="564ee45d32c0933144238e5e8ee1161f", uri="rtsp://192.168.178.21:88/videoMain", response="9cc4c22e78ea81ae74f8118163e0bf40",' }
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.53] HTTP Response is finished
Thu, 13 Oct 2016 07:36:23 GMT EventedHTTPServer [::ffff:192.168.178.53] HTTP request: /characteristics
Thu, 13 Oct 2016 07:36:23 GMT HAPServer [E2:CD:13:7C:9E:FA] HAP Request: PUT /characteristics
Thu, 13 Oct 2016 07:36:23 GMT Accessory [Foscam Cam2] Processing characteristic set: [{"aid":1,"iid":20,"value":null}]
Thu, 13 Oct 2016 07:36:23 GMT Accessory [Foscam Cam2] Setting Characteristic "Selected Stream Configuration" to value null
Thu, 13 Oct 2016 07:36:23 GMT StreamController Write SelectedStreamConfiguration
buffer.js:257
throw new TypeError(kFromErrorMsg);
^

TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
at fromObject (buffer.js:257:9)
at Function.Buffer.from (buffer.js:97:10)
at Buffer (buffer.js:76:17)
at StreamController._handleSelectedStreamConfigurationWrite (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/StreamController.js:280:14)
at . (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/StreamController.js:261:12)
at emitMany (events.js:127:13)
at emit (events.js:201:7)
at Characteristic.setValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:155:10)
at Accessory. (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:727:22)
at Array.forEach (native)
at Accessory._handleSetCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:672:8)
at emitMany (events.js:127:13)
at HAPServer.emit (events.js:201:7)
at HAPServer._handleCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:966:10)
at HAPServer. (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:203:39)
at emitNone (events.js:86:13)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)

Any idea.
Second, the plugin is somehow chatty. Is there a way to reduce the messages into the error .log ?

No Cameras displayed

Hi,
and thank you very much for this project.

But I have a problem and hope you can help me.

I have downloaded and installed your plugin on my raspberry pi. The homebridge starts up successfully and in the log are the current camera informations printed. But in my Home app no camera is displayed, there is no error in the log file. What is my mistake ?

I have two cameras configured:

  • FI9821P+V2
  • FI9804W

Thank you in advance for your help.

Where is numeric code???

I can see from home app on iOS, but i don t know where numeric code is...I ve been looking on terminal but is not there. Any help please?

Foscam Loading with no code??

I have completely removed my Foscam code from my json file.

Now HomeBridge won't load my devices and I keep getting this when I try to start it up. Please help!

Black images shown for snapshots

Hi,

Thanks for writing this. I've had this working beautifully in the past but stopped working this morning. I'm just seeing a black screen now. I've restarted the pi server running home bridge but still no luck.
img_0235

Foscam plugin and iOS 10.1+

Hello,

since last iOS update, Foscam plugin doesn't work well with Home App. Indeed, I can add the camera has Homebridge, then get the motion detector and camera in the application home. But since the update, I do not seem to get the viewing of the live camera. The preview starts well a day when I quit and relaunch the application (with the time displayed on the picture, I see that it starts to-date), but whenever I click to see the video it makes me be a message that the application Home can not connect to the camera, or I see a still image (time not advance) and a countdown since the last refresh image. Whereas before I could watch the live camera from the Home application.

Thank you.

Polling alarm state ?

Hi,

Is it possible to get some kind of polling for the alarm state. Right now, when i change the alarm state in the "foscam app", i only get a notification when i open the "home app".
It would be nice to get a notification without opening the app.

At this moment i change the alarm state via http command and geofence so i dont have to confirm each action on my phone. This works perfect but now i dont get notified when the state changes.

No video signal

Hey,

i have installed this plugin to use my new Foscam C2 Cam. The installation ran fine, and the plugin seems to start correct, but i can't see anything in the "Home" app on my iOS device.

When i start the homebridge i get the following messages. I don't know, if this is normal?!

[2017-8-9 21:04:01] [Foscam] Foscam Camera Info: { result: 0,
productName: 'C2',
serialNo: 1,
devName: 'C2',
mac: 'XXXXXXXXXX',
year: 2017,
mon: 8,
day: 9,
hour: 19,
min: 3,
sec: 47,
timeZone: 0,
firmwareVer: '2.72.1.49',
hardwareVer: '1.11.1.10',
pkgTime: '2017-06-15_16%3A51%3A33' } rtsp://User:[email protected]:88 /videoMain rtsp://User:[email protected]:88/videoSub
(node:16949) UnhandledPromiseRejectionWarning: Unhandled promise rejection (reje ction id: 1): TypeError: Cannot read property 'split' of null
(node:16949) [DEP0018] DeprecationWarning: Unhandled promise rejections are depr ecated. In the future, promise rejections that are not handled will terminate th e Node.js process with a non-zero exit code.


My versions are:
Homebridge: 0.0.76
node: v8.2.1
npm 5.3.0

This is my config.json:

{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:33",
"port": 51826,
"pin": "031-45-157"
},
"platforms": [{
"platform": "HomeMatic",
"name": "HomeMatic CCU",
"ccu_ip": "192.168.1.98",
"filter_device": [],
"filter_channel": [],
"outlets": ["BidCos-RF.MEQ123456:1"],
"doors": [],
"programs": [],
"subsection": "Homekit"
}, {
"platform": "FoscamCamera",
"name": "Foscam",
"cameras": [{
"username": "User",
"password": "Password",
"host": "192.168.1.99",
"port": 88,
"stay": 0,
"away": 14,
"night": 13,
"sensitivity": 2,
"triggerInterval": 5,
"gain": 6,
"spkrEnable": true,
"spkrCompression": true,
"spkrGain": 1
}]
}]
}


Does anyone know, what's the problem?

Thanks! M
Michael

Error Loading Plugin

Hi.

Have just tried to install homebridge-foscamcamera on a new MacOSX homebridge install and I'm getting the following error when I try to run homebridge:

[10/24/2016, 7:37:53 PM] ====================
[10/24/2016, 7:37:53 PM] ERROR LOADING PLUGIN homebridge-foscamcamera:
[10/24/2016, 7:37:53 PM] Error: Could not locate the bindings file. Tried:
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/build/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/build/Debug/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/build/Release/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/out/Debug/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/Debug/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/out/Release/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/Release/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/build/default/binding.node
→ /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/compiled/4.6.1/darwin/x64/binding.node
at bindings (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/node_modules/bindings/bindings.js:88:9)
at Object. (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref/lib/ref.js:5:47)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/lib/struct.js:49:11)
at Module._compile (module.js:409:26)
[10/24/2016, 7:37:53 PM] ====================

Any ideas how I can fix this? Output from installation looked like this:

npm WARN engine [email protected]: wanted: {"node":">=6.6.0","homebridge":">=0.4.6"} (current: {"node":"4.6.1","npm":"2.15.9"})
npm WARN engine [email protected]: wanted: {"node":">=6.6.0","homebridge":">=0.4.3","hap-nodejs":">=0.4.11"} (current: {"node":"4.6.1","npm":"2.15.9"})

[email protected] install /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/foscam-binary-client
node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/Andy/.node-gyp/4.6.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/foscam-binary-client/.node-gyp"
CXX(target) Release/obj.target/FoscamG726/src/binding.o
CC(target) Release/obj.target/FoscamG726/src/g72x.o
CC(target) Release/obj.target/FoscamG726/src/g726_16.o
CC(target) Release/obj.target/FoscamG726/src/g726.o
SOLINK_MODULE(target) Release/FoscamG726.node
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9
npm WARN cannot run in wd [email protected] node-gyp rebuild (wd=/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/node_modules/ogg-packet/node_modules/ref-struct/node_modules/ref)

[email protected] install /usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus
node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/Andy/.node-gyp/4.6.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge-foscamcamera/node_modules/homebridge-foscam-stream/node_modules/node-opus/.node-gyp"
CC(target) Release/obj.target/libopus/deps/opus/src/opus.o
CC(target) Release/obj.target/libopus/deps/opus/src/opus_decoder.o
CC(target) Release/obj.target/libopus/deps/opus/src/opus_encoder.o
CC(target) Release/obj.target/libopus/deps/opus/src/opus_multistream.o
CC(target) Release/obj.target/libopus/deps/opus/src/opus_multistream_encoder.o
CC(target) Release/obj.target/libopus/deps/opus/src/opus_multistream_decoder.o
CC(target) Release/obj.target/libopus/deps/opus/src/repacketizer.o
CC(target) Release/obj.target/libopus/deps/opus/src/analysis.o
CC(target) Release/obj.target/libopus/deps/opus/src/mlp.o
CC(target) Release/obj.target/libopus/deps/opus/src/mlp_data.o
CC(target) Release/obj.target/libopus/deps/opus/celt/bands.o
CC(target) Release/obj.target/libopus/deps/opus/celt/celt.o
CC(target) Release/obj.target/libopus/deps/opus/celt/celt_encoder.o
CC(target) Release/obj.target/libopus/deps/opus/celt/celt_decoder.o
CC(target) Release/obj.target/libopus/deps/opus/celt/cwrs.o
CC(target) Release/obj.target/libopus/deps/opus/celt/entcode.o
CC(target) Release/obj.target/libopus/deps/opus/celt/entdec.o
CC(target) Release/obj.target/libopus/deps/opus/celt/entenc.o
CC(target) Release/obj.target/libopus/deps/opus/celt/kiss_fft.o
CC(target) Release/obj.target/libopus/deps/opus/celt/laplace.o
CC(target) Release/obj.target/libopus/deps/opus/celt/mathops.o
CC(target) Release/obj.target/libopus/deps/opus/celt/mdct.o
CC(target) Release/obj.target/libopus/deps/opus/celt/modes.o
CC(target) Release/obj.target/libopus/deps/opus/celt/pitch.o
CC(target) Release/obj.target/libopus/deps/opus/celt/celt_lpc.o
CC(target) Release/obj.target/libopus/deps/opus/celt/quant_bands.o
CC(target) Release/obj.target/libopus/deps/opus/celt/rate.o
CC(target) Release/obj.target/libopus/deps/opus/celt/vq.o
CC(target) Release/obj.target/libopus/deps/opus/silk/CNG.o
CC(target) Release/obj.target/libopus/deps/opus/silk/code_signs.o
CC(target) Release/obj.target/libopus/deps/opus/silk/init_decoder.o
CC(target) Release/obj.target/libopus/deps/opus/silk/decode_core.o
CC(target) Release/obj.target/libopus/deps/opus/silk/decode_frame.o
CC(target) Release/obj.target/libopus/deps/opus/silk/decode_parameters.o
CC(target) Release/obj.target/libopus/deps/opus/silk/decode_indices.o
CC(target) Release/obj.target/libopus/deps/opus/silk/decode_pulses.o
CC(target) Release/obj.target/libopus/deps/opus/silk/decoder_set_fs.o
CC(target) Release/obj.target/libopus/deps/opus/silk/dec_API.o
CC(target) Release/obj.target/libopus/deps/opus/silk/enc_API.o
CC(target) Release/obj.target/libopus/deps/opus/silk/encode_indices.o
CC(target) Release/obj.target/libopus/deps/opus/silk/encode_pulses.o
CC(target) Release/obj.target/libopus/deps/opus/silk/gain_quant.o
CC(target) Release/obj.target/libopus/deps/opus/silk/interpolate.o
CC(target) Release/obj.target/libopus/deps/opus/silk/LP_variable_cutoff.o
CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_decode.o
CC(target) Release/obj.target/libopus/deps/opus/silk/NSQ.o
CC(target) Release/obj.target/libopus/deps/opus/silk/NSQ_del_dec.o
CC(target) Release/obj.target/libopus/deps/opus/silk/PLC.o
CC(target) Release/obj.target/libopus/deps/opus/silk/shell_coder.o
CC(target) Release/obj.target/libopus/deps/opus/silk/tables_gain.o
CC(target) Release/obj.target/libopus/deps/opus/silk/tables_LTP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/tables_NLSF_CB_NB_MB.o
CC(target) Release/obj.target/libopus/deps/opus/silk/tables_NLSF_CB_WB.o
CC(target) Release/obj.target/libopus/deps/opus/silk/tables_other.o
CC(target) Release/obj.target/libopus/deps/opus/silk/tables_pitch_lag.o
CC(target) Release/obj.target/libopus/deps/opus/silk/tables_pulses_per_block.o
CC(target) Release/obj.target/libopus/deps/opus/silk/VAD.o
CC(target) Release/obj.target/libopus/deps/opus/silk/control_audio_bandwidth.o
CC(target) Release/obj.target/libopus/deps/opus/silk/quant_LTP_gains.o
CC(target) Release/obj.target/libopus/deps/opus/silk/VQ_WMat_EC.o
CC(target) Release/obj.target/libopus/deps/opus/silk/HP_variable_cutoff.o
CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_encode.o
CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_VQ.o
CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_unpack.o
CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_del_dec_quant.o
CC(target) Release/obj.target/libopus/deps/opus/silk/process_NLSFs.o
CC(target) Release/obj.target/libopus/deps/opus/silk/stereo_LR_to_MS.o
CC(target) Release/obj.target/libopus/deps/opus/silk/stereo_MS_to_LR.o
CC(target) Release/obj.target/libopus/deps/opus/silk/check_control_input.o
CC(target) Release/obj.target/libopus/deps/opus/silk/control_SNR.o
CC(target) Release/obj.target/libopus/deps/opus/silk/init_encoder.o
CC(target) Release/obj.target/libopus/deps/opus/silk/control_codec.o
CC(target) Release/obj.target/libopus/deps/opus/silk/A2NLSF.o
CC(target) Release/obj.target/libopus/deps/opus/silk/ana_filt_bank_1.o
CC(target) Release/obj.target/libopus/deps/opus/silk/biquad_alt.o
CC(target) Release/obj.target/libopus/deps/opus/silk/bwexpander_32.o
CC(target) Release/obj.target/libopus/deps/opus/silk/bwexpander.o
CC(target) Release/obj.target/libopus/deps/opus/silk/debug.o
CC(target) Release/obj.target/libopus/deps/opus/silk/decode_pitch.o
CC(target) Release/obj.target/libopus/deps/opus/silk/inner_prod_aligned.o
CC(target) Release/obj.target/libopus/deps/opus/silk/lin2log.o
CC(target) Release/obj.target/libopus/deps/opus/silk/log2lin.o
CC(target) Release/obj.target/libopus/deps/opus/silk/LPC_analysis_filter.o
CC(target) Release/obj.target/libopus/deps/opus/silk/LPC_inv_pred_gain.o
CC(target) Release/obj.target/libopus/deps/opus/silk/table_LSF_cos.o
CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF2A.o
CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_stabilize.o
CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_VQ_weights_laroia.o
CC(target) Release/obj.target/libopus/deps/opus/silk/pitch_est_tables.o
CC(target) Release/obj.target/libopus/deps/opus/silk/resampler.o
CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_down2_3.o
CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_down2.o
CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_private_AR2.o
CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_private_down_FIR.o
CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_private_IIR_FIR.o
CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_private_up2_HQ.o
CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_rom.o
CC(target) Release/obj.target/libopus/deps/opus/silk/sigm_Q15.o
CC(target) Release/obj.target/libopus/deps/opus/silk/sort.o
CC(target) Release/obj.target/libopus/deps/opus/silk/sum_sqr_shift.o
CC(target) Release/obj.target/libopus/deps/opus/silk/stereo_decode_pred.o
CC(target) Release/obj.target/libopus/deps/opus/silk/stereo_encode_pred.o
CC(target) Release/obj.target/libopus/deps/opus/silk/stereo_find_predictor.o
CC(target) Release/obj.target/libopus/deps/opus/silk/stereo_quant_pred.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/apply_sine_window_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/corrMatrix_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/encode_frame_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/find_LPC_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/find_LTP_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/find_pitch_lags_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/find_pred_coefs_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/LPC_analysis_filter_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/LTP_analysis_filter_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/LTP_scale_ctrl_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/noise_shape_analysis_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/prefilter_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/process_gains_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/regularize_correlations_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/residual_energy_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/solve_LS_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/warped_autocorrelation_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/wrappers_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/autocorrelation_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/burg_modified_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/bwexpander_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/energy_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/inner_product_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/k2a_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/levinsondurbin_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/LPC_inv_pred_gain_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/pitch_analysis_core_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/scale_copy_vector_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/scale_vector_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/schur_FLP.o
CC(target) Release/obj.target/libopus/deps/opus/silk/float/sort_FLP.o
LIBTOOL-STATIC Release/opus.a
CXX(target) Release/obj.target/node-opus/src/node-opus.o
../src/node-opus.cc:41:1: warning: 'OpusEncoder' defined as a class here but previously declared as a struct [-Wmismatched-tags]
class OpusEncoder : public ObjectWrap {
^
../src/../deps/opus/include/opus.h:164:9: note: did you mean class here?
typedef struct OpusEncoder OpusEncoder;
^~~~~~
class
1 warning generated.
SOLINK_MODULE(target) Release/node-opus.node
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9
[email protected] /usr/local/lib/node_modules/homebridge-foscamcamera
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])

Explanation for the alarm states

I don't get this explanation:

The supported configurations depend on your device. The Foscam public CGI defines the following:
bit 3 | bit 2 | bit 1 | bit 0
bit 0 = Ring
bit 1 = Send email
bit 2 = Snap picture
bit 3 = Record

The following seems to be valid for the C2 as well (not found in any documentation)
bit 7 | bit 6 | bit 5 | bit 4 | bit 3 | bit 2 | bit 1 | bit 0
bit 0 = Ring
bit 1 = Send email
bit 2 = Snap picture
bit 3 = Record
bit 7 = Push notification

Note: The configuration is defined as int, thus the followings are valid, e.g. 0 (Do Nothing), 1 (Ring), 2 (Email), 3 (Ring + Email), 4 (Record), 12 (Picture and Record), 13 (Ring, Picture and Record), etc.

Can someone help me please to find out what is the right number to use in each state?
first of all I want to realize what does "Ring" mean?
Also I couldn't figured out what are the numbers 14 and 15 (that can be seen in the config.sample), what do they represent? how do i choose bit7 (push notification) in this configuration? for how long does the record actually record?

Where do I find more information about it?

By the way, I'm using R2 camera

Thanks!

Motion Detector never triggers

recently purchased a R2 cam, I downloaded the plugin, paired the camera perfectly, everything looks good accept the motion sensor never seems to be triggered. I even get a notification from the foscam app about a motion being detected.

I'm not quite sure how it works, i'm trying to pass by the camera to see if something change in the "home" app but I don't see it.
I tried to change the alarm switch to night / away / stay but it didn't change anything.

One time when the app was closed I got notification that a motion has being detected with a photo from camera.

Anyway, I'm planning to use the motion sensor for automation so I need it to always work, is that possible?

this is my config:

{
            "platform": "FoscamCamera",
            "name": "LivingRoom Cam",
            "cameras": [{
                "username": "*******",
                "password": "*****",
                "host": "10.0.0.**",
                "port": 88,
                "stay": 0,
                "away": 14,
                "night": 13,
                "sensitivity": 4,
                "triggerInterval": 5,
                "gain": 6,
                "spkrEnable": true,
                "spkrCompression": true,
                "spkrGain": 2
            }]
        }

I tried to increase the sensitivity to see if it works better but no change.

Thanks!

UPDATE: I realized that when I wave my hand in front of the camera I can see it triggers, tried to set the sensitivity to either 1 or 4 but no change.
the weird thing is that the foscam app does recognize me from a distance but the home app only from very close.

Streaming Error

After some time, I detected the following error that caused home bridge to crash.

(node:5438) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 254): Error: This socket has been ended by the other party
Sat, 01 Oct 2016 14:28:33 GMT Accessory [Homebridge RPi3] Got Characteristic "On" value: false
Sat, 01 Oct 2016 14:28:33 GMT EventedHTTPServer [::ffff:192.168.178.29] HTTP Response is finished
Sat, 01 Oct 2016 14:28:34 GMT EventedHTTPServer [::ffff:192.168.178.53] HTTP request: /characteristics
Sat, 01 Oct 2016 14:28:34 GMT HAPServer [E2:CD:13:7C:9E:FA] HAP Request: PUT /characteristics
Sat, 01 Oct 2016 14:28:34 GMT Accessory [Foscam Wohnzimmer] Processing characteristic set: [{"aid":1,"iid":15,"value":"ARDA7NKIyypGvZ2EavNCCg3+AxsBAQACDjE5Mi4xNjguMTc4LjUzAwLF1gQCP/4EBwIAAwABAQIFBwIAAwABAQI="}]
Sat, 01 Oct 2016 14:28:34 GMT Accessory [Foscam Wohnzimmer] Setting Characteristic "Setup Endpoints" to value ARDA7NKIyypGvZ2EavNCCg3+AxsBAQACDjE5Mi4xNjguMTc4LjUzAwLF1gQCP/4EBwIAAwABAQIFBwIAAwABAQI=
Sat, 01 Oct 2016 14:28:34 GMT StreamController
Session: <Buffer@0x2ea5f8a c0 ec d2 88 cb 2a 46 bd 9d 84 6a f3 42 0a 0d fe>
ControllerAddress: 192.168.178.53
VideoPort: 54981
AudioPort: 65087
Video Crypto: 2
Video Master Key: <Buffer@0x2ea5fbb >
Video Master Salt: <Buffer@0x2ea5fbd >
Audio Crypto: 2
Audio Master Key: <Buffer@0x2ea5fc4 >
Audio Master Salt: <Buffer@0x2ea5fc6 >
Sat, 01 Oct 2016 14:28:35 GMT rtsp-stream start-line sent SETUP rtsp://192.168.178.21:88/videoMain/track1 RTSP/1.0
Sat, 01 Oct 2016 14:28:35 GMT rtsp-stream headers sent { Transport: 'RTP/AVP;unicast;client_port=10000-10001',
CSeq: 16,
Authorization: 'Digest username="RV", realm="Foscam IPCam Living Video", nonce="771d46cf7a832a3d0aeb0d41065e5765", uri="rtsp://192.168.178.21:88/videoMain/track1", response="2393ad66fd88f5c8415955eb2453e448",' }
(node:5438) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 255): Error: This socket has been ended by the other party
buffer.js:1021
throw new RangeError('Index out of range');
^

RangeError: Index out of range
at checkInt (buffer.js:1021:11)
at Buffer.writeUInt32BE (buffer.js:1112:5)
at RTPProxy.rtpMessage (/usr/lib/node_modules/hap-nodejs/lib/camera/RTPProxy.js:142:9)
at Socket. (/usr/lib/node_modules/hap-nodejs/lib/camera/RTPProxy.js:118:14)
at emitTwo (events.js:106:13)
at Socket.emit (events.js:191:7)
at UDP.onMessage (dgram.js:550:8)

Is Streaming Working?

Hi, I first installed this plugin in iOS 10 - so I have never seen streaming working. I'm on iOS 10.3, and I still get 'No Response. This camera is not responding' when I click and open the camera up. Snapshots work and update every 10 seconds. I have a Foscam C2.

Should this be working? Or is it still an issue? Or have I got something wrong with my Beaglebone/Debian.

Remote Access via Apple TV Gen3

Hi,

Homebridge works great with homebridge-nest and homebridge-wink. However, as soon as I leave my local Wi-Fi, my homebridge-foscamcamera says 'Not Responding'.

What do I need to do to make this work when I am on 3G/remote?

Home Notifications

Running the latest 0.1.18 with multiple Foscam R2 streams and they are all looking great. Small notification issue however - Home Notification Thumbnails appear to be inconsistent. Meaning, a motion notification will trigger for one camera ex: Cam 1, but the camera notification and notification thumbnail may come from a different camera (Cam 2, 3, etc).

Segmentation fault: 11 on mac os x with foscam c2

Hi,

I'm getting segmentation fault 11s on mac's homebridge setup. I tried to find other causes, but it seems that the foscamcamera is indeed causing this error when combined with the c2.
I've been monitoring all crashes for a couple of weeks and the segmentation faults all follow the following:

[2016-10-29 09:23:05] [Foscam C2] Foscam-NG: Getting snapshot.
[2016-10-29 09:23:05] [Foscam C2] Foscam-NG: Got snapshot.
Segmentation fault: 11

I've enabled debugging, but than it seems to crash less frequent which makes it harder to tackle.

What I expect is that the C2 (possibly combined with the foscam-client) generated snapshot of very large dimension which may cause the segmentation fault on my mac. What are your thoughts on this? How would you suggest the try and solve this? Shall I put in a log output that prints the image's size?

Thanks!

Roy

Foscam and Quality Live View

Hello,

I would like to know if it was possible with the FOSCAM plugin to keep the video quality adjustment as defined with Foscam application (iOS app or web application) (ie HD 720pb 2M or 4M pixel), in Indeed, when I want to view the video with the application home, my setting automatically changes the quality of the stream on "user-defined setting" that is often less clear that the choice "HD mode" or "equilibrium".

Thank you

If camera is off, it will no be configured.

Hi,
If the camera is not powered on, it will never be detected.
Currently I’m having this message:
Sep 18 22:41:17 raspberrypi homebridge[28823]: (node:28823) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): RequestError: Error: connect EHOSTUNREACH 192.168.0.14:589
After this, turning on cam has no effect.
In my workflow, I usually turn on/off camera on demand, using a controlled plug.

FI9816P/W iOS 10.3 Beta

Hi all,

I have a problem with my FI9816P/W.
The Home App can't load streaming video.

But with VLC I have not a problem.

The log of homebridge:

[2017-2-23 16:57:11] [Sottoscala] Foscam-NG: Getting snapshot.
[2017-2-23 16:57:12] [Sottoscala] Foscam-NG: Got snapshot.
[2017-2-23 16:57:26] [Sottoscala] Stop: rtsp://xxxx:xxxx@xxxxx:554/videoMain

Anyone can help me?

Streaming

I just gave your new plugin a try.
It works fine and with the motion sensor it notifies me and presents the snapshot.
When I then click the picture it open a stream but stays black. So no streaming at all.

The camera is Foscam F9821W v2 with firmware 1.4.1.10
The log show as follows regarding your module:
[9/30/2016, 3:00:16 PM] Loaded plugin: homebridge-foscamcamera
[9/30/2016, 3:00:16 PM] Registering platform 'homebridge-foscamcamera.FoscamCamera'
[9/30/2016, 3:00:16 PM] ---
...
[9/30/2016, 3:00:16 PM] Initializing FoscamCamera platform...
..
[9/30/2016, 3:00:17 PM] FoscamAccessory configured with RV 192.168.178.21 88 3
StreamController Client claims it doesn't support SRTP. The stream may stops working with future iOS releases. +140ms
StreamController Client claims it doesn't support SRTP. The stream may stops working with future iOS releases. +5ms
StreamController Client claims it doesn't support SRTP. The stream may stops working with future iOS releases. +2ms
StreamController Client claims it doesn't support SRTP. The stream may stops working with future iOS releases. +1ms
EventedHTTPServer Server listening on port 59779 +10ms
[9/30/2016, 3:00:17 PM] Foscam Wohnzimmer is running on port 59779.
rtsp-stream start-line sent +0ms DESCRIBE rtsp://192.168.178.21:88/videoMain RTSP/1.0
rtsp-stream headers sent +1ms { CSeq: 1 }
rtsp-stream start-line sent +1ms DESCRIBE rtsp://192.168.178.21:88/videoMain RTSP/1.0
rtsp-stream headers sent +1ms { CSeq: 1 }
rtsp-stream start-line sent +0ms DESCRIBE rtsp://192.168.178.21:88/videoSub RTSP/1.0
rtsp-stream headers sent +0ms { CSeq: 1 }
rtsp-stream start-line sent +1ms DESCRIBE rtsp://192.168.178.21:88/videoSub RTSP/1.0
rtsp-stream headers sent +1ms { CSeq: 1 }
rtsp-stream decoding chunk +41ms 'RTSP/1.0 401 Unauthorized\r\nCSeq: 1\r\nDate: Fri, Sep 30 2016 14:00:14 GMT\r\nWWW-Authenticate: Digest realm="Foscam IPCam Living Video", nonce="88d1cead0871a5e1bd247043e93439ef"\r\n\r\n'
rtsp-stream start of header +1ms
rtsp-stream end of header +0ms
rtsp-stream start-line sent +3ms DESCRIBE rtsp://192.168.178.21:88/videoSub RTSP/1.0
rtsp-stream headers sent +0ms { CSeq: 2,
Authorization: 'Digest username="RV", realm="Foscam IPCam Living Video", nonce="88d1cead0871a5e1bd247043e93439ef", uri="rtsp://192.168.178.21:88/videoSub", response="d32723cab29a544eeecf62b78db8c546",' }
rtsp-stream decoding chunk +1ms 'RTSP/1.0 401 Unauthorized\r\nCSeq: 1\r\nDate: Fri, Sep 30 2016 14:00:14 GMT\r\nWWW-Authenticate: Digest realm="Foscam IPCam Living Video", nonce="4ed3062149ba5909ae28619822d30d27"\r\n\r\n'
rtsp-stream start of header +0ms
rtsp-stream end of header +0ms
rtsp-stream start-line sent +0ms DESCRIBE rtsp://192.168.178.21:88/videoSub RTSP/1.0
rtsp-stream headers sent +1ms { CSeq: 2,
Authorization: 'Digest username="RV", realm="Foscam IPCam Living Video", nonce="4ed3062149ba5909ae28619822d30d27", uri="rtsp://192.168.178.21:88/videoSub", response="2ce6f69275abc263467586b76333e4f4",' }
rtsp-stream decoding chunk +15ms 'RTSP/1.0 401 Unauthorized\r\nCSeq: 1\r\nDate: Fri, Sep 30 2016 14:00:14 GMT\r\nWWW-Authenticate: Digest realm="Foscam IPCam Living Video", nonce="6357eea57bd9bcb093dd27749803082d"\r\n\r\n'
rtsp-stream start of header +0ms
rtsp-stream end of header +0ms
rtsp-stream start-line sent +0ms DESCRIBE rtsp://192.168.178.21:88/videoMain RTSP/1.0
rtsp-stream headers sent +0ms { CSeq: 2,
Authorization: 'Digest username="RV", realm="Foscam IPCam Living Video", nonce="6357eea57bd9bcb093dd27749803082d", uri="rtsp://192.168.178.21:88/videoMain", response="ccf7351f46f3091a6af4ab3882b2d6a0",' }
rtsp-stream decoding chunk +1ms 'RTSP/1.0 401 Unauthorized\r\nCSeq: 1\r\nDate: Fri, Sep 30 2016 14:00:14 GMT\r\nWWW-Authenticate: Digest realm="Foscam IPCam Living Video", nonce="ae1c8c8f4f39fc81f8797b0aff033627"\r\n\r\n'
rtsp-stream start of header +0ms
rtsp-stream end of header +0ms
rtsp-stream start-line sent +0ms DESCRIBE rtsp://192.168.178.21:88/videoMain RTSP/1.0
rtsp-stream headers sent +1ms { CSeq: 2,
Authorization: 'Digest username="RV", realm="Foscam IPCam Living Video", nonce="ae1c8c8f4f39fc81f8797b0aff033627", uri="rtsp://192.168.178.21:88/videoMain", response="3a37edc7c7ef84ee890a0b4f46c95b0a",' }
rtsp-stream decoding chunk +46ms 'RTSP/1.0 200 OK\r\nCSeq: 2\r\nDate: Fri, Sep 30 2016 14:00:14 GMT\r\nContent-Base: rtsp://192.168.178.21:65534/videoMain/\r\nContent-Type: application/sdp\r\nContent-Length: 502\r\n\r\nv=0\r\no=- 1475165734390276 1 IN IP4 192.168.233.233\r\ns=IP Camera Video\r\ni=videoMain\r\nt=0 0\r\na=tool:LIVE555 Streaming Media v2014.02.10\r\na=type:broadcast\r\na=control:\r\na=range:npt=0-\r\na=x-qt-text-nam:IP Camera Video\r\na=x-qt-text-inf:videoMain\r\nm=video 0 RTP/AVP 96\r\nc=IN IP4 0.0.0.0\r\nb=AS:96\r\na=rtpmap:96 H264/90000\r\na=fmtp:96 packetization-mode=1;profile-level-id=42001F;sprop-parameter-sets=Z0IAH5WoFAFuQA==,aM48gA==\r\na=control:track1\r\nm=audio 0 RTP/AVP 0\r\nc=IN IP4 0.0.0.0\r\nb=AS:64\r\na=control:track2\r\n'
rtsp-stream start of header +0ms
rtsp-stream end of header +0ms
rtsp-stream decoding chunk +1ms 'v=0\r\no=- 1475165734390276 1 IN IP4 192.168.233.233\r\ns=IP Camera Video\r\ni=videoMain\r\nt=0 0\r\na=tool:LIVE555 Streaming Media v2014.02.10\r\na=type:broadcast\r\na=control:
\r\na=range:npt=0-\r\na=x-qt-text-nam:IP Camera Video\r\na=x-qt-text-inf:videoMain\r\nm=video 0 RTP/AVP 96\r\nc=IN IP4 0.0.0.0\r\nb=AS:96\r\na=rtpmap:96 H264/90000\r\na=fmtp:96 packetization-mode=1;profile-level-id=42001F;sprop-parameter-sets=Z0IAH5WoFAFuQA==,aM48gA==\r\na=control:track1\r\nm=audio 0 RTP/AVP 0\r\nc=IN IP4 0.0.0.0\r\nb=AS:64\r\na=control:track2\r\n'
rtsp-stream start of body +0ms
rtsp-stream end of body +0ms
[9/30/2016, 3:00:17 PM] FoscamStream: RTSPClient got sdp.
rtsp-stream decoding chunk +4ms 'RTSP/1.0 200 OK\r\nCSeq: 2\r\nDate: Fri, Sep 30 2016 14:00:14 GMT\r\nContent-Base: rtsp://192.168.178.21:65534/videoMain/\r\nContent-Type: application/sdp\r\nContent-Length: 502\r\n\r\nv=0\r\no=- 1475165734390276 1 IN IP4 192.168.233.233\r\ns=IP Camera Video\r\ni=videoMain\r\nt=0 0\r\na=tool:LIVE555 Streaming Media v2014.02.10\r\na=type:broadcast\r\na=control:\r\na=range:npt=0-\r\na=x-qt-text-nam:IP Camera Video\r\na=x-qt-text-inf:videoMain\r\nm=video 0 RTP/AVP 96\r\nc=IN IP4 0.0.0.0\r\nb=AS:96\r\na=rtpmap:96 H264/90000\r\na=fmtp:96 packetization-mode=1;profile-level-id=42001F;sprop-parameter-sets=Z0IAH5WoFAFuQA==,aM48gA==\r\na=control:track1\r\nm=audio 0 RTP/AVP 0\r\nc=IN IP4 0.0.0.0\r\nb=AS:64\r\na=control:track2\r\n'
rtsp-stream start of header +0ms
rtsp-stream end of header +0ms
rtsp-stream decoding chunk +0ms 'v=0\r\no=- 1475165734390276 1 IN IP4 192.168.233.233\r\ns=IP Camera Video\r\ni=videoMain\r\nt=0 0\r\na=tool:LIVE555 Streaming Media v2014.02.10\r\na=type:broadcast\r\na=control:
\r\na=range:npt=0-\r\na=x-qt-text-nam:IP Camera Video\r\na=x-qt-text-inf:videoMain\r\nm=video 0 RTP/AVP 96\r\nc=IN IP4 0.0.0.0\r\nb=AS:96\r\na=rtpmap:96 H264/90000\r\na=fmtp:96 packetization-mode=1;profile-level-id=42001F;sprop-parameter-sets=Z0IAH5WoFAFuQA==,aM48gA==\r\na=control:track1\r\nm=audio 0 RTP/AVP 0\r\nc=IN IP4 0.0.0.0\r\nb=AS:64\r\na=control:track2\r\n'
rtsp-stream start of body +0ms
rtsp-stream end of body +1ms
[9/30/2016, 3:00:17 PM] FoscamStream: RTSPClient got sdp.
[9/30/2016, 3:00:17 PM] Foscam Camera Info: { result: 0,
productName: 'FI9821W+V2',
serialNo: 1,
devName: 'Wohnzimmer',
mac: '00626E4CF475',
year: 2016,
mon: 9,
day: 30,
hour: 16,
min: 0,
sec: 14,
timeZone: -3600,
firmwareVer: '2.11.1.118',
hardwareVer: '1.4.1.10',
pkgTime: '2014-10-16_16%3A04%3A44' }

any idea?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.