What would happen if I misstype the commands to install Cayenne?


So I recently mistyped one of the letters in the command when installing Cayenne but since I had nothing important I just reinstalled Rasbian and then Cayenne but I was wondering if there was a way to fix it if it happens again.


I’ll tag @rsiegel for this one. There is (or was) a file that contains the invite code, but I’m not sure if changing that will make any difference.


There is a file at /etc/myDevices/AppSettings.ini whose contents look like:

pi@raspberrypi:~ $ cat /etc/myDevices/AppSettings.ini 
InviteCode = Xu9j9pfwy1
Initialized = true
Version =
Environment = live
UpdateProgress = https://cayenne.mydevices.com/cayenne/api/install
Id = 
InstallDate = 1507069668

If you mistyped the invite code while installing, you can change it by editing that line in this file to include the correct invite code and then rebooting the Pi. That should allow you to recover from this scenario without needing to re-install.