Skip to content

Paulemann/script.securitycam

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

script.securitycam

This a rework of the kodi 'Security Cam Overlay' addon originally developed by Ryan Melena Noesis.

The main change is that the addon is now capable of handling up to 4 camera feeds simultaneously. Each feed is updated in a seperate thread which should add to the addon's performance.

Though the addon would technically support even more feeds, it is restricted by the arrangement of the feeds in the (single) window. The arrangement currently supports only a 4 item geometry: horizontal, vertical or square (2x2).

The addon feeds each require a source providing snapshots in jpeg format. This can either be a http URL or a file source (new). You should adjust the refresh interval in accordance with the source's capapility to update its output.

If you want the addon execution triggered by email (this is how I get notified exclusively of a motion detected by my cam), you may also want to look at my other project 'Kodi-Email-Alert'.

Alternatively, with a PIR motion detection device sending on 433 Mhz and 433 Mhz receiver module in a raspberry pi you can kick-off the addon almost instantly on motion detected. Have a look at my project 'Kodi-RF-Alert' if you're interested.

Since release 1.3.0 the addon can be called with an optional argument 'streamid' set to the index (=1,..,4) of the cam feed as configured in the addon settings. When, for example, a kodi json-rpc call for method='Addons.ExecuteAddon' is used to trigger the addon, the cam feed to be displayed can be set with params={'addonid' :'script.securitycam', 'params': {'streamid': str(index)}}.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%