Skip to content

we connect mqtt im Hintergrund laufen lassen #311

Closed Answered by Domoberry
Schnabel80 asked this question in Q&A
Discussion options

You must be logged in to vote

I'm absolutely no expert on this, so these are just ideas based on the setup here as wel as similar challenges...
Could you please check the unit file /etc/systemd/system/weconnect-mqtt.service? Does it mention "... weconnect_mqtt ..." or "... weconnect-mqtt ..."? In my case it is "weconnect_mqtt" and it has the -m option to indicate the following argument should refer to a Python module rather than a Python file. After any change in the unit file, use "sudo systemctl daemon-reload".
Also check if $PATH contains "/home/pi/.local/bin:", this is added by the weconnect-mqtt installation, but requires an RPI restart.
@Others: feel free to comment!

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Schnabel80
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Schnabel80
Comment options

Answer selected by Schnabel80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants