Giter Club home page Giter Club logo

hd's Introduction

Outdated & no support! Have a look at Awtrix 2.0

AWTRIX

AWTRIX Preview

OFFICIAL DOCUMENTATION: https://docs.blueforcer.de/#/v1/README

AWTRIX is a smart WiFi-capable clock based on an ESP8266.

  • time via NTP server
  • current weather via Wonderground API
  • Simulation of a virtual "pet" with different emotions
  • Game of Life
  • Youtube Counter
  • Facebook Counter
  • DHT Senor reading

more functions:

  • Control and configuration via BLYNK
  • Display of user-defined texts via MQTT
  • Automatic brightness control via LDR
  • easy Firmware update via WiFi or Web

The case is designed in Fusion360 and printed in 3D. You can get the STL-Files from Thingiverse: https://www.thingiverse.com/thing:2791276

Facebook-Group: https://www.facebook.com/groups/126493104851075/

Parts List

https://docs.google.com/document/d/1CAsqT8-JWUTZBSNsxpKQcZtD8DkJ0vUmNQMezy81tLE/edit

Used Libraries

Neopixel:https://github.com/adafruit/Adafruit_NeoPixel Neomatrix:https://github.com/adafruit/Adafruit_NeoMatrix DHT22App:https://platformio.org/lib/show/1671/DHT TimeApp & WeatherAPP: https://platformio.org/lib/show/3012/ESP8266%20Weather%20Station MQTT: https://platformio.org/lib/show/89/PubSubClient ArduinoCore ESP8266Core ArduinoJson

hd's People

Contributors

blueforcer avatar padarom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hd's Issues

LightBar

The lightbar is a ws2812 strip that is built into the case.
This lightbar is used to display light effects on certain statuses or actions.
e.g. notifications, errors, confirmations etc.

We need to discuss whether apps should have access to the lightbar or not.

maybe we can implement this into the core
https://github.com/beyondscreen/node-rpi-ws281x-native

Settingsmanager for Apps

Apps must be configured.
For this purpose, there must be a possibility to define the required values (with optional default values).

These values must be changeable in a separate screen.
I would not make the effort to make the settings screen for each app new, it should be something generic so that you always find your way around.
We would have to define a few components for the beginning, like Switches, Numberinput, Textinput, Dropdown etc.

Allow use of assets in style section

Currently we have to resort to style in javascript like approaches when any asset paths are required in our app CSS. The asset(...) helper is only available in the component, not in its style.

We might want to think of a possibility to somehow allow assets in the <style> section, which will likely need to be implemented as a PostCSS plugin that is automatically loaded in the build service.

Assetmanager

When developing apps, it will be important to be able to include assets such as images or audio with the app.
If I remember correctly, at least the internal asset linking already works. But not from the own app folder.
When compiling or uploading the asstes would of course also be packed, and when downloading from the store also be unpacked again.

Fix scoped CSS in apps

Currently we can't use <style scoped> tags in our applications. If it is used, the style is just not applied at all.

If scoped is omitted we do have the same issue as we have in regular Vue though, where the same classes override each other in different components. So if app A defines the class .foo, it will also style all elements with the class .foo in app B.

Temporarily just develop apps by themselves so that this can't become an issue, but fix it in the future while also requiring all other apps to only use scoped styles.

CSS not working

CSS via tailwind and Stylesheet doesnt work in awtrix dev package 0.1.15

Backend compile error

When "backend"=true im getting following message:

vite v2.2.1 building for production...
โœ“ 3 modules transformed.
.awtrix/apps/example/0.1.0/style.css        0.71kb / brotli: 0.26kb
.awtrix/apps/example/0.1.0/example.umd.js   3.13kb / brotli: 1.09kb
events.js:292
      throw er; // Unhandled 'error' event
      ^

Error: spawn C:\Users\Stephan\AppData\Roaming\npm\node_modules\@awtrix\app\node_modules\esbuild\bin\esbuild ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:465:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
    at onErrorNT (internal/child_process.js:465:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn C:\\Users\\Stephan\\AppData\\Roaming\\npm\\node_modules\\@awtrix\\app\\node_modules\\esbuild\\bin\\esbuild',
  path: 'C:\\Users\\Stephan\\AppData\\Roaming\\npm\\node_modules\\@awtrix\\app\\node_modules\\esbuild\\bin\\esbuild',
  spawnargs: [ '--service=0.11.13', '--ping' ]
}

Appstore

The Appstore offers the possibility to download apps for AWTRIX for free.

Similar to the store on smartphones, the Appstore should be structured as follows:

Initial screen:
All apps are displayed, sorted alphabetically, side by side with cover and name. Here you can scroll to the right.

A search is also available

Clicking on an app opens a new screen.
On the left the cover is shown again, on the right the name of the app, a description, version number, creator of the app and the download or update button.

example:
image

Socket.io cant connect

Getting a console error every 5s:
index.js:83 GET http://localhost:3002/socket.io/?EIO=3&transport=polling&t=Na3Kqkh net::ERR_CONNECTION_REFUSED

Enable Vue development mode in awtrix-dev

When running awtrix-dev start, we currently use the precompiled version of awtrix, therefore the Vue development mode is deactivated, which means you can't easily use the Vue developer browser extension for debugging.

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.