Problem - 'Set up ready to use', but then 'no devices added'


#1

Hello - I’m new to cayenne and pi and need some help.

Using Moto G4 smart phone and Android 6.0.1, Pi Zero W with Jessie and got cayenne 1.2.8 from playstore.
Install seems to go ok, finds pi zero W on wifi, loads libraries, agent, software and drivers.
Shows ‘set up done - Your Raspberry Pi is setup and ready to use’ on smartphone then app seems to restart and comes up with ‘no devices added’, and at same time pi reboots. Same each time I have tried.

Have uninstalled and reinstalled app, followed forum instructions for removing ‘mydevices’ from the pi then reinstalled again, same result each time.

Pi seems to be working ok for everything else, is definitely connected to wifi, can go online and can connect temp sensor and see data in terminal and python. Pi is powered via 2A supply.

Any suggestions how to make work - thanks Peter


#2

Hi Peter, welcome to the Cayenne Community.

The first thing I’d check is if port 8181 is open on your network, since the Cayenne Pi agent software needs that to communicate with our server after a successful install.

You can use telnet to check if the port is open. This is not installed by default any more so you can install it using sudo apt-get install telnet

If the port is open you will see the following (your IP addresses may or may not be the same as mine):

pi@raspberrypi:~ $ telnet cloud.mydevices.com 8181
Trying 54.165.135.17...
Connected to cloud.mydevices.com.
Escape character is '^]'.
Connection closed by foreign host.

If the port is closed you will see the following (your IP addresses may or may not be the same as mine):

pi@raspberrypi:~ $ telnet cloud.mydevices.com 8181
Trying 52.6.151.66...
Trying 54.165.135.17...
telnet: Unable to connect to remote host: Connection timed out

#3

Thanks for the quick response and instructions on how to troubleshoot. You have identified the problem, port 8181 is indeed not open. Unfortuanately I,m working onboard a ship at the moment so don’t have any options to change my connection configuration. I’ll be home in about two weeks and will try Cayenne again once on my home network.

Many thanks again for your excellent support.

Peter


#4

Sounds good, you know where to find us if you have any more questions or trouble at that time. :slight_smile: