Skip to content

CaiqueMitsuoka/thomas-light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thomas Light

This is a client for thomas-light-server.

This client intends to be a experiment with small home automations. It connects with SocketIO to the server and is can be toggled through a page rendered by the server.

It algo contains LightLighter which is a small lib to command the Raspberry Pi to toggle an GPIO pin.

Run

$ npm install
# Run the thomas-light-server
$ ID=123 SERVER_URL=http://localhost:8080 node index.js

It will by default call a mock of LightLighter to dev. To call the original implementation use LIGHT_LIGHTER_ENV=production.

Go to localhost:8080 and 🚀

About

Playing with rasp + IoT just to light some fancy led.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published