Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Particle Pi API on Mobile Data Connection #6

Closed
ashtonsmith opened this issue Apr 3, 2017 · 4 comments
Closed

Particle Pi API on Mobile Data Connection #6

ashtonsmith opened this issue Apr 3, 2017 · 4 comments

Comments

@ashtonsmith
Copy link

Hello.
Ive got a raspberry pi running the particle agent, and it works really fantastic, Thanks guys!
Im just having one issue. the device wont recieve commands from the api when its connected via 3G.. we're trying to build a system that will rely on 3G connectivity, as it will be away from wifi/ethernet. im not sure if its something that the isp is blocking or what we can do.
I wondered if it is perhaps because (being a mobile connection) it doesnt have a public IP address - most if not all mobile networks are like that, and presumably, this works on the electron, so im not sure what the go is.
Im testing with a Raspberry pi3, a huawei usb 3g modem, and Vodafone NZ sim card (in NZ) the device can browse the web fine, and send https post commands to my api, it just cant recieve commands from the particle api.
As a side note, i have also tried piping it down an always on vpn connection, but this didnt work for me either.

i posted this to Particle support, and they suggested posting here.
Any Pointers?

Thanks

@kennethlimcp
Copy link

Does the raspberry pi connect to the ☁️ and listed as online in the console/CLI?

@ashtonsmith
Copy link
Author

hi, yes it does, and the console shows the device came online notification, but nothing after that, sending commands results in the device promptly showing as offline. Thanks

@kennethlimcp
Copy link

Can you check the logs of the raspberry pi for any hints on of the issue?

Also, can you try running tinker and see if you can control the D7 led?

@ashtonsmith
Copy link
Author

Hello.

Sorry, my bad, i just wiped the pi and re-configured it, and it seems to be working fine... it must have been something else interfering with it.

Sorry to hassle, keep up the good work!

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants