FilipDem / Domoticz-iROBOT-ROOMBA-plugin

Domoticz plugin for the support of the ROOMBA vacuum robot cleaner.
1 stars 3 forks source link

paho-mqtt not found? #8

Open MennoLabs opened 1 week ago

MennoLabs commented 1 week ago

pi@domoticz:~ $ sudo service roomba status ● roomba.service - Roomba mqtt client Loaded: loaded (/etc/systemd/system/roomba.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2024-06-23 22:39:37 CEST; 1min 45s ago Main PID: 481 (python3) Tasks: 2 (limit: 2176) CGroup: /system.slice/roomba.service └─481 /usr/bin/python3 /home/pi/domoticz/plugins/Roomba/roomba --configfile /home/pi/domoticz/plugins/Roomba/conf

Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library

pi@domoticz:~ $ sudo pip3 install paho-mqtt Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: paho-mqtt in /usr/local/lib/python3.7/dist-packages (2.1.0)

FilipDem commented 1 week ago

Perhaps a conflict sudo versus not sudo? I assume also that all is using python3 (pip3 vs pip).

MennoLabs commented 1 week ago

Nope:

pi@domoticz:~ $ service roomba start ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units === Authentication is required to start 'roomba.service'. Authenticating as: ,,, (pi) Password:

In the mean time, these "Please install paho-mqtt 'pip install paho-mqtt' to use this library" lines filled my daemon.log to the point where the complete disk was full.

Maybe some symlink is in order to point the service to the proper location?