0

I'm creating my first application with Pebble using Pebble.js from this github project

https://github.com/pebble/pebblejs

The point is that I'm trying to have an application that runs on two different pebbles that sends messages to a server and send a message back to each pebble depending on what each pebble says. I was wondering if there was a simple way to do this? I spoke to a friend and he said to try using 'Node.js' but then I mentioned Pebble, and he said that you couldn't use that with Pebble.

I have never programmed in Javascript or Pebble before, but I assumed it would be easier than doing it with the C sdk (I'm pretty good at C though, so if it's easier to do it that way I'm all ears).

Sorry if I'm not being clear, if you want me to clarify anything just tell me!

Nice-kun
  • 81
  • 1
  • 2
  • 9

2 Answers2

1

You will need to use some kind of server. Firebase is a pretty fun and easy to use solution for that type of problems.

See this description of 'Clock' (a multiplayer app) for example.

And this StackOverflow question for more information on how to use Firebase in CloudPebble.

Community
  • 1
  • 1
sarfata
  • 4,625
  • 4
  • 28
  • 36
0

First, you can't make a bluetooth connection between two pebble.

You should connected each pebble to a different smartphone/computer. From here you can send what you want from internet or GSM.

The bulk of this project is the smartphone app, not the pebble app.

Look at the notification part in the PebbleApp store on your smartphone, you will find some app like Whatapps for Pebble. This could help you to understand how to do your app.

Thoc
  • 67
  • 2
  • 12