I ❤️ it! #17
Replies: 2 comments 4 replies
-
Nice!! How have you connected the webhook from GitHub to your lamp? Do you have something like homeassistant in the middle or is your lamp exposed on the internet for GitHub to ping? |
Beta Was this translation helpful? Give feedback.
-
@jason-rietzke hi, I love your lamp build! I've built one myself, and I too was interested in using the WLED's APIs to trigger some colour changes in my lamp based on a condition. But I've had some difficulties with it. Would you be able to provide me with a very very brief rough outline on how you did it? I know I have to write a script that interacts both with the GitHub api and, based on a condition , interacts with the wled one, but I am not sure where to host this script, (computer vs the chip itself , vs the phone app or somewhere in the cloud) and as such am unsure in which language to write it in. |
Beta Was this translation helpful? Give feedback.
-
I actually built the octolamp a while ago, but I only recently found the time to develop the script I've been dreaming of.
The lamp should reflect the activity in the GitHub organization, and this is the outcome:
octolamp.mp4
Now the lamp is idle by default, and when it receives webhook events from GitHub, it can show a green "commits" animation (as seen in the video), a "red alert" for failed workflows, or a star animation when collecting a star on any org repo.
I even put an NFC tag on the back and created a shortcut on my smartphone to toggle the octolamp by calling the web server running on the microcontroller. This is much more convenient than constantly plugging and unplugging the lamp.
I love this lamp and am very glad @martinwoodward published this repo!
P.S: I actually built two of them ❤️ one for the office and one for myself.
Beta Was this translation helpful? Give feedback.
All reactions