Shama_Connected Devices

Made by Shama Patwardhan

Created: December 2nd, 2024

0

Intention

Created a webhook to pair two photon devices

0

Context

In our project to remake the LumiTouch, Shivani and I paired our Photon devices. When the touch sensor on one Photon device detects input, it sends the data to the second Photon device, which then lights up its LED in response.

0

Process

The process we followed was:

1. Create a circuit in on e photon that lights up an LED when the touch sensor receives an input.

2.Connect the two photon devices via webhook

3. Have the touch sensor in one photon and the led on the other photon

4. Switch the input and output on the photon

5. Combine the input and output on both photons- an led and a touch sensor on each photon

0

Outcome

    • We were able to get the two photon devices paired, and have the input from one lead to the output in the other. 

0

Reflection

The process was quite troublesome. We generated multiple access tokens and just had to "trial and error" our way to crating a working webhook. We also tried to create a connection through a third party API ThingsSpeak, but that threw us multiple errors too. Finally it was just a chance that we hit the right access token that worked for us, but that made the process seem like it was out of our control. 

We documented the final demo when the input-output worked, however we then encountered some network erroes which caused it to not work again with the same setup and code. 

x