boneIO 0.3.0.dev2__tar.gz → 0.3.0.dev3__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.
- {boneio-0.3.0.dev2/boneio.egg-info → boneio-0.3.0.dev3}/PKG-INFO +2 -2
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/loader.py +2 -2
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/sensor/modbus/__init__.py +2 -2
- boneio-0.3.0.dev3/boneio/version.py +2 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3/boneio.egg-info}/PKG-INFO +2 -2
- boneio-0.3.0.dev2/boneio/version.py +0 -2
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/LICENSE +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/MANIFEST.in +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/README.md +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/__init__.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/bonecli.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/const.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/cover.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/example_config/__init__.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/example_config/adc.yaml +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/example_config/config.yaml +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/example_config/cover.yaml +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/example_config/input.yaml +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/example_config/output24x16A.yaml +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/example_config/output32x5A.yaml +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/fonts/danube__.ttf +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/__init__.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/events.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/exceptions.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/gpio.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/ha_discovery.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/logger.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/mqtt.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/oled.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/queue.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/state_manager.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/stats.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/timeperiod.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/helper/yaml_util.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/input/__init__.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/input/gpio.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/manager.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/modbus.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/mqtt_client.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/oled.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/relay/__init__.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/relay/basic.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/relay/gpio.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/relay/mcp.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/runner.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/schema/actions.yaml +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/schema/actions_sensor.yaml +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/schema/actions_switch.yaml +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/schema/schema.yaml +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/sensor/__init__.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/sensor/adc.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/sensor/gpio.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/sensor/modbus/sdm120.json +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/sensor/modbus/sdm630.json +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/sensor/modbus/sofar.json +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio/sensor/temp/__init__.py +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio.egg-info/SOURCES.txt +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio.egg-info/dependency_links.txt +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio.egg-info/entry_points.txt +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio.egg-info/requires.txt +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/boneio.egg-info/top_level.txt +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/requirements.txt +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/setup.cfg +0 -0
- {boneio-0.3.0.dev2 → boneio-0.3.0.dev3}/setup.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: boneio
|
|
3
|
-
Version: 0.3.0.
|
|
3
|
+
Version: 0.3.0.dev3
|
|
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.3.0.
|
|
6
|
+
Download-URL: https://github.com/boneIO-eu/app_bbb/archive/0.3.0.dev3.zip
|
|
7
7
|
License: GNU General Public License v3.0
|
|
8
8
|
Platform: UNKNOWN
|
|
9
9
|
Classifier: Programming Language :: Python
|
|
@@ -78,7 +78,7 @@ def create_adc(
|
|
|
78
78
|
name=name,
|
|
79
79
|
send_message=manager.send_message,
|
|
80
80
|
topic_prefix=topic_prefix,
|
|
81
|
-
update_interval=gpio.get(UPDATE_INTERVAL, 60),
|
|
81
|
+
update_interval=gpio.get(UPDATE_INTERVAL, TimePeriod(seconds=60)),
|
|
82
82
|
)
|
|
83
83
|
if gpio.get(SHOW_HA, True):
|
|
84
84
|
manager.send_ha_autodiscovery(
|
|
@@ -183,7 +183,7 @@ def create_modbus_sensors(
|
|
|
183
183
|
topic_prefix=topic_prefix,
|
|
184
184
|
ha_discovery=ha_discovery,
|
|
185
185
|
ha_discovery_prefix=ha_discovery_prefix,
|
|
186
|
-
update_interval=sensor.get(UPDATE_INTERVAL,
|
|
186
|
+
update_interval=sensor.get(UPDATE_INTERVAL, TimePeriod(seconds=60)),
|
|
187
187
|
)
|
|
188
188
|
manager.append_task(asyncio.create_task(sdm.send_state()))
|
|
189
189
|
except FileNotFoundError as err:
|
|
@@ -221,8 +221,8 @@ class ModbusSensor(BasicMqtt):
|
|
|
221
221
|
)
|
|
222
222
|
self._discovery_sent = False
|
|
223
223
|
continue
|
|
224
|
-
elif update_interval != self._update_interval:
|
|
225
|
-
update_interval = self._update_interval
|
|
224
|
+
elif update_interval != self._update_interval.total_seconds:
|
|
225
|
+
update_interval = self._update_interval.total_seconds
|
|
226
226
|
output = {}
|
|
227
227
|
for register in data["registers"]:
|
|
228
228
|
output[register.get("name").replace(" ", "")] = CONVERT_METHODS[
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: boneio
|
|
3
|
-
Version: 0.3.0.
|
|
3
|
+
Version: 0.3.0.dev3
|
|
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.3.0.
|
|
6
|
+
Download-URL: https://github.com/boneIO-eu/app_bbb/archive/0.3.0.dev3.zip
|
|
7
7
|
License: GNU General Public License v3.0
|
|
8
8
|
Platform: UNKNOWN
|
|
9
9
|
Classifier: Programming Language :: Python
|
|
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
|
|
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
|
|
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
|