velbus-aio 2021.8.7__py3-none-any.whl → 2025.11.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.
Files changed (200) hide show
  1. scripts/parse_specs.py +156 -0
  2. velbus_aio-2025.11.0.dist-info/METADATA +71 -0
  3. velbus_aio-2025.11.0.dist-info/RECORD +194 -0
  4. {velbus_aio-2021.8.7.dist-info → velbus_aio-2025.11.0.dist-info}/WHEEL +1 -1
  5. velbus_aio-2025.11.0.dist-info/top_level.txt +3 -0
  6. velbusaio/channels.py +443 -109
  7. velbusaio/command_registry.py +126 -13
  8. velbusaio/const.py +36 -12
  9. velbusaio/controller.py +252 -177
  10. velbusaio/discovery.py +2 -2
  11. velbusaio/exceptions.py +22 -0
  12. velbusaio/handler.py +311 -145
  13. velbusaio/helpers.py +6 -18
  14. velbusaio/message.py +46 -132
  15. velbusaio/messages/__init__.py +12 -2
  16. velbusaio/messages/blind_status.py +16 -25
  17. velbusaio/messages/bus_active.py +3 -9
  18. velbusaio/messages/bus_error_counter_status.py +3 -4
  19. velbusaio/messages/bus_error_counter_status_request.py +3 -4
  20. velbusaio/messages/bus_off.py +3 -4
  21. velbusaio/messages/channel_name_part1.py +49 -33
  22. velbusaio/messages/channel_name_part2.py +49 -33
  23. velbusaio/messages/channel_name_part3.py +49 -33
  24. velbusaio/messages/channel_name_request.py +26 -12
  25. velbusaio/messages/clear_led.py +3 -4
  26. velbusaio/messages/counter_status.py +3 -17
  27. velbusaio/messages/counter_status_request.py +6 -6
  28. velbusaio/messages/counter_value.py +44 -0
  29. velbusaio/messages/cover_down.py +4 -29
  30. velbusaio/messages/cover_off.py +5 -29
  31. velbusaio/messages/cover_position.py +4 -19
  32. velbusaio/messages/cover_up.py +4 -27
  33. velbusaio/messages/dali_device_settings.py +178 -0
  34. velbusaio/messages/dali_device_settings_request.py +53 -0
  35. velbusaio/messages/dali_dim_value_status.py +44 -0
  36. velbusaio/messages/dimmer_channel_status.py +6 -19
  37. velbusaio/messages/dimmer_status.py +14 -31
  38. velbusaio/messages/edge_set_color.py +114 -0
  39. velbusaio/messages/edge_set_custom_color.py +56 -0
  40. velbusaio/messages/fast_blinking_led.py +3 -4
  41. velbusaio/messages/forced_off.py +3 -4
  42. velbusaio/messages/forced_on.py +3 -4
  43. velbusaio/messages/interface_status_request.py +3 -4
  44. velbusaio/messages/ir_receiver_status.py +18 -0
  45. velbusaio/messages/kwh_status.py +3 -19
  46. velbusaio/messages/light_value_request.py +3 -4
  47. velbusaio/messages/memo_text.py +3 -5
  48. velbusaio/messages/memory_data.py +3 -16
  49. velbusaio/messages/memory_data_block.py +3 -4
  50. velbusaio/messages/memory_dump_request.py +3 -4
  51. velbusaio/messages/module_status.py +107 -55
  52. velbusaio/messages/module_status_request.py +7 -6
  53. velbusaio/messages/module_subtype.py +11 -19
  54. velbusaio/messages/module_type.py +132 -21
  55. velbusaio/messages/module_type_request.py +1 -0
  56. velbusaio/messages/psu_load.py +56 -0
  57. velbusaio/messages/psu_values.py +53 -0
  58. velbusaio/messages/push_button_status.py +3 -16
  59. velbusaio/messages/raw.py +74 -0
  60. velbusaio/messages/read_data_block_from_memory.py +3 -4
  61. velbusaio/messages/read_data_from_memory.py +3 -4
  62. velbusaio/messages/realtime_clock_status_request.py +3 -4
  63. velbusaio/messages/receive_buffer_full.py +3 -4
  64. velbusaio/messages/receive_ready.py +3 -4
  65. velbusaio/messages/relay_status.py +13 -42
  66. velbusaio/messages/restore_dimmer.py +33 -24
  67. velbusaio/messages/select_program.py +35 -0
  68. velbusaio/messages/sensor_settings_request.py +3 -4
  69. velbusaio/messages/sensor_temp_request.py +3 -4
  70. velbusaio/messages/sensor_temperature.py +15 -19
  71. velbusaio/messages/set_date.py +10 -30
  72. velbusaio/messages/set_daylight_saving.py +8 -24
  73. velbusaio/messages/set_dimmer.py +43 -41
  74. velbusaio/messages/set_led.py +3 -4
  75. velbusaio/messages/set_realtime_clock.py +10 -30
  76. velbusaio/messages/set_temperature.py +3 -4
  77. velbusaio/messages/slider_status.py +16 -20
  78. velbusaio/messages/slow_blinking_led.py +3 -4
  79. velbusaio/messages/start_relay_blinking_timer.py +3 -4
  80. velbusaio/messages/start_relay_timer.py +3 -4
  81. velbusaio/messages/switch_relay_off.py +3 -16
  82. velbusaio/messages/switch_relay_on.py +3 -16
  83. velbusaio/messages/switch_to_comfort.py +4 -15
  84. velbusaio/messages/switch_to_day.py +4 -15
  85. velbusaio/messages/switch_to_night.py +4 -15
  86. velbusaio/messages/switch_to_safe.py +4 -15
  87. velbusaio/messages/temp_sensor_settings_part1.py +3 -4
  88. velbusaio/messages/temp_sensor_settings_part2.py +27 -0
  89. velbusaio/messages/temp_sensor_settings_part3.py +27 -0
  90. velbusaio/messages/temp_sensor_settings_part4.py +27 -0
  91. velbusaio/messages/temp_sensor_settings_request.py +3 -4
  92. velbusaio/messages/temp_sensor_status.py +34 -35
  93. velbusaio/messages/temp_set_cooling.py +3 -13
  94. velbusaio/messages/temp_set_heating.py +3 -13
  95. velbusaio/messages/update_led_status.py +3 -4
  96. velbusaio/messages/very_fast_blinking_led.py +3 -4
  97. velbusaio/messages/write_data_to_memory.py +3 -4
  98. velbusaio/messages/write_memory_block.py +3 -4
  99. velbusaio/messages/write_module_address_and_serial_number.py +3 -4
  100. velbusaio/module.py +680 -158
  101. velbusaio/module_spec/01.json +62 -0
  102. velbusaio/module_spec/02.json +16 -0
  103. velbusaio/module_spec/03.json +23 -0
  104. velbusaio/module_spec/04.json +283 -0
  105. velbusaio/module_spec/05.json +54 -0
  106. velbusaio/module_spec/06.json +110 -0
  107. velbusaio/module_spec/07.json +16 -0
  108. velbusaio/module_spec/08.json +38 -0
  109. velbusaio/module_spec/09.json +30 -0
  110. velbusaio/module_spec/0A.json +58 -0
  111. velbusaio/module_spec/0B.json +58 -0
  112. velbusaio/module_spec/0C.json +18 -0
  113. velbusaio/module_spec/0E.json +25 -0
  114. velbusaio/module_spec/0F.json +16 -0
  115. velbusaio/module_spec/10.json +111 -0
  116. velbusaio/module_spec/11.json +111 -0
  117. velbusaio/module_spec/12.json +73 -0
  118. velbusaio/module_spec/13.json +4 -0
  119. velbusaio/module_spec/14.json +16 -0
  120. velbusaio/module_spec/15.json +83 -0
  121. velbusaio/module_spec/16.json +129 -0
  122. velbusaio/module_spec/17.json +129 -0
  123. velbusaio/module_spec/18.json +129 -0
  124. velbusaio/module_spec/1A.json +79 -0
  125. velbusaio/module_spec/1B.json +107 -0
  126. velbusaio/module_spec/1D.json +89 -0
  127. velbusaio/module_spec/1E.json +306 -0
  128. velbusaio/module_spec/1F.json +178 -0
  129. velbusaio/module_spec/20.json +178 -0
  130. velbusaio/module_spec/21.json +326 -0
  131. velbusaio/module_spec/22.json +426 -0
  132. velbusaio/module_spec/23.json +129 -0
  133. velbusaio/module_spec/24.json +30 -0
  134. velbusaio/module_spec/25.json +3 -0
  135. velbusaio/module_spec/28.json +454 -0
  136. velbusaio/module_spec/29.json +235 -0
  137. velbusaio/module_spec/2A.json +239 -0
  138. velbusaio/module_spec/2B.json +239 -0
  139. velbusaio/module_spec/2C.json +257 -0
  140. velbusaio/module_spec/2D.json +270 -0
  141. velbusaio/module_spec/2E.json +215 -0
  142. velbusaio/module_spec/2F.json +211 -0
  143. velbusaio/module_spec/30.json +58 -0
  144. velbusaio/module_spec/31.json +465 -0
  145. velbusaio/module_spec/32.json +385 -0
  146. velbusaio/module_spec/33.json +249 -0
  147. velbusaio/module_spec/34.json +313 -0
  148. velbusaio/module_spec/35.json +313 -0
  149. velbusaio/module_spec/36.json +313 -0
  150. velbusaio/module_spec/37.json +333 -0
  151. velbusaio/module_spec/38.json +111 -0
  152. velbusaio/module_spec/39.json +4 -0
  153. velbusaio/module_spec/3A.json +306 -0
  154. velbusaio/module_spec/3B.json +306 -0
  155. velbusaio/module_spec/3C.json +306 -0
  156. velbusaio/module_spec/3D.json +454 -0
  157. velbusaio/module_spec/3E.json +302 -0
  158. velbusaio/module_spec/3F.json +4 -0
  159. velbusaio/module_spec/40.json +4 -0
  160. velbusaio/module_spec/41.json +241 -0
  161. velbusaio/module_spec/42.json +4 -0
  162. velbusaio/module_spec/43.json +23 -0
  163. velbusaio/module_spec/44.json +38 -0
  164. velbusaio/module_spec/45.json +4 -0
  165. velbusaio/module_spec/48.json +111 -0
  166. velbusaio/module_spec/49.json +111 -0
  167. velbusaio/module_spec/4A.json +89 -0
  168. velbusaio/module_spec/4B.json +138 -0
  169. velbusaio/module_spec/4C.json +129 -0
  170. velbusaio/module_spec/4D.json +108 -0
  171. velbusaio/module_spec/4E.json +787 -0
  172. velbusaio/module_spec/4F.json +114 -0
  173. velbusaio/module_spec/50.json +114 -0
  174. velbusaio/module_spec/51.json +114 -0
  175. velbusaio/module_spec/52.json +456 -0
  176. velbusaio/module_spec/54.json +270 -0
  177. velbusaio/module_spec/55.json +270 -0
  178. velbusaio/module_spec/56.json +270 -0
  179. velbusaio/module_spec/57.json +260 -0
  180. velbusaio/module_spec/5A.json +4 -0
  181. velbusaio/module_spec/5B.json +4 -0
  182. velbusaio/module_spec/5C.json +90 -0
  183. velbusaio/module_spec/5F.json +78 -0
  184. velbusaio/module_spec/60.json +4 -0
  185. velbusaio/module_spec/61.json +89 -0
  186. velbusaio/module_spec/broadcast.json +67 -0
  187. velbusaio/module_spec/ignore.json +22 -0
  188. velbusaio/protocol.py +243 -0
  189. velbusaio/py.typed +0 -0
  190. velbusaio/raw_message.py +149 -0
  191. velbusaio/util.py +55 -0
  192. velbusaio/vlp_reader.py +249 -0
  193. velbus_aio-2021.8.7.dist-info/METADATA +0 -66
  194. velbus_aio-2021.8.7.dist-info/RECORD +0 -90
  195. velbus_aio-2021.8.7.dist-info/top_level.txt +0 -1
  196. velbusaio/messages/meteo_raw.py +0 -52
  197. velbusaio/module_registry.py +0 -64
  198. velbusaio/moduleprotocol/protocol.json +0 -25540
  199. velbusaio/parser.py +0 -142
  200. {velbus_aio-2021.8.7.dist-info → velbus_aio-2025.11.0.dist-info/licenses}/LICENSE +0 -0
@@ -1,66 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: velbus-aio
3
- Version: 2021.8.7
4
- Summary: Python Library for the Velbus protocol based on asyncio
5
- Home-page: https://github.com/Cereal2nd/velbus-aio
6
- Author: Maikel Punie
7
- Author-email: maikel.punie@gmail.com
8
- License: MIT
9
- Keywords: home,velbus,automation
10
- Platform: any
11
- Classifier: Development Status :: 5 - Production/Stable
12
- Classifier: Intended Audience :: Developers
13
- Classifier: License :: OSI Approved :: MIT License
14
- Classifier: Natural Language :: English
15
- Classifier: Operating System :: OS Independent
16
- Classifier: Programming Language :: Python
17
- Classifier: Programming Language :: Python :: 3.6
18
- Classifier: Programming Language :: Python :: 3.7
19
- Classifier: Programming Language :: Python :: 3.8
20
- Classifier: Programming Language :: Python :: 3.9
21
- Classifier: Programming Language :: Python :: 3.10
22
- Classifier: Topic :: Home Automation
23
- Classifier: Topic :: Software Development :: Libraries
24
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
25
- Description-Content-Type: text/markdown
26
- License-File: LICENSE
27
- Requires-Dist: pyserial-asyncio
28
-
29
- ![Python checks](https://github.com/Cereal2nd/velbus-aio/actions/workflows/main.yml/badge.svg)
30
- ![CodeQL](https://github.com/Cereal2nd/velbus-aio/workflows/CodeQL/badge.svg)
31
-
32
- # velbus-aio
33
-
34
- Velbus Asyncio, a library to support the [Velbus](https://www.velbus.eu/) home automation system.
35
-
36
- This Lib is a rewrite in python3 with asyncio of the [python-velbus](https://github.com/thomasdelaet/python-velbus/) module.
37
- Part of the code from the above lib is reused.
38
- Its also build on top of the [openHab velbus protocol description](https://github.com/StefCoene/moduleprotocol).
39
-
40
- The latest version of the library is published as a python package on [pypi](https://pypi.org/project/velbus-aio/)
41
-
42
- # Supported connections:
43
-
44
- | Type | Example | Description |
45
- | ------------- | ----------------------- | --------------------------------------------------------------------------------------- |
46
- | serial | /dev/ttyACME0 | a serial device |
47
- | ip:port | 192.168.1.9:1234 | An ip adress + tcp port combination, used in combination with any velbus => tcp gateway |
48
- | tls://ip:port | tls://192.168.1.9:12345 | A connection to [Signum](https://www.velbus.eu/products/view/?id=458140) |
49
-
50
- # Develop Installation
51
-
52
- 1. Clone the repo
53
- - git clone --recurse-submodules https://github.com/Cereal2nd/velbus-aio
54
- 2. cd into the cloned repo
55
- - cd velbus-aio
56
- 3. create and activate a virtual enviroment
57
- - python3 -m venv venv
58
- - source venv/bin/activate
59
- 4. install the module
60
- - python setup.py develop
61
- 5. define the connection parameters
62
- - modify examples/load_modules.py
63
- 6. run the example
64
- - python examples/load_modules.py
65
-
66
-
@@ -1,90 +0,0 @@
1
- velbusaio/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- velbusaio/channels.py,sha256=t9YoHlzg0oJA5Hrf798gwScEop1_W6Qkd5iaM3fK_Es,11990
3
- velbusaio/command_registry.py,sha256=3xpWTXxSMMvtrDTamY1fDbZTqNhoX4LqkGf4-_NLKrg,2748
4
- velbusaio/const.py,sha256=XIBq4pVP6luup9RV_0oXbNCMJwwDa5khTQXOb1-m3pI,1277
5
- velbusaio/controller.py,sha256=urEA-hNxkVKs5x972rS4YukD5op54HRMYDsVevat98I,7723
6
- velbusaio/discovery.py,sha256=twTamPjs1aCwFpof1YzglJG4JTwrHeyfBFzQ7YcTaR8,1633
7
- velbusaio/handler.py,sha256=qAZm_4P7w-I_8kBybBdHLpYKa9_zjR29GnRhmE_4-y0,7013
8
- velbusaio/helpers.py,sha256=dfPjEzMAQkLS6BrkZa25ZrdvKBMTkDjFYiktklrOl_s,2859
9
- velbusaio/message.py,sha256=QGMvUNsqu_PQO3lEjOhfsRB3R69OZ_i_Vnv_fezivZA,6324
10
- velbusaio/module.py,sha256=VFwkdr1PGHPyqXbie6DD4504jQMXC0RhJKDb2A5PWls,17271
11
- velbusaio/module_registry.py,sha256=Bp4imHp-VcK_VvAblHPYWqwz7fyn5H4MJpVCmzDHBfs,1293
12
- velbusaio/parser.py,sha256=_gFen2Mp6s68AZwP8FC8oID6qk27uLPoKBEXzVptiqM,4819
13
- velbusaio/messages/__init__.py,sha256=FRBEQFa2h3UbklZ6s6vZ79VjnLlrNE5u8gaBzUY5d60,5400
14
- velbusaio/messages/blind_status.py,sha256=BB1VI4fx3Q_qjpeVBRzOLm3cmwA-SNB--flhS3sos_w,3611
15
- velbusaio/messages/bus_active.py,sha256=vYXxI8XVpRS7M3Y1R6HrXwidDw8OVOt82Jqs7d-YKRM,838
16
- velbusaio/messages/bus_error_counter_status.py,sha256=eOW73x08nD3Kl8ZG0rYIAn6aJuEz4yoBXeTgMHFZewo,1224
17
- velbusaio/messages/bus_error_counter_status_request.py,sha256=qu27EQ69WZVEEOg1DddxL_7gZDmTkmv6K5y1rLbjkWU,749
18
- velbusaio/messages/bus_off.py,sha256=ATj76BXYOrsf466wnCHfhSScOOucaUugd4c4_rMjJr4,710
19
- velbusaio/messages/channel_name_part1.py,sha256=jT5aDt-4F9oOJfAgBrwgA8zKlVwO9N59tjP2BqHe2I4,3528
20
- velbusaio/messages/channel_name_part2.py,sha256=KCA3NJ0BYh_1P_kFqZYbtzlsF2v_dntA82QMmMxKGHk,3528
21
- velbusaio/messages/channel_name_part3.py,sha256=zsOeZKp_KjfRd3eMnsVlTwTGrLCi-DZZvpISO9aWMYA,3529
22
- velbusaio/messages/channel_name_request.py,sha256=vB4KIVHrtU5pNHWXmz2bts_ogi7MwLZWNnbsw69i8Jo,2002
23
- velbusaio/messages/clear_led.py,sha256=DjEDgkROaVwy5uOAVBeL14OdH4GyolUY4OQbQShP4P8,945
24
- velbusaio/messages/counter_status.py,sha256=aIRG8h2WvRZgDFsCbq350hxOvVQrqrGwnsuh0TxhCII,1606
25
- velbusaio/messages/counter_status_request.py,sha256=qw_chPhNKsHNdpNTNE6_P3xYjQZOSRcMjTW7Rx3xGhg,903
26
- velbusaio/messages/cover_down.py,sha256=uodBuWsfseJIK5cw3LAknH8I8Bcw92CEkaap26VwMng,3315
27
- velbusaio/messages/cover_off.py,sha256=J18QTk4278XTUGf28gCqDSgOmheCnHiOhCuGlxc6ZnE,2943
28
- velbusaio/messages/cover_position.py,sha256=ulI_d7HfizFMd-raIl4_bmQD2fYqt7gT8l4xgRPnTEk,1659
29
- velbusaio/messages/cover_up.py,sha256=ptIhmbujAdkWtv4ABd35gwTwVdzUa5jzrmpO3OMlf6k,3235
30
- velbusaio/messages/dimmer_channel_status.py,sha256=hwbdhRBMXG1uLzUi_Ej6fYXFc_u-GOsJkwO7cbMkGh4,3062
31
- velbusaio/messages/dimmer_status.py,sha256=HcEsFwe-9jizYA4ekNkoSH_H-Nzv2XwFVcaqFqXap9I,3437
32
- velbusaio/messages/fast_blinking_led.py,sha256=92Gs45rCwM86LC3qDrAqGBHb4XZiXLri84OPCY4gG2w,949
33
- velbusaio/messages/forced_off.py,sha256=IB7UdUev9gU4wh7srOLj40t-xNleyKdkQadv89Fa14E,618
34
- velbusaio/messages/forced_on.py,sha256=Kvo8G5HQfXqkX-9iZeKsJDlIOa2VS9PLZKYPVRQMGcA,616
35
- velbusaio/messages/interface_status_request.py,sha256=TEAsC-3WNtpYx9LB6Pk-YQKwhO86XdpJfwDhFRCRVUo,742
36
- velbusaio/messages/kwh_status.py,sha256=NtASpbJfw-yXPLbMlKOsCUDkkylRhKk8qs86M633wMQ,1852
37
- velbusaio/messages/light_value_request.py,sha256=uwPMBzM1pnXTM2lWlR4WPLkHPbR5x0Kzhp4ZvauSK7c,634
38
- velbusaio/messages/memo_text.py,sha256=peQi_E29swVjWtucEIbxQMKhyjIXfa5mJDqpHmUkykk,1097
39
- velbusaio/messages/memory_data.py,sha256=dHxkpjiBd8sLpOJiLjpIln_LpSZgoy1A218PxlmBVZ8,1363
40
- velbusaio/messages/memory_data_block.py,sha256=sNArh4ZJgddiQC8txZnIZm5ll9kglFkgsOlMyBYwoAE,1085
41
- velbusaio/messages/memory_dump_request.py,sha256=9FIFqpWCMIWrcXrAlFq1STVLmGwelIVoUX4raYUvE64,741
42
- velbusaio/messages/meteo_raw.py,sha256=5Kae0LwCynK_Lq_NtyhfIXCmFLkr5VlUrllAqbEDls4,1289
43
- velbusaio/messages/module_status.py,sha256=BfMc20mXknE6czm3741AyGHE0zhUhcr4L5Ciqbgf9tk,5588
44
- velbusaio/messages/module_status_request.py,sha256=rGtxEE9Z9vL6B3_BXoFtccpanDna1tPb25NIoxfZlaY,1005
45
- velbusaio/messages/module_subtype.py,sha256=GVSJw2eI9oJnxaZkMeCc4oDWk_5Sew1NGqmRK5VDH1A,1675
46
- velbusaio/messages/module_type.py,sha256=M6PqS6FguWsewGgVCHuca8EW1T7kSXd0P7xpYrXL3Jg,2067
47
- velbusaio/messages/module_type_request.py,sha256=v8LBuPG_nxvh2lid9XG254M522PN-zSVezEMCOLrGis,753
48
- velbusaio/messages/push_button_status.py,sha256=osh1VNg1_aJKfDBIcNhxWEKmyUABZkGEQHy4pKF4VD8,1918
49
- velbusaio/messages/read_data_block_from_memory.py,sha256=AH5R4FhPdfA2-ajJinl5BMn82k2wY3yR0oX163O9_AE,1023
50
- velbusaio/messages/read_data_from_memory.py,sha256=SeoEOlpwOV4QJTYElxYCZ8DYOHCMeye5mssYuJwF0N0,1021
51
- velbusaio/messages/realtime_clock_status_request.py,sha256=E-9hHhhwkC8CGAETz7G1U3EdrUNTSBGhpFo5Y2I0wV0,652
52
- velbusaio/messages/receive_buffer_full.py,sha256=TABYLBBGi33QJbPY2vp7_qRn45NYD7GHflsW_ZFQmQ0,900
53
- velbusaio/messages/receive_ready.py,sha256=AdFzHDKg75DEzqlOn_7HRlxQk3NUSLbrwJ_NIy0KZCI,724
54
- velbusaio/messages/relay_status.py,sha256=xMnNUlKdXFF_2_OoR_7TDC2Hv5AhgyMHwcvhEOrS734,3337
55
- velbusaio/messages/restore_dimmer.py,sha256=7jKigx5NDXOvtT_n74ghRfFNxoXA7y5eRB_bHoOLFuo,1746
56
- velbusaio/messages/sensor_settings_request.py,sha256=mZNuh87ugH-YPqT1yh6Fthv1gHz-fZw0oRfVYq4gWnM,865
57
- velbusaio/messages/sensor_temp_request.py,sha256=-Xx_TGEFyMMRObXBzASB5IiCmwonTq9qLx8WZLPvWVY,634
58
- velbusaio/messages/sensor_temperature.py,sha256=Bt7ZAyCgq4s0JVtkGMevt13DRJYdz41o4X2mUAZuMfQ,1460
59
- velbusaio/messages/set_date.py,sha256=iHSdSTiOVKvz3DJVvMbupg0RETvIklY8k94EmnjND6Q,1789
60
- velbusaio/messages/set_daylight_saving.py,sha256=7LbVQTvyL2zqOBxveHZeG--YhdOeFzBzNqG4tT9dp7I,1379
61
- velbusaio/messages/set_dimmer.py,sha256=_NYrdhwev51Ft5czqnYLIaNAW5Rcnrd1-lF5YMfdPI0,2220
62
- velbusaio/messages/set_led.py,sha256=D1FkZNfwVQ0HIulZrlDdjD1l5Lrj5GjG_zAoktQIiz4,931
63
- velbusaio/messages/set_realtime_clock.py,sha256=_SSdf7SO3PxrfVrkW2iDKNvpoOxTXoiWjBOyUh6lR68,1649
64
- velbusaio/messages/set_temperature.py,sha256=E8Ud4NUzan2L8AYmn0IzHyxsydCfdMhjmhQiIs_vAQw,998
65
- velbusaio/messages/slider_status.py,sha256=xGbQzuoKNkFDHhzSLZ6I-ov2jkkrvfH7Ma16xtymNp4,1953
66
- velbusaio/messages/slow_blinking_led.py,sha256=bqZES8w4dMxlQ4cXIc-YfWSAc8dedXz6ti5B2qWwksA,949
67
- velbusaio/messages/start_relay_blinking_timer.py,sha256=BGF0Hn2PFlPK1hCz5pGIaW4V7YG984NEZamuF5mV_pk,1346
68
- velbusaio/messages/start_relay_timer.py,sha256=24VKP18wfW-hlzdsNxNOy0kwf1f1jDaAWOTC_BMl66I,1330
69
- velbusaio/messages/switch_relay_off.py,sha256=hV2uMhZf7T3r3t_1Ooz-fVcmRiKBiieIrQDiBcM1zsg,1415
70
- velbusaio/messages/switch_relay_on.py,sha256=9BN89YAA7hLeyvYKMY7yVc6rAgxB35LcJW0WqTx3_ik,1413
71
- velbusaio/messages/switch_to_comfort.py,sha256=QzxdQv0WrLLhxSugAKw4_iYpP6urQWdCNh-19vIpjgU,1012
72
- velbusaio/messages/switch_to_day.py,sha256=rN8IKP-u1ZjPz6G031nFjYykbJ23w6HhkkOFlVuQwXc,1004
73
- velbusaio/messages/switch_to_night.py,sha256=BYx1NLz-Eokx6pZ7zjJhxsjel2e7UsVrPITLv4dlqgg,1008
74
- velbusaio/messages/switch_to_safe.py,sha256=88YJyTHejcrJiCAhz2YwKd19iAJXhltxtOywzKrknWo,1006
75
- velbusaio/messages/temp_sensor_settings_part1.py,sha256=oWx8EfIkCJFRb4gzEZoft_7ibtp86sht0AD6Dt7mSdE,646
76
- velbusaio/messages/temp_sensor_settings_request.py,sha256=b0eQOwYY8FFw4ZxMGme_EFbvNvtdo7GwfgsVS6VCPdc,650
77
- velbusaio/messages/temp_sensor_status.py,sha256=U7ikAtrOqF_kideQTkeall0K9MQoTihKuUsL5W8389g,3977
78
- velbusaio/messages/temp_set_cooling.py,sha256=Lq1IFWTdzq_ZwYtq7jsu1NsaecTFElELbrS0l7TirYE,923
79
- velbusaio/messages/temp_set_heating.py,sha256=MRkQf_U8kugN77MH2EVwXAsLoP1JAiyGQboDEGjXfDg,923
80
- velbusaio/messages/update_led_status.py,sha256=bOCfd0KoR_BIOnKBtKsQI7ERsUzas0GBN8mBl1Y6xh8,1341
81
- velbusaio/messages/very_fast_blinking_led.py,sha256=a3MvBOfIFiZ1fooi6DHL3FSoN8twz8Det5BQJ0-z1TY,957
82
- velbusaio/messages/write_data_to_memory.py,sha256=vlRWikZ870SUzhVIHmgpy835l_iXGnH1TYzmGG92OQ4,1081
83
- velbusaio/messages/write_memory_block.py,sha256=RPIuv-YA0nh2u-yz5Ii01ngjP4Jcn54_9Wpe0WwqvN0,1073
84
- velbusaio/messages/write_module_address_and_serial_number.py,sha256=Z84dwlVmWf1FWVuXtrilSlccehtj4gwqRg1-PBKpMmk,1655
85
- velbusaio/moduleprotocol/protocol.json,sha256=amszLotF0f-ZO9TkFo-XdOvWmH5AgYuQvbEN84pk7_s,851187
86
- velbus_aio-2021.8.7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
87
- velbus_aio-2021.8.7.dist-info/METADATA,sha256=hEYwa6QQ7zWwBdpv3KuxO6AsN2LyYxUoOYIlj4Lcog0,2915
88
- velbus_aio-2021.8.7.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
89
- velbus_aio-2021.8.7.dist-info/top_level.txt,sha256=BQcTbCbPrrHK3h13x0bfArirNX1_BLWJWNaZBS1B6Yo,10
90
- velbus_aio-2021.8.7.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- velbusaio
@@ -1,52 +0,0 @@
1
- """
2
- :author: Maikel Punie <maikel.punie@gmail.com>
3
- """
4
- from __future__ import annotations
5
-
6
- import json
7
-
8
- from velbusaio.command_registry import register_command
9
- from velbusaio.message import Message
10
-
11
- COMMAND_CODE = 0xA9
12
-
13
-
14
- class MeteoRawMessage(Message):
15
- """
16
- send by: VMBMETEO
17
- received by:
18
- """
19
-
20
- def __init__(self, address=None):
21
- Message.__init__(self)
22
- self.rain = 0
23
- self.light = 0
24
- self.wind = 0
25
-
26
- def populate(self, priority, address, rtr, data):
27
- """
28
- data bytes (high + low)
29
- 1 + 2 = current temp
30
- 3 + 4 = min temp
31
- 5 + 6 = max temp
32
- :return: None
33
- """
34
- self.needs_no_rtr(rtr)
35
- self.needs_data(data, 6)
36
- self.set_attributes(priority, address, rtr)
37
- self.rain = (((data[0] << 8) | data[1]) / 32) * 0.1
38
- self.light = ((data[2] << 8) | data[3]) / 32
39
- self.wind = (((data[4] << 8) | data[5]) / 32) * 0.1
40
-
41
- def to_json(self):
42
- """
43
- :return: str
44
- """
45
- json_dict = self.to_json_basic()
46
- json_dict["rain"] = self.rain
47
- json_dict["light"] = self.light
48
- json_dict["wind"] = self.wind
49
- return json.dumps(json_dict)
50
-
51
-
52
- register_command(COMMAND_CODE, MeteoRawMessage, "VMBMETEO")
@@ -1,64 +0,0 @@
1
- """
2
- :author: Thomas Delaet <thomas@delaet.org>
3
- """
4
- from __future__ import annotations
5
-
6
- MODULE_DIRECTORY = {
7
- 0x01: "VMB8PB",
8
- 0x02: "VMB1RY",
9
- 0x03: "VMB1BL",
10
- 0x05: "VMB6IN",
11
- 0x07: "VMB1DM",
12
- 0x08: "VMB4RY",
13
- 0x09: "VMB2BL",
14
- 0x0A: "VMB8IR",
15
- 0x0B: "VMB4PD",
16
- 0x0C: "VMB1TS",
17
- 0x0D: "VMB1TH",
18
- 0x0E: "VMB1TC",
19
- 0x0F: "VMB1LED",
20
- 0x10: "VMB4RYLD",
21
- 0x11: "VMB4RYNO",
22
- 0x12: "VMB4DC",
23
- 0x13: "VMBLCDWB",
24
- 0x14: "VMBDME",
25
- 0x15: "VMBDMI",
26
- 0x16: "VMB8PBU",
27
- 0x17: "VMB6PBN",
28
- 0x18: "VMB2PBN",
29
- 0x19: "VMB6PBB",
30
- 0x1A: "VMB4RF",
31
- 0x1B: "VMB1RYNO",
32
- 0x1C: "VMB1BLE",
33
- 0x1D: "VMB2BLE",
34
- 0x1E: "VMBGP1",
35
- 0x1F: "VMBGP2",
36
- 0x20: "VMBGP4",
37
- 0x21: "VMBGPO",
38
- 0x22: "VMB7IN",
39
- 0x28: "VMBGPOD",
40
- 0x29: "VMB1RYNOS",
41
- 0x2A: "VMBIRM",
42
- 0x2B: "VMBIRC",
43
- 0x2C: "VMBIRO",
44
- 0x2D: "VMBGP4PIR",
45
- 0x2E: "VMB1BLS",
46
- 0x2F: "VMBDMI-R",
47
- 0x31: "VMBMETEO",
48
- 0x32: "VMB4AN",
49
- 0x33: "VMBVP01",
50
- 0x34: "VMBEL1",
51
- 0x35: "VMBEL2",
52
- 0x36: "VMBEL4",
53
- 0x37: "VMBELO",
54
- 0x39: "VMBSIG",
55
- 0x3A: "VMBGP1-2",
56
- 0x3B: "VMBGP2-2",
57
- 0x3C: "VMBGP4-2",
58
- 0x3D: "VMBGPOD-2",
59
- 0x3E: "VMBGP4PIR-2",
60
- 0x3F: "VMCM3",
61
- 0x40: "VMBUSBIP",
62
- 0x41: "VMB1RYS",
63
- 0x42: "VMBKP",
64
- }