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.
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .