Project Goal
Share data between devices using Particle.publish and echo.
This is a prototype of our final project. There are two devices in the system. The switch button on one device controls the servo and neopixel on the paired device.
We spent a lot of time pairing the devices. It took us a while to realize a few problems:
- When attaching deviceID in publishMyEvent(), the deviceID needs to be converted to String before being added to our custom event name (i.e. String eventName = "missU" + String(System.deviceID()))
- On the echo page (https://diotlabs.daraghbyrne.me/tools/echo/), the event name needs to be the full event name. At first we forgot to add the deviceID and it wouldn't relay the published data.
You can upload files of up to 20MB using this form.