HA: Shutter control with SonOff 4CH Pro

Submitted by cliff on Mon, 15/04/2019 - 09:28

I wanted to control my shutters with homeassistant, mainly to make them go up and down automatic at preset times. This can be done with a SonOff. Most people selected the SonOff dual for this task, but it has no mechanical/electrical protection to prevent from both outlets to be powered on at the same time.

WIP: Fun with the Foscam FI9853EP

Submitted by cliff on Wed, 27/03/2019 - 10:27

A few months ago I acquired a Foscam FI9853EP v2 IP Camera. It's a low budget cheap outdoor cam, which seems to do it's job marginally well. There are some quirks, but at EUR 66 it's not that bad. After the latest firmware upgrade to 2.84.2.35 (system firmware 1.12.5.4) it seems the cam started to show problems providing a RTSP stream towards my Shinobi setup. After some tinkering it started working again.

Foscam FI9853EP Pinout

Submitted by cliff on Wed, 05/09/2018 - 17:42

The foscam FI9853EP outdoor IP camera comes default with an attached cable loom, which is very awkward for an outdoor cam. Luckily it's very easy to fix this if you have a POE capable switch.

Cable colour pinout:

Orange White (pin 1)
Orange (pin 2) 
Green White (pin 3) 
Green (pin 6) 
Grey (pin 4) 
Purple (pin 8)

So just cut off the cable and connect it to an IDC strip or use an RJ45 8P8C connector.

Chromecast on non-RFC1918

Submitted by cliff on Fri, 17/08/2018 - 13:35

I ran into a problem with casting from Chrome to a Chromecast, android phones would work just fine, but Chrome would refuse to cast. The cast icon was available but it would not find a chromecast to cast to. After some research it seems that Chrome stopped working for quite some people after Chrome 63. 

Apparently there has been a new chrome flag that disables casting to non-RFC1918 IP addresses. To enable the old behaviour go to:

chrome://flags/#media-router-cast-allow-all-ips

And enable it. After a Chrome restart your problems are fixed.

unSHC arm version

Submitted by cliff on Thu, 09/08/2018 - 16:48

After doing some security research for some friends, I encountered the use of SHC for some shell scripts. As the platform in question is ARM and there wasn't a functioning unSHC for arm, I decided to start porting unSHC to ARM. 

The sort of working beta version can be found on github here.

Upgrading Sony Xperia Z Tablet (SGP311) to Android 7.1

Submitted by cliff on Mon, 09/04/2018 - 12:16

Using the Lineage OS Install guide I had no problems installing it, but make sure you have enough battery. I started out at 10% the first time and this was not enough. Make sure it is at a minimum of 50%

LineageOS Download for SGP311 - https://download.lineageos.org/pollux_windy

LineageOS Install Guide for SGP311 - https://wiki.lineageos.org/devices/pollux_windy/install