How to disable Cayenne?


#1

I am trying to disable Cayenne temporarily so I can work on my own triggers without interference from Cayenne.
How do I disable Cayenne?
I tried killing the task:
/usr/bin/python3 -m myDevices -P /var/run/myDevices.pid

but it re-spawns like a zombie no matter how many times I kill it. haha


#2

UPDATE
I found that running sudo crontab -l lists:
* * * * * /etc/myDevices/crontab.sh
I renamed crontab.sh to something else. This time, killing the task left it dead.
Rebooting still respawned the app which is fine. Now I can kill it simply by killing the: usr/bin/python3 -m myDevices -P /var/run/myDevices.pidtask


#3

Thanks for the information, I’m not sure I would have known off the top of my head without researching. :slight_smile:

Only because I know this thread will come up in future searches about uninstallation, I’m going to add the Raspberry Pi uninstall steps here too. But your solution seems much better for a temporary disable.

To uninstall Cayenne from a Raspberry Pi:

sudo /etc/myDevices/uninstall/./uninstall.sh

then

sudo /etc/webiopi/uninstall/./uninstall.sh