Skip to content

bradcerasani/iphone6-stock-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iPhone Stock Checker

By default, this app checks for stock of the 64GB iPhone 6 in silver at the Apple Store in Winnipeg, Canada every 5 minutes. If it finds stock, it will flash your Phillips Hue bulbs green for 10 seconds and open up a browser window with the reserve screen.

The source includes model numbers for all iPhone 6 and iPhone 6 Plus models in Canada, and you can view a listing of all Canadian stores here.

You'll need a username and host registered with your Hue bridge in order to update the Hue config variables. Learn how to do this with the node-hue-api here.

If you don't have Phillips Hue bulbs, remove the api references and customize the success() function to notify you as you wish.

Requires Node.js.

Clone it

git clone https://github.com/bradcerasani/iphone6-stock-checker.git
cd iphone6-stock-checker

Run it

npm install
node app.js

With PM2 for better process management:

npm install pm2 -g
npm install
pm2 start app.js

About

Checks stock of the iPhone 6 in Canada and delivers notifications with the Phillips Hue API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published