"add seconds to timer at runtime"
|
@ -1 +1 @@
|
||||||
__version__ = "4.0.0.27"
|
__version__ = "4.0.0.28"
|
|
@ -22,17 +22,19 @@ class Timer(object):
|
||||||
self.start_time = time.time()
|
self.start_time = time.time()
|
||||||
self.count = int(round(self._timemout, 0))
|
self.count = int(round(self._timemout, 0))
|
||||||
try:
|
try:
|
||||||
for seconds in range(self.count, 0, -1):
|
while self.count > 0:
|
||||||
|
self.count -= 1
|
||||||
if self._update is not None:
|
if self._update is not None:
|
||||||
await self._update(self,seconds)
|
await self._update(self,self.count)
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
|
|
||||||
except asyncio.CancelledError:
|
except asyncio.CancelledError:
|
||||||
end = time.time()
|
end = time.time()
|
||||||
duration = end - self.start_time
|
duration = end - self.start_time
|
||||||
self._timemout = self._timemout - duration
|
self._timemout = self._timemout - duration
|
||||||
|
|
||||||
|
async def add(self, seconds):
|
||||||
|
self.count = self.count + seconds
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
self._task = asyncio.create_task(self._job())
|
self._task = asyncio.create_task(self._job())
|
||||||
self._task.add_done_callback(self.done)
|
self._task.add_done_callback(self.done)
|
||||||
|
|
|
@ -14,9 +14,11 @@ class CustomSensor(CBPiSensor):
|
||||||
super(CustomSensor, self).__init__(cbpi, id, props)
|
super(CustomSensor, self).__init__(cbpi, id, props)
|
||||||
self.value = 0
|
self.value = 0
|
||||||
async def run(self):
|
async def run(self):
|
||||||
|
|
||||||
while self.running is True:
|
while True:
|
||||||
self.value = random.randint(0,10)
|
self.value = random.randint(10,100)
|
||||||
|
self.log_data(self.value)
|
||||||
|
|
||||||
self.push_update(self.value)
|
self.push_update(self.value)
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
def get_state(self):
|
def get_state(self):
|
||||||
|
|
7
cbpi/static/beer_icon.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<path d="M17.171,8.622 C17.019,8.332 16.959,8.015 16.999,7.704 L17.366,4.832 C17.536,3.507 16.114,2.945 15.742,2.872 C15.711,2.856 15.636,2.772 15.575,2.704 C15.355,2.458 14.986,2.046 14.303,1.835 C13.453,1.571 12.639,1.989 12.248,2.189 C12.181,2.223 12.131,2.25 12.11,2.259 C12.076,2.263 11.945,2.233 11.842,2.209 C11.593,2.152 11.252,2.072 10.807,2.072 C9.934,2.072 9.248,2.706 8.994,2.979 C8.816,3.17 8.473,3.298 8.11,3.435 C7.918,3.507 7.719,3.581 7.52,3.672 C6.599,4.093 6.623,4.673 6.624,4.676 C6.624,4.679 6.633,4.829 6.634,4.832 L7.001,7.704 C7.041,8.015 6.981,8.332 6.828,8.621 C6.554,9.141 6.421,9.594 6.421,10.007 C6.421,10.953 6.955,11.592 7.184,11.822 C7.443,12.082 7.603,12.402 7.647,12.747 L8.83,22.014 C8.844,22.128 8.941,22.25 9.055,22.25 L14.945,22.25 C15.059,22.25 15.156,22.128 15.17,22.015 L16.353,12.766 C16.397,12.421 16.557,12.092 16.816,11.832 C17.046,11.601 17.579,10.958 17.579,10.012 C17.579,9.599 17.446,9.141 17.171,8.622 z M7.709,4.071 C7.893,3.987 8.084,3.922 8.269,3.853 C8.683,3.697 9.075,3.554 9.326,3.285 C9.539,3.056 10.112,2.524 10.806,2.524 C11.2,2.524 11.512,2.598 11.739,2.651 C11.941,2.697 12.086,2.731 12.215,2.699 C12.276,2.684 12.343,2.65 12.455,2.593 C12.792,2.42 13.497,2.06 14.168,2.268 C14.731,2.442 15.024,2.768 15.238,3.007 C15.375,3.16 15.484,3.267 15.635,3.297 C15.648,3.3 16.883,3.641 16.925,4.549 L7.144,4.549 C7.214,4.322 7.368,4.227 7.709,4.071 z M16.597,7.272 L7.404,7.272 L7.116,5.003 L16.884,5.003 L16.597,7.272 z M9.255,21.796 L9.206,21.342 L14.794,21.342 L14.746,21.796 L9.255,21.796 z M16.495,11.503 C16.165,11.835 15.96,12.245 15.903,12.69 L14.852,20.888 L9.148,20.888 L8.097,12.69 C8.04,12.245 7.835,11.834 7.506,11.503 C7.316,11.312 6.875,10.785 6.875,10.007 C6.875,9.67 6.991,9.287 7.23,8.834 C7.414,8.486 7.488,8.105 7.456,7.726 L16.545,7.726 C16.512,8.104 16.586,8.486 16.77,8.834 C17.009,9.287 17.125,9.671 17.125,10.007 C17.125,10.785 16.684,11.312 16.495,11.503 z M12.267,3.646 C12.393,3.646 12.494,3.544 12.494,3.419 C12.494,3.294 12.393,3.192 12.267,3.192 C12.142,3.192 12.04,3.294 12.04,3.419 C12.04,3.544 12.142,3.646 12.267,3.646 z M14.764,4.327 C14.889,4.327 14.991,4.225 14.991,4.1 C14.991,3.975 14.889,3.873 14.764,3.873 C14.638,3.873 14.537,3.975 14.537,4.1 C14.537,4.225 14.638,4.327 14.764,4.327 z M13.997,3.212 C14.196,3.212 14.358,3.051 14.358,2.851 C14.358,2.652 14.197,2.491 13.997,2.491 C13.798,2.491 13.637,2.652 13.637,2.851 C13.637,3.05 13.798,3.212 13.997,3.212 z M14.483,10.865 C14.378,10.796 14.237,10.825 14.168,10.93 L13.77,11.535 C13.701,11.639 13.73,11.78 13.835,11.849 C13.874,11.874 13.917,11.887 13.96,11.887 C14.033,11.887 14.106,11.851 14.15,11.784 L14.548,11.179 C14.616,11.074 14.587,10.933 14.483,10.865 z M15.947,10.411 C15.842,10.342 15.702,10.372 15.633,10.476 L14.692,11.913 C14.623,12.018 14.652,12.159 14.757,12.228 C14.796,12.253 14.839,12.265 14.882,12.265 C14.956,12.265 15.028,12.229 15.072,12.162 L16.013,10.725 C16.081,10.62 16.052,10.479 15.947,10.411 z" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.2 KiB |
10
cbpi/static/calculator_icon.svg
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<g>
|
||||||
|
<path d="M17.862,1.042 C18.49,1.042 19,1.565 19,2.211 L19,20.83 C19,21.476 18.49,22 17.862,22 L5.628,22 C5,22 4.49,21.476 4.49,20.83 L4.49,2.211 C4.49,1.565 5,1.042 5.628,1.042 L17.862,1.042 z M15.554,16.863 C14.743,16.863 14.084,17.521 14.084,18.333 C14.084,19.145 14.743,19.803 15.554,19.803 C16.366,19.803 17.024,19.145 17.024,18.333 C17.024,17.521 16.366,16.863 15.554,16.863 z M11.714,16.863 C10.902,16.863 10.244,17.521 10.244,18.333 C10.244,19.145 10.902,19.803 11.714,19.803 C12.525,19.803 13.183,19.145 13.183,18.333 C13.183,17.521 12.525,16.863 11.714,16.863 z M7.936,16.863 C7.124,16.863 6.466,17.521 6.466,18.333 C6.466,19.145 7.124,19.803 7.936,19.803 C8.748,19.803 9.406,19.145 9.406,18.333 C9.406,17.521 8.748,16.863 7.936,16.863 z M7.904,13.07 C7.093,13.07 6.434,13.728 6.434,14.54 C6.434,15.352 7.093,16.01 7.904,16.01 C8.716,16.01 9.374,15.352 9.374,14.54 C9.374,13.728 8.716,13.07 7.904,13.07 z M15.523,13.07 C14.711,13.07 14.053,13.728 14.053,14.54 C14.053,15.352 14.711,16.01 15.523,16.01 C16.335,16.01 16.993,15.352 16.993,14.54 C16.954,13.77 16.44,13.189 15.673,13.077 L15.523,13.07 z M11.682,13.07 C10.87,13.07 10.212,13.728 10.212,14.54 C10.212,15.352 10.87,16.01 11.682,16.01 C12.494,16.01 13.152,15.352 13.152,14.54 C13.152,13.728 12.494,13.07 11.682,13.07 z M7.936,9.371 C7.124,9.371 6.466,10.029 6.466,10.841 C6.466,11.653 7.124,12.311 7.936,12.311 C8.748,12.311 9.406,11.653 9.406,10.841 C9.406,10.029 8.748,9.371 7.936,9.371 z M15.554,9.371 C14.743,9.371 14.084,10.029 14.084,10.841 C14.084,11.653 14.743,12.311 15.554,12.311 C16.366,12.311 17.024,11.653 17.024,10.841 C17.024,10.029 16.366,9.371 15.554,9.371 z M11.714,9.371 C10.902,9.371 10.244,10.029 10.244,10.841 C10.244,11.653 10.902,12.311 11.714,12.311 C12.525,12.311 13.183,11.653 13.183,10.841 C13.183,10.029 12.525,9.371 11.714,9.371 z M16.835,2.322 L6.909,2.322 C6.28,2.322 5.771,2.831 5.771,3.46 L5.771,5.862 C5.771,6.491 6.28,7 6.909,7 L16.835,7 C17.463,7 17.973,6.491 17.973,5.862 L17.973,3.46 C17.973,2.831 17.463,2.322 16.835,2.322 z" fill="#321313"/>
|
||||||
|
<path d="M6.466,3.144 L17.024,3.144 L17.024,6.178 L6.466,6.178 L6.466,3.144 z" fill="#321313"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.4 KiB |
7
cbpi/static/cbpi_icon.svg
Normal file
After Width: | Height: | Size: 8.5 KiB |
7
cbpi/static/control_icon.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<path d="M16.296,2 C16.918,2 17.422,2.504 17.422,3.127 L17.422,21.623 C17.422,22.246 16.918,22.75 16.296,22.75 L5.827,22.75 C5.204,22.75 4.7,22.246 4.7,21.623 L4.7,3.127 C4.7,2.504 5.204,2 5.827,2 L16.296,2 z M16.296,18.008 L5.827,18.008 L5.827,21.623 L16.296,21.623 L16.296,18.008 z M16.296,12.751 L5.827,12.751 L5.827,16.882 L16.296,16.882 L16.296,12.751 z M16.296,8.056 L5.827,8.056 L5.827,11.624 L16.296,11.624 L16.296,8.056 z M16.296,3.127 L5.827,3.127 L5.827,6.929 L16.296,6.929 L16.296,3.127 z" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 850 B |
7
cbpi/static/glass_icon.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<path d="M5.877,1 C8.651,1 11.426,1 14.2,1 C15.405,1 17.304,0.831 18.32,1.083 C18.547,1.563 18.447,2.641 18.32,3.225 C18.32,3.445 18.32,3.665 18.32,3.884 C18.277,4.083 18.195,4.528 18.238,4.75 C18.362,5.394 18.596,6.847 18.444,7.51 C18.321,8.048 18.138,8.581 17.991,9.076 C17.901,9.379 17.933,9.761 17.867,10.065 C17.853,10.477 17.84,10.889 17.826,11.301 C17.525,12.679 17.795,14.288 17.496,15.669 C17.402,16.103 17.497,16.564 17.414,16.946 C17.414,17.166 17.414,17.386 17.414,17.606 C17.198,18.596 17.382,19.784 17.167,20.778 C17.005,21.525 17.263,22.054 16.713,22.426 C16.157,22.804 15.401,22.708 14.612,22.88 C14.24,22.96 13.772,22.869 13.335,22.962 C12.621,23.114 10.627,23.066 9.956,22.921 C9.273,22.773 8.677,22.886 8.061,22.715 C7.71,22.618 7.302,22.483 7.113,22.22 C6.76,21.731 6.976,21.191 6.824,20.49 C6.661,19.735 6.782,18.814 6.618,18.059 C6.618,17.853 6.618,17.647 6.618,17.441 C6.535,17.056 6.629,16.594 6.536,16.163 C6.233,14.766 6.509,13.07 6.206,11.672 C6.179,11.04 6.151,10.408 6.124,9.777 C5.929,8.88 5.737,8.171 5.547,7.304 C5.424,6.742 5.61,6.017 5.712,5.574 C5.726,5.354 5.739,5.134 5.753,4.915 C5.77,4.839 5.824,4.642 5.794,4.503 C5.71,4.108 5.808,3.632 5.712,3.184 C5.59,2.619 5.521,1.741 5.629,1.165 C5.708,1.121 5.813,1.063 5.877,1 z M6.206,1.618 C6.261,2.483 6.316,3.349 6.371,4.214 C10.148,4.214 13.926,4.214 17.702,4.214 C17.693,3.389 17.717,2.375 17.867,1.618 C13.981,1.618 10.093,1.618 6.206,1.618 z M6.371,4.832 C6.364,5.333 6.3,5.801 6.206,6.233 C6.206,6.384 6.206,6.535 6.206,6.686 C6.182,6.802 6.125,7.084 6.165,7.263 C6.353,8.105 6.552,8.823 6.742,9.694 C6.742,9.914 6.742,10.134 6.742,10.354 C7.005,11.56 6.77,12.981 7.03,14.186 C7.058,14.831 7.085,15.477 7.113,16.122 C7.196,16.504 7.101,16.966 7.195,17.4 C7.498,18.789 7.255,20.459 7.566,21.808 C8.064,22.122 8.762,22.151 9.461,22.303 C9.64,22.303 9.819,22.303 9.997,22.303 C10.536,22.418 11.187,22.385 11.81,22.385 C13.472,22.385 15.004,22.272 16.301,21.973 C16.396,21.828 16.484,21.791 16.507,21.561 C16.696,21.248 16.501,20.688 16.59,20.284 C16.807,19.288 16.621,18.102 16.837,17.111 C16.837,16.905 16.837,16.699 16.837,16.493 C17.092,15.327 16.871,13.951 17.125,12.785 C17.139,12.373 17.153,11.961 17.167,11.548 C17.32,10.845 17.158,10.014 17.332,9.282 C17.494,8.596 17.71,7.969 17.867,7.263 C18.046,6.463 17.66,5.68 17.661,4.873 C17.647,4.86 17.634,4.846 17.62,4.832 C13.871,4.832 10.12,4.832 6.371,4.832" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.7 KiB |
7
cbpi/static/grain.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<path d="M11.916,0.452 C12.009,0.452 12.101,0.452 12.194,0.452 C12.241,0.533 12.295,0.611 12.36,0.674 C12.36,2.136 12.36,3.598 12.36,5.059 C13.78,6.029 13.59,9.714 11.972,10.277 C11.787,10.092 11.602,9.907 11.417,9.722 C10.845,8.935 10.411,7.376 10.917,6.17 C11.087,5.766 11.572,5.344 11.694,5.059 C11.694,3.579 11.694,2.099 11.694,0.619 C11.775,0.571 11.854,0.518 11.916,0.452 z M8.419,8.723 C8.943,8.721 9.345,8.884 9.696,9.056 C9.696,6.706 9.696,4.356 9.696,2.006 C9.741,1.95 9.716,1.991 9.751,1.895 C9.807,1.877 9.863,1.858 9.918,1.84 C10.048,1.754 10.156,1.807 10.307,1.84 C10.307,1.877 10.307,1.914 10.307,1.951 C10.479,2.229 10.362,3.607 10.362,4.06 C10.362,5.873 10.362,7.687 10.362,9.5 C11.262,10.037 11.699,11.156 11.694,12.609 C11.494,12.678 11.146,12.668 10.862,12.664 C10.651,12.53 10.34,12.593 10.085,12.498 C9.405,12.245 8.684,11.676 8.308,11.11 C7.406,9.75 7.742,5.537 7.753,3.228 C7.809,3.209 7.864,3.191 7.92,3.172 C7.998,3.119 8.101,3.118 8.253,3.117 C8.271,3.154 8.29,3.191 8.308,3.228 C8.523,3.511 8.419,4.312 8.419,4.782 C8.419,6.095 8.419,7.409 8.419,8.723 z M15.636,8.723 C15.636,7.335 15.636,5.947 15.636,4.56 C15.636,3.835 15.414,3.128 16.191,3.117 C16.209,3.172 16.228,3.228 16.246,3.283 C16.362,3.467 16.302,3.946 16.302,4.227 C16.302,5.004 16.302,5.781 16.302,6.558 C16.302,7.594 16.302,8.631 16.302,9.667 C15.866,11.514 14.671,12.687 12.36,12.664 C12.355,11.514 12.55,10.763 13.027,10.111 C13.141,9.955 13.638,9.614 13.693,9.5 C13.693,6.984 13.693,4.467 13.693,1.951 C13.737,1.894 13.712,1.936 13.748,1.84 C13.785,1.84 13.822,1.84 13.859,1.84 C13.938,1.787 14.041,1.786 14.192,1.784 C14.211,1.821 14.229,1.858 14.248,1.895 C14.504,2.235 14.359,3.293 14.359,3.838 C14.359,5.577 14.359,7.317 14.359,9.056 C14.377,9.056 14.396,9.056 14.414,9.056 C14.681,8.842 15.186,8.733 15.636,8.723 z M7.753,12.331 C10.309,12.298 11.727,13.726 11.694,16.272 C9.116,16.307 7.719,14.906 7.753,12.331 z M16.302,12.331 C16.336,14.909 14.935,16.307 12.36,16.272 C12.327,13.717 13.755,12.298 16.302,12.331 z M11.694,19.881 C9.239,20.077 7.72,18.498 7.753,15.995 C7.94,15.93 8.261,15.936 8.53,15.939 C8.892,16.167 9.625,16.188 10.029,16.439 C11.064,17.083 11.709,18.174 11.694,19.881 z M16.302,15.939 C16.338,18.49 14.839,20.076 12.36,19.881 C12.328,17.342 13.781,15.909 16.302,15.939 z M7.753,19.603 C10.183,19.547 11.726,20.909 11.694,23.489 C11.48,23.562 11.105,23.548 10.806,23.544 C10.452,23.32 9.931,23.364 9.585,23.156 C8.458,22.475 7.738,21.445 7.753,19.603 z M16.302,19.603 C16.335,22.163 14.904,23.576 12.36,23.544 C12.326,20.966 13.726,19.568 16.302,19.603" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.9 KiB |
7
cbpi/static/hops_icon.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<path d="M12.592,3.206 C15.909,3.273 18.212,5.79 19.205,8.24 C19.415,8.759 19.474,9.395 19.599,9.967 C19.66,10.241 19.579,10.592 19.649,10.806 C19.468,10.806 19.287,10.806 19.106,10.806 C19.048,10.766 19.023,10.768 18.909,10.757 C19.076,12.605 18.894,13.884 18.316,15.198 C18.174,15.522 18.104,16.008 17.724,16.086 C17.594,15.975 17.143,15.788 17.033,15.839 C16.935,16.333 16.836,16.826 16.737,17.32 C16.557,17.855 16.273,18.407 15.997,18.85 C15.83,19.119 15.765,19.517 15.405,19.59 C15.092,19.425 14.78,19.261 14.467,19.096 C14.335,20.087 13.335,21.264 12.74,21.86 C12.511,22.089 12.283,22.436 11.951,22.551 C11.739,22.225 11.333,21.988 11.062,21.712 C10.698,21.34 10.35,20.828 10.075,20.379 C9.904,20.099 9.681,19.227 9.434,19.096 C9.227,19.307 8.787,19.537 8.447,19.59 C8.143,18.968 7.692,18.4 7.411,17.715 C7.167,17.121 7.193,16.435 6.967,15.79 C6.72,15.857 6.331,16.122 6.128,16.037 C5.182,15.093 4.885,12.608 5.091,10.757 C4.861,10.773 4.631,10.79 4.401,10.806 C4.384,10.79 4.368,10.773 4.351,10.757 C4.42,10.542 4.34,10.191 4.401,9.918 C4.499,9.441 4.598,8.964 4.697,8.487 C5.647,5.86 8.009,3.336 11.408,3.206 C11.4,2.85 11.297,2.072 11.457,1.825 C11.598,1.343 12.253,1.342 12.493,1.726 C12.693,1.983 12.6,2.777 12.592,3.206 z M11.753,4.341 C11.527,4.479 11.101,4.37 10.816,4.44 C10.374,4.548 9.891,4.658 9.483,4.835 C8.086,5.44 6.803,6.62 6.177,7.993 C5.962,8.465 5.869,8.964 5.684,9.474 C5.749,9.474 5.815,9.474 5.881,9.474 C6.038,9.366 6.217,9.402 6.424,9.325 C6.835,9.174 7.33,8.967 7.707,8.733 C8.262,8.39 8.752,7.715 9.385,7.5 C9.6,8.217 10.652,9.547 11.21,9.967 C11.416,10.122 11.785,10.652 12.049,10.559 C12.711,10.338 13.613,9.206 13.974,8.635 C14.186,8.299 14.356,7.676 14.714,7.5 C15.283,8.218 17.168,9.32 18.316,9.474 C18.316,9.457 18.316,9.441 18.316,9.424 C18.202,9.26 18.247,9.049 18.168,8.832 C17.991,8.34 17.749,7.786 17.478,7.352 C16.415,5.651 14.496,4.35 11.753,4.341 z M8.99,9.227 C8.563,9.658 7.852,10.015 7.263,10.263 C6.978,10.383 6.603,10.38 6.374,10.559 C5.842,11.287 6.308,14.178 6.72,14.606 C7.019,14.318 7.47,14.163 7.805,13.915 C8.618,13.315 9.874,11.72 9.977,10.46 C9.613,10.112 9.384,9.533 8.99,9.227 z M14.961,9.227 C14.75,9.666 14.351,10.226 13.974,10.51 C14.767,12.549 15.53,13.581 17.33,14.606 C17.33,14.573 17.33,14.54 17.33,14.507 C17.717,14.033 17.974,12.243 17.774,11.349 C17.701,11.023 17.82,10.705 17.576,10.559 C17.313,10.364 16.906,10.352 16.589,10.214 C15.998,9.956 15.489,9.547 14.961,9.227 z M10.964,11.349 C10.877,11.918 10.45,12.28 10.322,12.73 C10.236,13.036 10.492,13.554 10.569,13.767 C10.802,14.406 10.967,14.93 11.309,15.445 C11.492,15.72 11.767,15.951 11.951,16.234 C11.984,16.234 12.016,16.234 12.049,16.234 C12.272,15.865 12.613,15.563 12.839,15.198 C13.146,14.702 13.295,14.184 13.48,13.569 C13.535,13.388 13.738,12.972 13.678,12.73 C13.633,12.549 13.407,12.349 13.332,12.188 C13.206,11.913 13.199,11.533 12.938,11.398 C12.691,11.643 12.292,11.741 12.049,11.99 C11.612,11.883 11.31,11.561 10.964,11.349 z M9.335,14.063 C8.862,14.755 8.136,14.609 8.151,15.79 C8.286,16.014 8.215,16.352 8.299,16.629 C8.451,17.134 8.677,17.62 8.891,18.06 C9.405,17.811 10.442,16.982 10.618,16.431 C10.27,16.075 9.938,15.474 9.73,15 C9.614,14.735 9.575,14.202 9.335,14.063 z M14.615,14.063 C14.304,14.899 13.983,15.875 13.382,16.431 C13.553,16.986 14.195,17.386 14.615,17.715 C14.729,17.804 15.016,18.078 15.109,18.011 C15.59,17.493 15.843,16.105 15.849,15.099 C15.375,14.82 15.058,14.36 14.615,14.063 z M11.408,17.369 C11.241,17.831 10.624,17.964 10.52,18.455 C10.788,18.814 10.83,19.357 11.062,19.738 C11.32,20.159 11.682,20.518 11.951,20.922 C12.533,20.705 13.314,19.026 13.48,18.307 C13.105,18.06 12.863,17.671 12.543,17.369 C12.543,17.386 12.543,17.402 12.543,17.418 C12.338,17.553 12.195,17.775 11.951,17.863 C11.832,17.684 11.587,17.486 11.408,17.369" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 4.1 KiB |
12
cbpi/static/kettle2_icon.svg
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<g>
|
||||||
|
<path d="M18.65,3.734 L18.463,3.734 C17.876,2.581 16.037,1.895 13.35,1.85 L13.35,1.597 C13.35,1.13 12.97,0.75 12.503,0.75 L6.743,0.75 C6.276,0.75 5.896,1.13 5.896,1.597 L5.896,13.845 C5.782,13.788 5.655,13.752 5.52,13.752 C5.055,13.752 4.678,14.13 4.678,14.594 C4.678,15.059 5.055,15.436 5.52,15.436 C5.656,15.436 5.782,15.401 5.896,15.343 L5.896,17.958 L5.52,18.334 C5.415,18.439 5.415,18.609 5.52,18.714 C5.572,18.766 5.641,18.793 5.71,18.793 C5.779,18.793 5.848,18.766 5.9,18.714 L6.355,18.259 C6.405,18.209 6.433,18.141 6.433,18.069 L6.433,17.022 L6.809,17.022 L6.809,18.695 C6.809,18.99 7.002,19.251 7.285,19.337 C7.31,19.345 7.429,19.381 7.618,19.436 L7.618,22.348 L8.021,22.348 L8.021,22.712 L7.617,22.712 L7.617,23.25 L8.959,23.25 L8.959,22.712 L8.558,22.712 L8.558,22.348 L8.962,22.348 L8.962,21.559 L12.662,21.559 C12.66,21.573 12.657,21.586 12.657,21.601 C12.657,21.826 12.84,22.009 13.066,22.009 C13.292,22.009 13.475,21.826 13.475,21.601 C13.475,21.586 13.472,21.573 13.47,21.559 L17.172,21.559 L17.172,22.348 L17.577,22.348 L17.577,22.712 L17.173,22.712 L17.173,23.25 L18.515,23.25 L18.515,22.712 L18.114,22.712 L18.114,22.348 L18.516,22.348 L18.516,19.435 C18.704,19.381 18.822,19.345 18.847,19.337 C19.129,19.25 19.322,18.989 19.322,18.694 L19.322,4.406 C19.322,4.035 19.021,3.734 18.65,3.734 z M5.519,14.899 C5.351,14.899 5.215,14.762 5.215,14.594 C5.215,14.426 5.352,14.29 5.519,14.29 C5.687,14.29 5.824,14.426 5.824,14.594 C5.824,14.762 5.687,14.899 5.519,14.899 z M13.066,19.129 C12.081,19.129 10.62,18.825 9.468,18.54 L16.664,18.54 C15.513,18.825 14.052,19.129 13.066,19.129 z M8.153,18.136 L8.153,11.013 L17.978,11.013 L17.978,18.136 L8.153,18.136 z M8.153,10.61 L8.153,5.091 L17.978,5.091 L17.978,10.61 L8.153,10.61 z M17.314,4.5 C17.324,4.567 17.345,4.63 17.372,4.688 L8.76,4.688 C8.787,4.629 8.808,4.567 8.818,4.5 C8.908,3.865 10.427,3.189 13.066,3.189 C15.705,3.189 17.224,3.865 17.314,4.5 z M6.743,1.287 L12.503,1.287 C12.674,1.287 12.813,1.426 12.813,1.597 L12.813,1.849 C10.109,1.89 8.258,2.577 7.669,3.734 L7.481,3.734 C7.11,3.734 6.809,4.035 6.809,4.406 L6.809,12.606 L6.433,12.606 L6.433,1.597 C6.433,1.426 6.572,1.287 6.743,1.287 z M6.433,16.484 L6.433,13.144 L6.809,13.144 L6.809,16.484 L6.433,16.484 z M8.961,19.799 C10.117,20.09 11.644,20.42 12.797,20.467 L12.797,21.156 L8.961,21.156 L8.961,19.799 z M17.172,21.156 L13.335,21.156 L13.335,20.467 C14.488,20.42 16.016,20.09 17.172,19.798 L17.172,21.156 z" fill="#000000"/>
|
||||||
|
<path d="M13.066,13.575 C11.812,13.575 10.829,14.251 10.829,15.115 C10.829,15.978 11.812,16.654 13.066,16.654 C14.32,16.654 15.303,15.978 15.303,15.115 C15.303,14.251 14.32,13.575 13.066,13.575 z M13.066,16.116 C12.145,16.116 11.367,15.658 11.367,15.114 C11.367,14.571 12.145,14.113 13.066,14.113 C13.987,14.113 14.765,14.571 14.765,15.115 C14.765,15.658 13.987,16.116 13.066,16.116 z" fill="#000000"/>
|
||||||
|
<path d="M17.134,16.753 C17.134,17.069 16.877,17.326 16.56,17.326 C16.244,17.326 15.987,17.069 15.987,16.753 C15.987,16.436 16.244,16.18 16.56,16.18 C16.877,16.18 17.134,16.436 17.134,16.753 z" fill="#000000"/>
|
||||||
|
<path d="M10.037,16.753 C10.037,17.069 9.78,17.326 9.464,17.326 C9.148,17.326 8.891,17.069 8.891,16.753 C8.891,16.436 9.148,16.18 9.464,16.18 C9.78,16.18 10.037,16.436 10.037,16.753 z" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.6 KiB |
7
cbpi/static/kettle_icon.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<path d="M19.031,2.125 L19.031,22.875 L4.969,22.875 L4.969,2.125 L19.031,2.125 z M17.031,4.125 L6.969,4.125 L6.969,20.875 L17.031,20.875 L17.031,4.125 z" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 502 B |
13
cbpi/static/led.svg
Normal file
After Width: | Height: | Size: 9.5 KiB |
7
cbpi/static/liquid_icon.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<path d="M11.811,1.252 C12.756,1.257 13.016,1.97 13.411,2.519 C13.765,3.011 14.194,3.487 14.544,3.985 C15.052,4.706 15.503,5.433 15.977,6.185 C17.384,8.413 18.542,10.434 19.343,13.317 C19.653,14.43 19.768,16.083 19.41,17.249 C19.073,18.348 18.525,19.231 17.91,20.049 C17.766,20.182 17.621,20.315 17.477,20.449 C16.58,21.345 15.535,22.004 14.178,22.448 C13.683,22.61 13.119,22.593 12.578,22.715 C12.286,22.781 11.751,22.736 11.511,22.682 C11.278,22.671 11.045,22.66 10.812,22.648 C10.153,22.489 9.498,22.323 8.945,22.082 C6.728,21.116 5.421,19.633 4.646,17.216 C4.344,16.274 4.256,14.716 4.546,13.65 C5.49,10.182 7.094,7.439 8.912,4.852 C9.677,3.763 10.423,2.709 11.211,1.652 C11.329,1.494 11.54,1.424 11.678,1.286 C11.756,1.279 11.772,1.279 11.811,1.252 z M11.978,3.219 C11.864,3.572 11.394,3.986 11.178,4.285 C10.656,5.009 10.136,5.745 9.645,6.485 C8.143,8.746 6.797,11.158 6.046,14.15 C5.808,15.096 5.972,16.345 6.246,17.083 C6.946,18.968 8.028,20.086 9.912,20.782 C10.517,21.006 11.204,21.149 12.045,21.149 C12.222,21.149 12.4,21.149 12.578,21.149 C12.922,21.093 13.267,21.038 13.611,20.982 C14.784,20.622 16.055,19.921 16.71,19.049 C17.181,18.423 17.606,17.741 17.877,16.916 C18.226,15.853 18.056,14.34 17.744,13.383 C17.575,12.866 17.507,12.425 17.31,11.95 C16.558,10.139 15.599,8.512 14.611,6.951 C14.022,6.022 13.405,5.158 12.778,4.285 C12.537,3.949 12.314,3.454 11.978,3.219 z M10.512,12.75 C10.736,12.913 10.872,13.192 11.111,13.35 C11.539,13.632 12.442,13.664 12.911,13.383 C13.159,13.235 13.324,12.821 13.611,12.75 C13.792,13.325 14.927,13.811 15.711,13.483 C15.885,13.41 16.091,13.265 16.244,13.15 C16.368,13.057 16.379,12.913 16.544,12.85 C16.544,12.872 16.544,12.895 16.544,12.917 C16.692,13.106 16.7,13.427 16.777,13.683 C16.995,14.41 17.125,15.566 16.877,16.383 C16.359,18.088 15.217,19.154 13.578,19.749 C13.181,19.893 12.223,20.116 11.611,19.982 C11.115,19.874 10.613,19.857 10.178,19.682 C8.777,19.118 7.883,18.19 7.312,16.783 C7.091,16.237 6.852,15.236 7.046,14.417 C7.18,13.847 7.309,13.28 7.512,12.783 C7.571,12.804 7.545,12.79 7.579,12.817 C7.83,13.062 8.024,13.338 8.379,13.483 C9.292,13.858 10.175,13.289 10.512,12.75" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.4 KiB |
7
cbpi/static/paddle_icon.svg
Normal file
After Width: | Height: | Size: 5.5 KiB |
19
cbpi/static/pipe_icon.svg
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<g>
|
||||||
|
<path d="M12.473,5.843 C13.416,5.843 14.181,6.607 14.181,7.55 C14.181,8.493 13.416,9.257 12.473,9.257 C11.53,9.257 10.766,8.493 10.766,7.55 C10.766,6.607 11.53,5.843 12.473,5.843 z M12.473,6.824 C12.073,6.824 11.748,7.149 11.748,7.55 C11.748,7.951 12.073,8.276 12.473,8.276 C12.874,8.276 13.199,7.951 13.199,7.55 C13.199,7.149 12.874,6.824 12.473,6.824 z" fill="#000000"/>
|
||||||
|
<path d="M12.473,16.385 C13.416,16.385 14.181,17.15 14.181,18.093 C14.181,19.036 13.416,19.8 12.473,19.8 C11.53,19.8 10.766,19.036 10.766,18.093 C10.766,17.15 11.53,16.385 12.473,16.385 z M12.473,17.367 C12.073,17.367 11.748,17.692 11.748,18.093 C11.748,18.493 12.073,18.818 12.473,18.818 C12.874,18.818 13.199,18.493 13.199,18.093 C13.199,17.692 12.874,17.367 12.473,17.367 z" fill="#000000"/>
|
||||||
|
<path d="M20.967,16.385 C21.91,16.385 22.674,17.15 22.674,18.093 C22.674,19.036 21.91,19.8 20.967,19.8 C20.024,19.8 19.26,19.036 19.26,18.093 C19.26,17.15 20.024,16.385 20.967,16.385 z M20.967,17.367 C20.566,17.367 20.242,17.692 20.242,18.093 C20.242,18.493 20.566,18.818 20.967,18.818 C21.368,18.818 21.693,18.493 21.693,18.093 C21.693,17.692 21.368,17.367 20.967,17.367 z" fill="#000000"/>
|
||||||
|
<path d="M4.107,5.8 C5.05,5.8 5.815,6.564 5.815,7.507 C5.815,8.45 5.05,9.215 4.107,9.215 C3.164,9.215 2.4,8.45 2.4,7.507 C2.4,6.564 3.164,5.8 4.107,5.8 z M4.107,6.782 C3.707,6.782 3.382,7.107 3.382,7.507 C3.382,7.908 3.707,8.233 4.107,8.233 C4.508,8.233 4.833,7.908 4.833,7.507 C4.833,7.107 4.508,6.782 4.107,6.782 z" fill="#000000"/>
|
||||||
|
<path d="M11.299,7.016 L11.299,8.041 L5.409,8.041 L5.409,7.016 L11.299,7.016 z" fill="#000000"/>
|
||||||
|
<path d="M13.007,8.937 L13.007,16.834 L11.982,16.834 L11.982,8.937 L13.007,8.937 z" fill="#000000"/>
|
||||||
|
<path d="M19.708,17.602 L19.708,18.626 L13.732,18.626 L13.732,17.602 L19.708,17.602 z" fill="#000000"/>
|
||||||
|
<path d="M4.107,7.963 C3.856,7.963 3.652,7.759 3.652,7.507 C3.652,7.256 3.856,7.052 4.107,7.052 C4.359,7.052 4.563,7.256 4.563,7.507 C4.563,7.759 4.359,7.963 4.107,7.963 z" fill="#000000"/>
|
||||||
|
<path d="M12.459,7.991 C12.208,7.991 12.004,7.787 12.004,7.536 C12.004,7.284 12.208,7.08 12.459,7.08 C12.71,7.08 12.914,7.284 12.914,7.536 C12.914,7.787 12.71,7.991 12.459,7.991 z" fill="#000000"/>
|
||||||
|
<path d="M12.487,18.562 C12.236,18.562 12.032,18.358 12.032,18.107 C12.032,17.855 12.236,17.652 12.487,17.652 C12.739,17.652 12.943,17.855 12.943,18.107 C12.943,18.358 12.739,18.562 12.487,18.562 z" fill="#000000"/>
|
||||||
|
<path d="M20.939,18.52 C20.687,18.52 20.483,18.316 20.483,18.064 C20.483,17.813 20.687,17.609 20.939,17.609 C21.19,17.609 21.394,17.813 21.394,18.064 C21.394,18.316 21.19,18.52 20.939,18.52 z" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3 KiB |
15
cbpi/static/sensor_icon.svg
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<path d="M12,14.8 C10.454,14.8 9.2,13.546 9.2,12 C9.2,10.454 10.454,9.2 12,9.2 C13.546,9.2 14.8,10.454 14.8,12 C14.8,13.546 13.546,14.8 12,14.8 z" fill="#020402"/>
|
||||||
|
<g>
|
||||||
|
<path d="M7.947,6.557 C8.824,6.672 8.504,6.49 8.993,6.915 C9.329,7.353 9.247,7.981 8.809,8.318 C6.128,10.38 6.128,13.588 8.809,15.65 C9.247,15.987 9.329,16.614 8.993,17.052 C8.656,17.49 8.028,17.572 7.59,17.235 C3.868,14.373 3.868,9.595 7.59,6.732 L7.947,6.557 z" fill="#000000"/>
|
||||||
|
<path d="M5.295,3.943 C6.173,4.057 5.852,3.876 6.341,4.301 C6.678,4.739 6.596,5.367 6.158,5.703 C1.598,9.209 1.598,14.758 6.158,18.264 C6.596,18.601 6.678,19.229 6.341,19.667 C6.004,20.105 5.376,20.187 4.939,19.85 C-0.662,15.543 -0.662,8.425 4.939,4.118 L5.295,3.943 z" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path d="M16.053,17.443 C15.176,17.328 15.496,17.51 15.007,17.085 C14.671,16.647 14.753,16.019 15.191,15.682 C17.872,13.62 17.872,10.412 15.191,8.35 C14.753,8.013 14.671,7.386 15.007,6.948 C15.344,6.51 15.972,6.428 16.41,6.765 C20.132,9.627 20.132,14.405 16.41,17.268 L16.053,17.443 z" fill="#000000"/>
|
||||||
|
<path d="M18.705,20.057 C17.827,19.943 18.148,20.124 17.659,19.699 C17.322,19.261 17.404,18.633 17.842,18.297 C22.402,14.791 22.402,9.242 17.842,5.736 C17.404,5.399 17.322,4.771 17.659,4.333 C17.996,3.895 18.624,3.813 19.061,4.15 C24.662,8.457 24.662,15.575 19.061,19.882 L18.705,20.057 z" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.7 KiB |
7
cbpi/static/svg_icon.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<path d="M19.585,9.829 L19.118,9.829 L19.118,7.574 C19.118,7.56 19.116,7.545 19.114,7.531 C19.113,7.442 19.085,7.354 19.023,7.284 L15.27,2.996 C15.269,2.995 15.268,2.995 15.267,2.994 C15.244,2.969 15.218,2.948 15.191,2.93 C15.183,2.924 15.174,2.92 15.166,2.915 C15.142,2.902 15.117,2.891 15.09,2.883 C15.083,2.881 15.077,2.878 15.07,2.877 C15.042,2.87 15.012,2.866 14.982,2.866 L5.758,2.866 C5.337,2.866 4.994,3.208 4.994,3.629 L4.994,9.829 L4.527,9.829 C3.924,9.829 3.436,10.317 3.436,10.92 L3.436,16.595 C3.436,17.197 3.924,17.686 4.527,17.686 L4.994,17.686 L4.994,21.57 C4.994,21.991 5.337,22.333 5.758,22.333 L18.354,22.333 C18.775,22.333 19.118,21.991 19.118,21.57 L19.118,17.686 L19.585,17.686 C20.188,17.686 20.677,17.197 20.677,16.595 L20.677,10.92 C20.676,10.318 20.188,9.829 19.585,9.829 z M5.758,3.629 L14.601,3.629 L14.601,7.535 C14.601,7.746 14.772,7.917 14.982,7.917 L18.354,7.917 L18.354,9.829 L5.758,9.829 L5.758,3.629 z M14.299,10.842 L12.379,16.542 L10.874,16.542 L9.047,10.842 L10.46,10.842 L11.153,13.252 C11.348,13.929 11.525,14.58 11.661,15.291 L11.686,15.291 C11.829,14.605 12.007,13.929 12.202,13.278 L12.929,10.842 L14.299,10.842 L14.299,10.842 z M4.742,16.28 L5.004,15.214 C5.351,15.392 5.884,15.57 6.433,15.57 C7.025,15.57 7.338,15.325 7.338,14.952 C7.338,14.597 7.068,14.394 6.382,14.149 C5.435,13.819 4.818,13.295 4.818,12.466 C4.818,11.493 5.63,10.749 6.974,10.749 C7.617,10.749 8.091,10.884 8.429,11.037 L8.142,12.077 C7.913,11.967 7.508,11.806 6.949,11.806 C6.391,11.806 6.12,12.06 6.12,12.356 C6.12,12.72 6.441,12.881 7.178,13.159 C8.184,13.532 8.657,14.056 8.657,14.859 C8.657,15.815 7.922,16.627 6.357,16.627 C5.706,16.627 5.063,16.458 4.742,16.28 z M18.354,21.363 L5.758,21.363 L5.758,17.686 L18.354,17.686 L18.354,21.363 z M19.603,16.28 C19.205,16.415 18.453,16.602 17.7,16.602 C16.659,16.602 15.907,16.34 15.382,15.832 C14.858,15.342 14.57,14.597 14.579,13.76 C14.588,11.866 15.966,10.783 17.835,10.783 C18.571,10.783 19.138,10.927 19.417,11.062 L19.146,12.094 C18.833,11.959 18.444,11.848 17.818,11.848 C16.744,11.848 15.932,12.458 15.932,13.693 C15.932,14.868 16.668,15.562 17.725,15.562 C18.021,15.562 18.258,15.528 18.359,15.477 L18.359,14.284 L17.48,14.284 L17.48,13.278 L19.603,13.278 L19.603,16.28 L19.603,16.28 z" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.5 KiB |
7
cbpi/static/tank_icon.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<path d="M19.496,1.812 L19.496,2.532 L19.496,16.084 L19.496,16.516 L19.115,16.719 L14.251,19.316 L14.251,22.188 L9.749,22.188 L9.749,19.316 L4.885,16.719 L4.504,16.516 L4.504,1.812 L19.496,1.812 z M18.057,3.251 L5.943,3.251 L5.943,15.653 L10.807,18.25 L11.188,18.453 L11.188,20.749 L12.812,20.749 L12.812,18.453 L13.193,18.25 L18.057,15.653 L18.057,3.251 z" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 706 B |
7
cbpi/static/target_temp.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<path d="M11.726,1.52 C12.832,1.511 13.501,1.868 13.946,2.507 C14.517,3.328 14.369,4.965 14.369,6.349 C14.369,9.215 14.369,12.082 14.369,14.948 C15.634,15.742 16.692,17.919 15.849,19.917 C15.129,21.625 12.787,23.193 10.351,22.138 C8.732,21.436 7.157,19.129 8.166,16.745 C8.376,16.249 8.724,15.765 9.083,15.406 C9.187,15.301 9.6,15.048 9.646,14.948 C9.646,11.212 9.646,7.476 9.646,3.741 C9.694,3.663 9.652,3.541 9.682,3.423 C9.759,3.118 9.875,2.781 10.034,2.542 C10.251,2.216 10.679,1.855 11.056,1.696 C11.258,1.611 11.543,1.637 11.726,1.52 z M11.832,2.472 C11.744,2.529 11.63,2.499 11.514,2.542 C11.175,2.67 10.842,3.021 10.704,3.353 C10.582,3.645 10.633,4.153 10.633,4.551 C10.633,5.362 10.633,6.172 10.633,6.983 C10.633,9.814 10.633,12.646 10.633,15.477 C9.575,15.806 8.428,17.636 8.942,19.212 C9.408,20.645 11.202,22.138 13.206,21.292 C14.215,20.865 15.56,19.422 15.144,17.732 C14.958,16.974 14.56,16.268 14.017,15.864 C13.911,15.786 13.425,15.557 13.382,15.477 C13.382,11.506 13.382,7.535 13.382,3.564 C13.277,3.424 13.269,3.217 13.171,3.071 C12.922,2.701 12.456,2.468 11.832,2.472 z M11.373,8.639 C11.82,8.639 12.266,8.639 12.713,8.639 C12.713,11.224 12.713,13.809 12.713,16.393 C13.572,16.608 14.483,17.904 13.981,19.107 C13.726,19.718 13.246,20.099 12.572,20.305 C12.182,20.424 11.649,20.431 11.268,20.27 C10.645,20.007 9.72,19.068 9.999,17.944 C10.131,17.411 10.446,16.91 10.845,16.64 C10.923,16.586 11.345,16.443 11.373,16.393 C11.373,13.809 11.373,11.224 11.373,8.639" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.8 KiB |
13
cbpi/static/thermomenter.svg
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<path d="M273.067,355.647V199.111h-34.133v156.535c-19.863,7.045-34.133,26.015-34.133,48.265c0,28.233,22.968,51.2,51.2,51.2 c28.233,0,51.2-22.967,51.2-51.2C307.2,381.662,292.931,362.692,273.067,355.647z M256,420.978 c-9.411,0-17.067-7.655-17.067-17.067c0-9.412,7.656-17.067,17.067-17.067c9.411,0,17.067,7.655,17.067,17.067 C273.067,413.323,265.411,420.978,256,420.978z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<path d="M329.956,325.089V73.956C329.956,33.176,296.779,0,256,0s-73.956,33.176-73.956,73.956v251.15 c-21.791,20.411-34.133,48.685-34.133,78.806C147.911,463.511,196.4,512,256,512s108.089-48.489,108.089-108.089 C364.089,373.779,351.747,345.498,329.956,325.089z M256,477.867c-40.779,0-73.956-33.176-73.956-73.956 c0-22.539,10.113-43.577,27.745-57.717l6.389-5.123V73.956c0-21.958,17.864-39.822,39.822-39.822s39.822,17.864,39.822,39.822 v267.1l6.39,5.123c17.631,14.138,27.744,35.18,27.744,57.732C329.956,444.69,296.779,477.867,256,477.867z"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.3 KiB |
7
cbpi/static/yeast.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="24" height="24" viewBox="0, 0, 24, 24">
|
||||||
|
<g id="Ebene_1">
|
||||||
|
<path d="M5.12,13.37 C5.112,10.523 7.015,10.32 9.339,9.835 C9.339,9.823 9.339,9.81 9.339,9.797 C8.816,9.291 8.583,8.338 8.274,7.631 C7.964,6.918 7.518,6.201 7.286,5.426 C7.175,5.053 7.196,4.519 7.286,4.172 C7.627,2.854 8.337,2.158 9.681,1.854 C10.369,1.698 11.065,1.983 11.429,2.196 C12.524,2.837 12.734,3.627 13.253,4.818 C13.492,5.366 13.813,5.943 14.052,6.491 C14.172,6.767 14.234,7.279 14.394,7.517 C14.438,7.547 14.458,7.546 14.546,7.555 C14.915,7.301 16.585,7.561 17.054,7.669 C17.802,7.745 18.549,7.821 19.297,7.897 C20.491,8.219 22.024,9.568 21.539,11.356 C21.228,12.502 20.445,13.252 19.297,13.56 C18.794,13.695 18.062,13.584 17.624,13.484 C17.181,13.446 16.737,13.408 16.294,13.37 C15.655,13.224 14.861,13.15 14.242,13.066 C13.778,15.069 11.983,15.059 10.061,15.574 C9.613,15.694 8.751,15.687 8.426,15.916 C8.663,16.163 8.774,16.53 8.959,16.829 C9.381,17.51 9.779,18.061 9.985,18.995 C10.098,19.507 9.886,20.056 9.757,20.363 C9.287,21.481 7.922,22.612 6.184,22.036 C4.757,21.563 4.253,20.02 3.523,18.843 C3.137,18.219 2.669,17.625 2.459,16.829 C1.957,14.925 3.648,13.536 5.12,13.37 z M9.757,3.412 C9.376,3.692 9.037,3.777 8.844,4.248 C8.645,4.736 8.886,5.203 9.035,5.54 C9.364,6.29 9.705,7.022 10.023,7.745 C10.333,8.452 10.806,9.713 12.037,9.189 C12.458,9.01 13.052,8.407 12.835,7.631 C12.758,7.353 12.563,7.078 12.455,6.833 C12.136,6.106 11.812,5.403 11.505,4.704 C11.314,4.269 11.202,3.838 10.821,3.602 C10.548,3.433 10.215,3.403 9.757,3.412 z M15.116,8.999 C15.008,9.066 14.831,9.024 14.698,9.075 C14.485,9.156 14.214,9.39 14.09,9.569 C13.761,10.044 13.851,10.789 14.166,11.204 C14.557,11.72 15.298,11.567 16.066,11.736 C16.473,11.825 16.941,11.789 17.396,11.888 C18.407,12.108 19.536,12.132 19.905,11.318 C20.183,10.703 19.916,9.971 19.525,9.683 C19.114,9.381 18.583,9.476 17.966,9.341 C17.084,9.148 16.04,9.058 15.116,8.999 z M11.277,11.013 C10.979,11.193 10.494,11.144 10.137,11.242 C9.115,11.519 7.477,11.519 6.944,12.306 C6.714,12.645 6.552,13.262 6.83,13.712 C7.008,14 7.379,14.261 7.742,14.358 C8.132,14.462 8.575,14.279 8.844,14.206 C9.521,14.024 10.215,13.961 10.859,13.788 C11.504,13.615 12.156,13.646 12.493,13.18 C13.209,12.191 12.551,10.991 11.277,11.013 z M5.044,14.928 C4.652,15.19 4.318,15.199 4.094,15.65 C3.981,15.877 3.911,16.379 4.018,16.677 C4.117,16.954 4.361,17.234 4.512,17.475 C4.868,18.046 5.191,18.629 5.538,19.185 C5.89,19.749 6.379,20.995 7.552,20.553 C8.029,20.374 8.682,19.667 8.388,18.881 C8.271,18.567 8.025,18.277 7.856,18.007 C7.5,17.435 7.177,16.853 6.83,16.297 C6.57,15.88 6.409,15.375 5.994,15.118 C5.748,14.966 5.447,14.921 5.044,14.928" fill="#000000"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.9 KiB |
14
sample.py
|
@ -1,14 +0,0 @@
|
||||||
|
|
||||||
import pandas as pd
|
|
||||||
import datetime
|
|
||||||
|
|
||||||
def dateparse(time_in_secs):
|
|
||||||
'''
|
|
||||||
Internal helper for date parsing
|
|
||||||
:param time_in_secs:
|
|
||||||
:return:
|
|
||||||
'''
|
|
||||||
return datetime.datetime.strptime(time_in_secs, '%Y-%m-%d %H:%M:%S')
|
|
||||||
|
|
||||||
df = pd.read_csv("./logs/sensor_JUGteK9KrSVPDxboWjBS4N.log", parse_dates=True, date_parser=dateparse, index_col='DateTime', names=['DateTime',"Values"], header=None)
|
|
||||||
print({"JUGteK9KrSVPDxboWjBS4N": {"time": df.index.astype(str).tolist(), "value":df.Values.tolist()}})
|
|