velbus-aio 2024.11.0__py3-none-any.whl → 2024.12.0__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.

Potentially problematic release.


This version of velbus-aio might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: velbus-aio
3
- Version: 2024.11.0
3
+ Version: 2024.12.0
4
4
  Summary: Open-source home automation platform running on Python 3.
5
5
  Author-email: Maikel Punie <maikel.punie@gmail.com>
6
6
  License: MIT
@@ -26,7 +26,7 @@ Requires-Python: >=3.9.0
26
26
  Description-Content-Type: text/markdown
27
27
  License-File: LICENSE
28
28
  Requires-Dist: pyserial>=3.5.0
29
- Requires-Dist: pyserial-asyncio-fast>=0.11
29
+ Requires-Dist: pyserial-asyncio_fast>=0.11
30
30
  Requires-Dist: backoff>=1.10.0
31
31
  Requires-Dist: aiofile
32
32
 
@@ -1,8 +1,8 @@
1
1
  velbusaio/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  velbusaio/channels.py,sha256=38AgefFFXJpA9v4ZrRAvoHz3UKuGKEVUgbyYiY1mkho,23278
3
- velbusaio/command_registry.py,sha256=izhVz8jR37F-L10bxL4ObtZM3kat9AZqVItocbok9_w,5186
3
+ velbusaio/command_registry.py,sha256=OuFnjU8Iy4HWW3016QwD_ai1x3btRUmCbVcJ260hNtA,5256
4
4
  velbusaio/const.py,sha256=aHClMaMS6NINTCrjeRwLbVzdvS91VgFKM8j61ks5tn0,1862
5
- velbusaio/controller.py,sha256=vKoDfEDlQF_L0ZrXU0L4yD61Adxr_qDma-e-dgWYz1w,7607
5
+ velbusaio/controller.py,sha256=yNAMgXKqXdcYFfHxqIWrSDAkcT00FCs_gaO6wp5ElWM,8083
6
6
  velbusaio/discovery.py,sha256=Px6qoZl4QhF17aMz6JxstCORBpLzZGWEK9h4Vyvg57o,1649
7
7
  velbusaio/exceptions.py,sha256=FHkXaM3dK5Gkk-QGAf9dLE3FPlCU2FRZWUyY-4KRNnA,515
8
8
  velbusaio/handler.py,sha256=gkRikfrTzekL0hFQSUV0AjVuMoUY1DNONEhbRBKyRko,11901
@@ -144,13 +144,13 @@ velbusaio/module_spec/35.json,sha256=evnYDd_jX2CsvrLtCDrE1Dml5eO7zCaYauoYMAarED0
144
144
  velbusaio/module_spec/36.json,sha256=aQhIjfu2rSINQXP5ijmrmLKPk00XaLxJThbofjtKP9c,2888
145
145
  velbusaio/module_spec/37.json,sha256=Ks3d_aq3aLdG4EnUrtz2o1JPtRp-DVLPYYO2zvxkmdo,6942
146
146
  velbusaio/module_spec/38.json,sha256=fW5hUjUNF_6oJ1oREHDVEzhvqBPHHz-WUSFNuMmbwUw,1947
147
- velbusaio/module_spec/39.json,sha256=o9p-zOhyyAgOrZT8JYok4qKsIDmYQS62v1HsqI_-SMU,70
147
+ velbusaio/module_spec/39.json,sha256=JkSmbb9uQ43VB0Aacif-lnHYj9-P-oFsOeGblu3sHRQ,71
148
148
  velbusaio/module_spec/3A.json,sha256=mifj-U7M-55rTAo9L1DBSMbpBUOMwrhBuuvDG90loDQ,5307
149
149
  velbusaio/module_spec/3B.json,sha256=npHo1SGnY9RT1jgKsBjcwLQRUCOByvzGvVMmR7bZabY,5304
150
150
  velbusaio/module_spec/3C.json,sha256=uvJjyxp7mmY3ohBfNvRGk1FtVt6rWtlIqwLl6zIawkw,5298
151
151
  velbusaio/module_spec/3D.json,sha256=PQN562OodAmwmhKfOqk2Grt4w-kFxj00ApYH3x_xqOs,7721
152
152
  velbusaio/module_spec/3E.json,sha256=eu0pecAOfc7G3I3YCeUpCVXbKcaIOw2f0wGnEw6AKJY,5285
153
- velbusaio/module_spec/3F.json,sha256=F_zC4QIDqkyT9kM0fGsusKYIqqMtOhmlYbQ0DFKqeas,73
153
+ velbusaio/module_spec/3F.json,sha256=o9p-zOhyyAgOrZT8JYok4qKsIDmYQS62v1HsqI_-SMU,70
154
154
  velbusaio/module_spec/40.json,sha256=JkSmbb9uQ43VB0Aacif-lnHYj9-P-oFsOeGblu3sHRQ,71
155
155
  velbusaio/module_spec/41.json,sha256=d5KBfGAUSht8Fl4WXiJg6QIQHu0mAP2e9oT4t25lldU,4103
156
156
  velbusaio/module_spec/42.json,sha256=0zSbvyG6I2O3XAhv28R_v0IQvd_h4xLQIJDXVInYR6g,59
@@ -173,11 +173,13 @@ velbusaio/module_spec/55.json,sha256=CZArOlcjtP-Dd57KXIcOFcTVj4UEkQmJtiERWZ02V44
173
173
  velbusaio/module_spec/56.json,sha256=3EFab88JQrLrRwoiA_qlaL7t6tlfPo_gwCei2XIM5E0,60
174
174
  velbusaio/module_spec/57.json,sha256=E_Ftam1UP57p6uQtmFe1gOOA_11_AIQMb8_Khf6XNTM,4313
175
175
  velbusaio/module_spec/5A.json,sha256=V_yhMdGrNxFE7J_CXJmngN-yYBz2V_tqXkKCCwI7HCE,52
176
+ velbusaio/module_spec/5B.json,sha256=Z-zYxcnSbPPHEyvh4P_V7USq_Zbrcj9AasB-g7KqWAs,74
176
177
  velbusaio/module_spec/5C.json,sha256=yw_XlccuFp-buRL_NXThwQLwblVRa0diLpUDm9Exrg0,1586
177
178
  velbusaio/module_spec/5F.json,sha256=ebSwLMUW5A4LCRGOrF-vwxSVvrWZMNUWz10Xrmz7SwM,1259
179
+ velbusaio/module_spec/60.json,sha256=Teih3jAybl5AELjY3gFbZrFN0RIMSU1yuvdsYZlMvTo,74
178
180
  velbusaio/module_spec/broadcast.json,sha256=L2Sc9FhZ7NOuu7K5g5jAhvUQGDP6a2CKrg-uWh_v-sA,2250
179
- velbus_aio-2024.11.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
180
- velbus_aio-2024.11.0.dist-info/METADATA,sha256=bBUEac4aHNH5XiMhRVlfAmCAvv54bDFg05c5lcV0mYM,4541
181
- velbus_aio-2024.11.0.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
182
- velbus_aio-2024.11.0.dist-info/top_level.txt,sha256=W0-lSOwD23mm8FqaIe9vY20fKicBMIdUVjF-zmfxRnY,15
183
- velbus_aio-2024.11.0.dist-info/RECORD,,
181
+ velbus_aio-2024.12.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
182
+ velbus_aio-2024.12.0.dist-info/METADATA,sha256=LeQODBnCrx-7McKuUKhwmxEKWFZtuGnV4KCBaDcDH98,4541
183
+ velbus_aio-2024.12.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
184
+ velbus_aio-2024.12.0.dist-info/top_level.txt,sha256=W0-lSOwD23mm8FqaIe9vY20fKicBMIdUVjF-zmfxRnY,15
185
+ velbus_aio-2024.12.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.5.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -83,9 +83,12 @@ MODULE_DIRECTORY = {
83
83
  0x55: "VMBGP2-20",
84
84
  0x56: "VMBGP4-20",
85
85
  0x57: "VMBGPO-20",
86
+ 0x59: "VMBPIRO-20",
86
87
  0x5A: "VMBDALI-20",
88
+ 0x5B: "VMBSIG-20",
87
89
  0x5C: "VMBEL4PIR-20",
88
90
  0x5F: "VMBGP4PIR-20",
91
+ 0x60: "VMBSIG-21",
89
92
  }
90
93
 
91
94
 
velbusaio/controller.py CHANGED
@@ -13,7 +13,22 @@ from urllib.parse import urlparse
13
13
  import serial
14
14
  import serial_asyncio_fast
15
15
 
16
- from velbusaio.channels import Channel
16
+ from velbusaio.channels import (
17
+ Blind,
18
+ Button,
19
+ ButtonCounter,
20
+ Channel,
21
+ Dimmer,
22
+ EdgeLit,
23
+ LightSensor,
24
+ Memo,
25
+ Relay,
26
+ SelectedProgram,
27
+ Sensor,
28
+ SensorNumber,
29
+ Temperature,
30
+ ThermostatChannel,
31
+ )
17
32
  from velbusaio.exceptions import VelbusConnectionFailed
18
33
  from velbusaio.handler import PacketHandler
19
34
  from velbusaio.helpers import get_cache_dir
@@ -203,7 +218,23 @@ class Velbus:
203
218
  )
204
219
  )
205
220
 
206
- def get_all(self, class_name: str) -> list[Channel]:
221
+ def get_all(
222
+ self, class_name: str
223
+ ) -> list[
224
+ Blind
225
+ | Button
226
+ | ButtonCounter
227
+ | Sensor
228
+ | ThermostatChannel
229
+ | Dimmer
230
+ | Temperature
231
+ | SensorNumber
232
+ | LightSensor
233
+ | Relay
234
+ | EdgeLit
235
+ | Memo
236
+ | SelectedProgram
237
+ ]:
207
238
  """Get all channels."""
208
239
  lst = []
209
240
  for addr, mod in (self.get_modules()).items():
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "Info": " Home automatization over internet",
3
- "Type": "VMCM3"
3
+ "Type": "VMBSIG"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "Info": " Home automatization over internet",
3
- "Type": "VMBUSBIP"
3
+ "Type": "VMCM3"
4
4
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "Info": " Home automatization over internet",
3
+ "Type": "VMBSIG-20"
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "Info": " Home automatization over internet",
3
+ "Type": "VMBSIG-21"
4
+ }