boneIO 0.12.1.dev1__py3-none-any.whl → 0.12.2.dev2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- boneio/group/output.py +16 -4
- boneio/helper/gpio.py +0 -2
- boneio/manager.py +6 -0
- boneio/modbus/wanas415.json +391 -0
- boneio/version.py +1 -1
- boneio/webui/frontend-dist/assets/{cssMode-DgDiKA-j.js → cssMode-CiCUJLAh.js} +1 -1
- boneio/webui/frontend-dist/assets/{freemarker2-_BpO1aZQ.js → freemarker2-ApNV1MMN.js} +1 -1
- boneio/webui/frontend-dist/assets/{handlebars-C-pIMUIu.js → handlebars-Pn2whmqO.js} +1 -1
- boneio/webui/frontend-dist/assets/{html-D9eFvRsj.js → html-CX0iaRWh.js} +1 -1
- boneio/webui/frontend-dist/assets/{htmlMode-4ek0HzGX.js → htmlMode-CAAMPcbs.js} +1 -1
- boneio/webui/frontend-dist/assets/index-DNx_FsZ8.css +1 -0
- boneio/webui/frontend-dist/assets/index-Ddzm5X0V.js +820 -0
- boneio/webui/frontend-dist/assets/{javascript-CzMDrZ0c.js → javascript-Dak30Tf6.js} +1 -1
- boneio/webui/frontend-dist/assets/{jsonMode-CvGNp9v8.js → jsonMode-CJ-skfSy.js} +1 -1
- boneio/webui/frontend-dist/assets/{liquid-Bs6Zwmny.js → liquid-3v7iG3A4.js} +1 -1
- boneio/webui/frontend-dist/assets/{mdx-RDAGI35B.js → mdx-DeMT3vAD.js} +1 -1
- boneio/webui/frontend-dist/assets/{python-CsxtIWD4.js → python-KbhDHCzT.js} +1 -1
- boneio/webui/frontend-dist/assets/{razor-srkwbcs0.js → razor-DN5pAgqu.js} +1 -1
- boneio/webui/frontend-dist/assets/{tsMode-Cu6NCIGb.js → tsMode-CAzmwdiB.js} +1 -1
- boneio/webui/frontend-dist/assets/{typescript-B5d2TDqJ.js → typescript-CxGpabAe.js} +1 -1
- boneio/webui/frontend-dist/assets/{xml-BFg5pZ32.js → xml-DTaCWOcI.js} +1 -1
- boneio/webui/frontend-dist/assets/{yaml-6oQygw1Z.js → yaml-CeJHIt8A.js} +1 -1
- boneio/webui/frontend-dist/index.html +2 -2
- boneio/webui/frontend-dist/schem/adc.schema.json +4 -4
- boneio/webui/frontend-dist/schem/binary_sensor.schema.json +20 -20
- boneio/webui/frontend-dist/schem/boneio.schema.json +2 -2
- boneio/webui/frontend-dist/schem/config.schema.json +148 -148
- boneio/webui/frontend-dist/schem/cover.schema.json +2 -2
- boneio/webui/frontend-dist/schem/dallas.schema.json +2 -2
- boneio/webui/frontend-dist/schem/ds2482.schema.json +2 -2
- boneio/webui/frontend-dist/schem/event.schema.json +28 -28
- boneio/webui/frontend-dist/schem/ina219.schema.json +8 -8
- boneio/webui/frontend-dist/schem/lm75.schema.json +6 -6
- boneio/webui/frontend-dist/schem/logger.schema.json +2 -2
- boneio/webui/frontend-dist/schem/mcp23017.schema.json +4 -4
- boneio/webui/frontend-dist/schem/mcp9808.schema.json +6 -6
- boneio/webui/frontend-dist/schem/modbus.schema.json +8 -8
- boneio/webui/frontend-dist/schem/modbus_devices.schema.json +16 -16
- boneio/webui/frontend-dist/schem/mqtt.schema.json +6 -6
- boneio/webui/frontend-dist/schem/oled.schema.json +4 -4
- boneio/webui/frontend-dist/schem/output.schema.json +6 -6
- boneio/webui/frontend-dist/schem/output_group.schema.json +2 -2
- boneio/webui/frontend-dist/schem/pca9685.schema.json +4 -4
- boneio/webui/frontend-dist/schem/pcf8575.schema.json +4 -4
- boneio/webui/frontend-dist/schem/sensor.schema.json +6 -6
- boneio/webui/frontend-dist/schem/web.schema.json +6 -6
- boneio/webui/schema/adc.schema.json +4 -4
- boneio/webui/schema/binary_sensor.schema.json +20 -20
- boneio/webui/schema/boneio.schema.json +2 -2
- boneio/webui/schema/config.schema.json +148 -148
- boneio/webui/schema/cover.schema.json +2 -2
- boneio/webui/schema/dallas.schema.json +2 -2
- boneio/webui/schema/ds2482.schema.json +2 -2
- boneio/webui/schema/event.schema.json +28 -28
- boneio/webui/schema/ina219.schema.json +8 -8
- boneio/webui/schema/lm75.schema.json +6 -6
- boneio/webui/schema/logger.schema.json +2 -2
- boneio/webui/schema/mcp23017.schema.json +4 -4
- boneio/webui/schema/mcp9808.schema.json +6 -6
- boneio/webui/schema/modbus.schema.json +8 -8
- boneio/webui/schema/modbus_devices.schema.json +16 -16
- boneio/webui/schema/mqtt.schema.json +6 -6
- boneio/webui/schema/oled.schema.json +4 -4
- boneio/webui/schema/output.schema.json +6 -6
- boneio/webui/schema/output_group.schema.json +2 -2
- boneio/webui/schema/pca9685.schema.json +4 -4
- boneio/webui/schema/pcf8575.schema.json +4 -4
- boneio/webui/schema/sensor.schema.json +6 -6
- boneio/webui/schema/web.schema.json +6 -6
- {boneio-0.12.1.dev1.dist-info → boneio-0.12.2.dev2.dist-info}/METADATA +1 -1
- {boneio-0.12.1.dev1.dist-info → boneio-0.12.2.dev2.dist-info}/RECORD +74 -73
- boneio/webui/frontend-dist/assets/index-C5_B_rBj.js +0 -992
- boneio/webui/frontend-dist/assets/index-CYATq2Ns.css +0 -1
- {boneio-0.12.1.dev1.dist-info → boneio-0.12.2.dev2.dist-info}/WHEEL +0 -0
- {boneio-0.12.1.dev1.dist-info → boneio-0.12.2.dev2.dist-info}/entry_points.txt +0 -0
- {boneio-0.12.1.dev1.dist-info → boneio-0.12.2.dev2.dist-info}/licenses/LICENSE +0 -0
boneio/group/output.py
CHANGED
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
import asyncio
|
|
6
|
+
import logging
|
|
7
|
+
import time
|
|
6
8
|
from typing import List
|
|
7
9
|
|
|
8
10
|
from boneio.const import COVER, OFF, ON, SWITCH
|
|
9
11
|
from boneio.models import OutputState
|
|
10
12
|
from boneio.relay.basic import BasicRelay
|
|
11
13
|
|
|
14
|
+
_LOGGER = logging.getLogger(__name__)
|
|
12
15
|
|
|
13
16
|
class OutputGroup(BasicRelay):
|
|
14
17
|
"""Cover class of boneIO"""
|
|
@@ -62,15 +65,15 @@ class OutputGroup(BasicRelay):
|
|
|
62
65
|
self._state = state
|
|
63
66
|
self._loop.create_task(self.async_send_state())
|
|
64
67
|
|
|
65
|
-
async def async_turn_on(self) -> None:
|
|
68
|
+
async def async_turn_on(self, timestamp=None) -> None:
|
|
66
69
|
"""Call turn on action."""
|
|
67
70
|
for x in self._group_members:
|
|
68
|
-
self._loop.create_task(x.async_turn_on())
|
|
71
|
+
self._loop.create_task(x.async_turn_on(timestamp=timestamp))
|
|
69
72
|
|
|
70
|
-
async def async_turn_off(self) -> None:
|
|
73
|
+
async def async_turn_off(self, timestamp=None) -> None:
|
|
71
74
|
"""Call turn off action."""
|
|
72
75
|
for x in self._group_members:
|
|
73
|
-
self._loop.create_task(x.async_turn_off())
|
|
76
|
+
self._loop.create_task(x.async_turn_off(timestamp=timestamp))
|
|
74
77
|
|
|
75
78
|
@property
|
|
76
79
|
def is_active(self) -> bool:
|
|
@@ -82,3 +85,12 @@ class OutputGroup(BasicRelay):
|
|
|
82
85
|
self._message_bus.send_message(
|
|
83
86
|
topic=self._send_topic, payload=self.payload(), retain=True
|
|
84
87
|
)
|
|
88
|
+
|
|
89
|
+
async def async_toggle(self, timestamp=None) -> None:
|
|
90
|
+
"""Toggle group relay."""
|
|
91
|
+
now = time.time()
|
|
92
|
+
_LOGGER.debug("Toggle group relay %s, state: %s, at %s.", self.name, self.state, now)
|
|
93
|
+
if self.state == ON:
|
|
94
|
+
await self.async_turn_off(timestamp=timestamp)
|
|
95
|
+
else:
|
|
96
|
+
await self.async_turn_on(timestamp=timestamp)
|
boneio/helper/gpio.py
CHANGED
|
@@ -211,11 +211,9 @@ class GpioBaseClass:
|
|
|
211
211
|
|
|
212
212
|
|
|
213
213
|
def set_actions(self, actions: dict) -> None:
|
|
214
|
-
print("SETTING ACTIONS", actions)
|
|
215
214
|
self._actions = actions
|
|
216
215
|
|
|
217
216
|
def get_actions_of_click(self, click_type: ClickTypes) -> dict:
|
|
218
|
-
print("actiong of click", self._actions)
|
|
219
217
|
return self._actions.get(click_type, [])
|
|
220
218
|
|
|
221
219
|
@property
|
boneio/manager.py
CHANGED
|
@@ -490,11 +490,14 @@ class Manager:
|
|
|
490
490
|
boneio_id = action_definition.get("boneio_id")
|
|
491
491
|
action_output = action_definition.get("action_output")
|
|
492
492
|
action_to_execute = relay_actions.get(action_output.upper())
|
|
493
|
+
entity_id = action_definition.get("pin")
|
|
494
|
+
stripped_entity_id = strip_accents(entity_id)
|
|
493
495
|
if boneio_id and action_to_execute:
|
|
494
496
|
parsed_actions[click_type].append({
|
|
495
497
|
"action": action,
|
|
496
498
|
"boneio_id": boneio_id,
|
|
497
499
|
"action_output": action_output,
|
|
500
|
+
"pin": stripped_entity_id,
|
|
498
501
|
})
|
|
499
502
|
continue
|
|
500
503
|
_LOGGER.warning("Device %s for action not found. Omitting.", entity_id)
|
|
@@ -502,11 +505,14 @@ class Manager:
|
|
|
502
505
|
boneio_id = action_definition.get("boneio_id")
|
|
503
506
|
action_cover = action_definition.get("action_cover")
|
|
504
507
|
action_to_execute = cover_actions.get(action_cover.upper())
|
|
508
|
+
entity_id = action_definition.get("pin")
|
|
509
|
+
stripped_entity_id = strip_accents(entity_id)
|
|
505
510
|
if boneio_id and action_to_execute:
|
|
506
511
|
parsed_actions[click_type].append({
|
|
507
512
|
"action": action,
|
|
508
513
|
"boneio_id": boneio_id,
|
|
509
514
|
"action_cover": action_cover,
|
|
515
|
+
"pin": stripped_entity_id,
|
|
510
516
|
})
|
|
511
517
|
continue
|
|
512
518
|
_LOGGER.warning("Device %s for action not found. Omitting.", entity_id)
|
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
{
|
|
2
|
+
"model": "Wanas 415",
|
|
3
|
+
"registers_base": [
|
|
4
|
+
{
|
|
5
|
+
"base": 4001,
|
|
6
|
+
"length": 24,
|
|
7
|
+
"register_type": "input",
|
|
8
|
+
"registers": [
|
|
9
|
+
{
|
|
10
|
+
"name": "Wydatek nawiewu",
|
|
11
|
+
"address": 4001,
|
|
12
|
+
"entity_type": "sensor",
|
|
13
|
+
"state_class": "measurement",
|
|
14
|
+
"value_type": "U_WORD",
|
|
15
|
+
"unit_of_measurement": "m³/h",
|
|
16
|
+
"device_class": "volume_flow_rate",
|
|
17
|
+
"filters": [
|
|
18
|
+
{
|
|
19
|
+
"multiply": 10
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "Wydatek wywiewu",
|
|
25
|
+
"address": 4002,
|
|
26
|
+
"entity_type": "sensor",
|
|
27
|
+
"state_class": "measurement",
|
|
28
|
+
"value_type": "U_WORD",
|
|
29
|
+
"unit_of_measurement": "m³/h",
|
|
30
|
+
"device_class": "volume_flow_rate",
|
|
31
|
+
"filters": [
|
|
32
|
+
{
|
|
33
|
+
"multiply": 10
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "Bieg nawiewu",
|
|
39
|
+
"address": 4003,
|
|
40
|
+
"entity_type": "text_sensor",
|
|
41
|
+
"state_class": "measurement",
|
|
42
|
+
"value_type": "U_WORD",
|
|
43
|
+
"x_mapping": {
|
|
44
|
+
"0": "postój",
|
|
45
|
+
"1": "pusty dom",
|
|
46
|
+
"2": "praca",
|
|
47
|
+
"3": "wietrzenie"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "Bieg wywiewu",
|
|
52
|
+
"address": 4004,
|
|
53
|
+
"entity_type": "text_sensor",
|
|
54
|
+
"state_class": "measurement",
|
|
55
|
+
"value_type": "U_WORD",
|
|
56
|
+
"x_mapping": {
|
|
57
|
+
"0": "postój",
|
|
58
|
+
"1": "pusty dom",
|
|
59
|
+
"2": "praca",
|
|
60
|
+
"3": "wietrzenie"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "Temperatura zewnętrzna",
|
|
65
|
+
"address": 4005,
|
|
66
|
+
"entity_type": "sensor",
|
|
67
|
+
"state_class": "measurement",
|
|
68
|
+
"value_type": "S_WORD",
|
|
69
|
+
"unit_of_measurement": "°C",
|
|
70
|
+
"device_class": "temperature",
|
|
71
|
+
"filters": [
|
|
72
|
+
{
|
|
73
|
+
"multiply": 0.1
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "Temperatura pomieszczenia",
|
|
79
|
+
"address": 4006,
|
|
80
|
+
"entity_type": "sensor",
|
|
81
|
+
"state_class": "measurement",
|
|
82
|
+
"value_type": "S_WORD",
|
|
83
|
+
"unit_of_measurement": "°C",
|
|
84
|
+
"device_class": "temperature",
|
|
85
|
+
"filters": [
|
|
86
|
+
{
|
|
87
|
+
"multiply": 0.1
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "Temperatura nawiewu",
|
|
93
|
+
"address": 4007,
|
|
94
|
+
"entity_type": "sensor",
|
|
95
|
+
"state_class": "measurement",
|
|
96
|
+
"value_type": "S_WORD",
|
|
97
|
+
"unit_of_measurement": "°C",
|
|
98
|
+
"device_class": "temperature",
|
|
99
|
+
"filters": [
|
|
100
|
+
{
|
|
101
|
+
"multiply": 0.1
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "Temperatura wywrzutowa",
|
|
107
|
+
"address": 4008,
|
|
108
|
+
"entity_type": "sensor",
|
|
109
|
+
"state_class": "measurement",
|
|
110
|
+
"value_type": "S_WORD",
|
|
111
|
+
"unit_of_measurement": "°C",
|
|
112
|
+
"device_class": "temperature",
|
|
113
|
+
"filters": [
|
|
114
|
+
{
|
|
115
|
+
"multiply": 0.1
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "Dzień tygodnia",
|
|
121
|
+
"address": 4009,
|
|
122
|
+
"write_address": 4009,
|
|
123
|
+
"entity_type": "writeable_sensor_discrete",
|
|
124
|
+
"state_class": "measurement",
|
|
125
|
+
"value_type": "U_WORD",
|
|
126
|
+
"x_mapping": {
|
|
127
|
+
"0": "niedziela",
|
|
128
|
+
"1": "poniedziałek",
|
|
129
|
+
"2": "wtorek",
|
|
130
|
+
"3": "środa",
|
|
131
|
+
"4": "czwartek",
|
|
132
|
+
"5": "piątek",
|
|
133
|
+
"6": "sobota"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "Koniec strefy 1",
|
|
138
|
+
"address": 4011,
|
|
139
|
+
"write_address": 4011,
|
|
140
|
+
"entity_type": "writeable_sensor",
|
|
141
|
+
"state_class": "measurement",
|
|
142
|
+
"value_type": "U_WORD",
|
|
143
|
+
"unit_of_measurement": "min"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "Koniec strefy 2",
|
|
147
|
+
"address": 4012,
|
|
148
|
+
"write_address": 4012,
|
|
149
|
+
"entity_type": "writeable_sensor",
|
|
150
|
+
"state_class": "measurement",
|
|
151
|
+
"value_type": "U_WORD",
|
|
152
|
+
"unit_of_measurement": "min"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "Koniec strefy 3",
|
|
156
|
+
"address": 4013,
|
|
157
|
+
"write_address": 4013,
|
|
158
|
+
"entity_type": "writeable_sensor",
|
|
159
|
+
"state_class": "measurement",
|
|
160
|
+
"value_type": "U_WORD",
|
|
161
|
+
"unit_of_measurement": "min"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "Koniec strefy 4",
|
|
165
|
+
"address": 4014,
|
|
166
|
+
"write_address": 4014,
|
|
167
|
+
"entity_type": "writeable_sensor",
|
|
168
|
+
"state_class": "measurement",
|
|
169
|
+
"value_type": "U_WORD",
|
|
170
|
+
"unit_of_measurement": "min"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "Błąd strefy 1",
|
|
174
|
+
"address": 4015,
|
|
175
|
+
"write_address": 4015,
|
|
176
|
+
"entity_type": "writeable_sensor_discrete",
|
|
177
|
+
"state_class": "measurement",
|
|
178
|
+
"value_type": "U_WORD",
|
|
179
|
+
"x_mapping": {
|
|
180
|
+
"0": "postój",
|
|
181
|
+
"1": "pusty dom",
|
|
182
|
+
"2": "praca",
|
|
183
|
+
"3": "wietrzenie"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "Błąd strefy 2",
|
|
188
|
+
"address": 4016,
|
|
189
|
+
"write_address": 4016,
|
|
190
|
+
"entity_type": "writeable_sensor_discrete",
|
|
191
|
+
"state_class": "measurement",
|
|
192
|
+
"value_type": "U_WORD",
|
|
193
|
+
"x_mapping": {
|
|
194
|
+
"0": "postój",
|
|
195
|
+
"1": "pusty dom",
|
|
196
|
+
"2": "praca",
|
|
197
|
+
"3": "wietrzenie"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "Błąd strefy 3",
|
|
202
|
+
"address": 4017,
|
|
203
|
+
"write_address": 4017,
|
|
204
|
+
"entity_type": "writeable_sensor_discrete",
|
|
205
|
+
"state_class": "measurement",
|
|
206
|
+
"value_type": "U_WORD",
|
|
207
|
+
"x_mapping": {
|
|
208
|
+
"0": "postój",
|
|
209
|
+
"1": "pusty dom",
|
|
210
|
+
"2": "praca",
|
|
211
|
+
"3": "wietrzenie"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "Błąd strefy 4",
|
|
216
|
+
"address": 4018,
|
|
217
|
+
"write_address": 4018,
|
|
218
|
+
"entity_type": "writeable_sensor_discrete",
|
|
219
|
+
"state_class": "measurement",
|
|
220
|
+
"value_type": "U_WORD",
|
|
221
|
+
"x_mapping": {
|
|
222
|
+
"0": "postój",
|
|
223
|
+
"1": "pusty dom",
|
|
224
|
+
"2": "praca",
|
|
225
|
+
"3": "wietrzenie"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "Błąd strefy 5",
|
|
230
|
+
"address": 4019,
|
|
231
|
+
"write_address": 4019,
|
|
232
|
+
"entity_type": "writeable_sensor_discrete",
|
|
233
|
+
"state_class": "measurement",
|
|
234
|
+
"value_type": "U_WORD",
|
|
235
|
+
"x_mapping": {
|
|
236
|
+
"0": "postój",
|
|
237
|
+
"1": "pusty dom",
|
|
238
|
+
"2": "praca",
|
|
239
|
+
"3": "wietrzenie"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "Temperatura strefy 1",
|
|
244
|
+
"address": 4020,
|
|
245
|
+
"write_address": 4020,
|
|
246
|
+
"entity_type": "writeable_sensor",
|
|
247
|
+
"state_class": "measurement",
|
|
248
|
+
"value_type": "S_WORD",
|
|
249
|
+
"unit_of_measurement": "°C",
|
|
250
|
+
"device_class": "temperature",
|
|
251
|
+
"filters": [
|
|
252
|
+
{
|
|
253
|
+
"multiply": 0.1
|
|
254
|
+
}
|
|
255
|
+
]
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "Temperatura strefy 2",
|
|
259
|
+
"address": 4021,
|
|
260
|
+
"write_address": 4021,
|
|
261
|
+
"entity_type": "writeable_sensor",
|
|
262
|
+
"state_class": "measurement",
|
|
263
|
+
"value_type": "S_WORD",
|
|
264
|
+
"unit_of_measurement": "°C",
|
|
265
|
+
"device_class": "temperature",
|
|
266
|
+
"filters": [
|
|
267
|
+
{
|
|
268
|
+
"multiply": 0.1
|
|
269
|
+
}
|
|
270
|
+
]
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "Temperatura strefy 3",
|
|
274
|
+
"address": 4022,
|
|
275
|
+
"write_address": 4022,
|
|
276
|
+
"entity_type": "writeable_sensor",
|
|
277
|
+
"state_class": "measurement",
|
|
278
|
+
"value_type": "S_WORD",
|
|
279
|
+
"unit_of_measurement": "°C",
|
|
280
|
+
"device_class": "temperature",
|
|
281
|
+
"filters": [
|
|
282
|
+
{
|
|
283
|
+
"multiply": 0.1
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "Temperatura strefy 4",
|
|
289
|
+
"address": 4023,
|
|
290
|
+
"write_address": 4023,
|
|
291
|
+
"entity_type": "writeable_sensor",
|
|
292
|
+
"state_class": "measurement",
|
|
293
|
+
"value_type": "S_WORD",
|
|
294
|
+
"unit_of_measurement": "°C",
|
|
295
|
+
"device_class": "temperature",
|
|
296
|
+
"filters": [
|
|
297
|
+
{
|
|
298
|
+
"multiply": 0.1
|
|
299
|
+
}
|
|
300
|
+
]
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "Temperatura strefy 5",
|
|
304
|
+
"address": 4024,
|
|
305
|
+
"write_address": 4024,
|
|
306
|
+
"entity_type": "writeable_sensor",
|
|
307
|
+
"state_class": "measurement",
|
|
308
|
+
"value_type": "S_WORD",
|
|
309
|
+
"unit_of_measurement": "°C",
|
|
310
|
+
"device_class": "temperature",
|
|
311
|
+
"filters": [
|
|
312
|
+
{
|
|
313
|
+
"multiply": 0.1
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
}
|
|
319
|
+
],
|
|
320
|
+
"additional_sensors": [
|
|
321
|
+
{
|
|
322
|
+
"name": "Dzień tygodnia",
|
|
323
|
+
"source": "dzien_tygodnia",
|
|
324
|
+
"entity_type": "select",
|
|
325
|
+
"x_mapping": {
|
|
326
|
+
"0": "niedziela",
|
|
327
|
+
"1": "poniedziałek",
|
|
328
|
+
"2": "wtorek",
|
|
329
|
+
"3": "środa",
|
|
330
|
+
"4": "czwartek",
|
|
331
|
+
"5": "piątek",
|
|
332
|
+
"6": "sobota"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"name": "Błąd strefy 1 switch",
|
|
337
|
+
"source": "blad_strefy_1",
|
|
338
|
+
"entity_type": "select",
|
|
339
|
+
"x_mapping": {
|
|
340
|
+
"0": "postój",
|
|
341
|
+
"1": "pusty dom",
|
|
342
|
+
"2": "praca",
|
|
343
|
+
"3": "wietrzenie"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "Błąd strefy 2 switch",
|
|
348
|
+
"source": "blad_strefy_2",
|
|
349
|
+
"entity_type": "select",
|
|
350
|
+
"x_mapping": {
|
|
351
|
+
"0": "postój",
|
|
352
|
+
"1": "pusty dom",
|
|
353
|
+
"2": "praca",
|
|
354
|
+
"3": "wietrzenie"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "Błąd strefy 3 switch",
|
|
359
|
+
"source": "blad_strefy_3",
|
|
360
|
+
"entity_type": "select",
|
|
361
|
+
"x_mapping": {
|
|
362
|
+
"0": "postój",
|
|
363
|
+
"1": "pusty dom",
|
|
364
|
+
"2": "praca",
|
|
365
|
+
"3": "wietrzenie"
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "Błąd strefy 4 switch",
|
|
370
|
+
"source": "blad_strefy_4",
|
|
371
|
+
"entity_type": "select",
|
|
372
|
+
"x_mapping": {
|
|
373
|
+
"0": "postój",
|
|
374
|
+
"1": "pusty dom",
|
|
375
|
+
"2": "praca",
|
|
376
|
+
"3": "wietrzenie"
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "Błąd strefy 5 switch",
|
|
381
|
+
"source": "blad_strefy_5",
|
|
382
|
+
"entity_type": "select",
|
|
383
|
+
"x_mapping": {
|
|
384
|
+
"0": "postój",
|
|
385
|
+
"1": "pusty dom",
|
|
386
|
+
"2": "praca",
|
|
387
|
+
"3": "wietrzenie"
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
]
|
|
391
|
+
}
|
boneio/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# flake8: noqa
|
|
2
|
-
__version__ = "0.12.
|
|
2
|
+
__version__ = "0.12.2dev2"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as et}from"./index-
|
|
1
|
+
import{m as et}from"./index-Ddzm5X0V.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as f}from"./index-
|
|
1
|
+
import{m as f}from"./index-Ddzm5X0V.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as l}from"./index-
|
|
1
|
+
import{m as l}from"./index-Ddzm5X0V.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as s}from"./index-
|
|
1
|
+
import{m as s}from"./index-Ddzm5X0V.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as lt}from"./index-
|
|
1
|
+
import{m as lt}from"./index-Ddzm5X0V.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|