Iāll have better specific bullet points/bugfixes for the new client when we officially release it, and I make a post in the Announcements category.
That said, big goals of this update were to:
- Provide support for the 4.9 Linux kernel (and 4.4 too for those running older machines)
- Integrate the
webiopi
component of the client that used to be its own standalone software into the client, so there is only one piece to install and uninstall.
- The current pi agent runs as root, this new one will run as a ācayenneā user which has more locked down permissions, improving the security risk any exploitable bug in the software could cause.
One of the nice side benefits once you have this installed is that you donāt need to use the command line to uninstall anymore, just removing the device on the web dashboard should remove the software without leaving bits behind, including logs. On the topic of logs, there is now only one and it lives at /var/log/myDevices/cayenne.log
.
It could be that if there was a performance issue locking up your agent, it still exists in this new build, or it has gone away with the refactoring. But better to test against this new agent, since there will be active interest in the bug from our development team should it persist in this new agent.
Lastly, just a fair warning that this is pre-release software. Weāre getting awfully close to releasing it so I donāt think itās going to melt your Pi or anything, but donāt run it on anything super mission critical.
The one gotcha that Iām aware exists right now is that it doesnāt play nice with our current Android build, so donāt install it if you care about interacting with that Pi from Android. Weāll be updating Android first to prepare it for this agent, thatās actually the biggest holdup from releasing this as an automatic update at the moment.
With those caveats, to try it out:
First get the test agent install script:
wget http://updates.mydevices.com/raspberry/rpi_testing.sh
If updating an existing installation, run:
sudo bash rpi_testing.sh -update
If this is a new install get the invite code from adding a new Raspberry Pi via the Cayenne Dashboard. The invite code is part of the install file name listed in the Terminal/SSH instructions: rpi_[invitecode].sh. Run the rpi_testing.sh script with this invite code:
sudo bash rpi_testing.sh -code [invite code]