Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Add support for Sercomm IP camera discovery. #238

Merged
merged 1 commit into from
Mar 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions netdisco/discoverables/sercomm.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"""
Discover Sercomm network cameras.
These are rebranded as iControl and many others, and are usually
distributed as part of an ADT or Comcast/Xfinity monitoring package.
https://github.com/edent/Sercomm-API
"""
from . import SSDPDiscoverable


class Discoverable(SSDPDiscoverable):
"""Add support for discovering camera services."""

def get_entries(self):
"""Get all Sercomm iControl devices."""
return self.find_by_device_description({'manufacturer': 'iControl'})