boneIO 0.2.1__tar.gz → 0.2.2__tar.gz

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 (63) hide show
  1. {boneio-0.2.1/boneio.egg-info → boneio-0.2.2}/PKG-INFO +2 -2
  2. {boneio-0.2.1 → boneio-0.2.2}/boneio/const.py +1 -0
  3. {boneio-0.2.1 → boneio-0.2.2}/boneio/mqtt_client.py +1 -0
  4. {boneio-0.2.1 → boneio-0.2.2}/boneio/runner.py +2 -0
  5. boneio-0.2.2/boneio/version.py +2 -0
  6. {boneio-0.2.1 → boneio-0.2.2/boneio.egg-info}/PKG-INFO +2 -2
  7. {boneio-0.2.1 → boneio-0.2.2}/boneio.egg-info/requires.txt +0 -1
  8. {boneio-0.2.1 → boneio-0.2.2}/setup.py +0 -1
  9. boneio-0.2.1/boneio/version.py +0 -2
  10. {boneio-0.2.1 → boneio-0.2.2}/LICENSE +0 -0
  11. {boneio-0.2.1 → boneio-0.2.2}/MANIFEST.in +0 -0
  12. {boneio-0.2.1 → boneio-0.2.2}/README.md +0 -0
  13. {boneio-0.2.1 → boneio-0.2.2}/boneio/__init__.py +0 -0
  14. {boneio-0.2.1 → boneio-0.2.2}/boneio/bonecli.py +0 -0
  15. {boneio-0.2.1 → boneio-0.2.2}/boneio/cover.py +0 -0
  16. {boneio-0.2.1 → boneio-0.2.2}/boneio/example_config/__init__.py +0 -0
  17. {boneio-0.2.1 → boneio-0.2.2}/boneio/example_config/adc.yaml +0 -0
  18. {boneio-0.2.1 → boneio-0.2.2}/boneio/example_config/config.yaml +0 -0
  19. {boneio-0.2.1 → boneio-0.2.2}/boneio/example_config/cover.yaml +0 -0
  20. {boneio-0.2.1 → boneio-0.2.2}/boneio/example_config/input.yaml +0 -0
  21. {boneio-0.2.1 → boneio-0.2.2}/boneio/example_config/output24x16A.yaml +0 -0
  22. {boneio-0.2.1 → boneio-0.2.2}/boneio/example_config/output32x5A.yaml +0 -0
  23. {boneio-0.2.1 → boneio-0.2.2}/boneio/fonts/danube__.ttf +0 -0
  24. {boneio-0.2.1 → boneio-0.2.2}/boneio/helper/__init__.py +0 -0
  25. {boneio-0.2.1 → boneio-0.2.2}/boneio/helper/events.py +0 -0
  26. {boneio-0.2.1 → boneio-0.2.2}/boneio/helper/exceptions.py +0 -0
  27. {boneio-0.2.1 → boneio-0.2.2}/boneio/helper/gpio.py +0 -0
  28. {boneio-0.2.1 → boneio-0.2.2}/boneio/helper/ha_discovery.py +1 -1
  29. {boneio-0.2.1 → boneio-0.2.2}/boneio/helper/loader.py +0 -0
  30. {boneio-0.2.1 → boneio-0.2.2}/boneio/helper/logger.py +0 -0
  31. {boneio-0.2.1 → boneio-0.2.2}/boneio/helper/mqtt.py +0 -0
  32. {boneio-0.2.1 → boneio-0.2.2}/boneio/helper/oled.py +0 -0
  33. {boneio-0.2.1 → boneio-0.2.2}/boneio/helper/queue.py +0 -0
  34. {boneio-0.2.1 → boneio-0.2.2}/boneio/helper/state_manager.py +0 -0
  35. {boneio-0.2.1 → boneio-0.2.2}/boneio/helper/stats.py +0 -0
  36. {boneio-0.2.1 → boneio-0.2.2}/boneio/helper/yaml.py +0 -0
  37. {boneio-0.2.1 → boneio-0.2.2}/boneio/input/__init__.py +0 -0
  38. {boneio-0.2.1 → boneio-0.2.2}/boneio/input/gpio.py +0 -0
  39. {boneio-0.2.1 → boneio-0.2.2}/boneio/manager.py +0 -0
  40. {boneio-0.2.1 → boneio-0.2.2}/boneio/modbus.py +0 -0
  41. {boneio-0.2.1 → boneio-0.2.2}/boneio/oled.py +0 -0
  42. {boneio-0.2.1 → boneio-0.2.2}/boneio/relay/__init__.py +0 -0
  43. {boneio-0.2.1 → boneio-0.2.2}/boneio/relay/basic.py +0 -0
  44. {boneio-0.2.1 → boneio-0.2.2}/boneio/relay/gpio.py +0 -0
  45. {boneio-0.2.1 → boneio-0.2.2}/boneio/relay/mcp.py +0 -0
  46. {boneio-0.2.1 → boneio-0.2.2}/boneio/schema/actions.yaml +0 -0
  47. {boneio-0.2.1 → boneio-0.2.2}/boneio/schema/actions_sensor.yaml +0 -0
  48. {boneio-0.2.1 → boneio-0.2.2}/boneio/schema/actions_switch.yaml +0 -0
  49. {boneio-0.2.1 → boneio-0.2.2}/boneio/schema/schema.yaml +0 -0
  50. {boneio-0.2.1 → boneio-0.2.2}/boneio/sensor/__init__.py +0 -0
  51. {boneio-0.2.1 → boneio-0.2.2}/boneio/sensor/adc.py +0 -0
  52. {boneio-0.2.1 → boneio-0.2.2}/boneio/sensor/gpio.py +0 -0
  53. {boneio-0.2.1 → boneio-0.2.2}/boneio/sensor/modbus/__init__.py +0 -0
  54. {boneio-0.2.1 → boneio-0.2.2}/boneio/sensor/modbus/sdm120.json +0 -0
  55. {boneio-0.2.1 → boneio-0.2.2}/boneio/sensor/modbus/sdm630.json +0 -0
  56. {boneio-0.2.1 → boneio-0.2.2}/boneio/sensor/modbus/sofar.json +0 -0
  57. {boneio-0.2.1 → boneio-0.2.2}/boneio/sensor/temp/__init__.py +0 -0
  58. {boneio-0.2.1 → boneio-0.2.2}/boneio.egg-info/SOURCES.txt +0 -0
  59. {boneio-0.2.1 → boneio-0.2.2}/boneio.egg-info/dependency_links.txt +0 -0
  60. {boneio-0.2.1 → boneio-0.2.2}/boneio.egg-info/entry_points.txt +0 -0
  61. {boneio-0.2.1 → boneio-0.2.2}/boneio.egg-info/top_level.txt +0 -0
  62. {boneio-0.2.1 → boneio-0.2.2}/requirements.txt +0 -0
  63. {boneio-0.2.1 → boneio-0.2.2}/setup.cfg +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: boneio
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Python App for BoneIO
5
5
  Home-page: https://github.com/boneIO-eu/app_bbb
6
- Download-URL: https://github.com/boneIO-eu/app_bbb/archive/0.2.1.zip
6
+ Download-URL: https://github.com/boneIO-eu/app_bbb/archive/0.2.2.zip
7
7
  License: GNU General Public License v3.0
8
8
  Platform: UNKNOWN
9
9
  Classifier: Programming Language :: Python
@@ -89,6 +89,7 @@ MQTT = "mqtt"
89
89
  HOST = "host"
90
90
  USERNAME = "username"
91
91
  PASSWORD = "password"
92
+ PORT = "port"
92
93
  ONLINE = "online"
93
94
  OFFLINE = "offline"
94
95
  TOPIC = "topic"
@@ -44,6 +44,7 @@ class MQTTClient:
44
44
 
45
45
  def create_client(self) -> None:
46
46
  """Create the asyncio client."""
47
+ _LOGGER.debug("Creating client %s:%s", self.host, self.port)
47
48
  self.asyncio_client = AsyncioClient(
48
49
  self.host,
49
50
  self.port,
@@ -17,6 +17,7 @@ from boneio.const import (
17
17
  OLED,
18
18
  OUTPUT,
19
19
  PASSWORD,
20
+ PORT,
20
21
  TOPIC_PREFIX,
21
22
  USERNAME,
22
23
  )
@@ -39,6 +40,7 @@ async def async_run(
39
40
  host=config[MQTT][HOST],
40
41
  username=config[MQTT].get(USERNAME, mqttusername),
41
42
  password=config[MQTT].get(PASSWORD, mqttpassword),
43
+ port=config[MQTT].get(PORT, 1883),
42
44
  )
43
45
 
44
46
  manager = Manager(
@@ -0,0 +1,2 @@
1
+ # flake8: noqa
2
+ __version__ = "0.2.2"
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: boneio
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Python App for BoneIO
5
5
  Home-page: https://github.com/boneIO-eu/app_bbb
6
- Download-URL: https://github.com/boneIO-eu/app_bbb/archive/0.2.1.zip
6
+ Download-URL: https://github.com/boneIO-eu/app_bbb/archive/0.2.2.zip
7
7
  License: GNU General Public License v3.0
8
8
  Platform: UNKNOWN
9
9
  Classifier: Programming Language :: Python
@@ -13,7 +13,6 @@ colorlog==6.6.0
13
13
  gpio==0.3.0
14
14
  luma.core==2.3.1
15
15
  luma.oled==3.8.1
16
- numpy==1.21.5
17
16
  Pillow==9.0.1
18
17
  paho-mqtt==1.6.1
19
18
  psutil==5.9.0
@@ -44,7 +44,6 @@ setup(
44
44
  "gpio==0.3.0",
45
45
  "luma.core==2.3.1",
46
46
  "luma.oled==3.8.1",
47
- "numpy==1.21.5",
48
47
  "Pillow==9.0.1",
49
48
  "paho-mqtt==1.6.1",
50
49
  "psutil==5.9.0",
@@ -1,2 +0,0 @@
1
- # flake8: noqa
2
- __version__ = "0.2.1"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -169,6 +169,7 @@ def ha_cover_availabilty_message(
169
169
  )
170
170
 
171
171
  return {
172
+ **msg,
172
173
  "command_topic": f"{topic}/cmd/cover/{id}/set",
173
174
  "set_position_topic": f"{topic}/cmd/cover/{id}/pos",
174
175
  "payload_open": OPEN,
@@ -180,5 +181,4 @@ def ha_cover_availabilty_message(
180
181
  "state_closing": CLOSING,
181
182
  "state_topic": f"{topic}/{COVER}/{id}/state",
182
183
  "position_topic": f"{topic}/{COVER}/{id}/pos",
183
- **msg,
184
184
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes