jlites00 wrote:
Code: Select all
pi@raspberrypi:~ $ sudo chmod +x /home/pi/domoticz/plugins/BroadlinkRM/plugin_send.py
pi@raspberrypi:~ $ python /home/pi/domoticz/plugins/BroadlinkRM/plugin_send.py
Traceback (most recent call last):
File "/home/pi/domoticz/plugins/BroadlinkRM/plugin_send.py", line 14, in <module>
import broadlink
ImportError: No module named broadlink
pi@raspberrypi:~ $
I would do it in this way:
script:///home/pi/domoticz/plugins/BroadlinkRM2/plugin_send.sh /home/pi/domoticz/plugins/broadlinkini/BroadlinkRM2-2-15.ini
plugin_send.sh:
nohup python /home/pi/domoticz/plugins/BroadlinkRM2/plugin_send.py $1 &
make plugin_sh executable
not linux specialist, so correct what is necessary
On the other way:
when you execute default command : python
this should execute default version one, so, if you have mixed version could made problem and it could that broadlink module is not installed on the default one ?? !!