With the LED IR light, I placed some duct tape over the LDR on it, so that it remains always on.

I used ZyXEL PLA5205 600 Mbps Powerline Gigabit Ethernet Adapter to attach to the Pis ethernet interface. This provides a fast network which can connect far away from my Wifi AP (my Wifi AP has a powerline adapter connected to its ports).

When streaming to youtube for a while, with the 2m cable I noticed image corruption occurring after a number of hours. However I also noticed the sunny connector had become slightly loose. I have now glued the sunny connector and am using a 1m cable now, when I streamed over night it worked well, after making a script which detects problems with the stream to youtube going down.

‘sudo vcdbg log msg’ gave the following when image corruption occurred:

With these IP68 cases, I found it was useful to rub silicone grease along the rubber ‘washer’ to help the seal. Also it’s important not to overtighten the screws of the case.

See the following video for how to wire the IP68 connector, I found before snapping the connector together (which can’t seem to be undone), that you should push the plug and socket parts together, then snap it together.

To fit the 2 pin power connector to the case, I first drilled a hole using a 14mm drill bit, and used a file to smooth the edges, so the connector would fit.

Snapshots from footage

Code

I created some simple code using the PiCamera library, to record any motion to the SD card. It also lets me view a live stream from the camera.