Control Raspberry Pi with Cayenne via Internet connection


#1

How to control the Raspberry Pi using Cayenne through Internet connections instead of Ethernet connection. I mean, Raspberry Pi can be controlled from anywhere with an Internet connection. Currently, I can only access through the declaration Raspbeery IP address on Cayenne


#2

@leehoai8885 Cayenne can be controlled from anywhere in the world, assuming your Pi has an active internet connection of course :slight_smile:
-B


#3

Can you describe more clearly. How can I active Internet connection on Raspberry Pi? Thanks!


#4

Hey @leehoai8885,

Check out this article, it may help you :slight_smile:

-B


#5

hi,
@bestes how to connect my raspberry pi with internet anywhere with internet ?


#6

welcome to the cayenne community @oussama.yadem9. you can follow the tutorial above benny has posted. if you are difficulty somewhere with it, let us know. once you are connected to internet, add a new raspberry pi device to dashboard and run the commands provide, to install cayenne on your raspberry.


#7

thank’s @shramiksalgaonkar for your reponse, but the tutorial you gave me is less rich, can you explain me more clearly (just I want to know how to control my sensors connected with Raspberry pi remotely all over the world through the Cayenne platform)!!

thank you.


#8

you need to do this:

  • have a raspbian stretch install on a fresh SD card.
  • connect your pi to the internet either by using an ethernet cable or wifi.
  • on cayenne dashboard add a new device by navigating into: add new > device/widgets > raspberry pi > this will open a page where you find the command to install cayenne on your pi.
  • run this command on your pi and installation will start (it will take some time).
  • once done with the installation the pi will be rebooted and device will added to your pi.
  • or you can download cayenne app from app store on your mobile and add the pi from theie.

#9

hi,
i can Remote access platform Cayenne with board Raspberry Pi anywhere in the World !


#10

Hi @oussama.yadem9:

Unfortunately, that feature is not available in our new Pi Agent 2.0. It seems you are using the old agent. Keep in mind that your device will not work with Cayenne after July 1st. You need to upgrade to Agent 2.0.

See this: Raspberry Pi Agent 2.0


#11

Good morning @acedeno

so what are you proposing !!

i want to control raspberry pi (sensors that are related with raspberry pi) with cayenne all over the world via the internet!

cdt,
Oussama


#12

you can try any one of this https://www.raspberrypi.org/documentation/remote-access/ but they are on local network.


#13

Hi @oussama.yadem9 , you can still continue to do so. You can add all your sensors to Cayenne, control and see widgets all over the world. Your Pi will still connect to Cayenne (assuming you upgrade to Agent 2.0). So nothing really changes in that regard. What you won’t be able to do is access the Pi interface through Cayenne dashboard.

You’ll have to use an alternative method like @shramiksalgaonkar points out above. I personally use Windows Remote desktop and putty.


#14

You can also use teamviewer https://www.teamviewer.com/en/download/linux/


#15

hi,
can you give me all the details of your work on Windows Remote Desktop and Putty.


#16

First setup up SSH on pi https://www.raspberrypi.org/documentation/remote-access/ssh/README.md
and then install putty https://www.raspberrypi.org/documentation/remote-access/ssh/windows.md


#17

Then what should I do?


#18

you have everything in those two links. what more you want?


#19

using the cayenne interface i want to control my sensors that are connected with raspberry pi any place in the world.

your solution just to access the raspberry pi office not to the sensors data like cayenne.

the purpose of my project pretty clear just: cayenne <===> web (all over the world not a local network) <====> raspberry pi ++ sensors


#20

Can you give me an example about what you mean by control the sensor.