From 1cb30cc0aa4fda9bf0bac0b41ace862b1db434b8 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 9 Feb 2020 12:05:37 -0600 Subject: Moved roles to top level --- roles/homebridge/templates/config.json.j2 | 48 ------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 roles/homebridge/templates/config.json.j2 (limited to 'roles/homebridge/templates/config.json.j2') diff --git a/roles/homebridge/templates/config.json.j2 b/roles/homebridge/templates/config.json.j2 deleted file mode 100644 index 5d0a61a..0000000 --- a/roles/homebridge/templates/config.json.j2 +++ /dev/null @@ -1,48 +0,0 @@ -{ - "bridge": { - "name": "Homebridge", - "username": "{{ansible_default_ipv4.macaddress | upper}}", - "port": {{homebridge_port}}, - "pin": "{{homebridge_pin}}" - }, - - "description": "Homebridge", - - "platforms": [ - - {"platform": "Camera-ffmpeg", - "cameras": [ - - {% for cam in homebridge_rtsp_cams %} - {"name": "{{cam.name}}", "videoConfig": { - "source": "-i {{cam.rtsp_url}}", - "stillImageSource": "-i {{cam.rtsp_url}} -vframes 1 -r 1", - "vcodec": "{{homebridge_rtsp_vcodec}}", - "maxStreams": {{homebridge_rtsp_max_streams}}, - "debug": {{homebridge_rtsp_debug}} - } - {% if not loop.last %} - }, - {% else %} - } - {% endif %} - {% endfor %} - ]} - - ], - - "accessories": [ - { - "accessory": "Roomba", - "name": "Roomba", - "model": "{{homebridge_roomba_model}}", - "blid": "{{homebridge_roomba_blid}}", - "robotpwd": "{{homebridge_roomba_passwd}}", - "ipaddress": "{{homebridge_roomba_ip}}", - "autoRefreshEnabled": {{homebridge_roomba_auto_refresh}}, - "keepAliveEnabled": {{homebridge_roomba_keep_alive}}, - "cacheTTL": {{homebridge_roomba_cache_TTL}} - } - ] - -} -- cgit v1.2.3