dbus2mqtt 0.4.2__py3-none-any.whl → 0.4.3__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 dbus2mqtt might be problematic. Click here for more details.
- {dbus2mqtt-0.4.2.dist-info → dbus2mqtt-0.4.3.dist-info}/METADATA +15 -11
- {dbus2mqtt-0.4.2.dist-info → dbus2mqtt-0.4.3.dist-info}/RECORD +5 -5
- {dbus2mqtt-0.4.2.dist-info → dbus2mqtt-0.4.3.dist-info}/WHEEL +0 -0
- {dbus2mqtt-0.4.2.dist-info → dbus2mqtt-0.4.3.dist-info}/entry_points.txt +0 -0
- {dbus2mqtt-0.4.2.dist-info → dbus2mqtt-0.4.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dbus2mqtt
|
|
3
|
-
Version: 0.4.
|
|
4
|
-
Summary:
|
|
5
|
-
Project-URL:
|
|
3
|
+
Version: 0.4.3
|
|
4
|
+
Summary: General purpose DBus to MQTT bridge - expose signals, methods and properties over MQTT - featuring jinja based templating, payload enrichment and MPRIS / BlueZ / Home Assistant ready examples
|
|
5
|
+
Project-URL: Documentation, https://jwnmulder.github.io/dbus2mqtt
|
|
6
|
+
Project-URL: Source, https://github.com/jwnmulder/dbus2mqtt
|
|
6
7
|
Project-URL: Issues, https://github.com/jwnmulder/dbus2mqtt/issues
|
|
7
8
|
License-Expression: MIT
|
|
8
9
|
License-File: LICENSE
|
|
9
|
-
Keywords: dbus,home-assistant,mpris,mqtt,python
|
|
10
|
-
Classifier: Development Status ::
|
|
10
|
+
Keywords: bluez,bridge,dbus,home-assistant,jinja2,mpris,mqtt,python
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
14
|
Classifier: Operating System :: POSIX :: Linux
|
|
@@ -16,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
16
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
19
|
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Topic :: Home Automation
|
|
19
21
|
Requires-Python: >=3.10
|
|
20
22
|
Requires-Dist: apscheduler>=3.11.0
|
|
21
23
|
Requires-Dist: colorlog>=6.9.0
|
|
@@ -37,7 +39,7 @@ It lets you forward Linux D-Bus signals and properties to MQTT topics, call D-Bu
|
|
|
37
39
|
|
|
38
40
|
This makes it easy to integrate Linux desktop services or system signals into MQTT-based workflows - including **Home Assistant**.
|
|
39
41
|
|
|
40
|
-
##
|
|
42
|
+
## Features
|
|
41
43
|
|
|
42
44
|
* 🔗 Forward **D-Bus signals** to MQTT topics.
|
|
43
45
|
* 🧠 Enrich or transform **MQTT payloads** using Jinja2 templates and additional D-Bus calls.
|
|
@@ -49,11 +51,11 @@ This makes it easy to integrate Linux desktop services or system signals into MQ
|
|
|
49
51
|
|
|
50
52
|
**dbus2mqtt** is considered stable for the use-cases it has been tested against, and is actively being developed. Documentation is continuously being improved.
|
|
51
53
|
|
|
52
|
-
Initial testing has focused on MPRIS integration. A table of tested MPRIS players and their supported methods can be found here: [
|
|
54
|
+
Initial testing has focused on MPRIS integration. A table of tested MPRIS players and their supported methods can be found here: [Mediaplayer integration with Home Assistant](https://jwnmulder.github.io/dbus2mqtt/examples/home_assistant_media_player/)
|
|
53
55
|
|
|
54
56
|
## Getting started with dbus2mqtt
|
|
55
57
|
|
|
56
|
-
Create a `config.yaml` file with the contents shown below. This configuration will expose all bus properties from the `org.mpris.MediaPlayer2.Player` interface to MQTT on the `dbus2mqtt/org.mpris.MediaPlayer2/state` topic.
|
|
58
|
+
Create a `config.yaml` file with the contents shown below. This configuration will expose all bus properties from the `org.mpris.MediaPlayer2.Player` interface to MQTT on the `dbus2mqtt/org.mpris.MediaPlayer2/state` topic.
|
|
57
59
|
|
|
58
60
|
```yaml
|
|
59
61
|
dbus:
|
|
@@ -92,6 +94,7 @@ MQTT__USERNAME=
|
|
|
92
94
|
MQTT__PASSWORD=
|
|
93
95
|
```
|
|
94
96
|
|
|
97
|
+
|
|
95
98
|
### Install and run dbus2mqtt
|
|
96
99
|
|
|
97
100
|
```bash
|
|
@@ -129,7 +132,8 @@ sudo docker logs dbus2mqtt -f
|
|
|
129
132
|
|
|
130
133
|
## Examples
|
|
131
134
|
|
|
132
|
-
|
|
135
|
+
More dbus2mqtt examples can be found here: [examples](https://jwnmulder.github.io/dbus2mqtt/examples/).
|
|
136
|
+
The most complete one being [MPRIS to Home Assistant Media Player integration](https://jwnmulder.github.io/dbus2mqtt/examples/home_assistant_media_player/)
|
|
133
137
|
|
|
134
138
|
## Configuration reference
|
|
135
139
|
|
|
@@ -226,8 +230,8 @@ dbus:
|
|
|
226
230
|
|
|
227
231
|
## Flows
|
|
228
232
|
|
|
229
|
-
A reference of all supported flow triggers and actions can be found on [Flows](https://github.
|
|
233
|
+
A reference of all supported flow triggers and actions can be found on [Flows](https://jwnmulder.github.io/dbus2mqtt/flows/)
|
|
230
234
|
|
|
231
235
|
## Jinja templating
|
|
232
236
|
|
|
233
|
-
TODO: Document Jinja templating, for now see the [MPRIS to Home Assistant Media Player integration](https://github.
|
|
237
|
+
TODO: Document Jinja templating, for now see the [MPRIS to Home Assistant Media Player integration](https://jwnmulder.github.io/dbus2mqtt/examples/home_assistant_media_player/) example
|
|
@@ -17,8 +17,8 @@ dbus2mqtt/flow/actions/mqtt_publish.py,sha256=psNkTvaR3JZwAwpM4AqiZTDnA5UQX9r4CU
|
|
|
17
17
|
dbus2mqtt/mqtt/mqtt_client.py,sha256=P6rxVNA2M_wxhI3RcHpvayEEmcUQGGDG6hkLmjiqY1w,6056
|
|
18
18
|
dbus2mqtt/template/dbus_template_functions.py,sha256=UEoXK2PqDKF6jR4vTFHQwq58f5APnOJr7B1_I1zW8yM,2449
|
|
19
19
|
dbus2mqtt/template/templating.py,sha256=YzE6-pBoATrV7nXkgxSiLlbxgbC65-2wGiFPHgIDd9g,4470
|
|
20
|
-
dbus2mqtt-0.4.
|
|
21
|
-
dbus2mqtt-0.4.
|
|
22
|
-
dbus2mqtt-0.4.
|
|
23
|
-
dbus2mqtt-0.4.
|
|
24
|
-
dbus2mqtt-0.4.
|
|
20
|
+
dbus2mqtt-0.4.3.dist-info/METADATA,sha256=XcxIrk2rZt7HWU1ch1Eqx2DzVIQgvsjpwYMZ0q6on2A,8071
|
|
21
|
+
dbus2mqtt-0.4.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
22
|
+
dbus2mqtt-0.4.3.dist-info/entry_points.txt,sha256=pmmacoHCsvTTUB5dIPaY4i0H9gX7BQlpd3rBU-Jbv3A,50
|
|
23
|
+
dbus2mqtt-0.4.3.dist-info/licenses/LICENSE,sha256=a4bIEgyA9rrnAfUN90CgbgZ6BQIFHeABkk0JihiBaxM,1074
|
|
24
|
+
dbus2mqtt-0.4.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|