I tried it with DEV to, but got the following error at first
API Error: 400 - Device not found.
Unable to setup online MOS, something went wrong (400) (Device Token Retrieval Error)
Bad Matrix Initialization Device Token Retrieval Error
But the “matrix set env dev” command in the CLI, logging in again and creating the device in that Environment again helped. Of course you have to create another file like .envdev with the new exported token and have to source it on your pi. Then after restarting the index.js it should connect to the DEV Environment succesfully.
Now for the Ping Error: It is exactly what is discussed here: https://github.com/matrix-io/matrix-cli/issues/105
Just clone the newest “dev” branch github directory to your local machine, cd into the directory, use npm install and after it finished npm link in the same directory. Now when using the “matrix” command in your Terminal it should say version 1.6.1 and the ping command is working as expected.
Another question that remains for me is, wether I can switch between the version in the local cloned directory, which I linked globally and the previously installed global version. Is the link replacing the old version? And of course I am a biit curious, why the latest “dev” branch has an older version number. Maybe anyone knows something about it.
What exactly changes, when I start it in DEV instead of something else? Is it just a name, so that I can have different versions of my programm or are there different features as well?
Hope that helps you guys, if you have any questions feel free to ask