Personal Facebook Messenger chatbot for Philips Hue hosted on Balena cloud (formerly resin.io)
npm i
- create a .env file with the following variables:
FB_VERIFY_TOKEN
PAGE_ACCESS_TOKEN - FB page access token
NPM_CONFIG_PRODUCTION=false
BRIDGE_IP - Local IP address of Hue Bridge
BRIDGE_USERNAME - Hue device username
npm install -g localtunnel
(if its not already installed)npm run dev
lt --subdomain someurl --port 5000
- on_off
- colour
- brightness
- location - A room
- on_off
- color - Colour of light (Red, Green, Blue)
- brightness - Desired brightness as a %
- zone - An area that may contain multiple rooms/groups of lights (Upstairs, Downstairs, Outside)