Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

chrisns/ble-eq3-awsiot

Repository files navigation

Bind a eq3 thermostat to aws iot

To start either:

npm install
export AWS_ACCESS_KEY_ID=xxx
export AWS_REGION=xxx
export AWS_SECRET_ACCESS_KEY=xxx
export AWS_IOT_ENDPOINT_HOST=xxx
npm start

Or to use Docker:

docker run \
  --rm \
  --net host \ 
  -e AWS_ACCESS_KEY_ID=xxx \ 
  -e AWS_REGION=xxx \
  -e AWS_SECRET_ACCESS_KEY=xxx \
  -e AWS_IOT_ENDPOINT_HOST=xxx \
  chrisns/ble-eq3-awsiot

Or to use Docker stack:

docker node update [NAME OF MACHINE/S WITH BLUETOOTH STICK] --label-add bluetooth=true
export AWS_ACCESS_KEY_ID=xxx
export AWS_REGION=xxx
export AWS_SECRET_ACCESS_KEY=xxx
export AWS_IOT_ENDPOINT_HOST=xxx
docker deploy --compose-file docker-compose.yml ble