Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * You follow me
- * A bot that I have running on my computer checks for new followers every 45 seconds. If it detects one, it sends a personalized link to the new follower that gives them 45 seconds' worth of control over my lights.
- * That link is hosted on a web server that I pay for. The front-end communicates to a PHP script so that you don't have my public IP address.
- * The PHP server opens a socket to my computer to send any commands to a Node server that I have running.
- * The Node server communicates via my LAN to the Philips Hue bridge.
- * The Philips Hue bridge communicates via ZigBee to the light bulbs themselves (the light bulbs are Philips Hue bulbs).
- Extra details:
- * All in all, the system took about 5 days to code
- * Yes, you can refresh the page or change the time, but you're only "cheating" the client; the server won't give you access.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement