Giter VIP home page Giter VIP logo

homehub's Introduction

Logo HomeHub

Use your old tablet as a home hub, with Home Assistant integration.

Features

  • Photos slider (like a slideshow) with pictures from the device
  • Clock in the left bottom of the screen
  • Devices dashboard, with entities from Home Assistant
  • Glassmorphism design

Architecture

This project uses Expo 50 (React Native 0.73), with Bun as the package manager.

How to build

This app needs a development build because of extra WebRTC modules.

One can get one by running bunx expo:android or bunx expo:ios with the APP_VARIANT environment variable set to development. Or create a new project in the Expo website and build it in EAS.

Environment variables

A .env file needs to be created before the build, with the following properties:

  • ACCESS_TOKEN: Home Assistant access token
  • HOST: Home Assistant URL
  • STREAM: For future use; choose a random string

Home Assistant entities

By default, this code includes entities from my Home Assistant instance. One should change them to their own, by following the properties defined in the types/devices.ts file.

How to run

Run bun start in the terminal (alias for bunx expo start --dev-client).

homehub's People

Contributors

rgarrido03 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.