vMotion stuck at "Migrating the active state of virtual machine"

Submitted by cliff on Mon, 04/11/2019 - 10:49

In some situations when using veeam or doing manual vmotion migrations, it can happen that the migration gets stuck.

Usually this state occurs when the source esxi and destination esxi are having some kind of communication issue. The fix is the following:

  • Start SSH on both source and destination ESXi.
  • restart vxpa and hostd on the destination machine:
/etc/init.d/hostd restart
/etc/init.d/vpxa restart

If the process continues or errors you are done, if not,

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 (system firmware 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:


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.