see https://github.com/paulmcmillan/eagleeye_ce