/remote

Leggett & Platt cloud connected remote controller.

Primary LanguagePythonMIT LicenseMIT

Leggett & Platt Cloud Connected Remote

Have you ever wanted the luxury of being forced out of bed at a certain time automatically? I certainly did.

This device is a cloud connected (via conduit v1) ESP8266 chip which automatically raises the head of your Leggett & Platt bed at the set alarm time allowing the user to feel very uncomfortable.

The exact remote used is pictured here:

Hardware

alt text

Two servo mounts can be found in ./hardware as a .stl file. These can be 3d printed. One is pressfit, the other must be glued or screwed onto a board.

The box to store the remote can be lasercut for a press fit as the pressfit_box.svg

The servos used are SG90 microservos and can be bought here

Firmware

Rename info.sample.h to info.h and fill out the relevant constants. Run the following commands after connecting your ESP8266 microcontroller

  git clone https://github.com/Ouwen/remote.git
  cd firmware
  pio run
  pio run --target="upload"

Software Server

Run the following commands to get a docker container running the server.

  cd software
  docker build . -t remote_cron_server
  docker run -it -p 5000:5000 \
    -e EMAIL='my_conduit_email' \
    -e PASSWORD='my_conduit_password' \
    -e SERVER='https://my_conduit_server.com' remote_cron_server

React Native App

  • TODO

License

Copyright (c) 2018 Ouwen Huang See LICENSE for license text (MIT LICENSE)