Themes(surveillance): add doorbell as option

This commit is contained in:
Pieter Vander Vennet 2024-11-13 00:18:23 +01:00
parent 08e3c6368a
commit 88a4bd5619
4 changed files with 134 additions and 5 deletions

View file

@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="93mm"
height="148mm"
viewBox="0 0 93 148"
version="1.1"
id="svg1"
xml:space="preserve"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
sodipodi:docname="doorbell.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#999999"
borderopacity="1"
inkscape:showpageshadow="2"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showguides="true"
inkscape:zoom="1.0832815"
inkscape:cx="229.85715"
inkscape:cy="376.17184"
inkscape:window-width="1920"
inkscape:window-height="995"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"><sodipodi:guide
position="46.500001,295.5"
orientation="1,0"
id="guide1"
inkscape:locked="false" /></sodipodi:namedview><defs
id="defs1" /><g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-27.595694,-47.814915)"><rect
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:round"
id="rect1"
width="90"
height="145"
x="29.095694"
y="49.314915"
rx="15"
ry="15" /><path
style="fill:none;stroke:#000000;stroke-width:4.48801;stroke-linecap:round"
id="path1"
sodipodi:type="arc"
sodipodi:cx="74.095703"
sodipodi:cy="89.678757"
sodipodi:rx="25.450714"
sodipodi:ry="25.450714"
sodipodi:start="0"
sodipodi:end="6.26046"
sodipodi:open="true"
sodipodi:arc-type="arc"
d="M 99.546417,89.678757 A 25.450714,25.450714 0 0 1 74.240296,115.12906 25.450714,25.450714 0 0 1 48.646632,89.967938 25.450714,25.450714 0 0 1 73.661943,64.231739 25.450714,25.450714 0 0 1 99.539846,89.100431" /><path
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:3.30274;stroke-linecap:round"
id="path2"
sodipodi:type="arc"
sodipodi:cx="74.095703"
sodipodi:cy="89.678749"
sodipodi:rx="18.729298"
sodipodi:ry="18.729298"
sodipodi:start="0"
sodipodi:end="6.26046"
sodipodi:open="true"
sodipodi:arc-type="arc"
d="M 92.825001,89.678749 A 18.729298,18.729298 0 0 1 74.20211,108.40774 18.729298,18.729298 0 0 1 55.367615,89.891559 18.729298,18.729298 0 0 1 73.776497,70.952172 18.729298,18.729298 0 0 1 92.820165,89.253157" /><path
style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:3.26616;stroke-linecap:round;stroke-opacity:1"
id="path3"
sodipodi:type="arc"
sodipodi:cx="66.21344"
sodipodi:cy="82.184776"
sodipodi:rx="1.1802208"
sodipodi:ry="1.1802208"
sodipodi:start="0"
sodipodi:end="6.26046"
sodipodi:open="true"
sodipodi:arc-type="arc"
d="m 67.393661,82.184776 a 1.1802208,1.1802208 0 0 1 -1.173516,1.180202 1.1802208,1.1802208 0 0 1 -1.18685,-1.166792 1.1802208,1.1802208 0 0 1 1.16003,-1.193459 1.1802208,1.1802208 0 0 1 1.200031,1.153231" /><g
style="fill:none"
id="g3"
transform="matrix(1.2169966,0,0,1.2169966,59.491977,141.73348)"><path
id="Vector"
d="m 15,17 v 1 c 0,1.6569 -1.3431,3 -3,3 -1.6569,0 -3,-1.3431 -3,-3 v -1 m 6,0 H 9 m 6,0 h 3.5905 c 0.3825,0 0.5747,0 0.7296,-0.0522 0.2959,-0.0998 0.5274,-0.3322 0.6272,-0.628 0.0524,-0.1555 0.0524,-0.3483 0.0524,-0.7339 0,-0.1687 -2e-4,-0.253 -0.0134,-0.3335 -0.0249,-0.152 -0.0839,-0.2961 -0.1737,-0.4212 -0.0475,-0.0661 -0.1078,-0.1264 -0.2268,-0.2454 L 19.1963,14.1963 C 19.0706,14.0706 19,13.9001 19,13.7224 V 10 C 19,6.134 15.866,2.99999 12,3 8.13401,3.00001 5,6.13401 5,10 v 3.7224 c 0,0.1778 -0.07076,0.3482 -0.19643,0.4739 L 4.41406,14.5858 C 4.29476,14.7051 4.23504,14.765 4.1875,14.8312 4.09766,14.9564 4.03815,15.1004 4.0132,15.2524 4,15.3329 4,15.4172 4,15.586 c 0,0.3855 0,0.5782 0.05245,0.7337 0.0998,0.2959 0.33235,0.5283 0.62821,0.6281 C 4.83556,17 5.02701,17 5.40956,17 H 9"
stroke="#000000"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round" /></g><path
style="fill:none;stroke:#000000;stroke-width:3.30271;stroke-linecap:round"
id="path4"
sodipodi:type="arc"
sodipodi:cx="74.095947"
sodipodi:cy="156.32857"
sodipodi:rx="18.729073"
sodipodi:ry="18.729073"
sodipodi:start="0"
sodipodi:end="6.26046"
sodipodi:open="true"
sodipodi:arc-type="arc"
d="M 92.82502,156.32857 A 18.729073,18.729073 0 0 1 74.202353,175.05734 18.729073,18.729073 0 0 1 55.368084,156.54137 18.729073,18.729073 0 0 1 73.776745,137.60222 18.729073,18.729073 0 0 1 92.820184,155.90298" /></g></svg>

After

Width:  |  Height:  |  Size: 5 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Pieter Vander Vennet
SPDX-License-Identifier: CC0

View file

@ -26,5 +26,13 @@
"sources": [
"https://commons.wikimedia.org/wiki/File:ANPR_Camera_Front.jpg"
]
},
{
"path": "doorbell.svg",
"license": "CC0-1.0",
"authors": [
"Pieter Vander Vennet"
],
"sources": []
}
]

View file

@ -67,6 +67,10 @@
"if": "camera:type=dome",
"then": "./assets/themes/surveillance/dome.svg"
},
{
"if": "camera:type=doorbell",
"then": "./assets/layers/surveillance_camera/doorbell.svg"
},
{
"if": "_direction:leftright=right",
"then": "./assets/themes/surveillance/cam_right.svg"
@ -314,11 +318,7 @@
"icon": "./assets/themes/surveillance/dome.svg"
},
{
"if": {
"and": [
"camera:type=panning"
]
},
"if": "camera:type=panning",
"then": {
"en": "A panning camera",
"nl": "Een camera die (met een motor) van links naar rechts kan draaien",
@ -330,6 +330,16 @@
"es": "Una cámara panorámica",
"cs": "Otáčecí kamera"
}
},
{
"if": "camera:type=doorbell",
"icon": {
"path": "./assets/layers/surveillance_camera/doorbell.svg",
"size": "large"
},
"then": {
"en": "A doorbell which might be turned on remotely at any time or by motion detection. These are typically <i>Smart</i>, internet-connected doorbells. Typical brands are Ring, Google Nest, Eufy, ..."
}
}
],
"id": "Camera type: fixed; panning; dome"