bundles/mosquitto: rewrite tasmota-telegraf-plugin using paho-mqtt library
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-06-06 15:17:34 +02:00
parent fa4fe51155
commit 94dba9139b
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 81 additions and 41 deletions

View file

@ -7,6 +7,9 @@ files = {
},
'/usr/local/bin/tasmota-telegraf-plugin': {
'mode': '0755',
'needs': {
'pkg_apt:python3-paho-mqtt',
},
},
}
@ -18,3 +21,8 @@ svc_systemd = {
},
},
}
if node.has_bundle('telegraf'):
files['/usr/local/bin/tasmota-telegraf-plugin']['triggers'] = {
'svc_systemd:telegraf:restart',
}