Page 1 of 1

Script to integrate Motion events into Home Assistant

PostPosted: Sun Nov 05, 2017 8:06 pm
by dewgenenny
Hey everyone,

First post here.

I've just got Xeoma and am loving it, but wanted to integrate motion events from my cameras into Home Assistant.

I wrote a short script to do this, that you can call from an Application Runner component: https://github.com/dewgenenny/trigger-sensor

Hope this is useful for someone!

Re: Script to integrate Motion events into Home Assistant

PostPosted: Mon Nov 13, 2017 1:49 pm
by Admin_A
dewgenenny Wrote:Hey everyone,

First post here.

I've just got Xeoma and am loving it, but wanted to integrate motion events from my cameras into Home Assistant.

I wrote a short script to do this, that you can call from an Application Runner component: https://github.com/dewgenenny/trigger-sensor

Hope this is useful for someone!


Hi!
Thanks for sharing!
Our team is glad to hear that you enjoy Xeoma.
By the way, you can participate in our special offers here: http://felenasoft.com/xeoma/en/specialoffer/

Re: Script to integrate Motion events into Home Assistant

PostPosted: Mon Dec 11, 2017 4:52 pm
by skylord123
I built a script that integrates Xeoma and Home Assistant by using MQTT.

https://github.com/skylord123/xeoma-mqtt

Instead of application runner it uses the HTTP Request Sender to post to the script which then creates the MQTT message that Home Assistant can listen for.

I like your solution but only downside is it doesn't work well when you are running Xeoma in a docker (why I opted for http request sender instead of application runner).