Giter VIP home page Giter VIP logo

dashboard_project's Introduction

Dashboard for NSPanel Pro

Custom HTML based dashboards for NSPanel Pro from Sonoff to connect to Home Assistant instance. This is a custom solution based primarily on my needs in different rooms, so for your use it needs to be adapted to your situations, needs and entities available (HTML/JS/CSS knowledge required).

Living Room Bathroom Hallway
Screenshot Screenshot Screenshot

What do you need?

How to use?

  • Download the latest release
  • Add secrets.js file to the folder that will contain 2 variables - url (includes the URL for websocket connection to Home Assistant ("ws://YOUR_IP_ADDRESS:8123/api/websocket")) and token (contains your long-lived access token - https://developers.home-assistant.io/docs/auth_api/#long-lived-access-token)
  • Setup all relevant entities in setup.js file and make other modification as you see fit.
  • Copy the chosen directory on the SD card of the NSPanel Pro using ADB
  • In Fully kiosk, set the dashboard.html as a Start URL

It is also advisable to disable scrolling and some other actions in the Fully Kiosk settings

What else do I need?

It is advisable to turn on/off the screen of the NSPanel when not in the room. This can be achieved using the fully kiosk broswer HA integration that expose some entities to control the NSPanel remotely and some HA / NodeRed automations.

It is also advisable to reload the page every time the screen is switched on. Sometimes, the websocket connection is terminated when the screen if off and the panel displays outdated info.

What next?

This is still work in progress, there is a lot of things that I would like to improve or add to the dashboards. Please feel free to contribute or raise an issue or enhancement tip.

Attributions

The dashboards are using beautifull weather icons created by Bas Milius - https://github.com/basmilius/weather-icons

dashboard_project's People

Contributors

dvejsada avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

dashboard_project's Issues

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.