All Projects → lambtron → Homemirror

lambtron / Homemirror

Licence: mit
Web based home mirror, inspired by Hannah Mitt's project.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Homemirror

Hoobs
Build your Smart Home with HOOBS. Connect over 2,000 Accessories to your favorite Ecosystem.
Stars: ✭ 325 (+563.27%)
Mutual labels:  smarthome, iot
Assistant Relay
A Node.js server that allows for sending commands to Google Home/Assistant from endpoints
Stars: ✭ 638 (+1202.04%)
Mutual labels:  smarthome, iot
Home Assistantconfig
🏠 Home Assistant configuration & Documentation for my Smart House. Write-ups, videos, part lists, and links throughout. Be sure to ⭐ it. Updated FREQUENTLY!
Stars: ✭ 3,687 (+7424.49%)
Mutual labels:  smarthome, iot
Awesome Smarthome
Curated list of awesome SmartHome/Home Automation things (open and leaving users in control)
Stars: ✭ 274 (+459.18%)
Mutual labels:  smarthome, iot
Hodd
Homie Device Discovery
Stars: ✭ 21 (-57.14%)
Mutual labels:  smarthome, iot
Awesome Home Assistant
A curated list of amazingly awesome Home Assistant resources.
Stars: ✭ 3,487 (+7016.33%)
Mutual labels:  smarthome, iot
Redmatic
Node-RED packaged as Addon for the Homematic CCU3 and RaspberryMatic 🤹‍♂️
Stars: ✭ 407 (+730.61%)
Mutual labels:  smarthome, iot
Node Tradfri Client
Library to talk to IKEA Trådfri Gateways without external binaries
Stars: ✭ 193 (+293.88%)
Mutual labels:  smarthome, iot
Smarthome
Eclipse SmartHome™ project
Stars: ✭ 867 (+1669.39%)
Mutual labels:  smarthome, iot
Raspberrymatic
🏠 A lightweight, buildroot-based Linux operating system alternative for your CCU3, ELV-Charly or for running your IoT "HomeMatic CCU" as a virtual appliance (using ESXi, Proxmox, VirtualBox, Docker/OCI, Kubernetes/K8s, Home Assistant, etc.) or on your own RaspberryPi, Tinkerboard, etc. SBC devices...
Stars: ✭ 803 (+1538.78%)
Mutual labels:  smarthome, iot
Tuya Convert
A collection of scripts to flash Tuya IoT devices to alternative firmwares
Stars: ✭ 3,338 (+6712.24%)
Mutual labels:  smarthome, iot
Cbj smart Home
If you are searching for an easy way to deploy a smart home 🏡 by yourself CyBear Jinni 🦾🐻🧞‍♂️ is here for you. Join the community and make your home smarter than yesterday.
Stars: ✭ 37 (-24.49%)
Mutual labels:  smarthome, iot
Basecamp
An Arduino library to ease the use of the ESP32 in IoT projects
Stars: ✭ 251 (+412.24%)
Mutual labels:  smarthome, iot
Waterius
Передача показаний воды по Wi-Fi. Watermeter Wi-Fi transmitter.
Stars: ✭ 295 (+502.04%)
Mutual labels:  smarthome, iot
Magicmirror
MagicMirror² is an open source modular smart mirror platform. With a growing list of installable modules, the MagicMirror² allows you to convert your hallway or bathroom mirror into your personal assistant.
Stars: ✭ 15,705 (+31951.02%)
Mutual labels:  smarthome, mirror
Mqtt Smarthome
Smart home automation with MQTT as the central message bus - Architectural proposal
Stars: ✭ 356 (+626.53%)
Mutual labels:  smarthome, iot
Gladys
A privacy-first, open-source home assistant
Stars: ✭ 1,874 (+3724.49%)
Mutual labels:  smarthome, iot
Wirehome.core
Wirehome.Core is a home automation system written in C# targeting .NET Core. It runs on Linux, Windows and macOS.
Stars: ✭ 180 (+267.35%)
Mutual labels:  smarthome, iot
Smartir
Integration for Home Assistant to control climate, TV and fan devices via IR/RF controllers (Broadlink, Xiaomi, MQTT, LOOKin, ESPHome)
Stars: ✭ 677 (+1281.63%)
Mutual labels:  smarthome, iot
Tp Link Smart Switch Web Client
Creating a web client for the tp-link series of smart switches (HS-100, HS-110, etc).
Stars: ✭ 31 (-36.73%)
Mutual labels:  smarthome, iot

Home Mirror

Web-based home mirror, inspired by Hannah Mitt's project.

Install

  1. Install Meteor

  2. Clone this repo

    $ git clone [email protected]:lambtron/homemirror.git
    
  3. Deploy to Meteor

    $ meteor deploy <your-name-here>.meteor.com
    
  4. Point your tablet to the URL and enable Kiosk mode

  5. Follow Hannah Mitt's tutorial for physically building the mirror or mine below

Customize

I decided to use Meteor for its real-time nature and ability to organize server and client side JavaScript in the same file.

Every "widget" on the screen can be found in the ./widgets folder. Let's look at the time widget as an example:

  1. Create the folder time with ./time/index.html and ./time/index.js

  2. Define the time template in index.html

    <template name="time">
      <div style="font-size: 3em">
        {{time}}
      </div>
    </template>
    
  3. Define the logic for rendering the time template in index.js

    if (Meteor.isClient) {
      Template.time.helpers({
        time: function() {
          return Chronos.liveMoment().format("hh:mma");
        }
      });
    }
    
  4. Add the time template to ./client/index.html

    <head>
      <title>Mirror</title>
    </head>
    
    <body>
      {{> date}}
      {{> time}}
      {{> weather}}
      {{> news}}
    </body>
    

Have fun!

Hardware

I followed Hannah's guide pretty closely.

Items

Directions

1. Cut a hole in the black construction paper for the device's viewport

Make sure the size of the hole that you are cutting is the size of the device's viewport and not the size of the device itself. You're going to put the two-sided adhesives along the edge of the construction paper that will stick to the device's bevel.

2. Glue the construction paper onto the back of the mirror

Use the spray adhesive at about 6-8 inches away from the construction paper. Don't get the construction paper too wet. After several seconds, slowly stick the sprayed side onto the back side of the mirror.

3. Add adhesive strips to the back of the construction paper around the edge of the device's viewport cutout

4. Set the device up.. last chance to touch your device!

The two (free) apps I needed to download were:

  • Stay Alive!: for preventing the device from sleeping
  • Kiosk Browser: so that you can set the browser to the Home Mirror web app in full screen mode (probably not even necessary, but this is my first Android device and I struggled with even the most basic navigation)

Set the Kiosk Browser to point to your Home Mirror web app domain.

5. Stick the device onto the two-way adhesive strips

Voila!


If the final product is facing the ground, this is how and where the pieces fit together:

The completed mirror:

License (MIT)

WWWWWW||WWWWWW
 W W W||W W W
      ||
    ( OO )__________
     /  |           \
    /o o|    MIT     \
    \___/||_||__||_|| *
         || ||  || ||
        _||_|| _||_||
       (__|__|(__|__|

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].