Giter Site home page Giter Site logo

blindr's Introduction

Blindr: The Blinds of the FUTURE

Overview

Blindr is a project designed to enhance the functionality of the existing Lampi system by adding a device that allows users to control the tilt of their dorm room blinds. This repository contains all the necessary code and details about the Blindr system. Project done by Abhimanyu Bangaru and Kyler Rosen as an extension of Nick Barendt's and LeanDog's LAMPI system.

Technologies Used

  • BLE
  • MQTT
  • Amazon AWS (EC2)
  • DJANGO
  • KIVY
  • NGINX

Features

  • Remote Control: Control the tilt of your dorm room blinds remotely via the Lampi web interface.

  • Scheduling: Set a close timer for automated operation of the closing on the blinds

  • Bluetooth: Integrated as a BLE(Bluetooth Low Energy) system with a BLE hub that connects to an EC2 instance and communicates with the BLINDr hardware. For prototyping purposing the hardware used is from SwitchBot

  • Python 3.x

  • Kivy (for UI)

  • MQTT broker

  • BLE libraries

Integration with Lampi

Web Interface

Blindr integrates with the Lampi web interface to provide a seamless user experience. Users can control the blind tilt percentage and set timers directly from the web interface.

MQTT Channels

Blindr communicates with the Lampi system via MQTT. The following channels are used:

  • blinds/percentage: Controls the tilt percentage of the blinds. 0 is fully closed, 50 is optimal opening, 100 is fully closed in the other direction.
  • blinds/tilt_changed: Reports the current tilt percentage request of the blinds.

UI Elements

  • Slider: Adjusts the tilt percentage.
  • Timer: Sets the time for automatic blind adjustments.
  • Pop-up on Smart Lampi: A pop up on the LAMPI smart lamp help's user know the status of the BLINDr and if it will be closing automatically soon.

Obstacles and Takeaways

Challenges

  • Bluetooth Issues: Encountered issues with Bluetooth connectivity.
  • Hardcoding: Had to hardcode blind ID due to technical constraints.
  • Synchronization: Could not implement synchronized behavior between Lampi and Blindr.
  • Wi-Fi Access: Limited Wi-Fi access for the Pi outside certain areas.

Lessons Learned

  • Importance of setting reasonable expectations with CSS and UI design.
  • Dealing with buggy Bluetooth connectivity.
  • Understanding the integration of various technologies (web, cloud, MQTT, BLE) into a cohesive system.

Conclusion

Blindr demonstrates the potential of integrating various technologies to enhance user experience in smart dorm room setups. This project has been a rewarding journey, showcasing the power of combining web technologies, cloud services, MQTT, and BLE.

For a comprehensive video of BLINDr, please refer to the following video here.

blindr's People

Contributors

abhimanyubangaru avatar kykatro avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.