boneIO 0.5.0dev3__tar.gz → 0.5.0dev5__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.
Potentially problematic release.
This version of boneIO might be problematic. Click here for more details.
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/PKG-INFO +1 -1
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/ha_discovery.py +1 -1
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/loader.py +1 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/modbus.py +1 -1
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/sensor/modbus/__init__.py +2 -1
- boneIO-0.5.0.dev5/boneio/version.py +2 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/pyproject.toml +1 -1
- boneIO-0.5.0.dev3/boneio/version.py +0 -2
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/LICENSE +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/README.md +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/__init__.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/bonecli.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/const.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/cover.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/example_config/__init__.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/example_config/adc.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/example_config/config.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/example_config/cover.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/example_config/input.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/example_config/output24x16A.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/example_config/output32x5A.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/fonts/danube__.ttf +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/__init__.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/async_updater.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/config.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/events.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/exceptions.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/filter.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/gpio.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/logger.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/mqtt.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/oled.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/onewire/W1ThermSensor.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/onewire/__init__.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/onewire/ds2482.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/onewire/onewire.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/queue.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/state_manager.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/stats.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/timeperiod.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/util.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/helper/yaml_util.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/input/__init__.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/input/gpio.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/manager.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/mqtt_client.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/oled.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/relay/__init__.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/relay/basic.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/relay/gpio.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/relay/mcp.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/runner.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/schema/actions.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/schema/actions_sensor.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/schema/actions_switch.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/schema/filters.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/schema/filters_adc.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/schema/schema.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/schema/update_interval.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/sensor/__init__.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/sensor/adc.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/sensor/gpio.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/sensor/modbus/sdm120.json +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/sensor/modbus/sdm630.json +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/sensor/modbus/sofar.json +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/sensor/temp/__init__.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/sensor/temp/dallas.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/sensor/temp/lm75.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/boneio/sensor/temp/mcp9808.py +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/tests/32_5_config.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/tests/bandit.yaml +0 -0
- {boneIO-0.5.0.dev3 → boneIO-0.5.0.dev5}/tests/relay_32_5.py +0 -0
|
@@ -152,7 +152,7 @@ def modbus_sensor_availabilty_message(
|
|
|
152
152
|
},
|
|
153
153
|
"name": sensor_id,
|
|
154
154
|
"state_topic": f"{topic}/{device_type}/{id}/{state_topic_base}",
|
|
155
|
-
"unique_id": f"{topic}{sensor_id.replace('_', '').lower()}",
|
|
155
|
+
"unique_id": f"{topic}{sensor_id.replace('_', '').lower()}{name.lower()}",
|
|
156
156
|
**kwargs,
|
|
157
157
|
}
|
|
158
158
|
|
|
@@ -77,7 +77,7 @@ class Modbus:
|
|
|
77
77
|
"""Call sync. pymodbus."""
|
|
78
78
|
async with self._lock:
|
|
79
79
|
if not self._pymodbus_connect():
|
|
80
|
-
_LOGGER.error("Can't connect to Modbus.")
|
|
80
|
+
_LOGGER.error("Can't connect to Modbus address %s.", address)
|
|
81
81
|
return None
|
|
82
82
|
kwargs = {"unit": unit, "count": count} if unit else {}
|
|
83
83
|
try:
|
|
@@ -219,7 +219,8 @@ class ModbusSensor(BasicMqtt, AsyncUpdater):
|
|
|
219
219
|
payload=self._payload_online,
|
|
220
220
|
)
|
|
221
221
|
_LOGGER.warn(
|
|
222
|
-
"Can't fetch data from modbus device. Will sleep for %s seconds",
|
|
222
|
+
"Can't fetch data from modbus device %s. Will sleep for %s seconds",
|
|
223
|
+
self.id,
|
|
223
224
|
update_interval,
|
|
224
225
|
)
|
|
225
226
|
self._discovery_sent = False
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|