I am new to Pi, so not sure if I’m missing a step here or something, however I’ve got the Jessie image file from the RPi website, burn it to a 16Gb SD with Etcher, pop it in the RPi and boot it up. It expands the filesystem, does it’s magic and then puts me on the desktop. I normally go into Configure and set it to allow SSH and activate all the GPIO, etc. It reboots and then I use my iPhone to install Cayenne. The install goes through and I get the dashboard, however when I go to the GPIO screen everything is greyed out and when I try to add a widget it adds it but does nothing. It’s like it has not got access to GPIO? I also can’t change those config toggles in the app to activate I2C, etc.
Run uname -a to check your Pi’s kernel version. Right now we only support the 4.4 Kernel that is part of stock Raspbian Jessie. I bet you are running the 4.9 kernel which has a lot of issues with webiopi, which is a component of Cayenne.
We’re planning to update webiopi to work with 4.9 by the time Raspbian moves to that version. In the meantime, if you have no specific need for the 4.9 kernel on your Pi, you can downgrade to 4.4 by running this command (it will require a reboot after it runs)
You can check very quickly to see if you’re having this issue by running uname -a to see if you’re running the 4.9 Linux Kernel. Post the output here if you’re not sure how to read it.
If your install problem is what you posted in the other thread, I think you’re just missing the invite code part of your installer (unless you edited it out for the forum). If you don’t still have that, remember that you can always generate a new one by logging into your web dashboard at cayenne.mydevices.com and choosing Add New > Device / Widget > Single Board Computers > Raspberry Pi
It will do that if you’re on a phone, or if the browser is too small for the web dashboard. If you are on a computer, try maximizing your browser. If you only have a phone, I’d be happy to login to your account and grab the commands for you from the web dashboard and send them in a private message, if you private message me your account login
root@FishPi:~# bash rpi_6wtsmh5sec.sh -v
rpi_6wtsmh5sec.sh
dir exists
grep: /etc/myDevices/AppSettings.ini: No such file or directory
Invite code does not exist but directory does so we will add invite code
rpi_6wtsmh5sec.sh: line 14: /etc/myDevices/AppSettings.ini: No such file or directory
rpi_6wtsmh5sec.sh: line 15: /etc/myDevices/AppSettings.ini: No such file or directory
rpi_6wtsmh5sec.sh: line 16: /etc/myDevices/AppSettings.ini: No such file or directory
Failed to stop myDevices.service: Unit myDevices.service not loaded.
root@FishPi:~#
This is how far i get and as in first post, app sticks on stage 1
Staying on the topic of the install issue for a moment, I think there is a partial install of the Cayenne agent around from a previous install attempt that is throwing things off. Try this command to delete it:
sudo rm -rf /etc/myDevices
then re-run your sudo bash rpi_xxxxxx.sh -v script again. If it fails show me the new output.
If you post your output from uname -a I can confirm if you have the incompatible kernel. I’ve not seen the downgrade command fail like you described above, but if you share with me the output from attempting it I can have a look and see if I can find a solution for you. Either way the whole kernel thing won’t impact install, so I’d focus on installation first.
Finally, I’m going to say our website just wasn’t designed with a tablet browser in mind – I do apologize for that since it should work if its not forcing you to the App Store, but you’re missing ‘Back’ and ‘Next’ buttons that are necessary for you to navigate:
I wouldn’t worry about it because you have an invite code as I can see above, you don’t need to generate a new one, we should be able to get you installed with the existing one.
Actually, regarding those ‘Back’ and ‘Next’ buttons: On my Galaxy Tab, I can see them if I pan around the website – just under a lot of that grey border. So it may be functional yet on this device. I’d be curious if you can too.
Found the next buttons but nothing after that just to install the app either with app or manual which i have tried both and nothing i have looked at kernel number and it seems im running 4.4.34 v7 will this be a problem if trying to install via wifi
Good, then you don’t need to worry about the kernel issues with webiopi.
What I wanted you to try was the manual install again, but AFTER running the command
sudo rm -rf /etc/myDevices
to clean up the partial install you had before. If it works, that’s great, but even if it fails, hopefully it will be for some other reason, and you can share the command line output from your latest attempt for further troubleshooting.
Looks like im going to have to strip the unit and get a screen to it, vnc isnt enough when not responding in this way i dont know whats happened but it needs cleaning a fresh again and try again or i may just leave it i have the light working for the time being.
A fresh Jessie image might be the most time effective solution if you don’t have much on the Pi you really care about overwriting / re-setting up besides Cayenne.
That said, I’m convinced the command line installer will work here, so I’m happy to keep helping troubleshoot if you’d prefer. If you want to go that route, I’m really curious that you got
dir exists
grep: /etc/myDevices/AppSettings.ini: No such file or directory
Invite code does not exist but directory does so we will add invite code
after running sudo rm -rf /etc/myDevices which should have deleted that folder and all of its subfolders. Did it return any sort of error when you ran it?
No error code returned when typing to remove folders just straight back to main terminal line… then tried the install again to get the same error codes 14,15,16 as above