diff options
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/py-pytradfri/Makefile | 21 | ||||
-rw-r--r-- | net/py-pytradfri/distinfo | 3 | ||||
-rw-r--r-- | net/py-pytradfri/pkg-descr | 18 |
4 files changed, 43 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index fe5bd2792879..47b8bb70a95a 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1099,6 +1099,7 @@ SUBDIR += py-python-ntlm SUBDIR += py-python-openstackclient SUBDIR += py-python-twitter + SUBDIR += py-pytradfri SUBDIR += py-pyvmomi SUBDIR += py-pyzmq SUBDIR += py-qt5-network diff --git a/net/py-pytradfri/Makefile b/net/py-pytradfri/Makefile new file mode 100644 index 000000000000..369c44eb1ec9 --- /dev/null +++ b/net/py-pytradfri/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= pytradfri +DISTVERSION= 6.0.1 +CATEGORIES= net +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= tcberner@FreeBSD.org +COMMENT= Python IKEA Tradfri API controller + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiocoap>=0:net/py-aiocoap@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}DTLSSocket>=0:net/py-DTLSSocket@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +.include <bsd.port.mk> diff --git a/net/py-pytradfri/distinfo b/net/py-pytradfri/distinfo new file mode 100644 index 000000000000..4c75a6abd4dc --- /dev/null +++ b/net/py-pytradfri/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1556475875 +SHA256 (pytradfri-6.0.1.tar.gz) = 8e92254adc90e16d317988714a9f06669887e9a3f671c3d580c3c7e7535cb8c5 +SIZE (pytradfri-6.0.1.tar.gz) = 19419 diff --git a/net/py-pytradfri/pkg-descr b/net/py-pytradfri/pkg-descr new file mode 100644 index 000000000000..2a975e122d14 --- /dev/null +++ b/net/py-pytradfri/pkg-descr @@ -0,0 +1,18 @@ +Python package to communicate with the IKEA Tradfri ZigBee Gateway compatible +with ZigBee Light Link products. By using this library you can communicate with +the gateway and control IKEA's lights and wall plugs. + +Some of the features include: + + * Get information on the gateway + * Observe lights, groups and other resources and get notified when they change + * Control wall plugs + * List all devices connected to gateway + * List all lights and get attributes of lights (name, state, color temp, + dimmer level etc) Change attribute values of lights (name, state, color + temp, dimmer level etc) + * Restart and reset the gateway + * List smart tasks (wake up, on/off and not home) and their attributes + * Alter values in smart tasks (some of these features not available in app yet) + +WWW: https://github.com/ggravlingen/pytradfri |