Git Product home page Git Product logo

awtrix-light's Introduction

Alt text
GitHub all releases GitHub Sponsors Discord


AWTRIX 3 is an open‑source custom firmware for the Ulanzi Smart Pixel clock TC001 or as upgrade for the old AWTRIX 2 Mainboard and even self build matrix clock

Note: This Firmware is only compatible with ESP32

You can get an Ulanzi TC001 here (affiliate link)

AWL meant to be a companion for your smarthome like HomeAssistant, IOBroker, FHEM, NodeRed and so on.
Even if you don't have a Smarthome system, but would like to experiment with NodeRed or N8N, you are still welcome to join us.
Our discord community, with over 4500 people, are willing to help you!

It is ready to use straight out of the box, with time, date, temperature, and humidity pages pre-installed. You don't need to do anything other than turning it on to start using these features.

However, for those with more advanced skills, the customization options available with customapps and mqtt commands allows you to take AWTRIX 3 to its full potential.

Note:
In AWTRIX, the term 'Apps' does not refer to traditional smartphone apps that you download and install. Instead, in AWTRIX, CustomApps function more like dynamic pages that rotate within the App loop of the display. These pages do not store or execute their own logic; instead, they display content that is sent from an external system, such as a smarthome. This content must be transmitted using MQTT or HTTP protocols via the CustomApp API.
It is important to note that all the logic for managing the content displayed in these CustomApps needs to be handled by your external system. AWTRIX only provides the platform for displaying the information. You have the flexibility to update the content shown on your CustomApps in real-time at any moment, making it a versatile tool for displaying personalized information in your smarthome setup.

Join the thousands of satisfied awtrix users who have already chosen Awtrix 2 and AWTRIX 3 and experience the difference today!

🌟[NEW!] AWTRIX App🌟

Take your Awtrix experience to the next level with the mobile app, tailored for convenience and full control.

Features:

  • Liveview: See your Awtrix in real-time.
  • Settings Customization: Tweak text colors, set transition and many more with just your fingertip.
  • Icon Management: View, or delete icons effortlessly.
  • Exclusive Icon Database: Get unique icons only available for app users.
  • Icon Creation & Sharing: Design and share your icons with our community.

By purchasing the app, you're directly contributing to the future of AWTRIX 3. Dive deep, explore more, and be a part of the innovation. Support our journey and enhance your Awtrix experience. Your contribution matters. ✨

Get it on Google Play Get it on Google Play Get it on Amazon

AWTRIX 3 flows

This is your go-to hub for sharing and discovering AWTRIX 3 automations. Enhance your AWTRIX 3 experience, exchange ideas, and get inspired. Let's bring our creative automations to life together!
https://flows.blueforcer.de/

Features

  • Easy to setup
  • Online flasher
  • Homeassistant discovery
  • Onscreen menu where you can change your settings directly on the device
  • Pre-installed Apps like time, date, temperature, humidity and battery
  • Add customapps without recompiling straight from your Smarthome.
  • Notification support
  • Animated icons
  • Fullscreen animations
  • Effects
  • Custom icons without recompiling
  • Easy to use icon system
  • Powerful MQTT commands
  • HTTP API
  • RTTTL melody player
  • Integrated filebrowser
  • No cloud
  • No telemetry

Getting Started

Starting is easy as 1-2-3 with the documentation

Community

Join the discord channel with over 4500 Users
https://discord.gg/cyBCpdx

Youtube videos from some awesome creators to get a quick first look.
Watch the video

Watch the video Watch the video

Support

If you want to support my work, I really appreciate your donation! All the money will be allocated towards purchasing new hardware for testing purposes, software licenses, server costs, and a significant portion will also be set aside for dinners and trips with my wife and kids so that they can continue to endure the many hours I spend programming :)

https://github.com/sponsors/Blueforcer
https://www.buymeacoffee.com/blueforcer
https://www.paypal.me/blueforcer

Contributors

Disclaimer

This open-source software is not affiliated with or endorsed by the company Ulanzi in any way. Use of the software is at your own risk and discretion, and I assume no liability for any potential damages or issues that may arise from using the software. It is important to be aware that using this open-source software comes without direct support or guarantees from the company Ulanzi.

awtrix-light's People

Contributors

10der avatar bckp avatar blueforcer avatar brunas avatar buglloc avatar d0m1n1qu3 avatar danielhabenicht avatar ejalal avatar elfish avatar gerrit-kmeier avatar gitbreiti avatar inusasha avatar jc-23 avatar kodek avatar limes007 avatar luebbe avatar nxxxse avatar pbek avatar petterhanssen avatar phillprice avatar rdg88 avatar rhuss avatar socke7 avatar sonic74 avatar szepeviktor avatar tioan avatar tjorim avatar tmonjalo avatar udo1toni avatar y34hbuddy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awtrix-light's Issues

Change time format over MQTT / HTTP API

Would appreciate if I could change the time format over network,
I like the hh:mm:ss over the day, but in the evening/night I like hh:mm without any blinking pixels.

[BUG]

Bug report

Describe the bug

MQTT power on no longer working, after power off, if i send power on, the state changed to "on" but the Display stays off. I have to restart the device to work

Additional information

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • AWTRIX-LIGHT version: v0.56/0.57

To Reproduce

Steps to reproduce the behavior:

MQTT power off, power on, every try

Feature: when LDR reading is low, only show clock

Similar to the other matrix clock out there, when in a dark room it would be nice to have the awtrix-light only show the clock at brightness 1. Like in a dark bedroom

I've had some success with determining that if BRIGHTNESS < 20 then the room is dark. Defining that in this area seems to have worked, but I'm stuck trying to figure out how to modify the ui.setApps(Apps) to only include clock, then revert to the list of apps when brightness is above 20.

[QUESTION] Memory Leakage issue?

Question

If I look at the free ram history of the Ulanzi clock in Home Assistant, I see that the free RAM is slowly diminishing over time.

Screenshot_1

I'm not sure if this is related to the way I publish MQTT messages or if something is wrong in the firmware. I created several apps through MQTT in Home Assistant that I show on the Ulanzi Pixel Clock. Every time when a value changes within the app, I publish a new MQTT message (MQTT.publish) to the clock with the same app name. Is this the correct approach?

Additional information

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • AWTRIX-LIGHT version: v0.47

Expose button action on HA

Hi, do you think it will be possible to expose the action done on button to home assistant.( ex left button : none , one click , double click , long click ) and maybe have the ability to desactivate the navigation feature for one button ( left or right ) except for configuration menu ? Personally, I don't really use button to navigate between screen and just have one ( left or right ) is enough so if I can use the other button to trigger action on home assistant , it can be a really nice feature.

Allow to disable transitions

I want to have multiple pages (time, date etc.) but without an automatic transition. I only want to be able to switch between them by pressing a button or using MQTT requests.

I think this can be implemented by using a toggle (which hides the "Duration per page" option) or by allowing to set -1 as the duration. The first option would be more user friendly.

[QUESTION] Hide weekday bar

Question

Is there a way to hide the weekday bar in the time app?

Additional information

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • AWTRIX-LIGHT version: [ v0.47 ]

[BUG]

Die Uhr startet nach dem Update, zeigt IP Adresse an, dann kommt ein noch oben fliegendes Z und die Uhr startet neu. Uhr Ulanzi, Version 0.55, Iobroker MQTT Server
Wenn ich den MQTT Server auf IOBroker ausschalten, funktioniert die Uhr

The clock starts after the update, shows IP address, then comes a still flying Z above and the clock restarts.
Clock Ulanzi, version 0.55, Iobroker MQTT Server
When I turn off the MQTT server on IOBroker, the clock works

Zusätzliche Informationen - Beteiligte Geräte: - Modell: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001) - AWTRIX-LIGHT-Version: 0.55

[BUG] Fix uptime sensor in Home Assistant

Bug report

Describe the bug

From the Home Assistant Logs:

Sensor sensor.awtrix_xxxxxx_uptime has device class duration, state class None and unit None thus indicating it has a numeric value; however, it has the non-numeric value: P0DT7H56M8S (<class 'str'>);
Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22

Additional information

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • AWTRIX-LIGHT version: v0.45

To Reproduce

Steps to reproduce the behavior:

Expected behavior

A clear and concise description of what you expected to happen.

Have a properly setup uptime sensor.

Send the boot time as a datetime object / iso datetime string and have HA calculate the uptime for you?

Screenshots

If applicable, add screenshots to help explain your problem.

image

Logs

Sensor sensor.awtrix_dd2824_uptime has device class duration, state class None and unit None thus indicating it has a numeric value; however, it has the non-numeric value: P0DT7H56M8S (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22

Additional context

Add any other context about the problem here.

Creating custom page not working

  • MQTT prefix changed to "awtrix" in web ui.

  • Sending MQTT message to "awtrix/custom/test"

  • Message:
    {
    "text": "512 W",
    "icon": "52090",
    "repeat": 1,
    "rainbow": false,
    "duration": 10,
    "color": "#FFFFFF",
    "hold": false
    }

  • Icon is uploaded to folder ICONS.

-> Custom page is not generated nor shown on display.

-> the same message to topic "awtrix/notify" works!

[Feature Request] Toggle underscores

Feature Request

Sorry I don't know the proper name for the app underscore that are the placeholders / highlight for each app.

But it would be very handy to be able to remove or turn off the underscores under the apps. For my particular use case, I will be using the clock only for very long periods of time and the underscores are superfluous. Not to mention at night the underscore is still pretty bright because it's always white. If you can already do this I apologize I couldn't find it in the docs for the API/MQTT.

Is your feature request related to a problem?

No

If so, then add a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution / feature you'd like

See above

Describe alternatives you've considered

N/A

Additional context

[FEATURE REQUEST] Time schedule for brightness / night mode

Feature Request

Is your feature request related to a problem?

No.

Describe the solution / feature you'd like

Being able to set the clock into "night mode" between two times set by the user. Brightness will decrease to a custom brightness level during this time. (Maybe would be cool to have the option to also set color calibration to e.g. [255,255,215] to function as a blue light filter!)

Describe alternatives you've considered

I currently made my own night mode using HTTP API and an Android app, but this is not very reliable and also a lot of work to set up. The original Ulanzi firmware does support setting brightness during a custom timeframe, but I prefer Awtrix for obvious reasons :)

[FEATURE REQUEST] Change font

Feature Request

Is your feature request related to a problem?

Nope

Describe the solution / feature you'd like

I would be nice if we would have an option to upload fonts in a FONTS folder, which can then be used to display the text on the clock (maybe even on notification/app basis). The FONTS folder would contain ttf files with the respective fonts.

Describe alternatives you've considered

Stick to the custom font

Additional context

I know it's possible with ESPHoMatrix to use different fonts, but AWTrix is faster and has more options, so I'm not switching back just because of this :)

[BUG] Crash after 1h without Internet

Bug report

Describe the bug

The Clock crashes if its running without Internet access for over one hour.
Probably related to update check introduced in version 0.47

Additional information

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • AWTRIX-LIGHT version: 0.51

To Reproduce

Disable internet access for the clock and let it run for over one hour

Expected behavior

Clock should not crash and the update check should return error or no update available

Screenshots

image

Update my old awtrix 2

Would it be possible to upgrade my old lcd from awtrix with esp8266? or esp32?
Thanks!

[QUESTION] Cannot change settings like WD or TFORMAT

Question

When I try to publish a MQTT payload to /settings to change a setting like "WD" or "TFORMAT", The display flashes but the changes are not set. Also when I try to set is via Postman to http:///api/settings the same happens. Maybe I am doing something wrong, but can you help me?

Used payload:

{
"WD": false
}

Additional information

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • AWTRIX-LIGHT version: 0.51

Logs

(optional) Add relevant logs which could help tackle the problem.

Additional context

Add any other context about the problem here.

Notification issue

When I put a sound attribute at the end of the string --> The sound doesn’t work.

AwtrixLight/notify {"icon":3579,"text":"Bad Fenster schliessen!", "hold":"true", "pushIcon":2, "sound":"Police"}

When I set the sound attribute at first --> Sound = ok, but the icon animation disappears.

AwtrixLight/notify {"sound":"Police","icon":3579,"text":"Bad Fenster schliessen!", "hold":"true", "pushIcon":2}

Allow to show text exactly once (no matter the length)

When I use my spotify artist and title on a custom page it's hard to display the whole text. Sometimes the text is so long, that the transition cuts in the middle of the text. Sometimes the title is so short, that it displays 3 times. Would be nice if there was a MQTT option to display the text exactly once. After the text is finished switch back to the other page.

[BUG] Disabling Humidity and Battery Level but always displayed

Bug report

Describe the bug

Disabling humidity and battery screen has no effect

Additional information

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock
    • AWTRIX-LIGHT version: v.0.49 (but same since beguining)

To Reproduce

Steps to reproduce the behavior:
Flash latest version

Expected behavior

Screen slide not showing humidity nor battery level

Screenshots

image

image

[BUG] Rearranging apps not working

Bug report

Describe the bug

When sending a MQTT message to [PREFIX]/apps nothing happens.

Message:
[ { "name":"time", "pos":0 }, { "name":"temperature", "pos":1 }, { "name":"humidity", "pos":2 }, { "name":"weather", "pos":3 }, { "name":"youtube", "pos":4 } ]

I also tried to switch the app with [PREFIX]/switch, which worked perffectly fine for me.
Message:
{ name":"youtube", }

Additional information

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • AWTRIX-LIGHT version: [ v0.47 ]

To Reproduce

Steps to reproduce the behavior:

  • Send a message to [PREFIX]/apps
  • Check order of apps

Expected behavior

The apps should be rearranged to the order specified in json

[FEATURE REQUEST] Fixed bar sizes

Feature Request

If a bar chart is displayed, values like 1,1,1,1 are shown as 4 bars which are 8 pixels in size (probably auto scaling). In most cases this is OK. But if you like for instance to show the rain forecast and it will be dry for the coming hours, it looks like it's raining hard. Maybe it's possible to add a setting so the integers given can be in a range from 0 to 8, so in the given example 4 bars are displayed with a height of 1 pixel. So no auto scaling.
Or a max value to be used for scaling.

Clock is dead

Bug report

Clock is bricked

Additional information

Clock stays on 02:36:34 and wil not reset with button, also the com port does work anymore, flashing not posible

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • AWTRIX-LIGHT version: v0.54 ]

To Reproduce

Steps to reproduce the behavior:
Can not reproduce, clock is bricked

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Logs

(optional) Add relevant logs which could help tackle the problem.

Additional context

Add any other context about the problem here.

[BUG] Uptime sensor format

Bug report

Describe the bug

Uptime has a non-conventional format. This way it has a lot of state changes.
It would be better to have a fixed boot time or something, we can still calculate the delta.

Additional information

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • AWTRIX-LIGHT version: v0.47

To Reproduce

Add device to HA.

Expected behavior

No warnings.

Logs

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:597
Integration: Sensor (documentation, issues)
First occurred: 5:11:25 AM (2 occurrences)
Last logged: 5:11:25 AM

Sensor sensor.uptime has device class duration, state class None and unit None thus indicating it has a numeric value; however, it has the non-numeric value: P0DT7H16M31S (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22
Sensor sensor.uptime_2 has device class duration, state class None and unit None thus indicating it has a numeric value; however, it has the non-numeric value: P0DT7H16M31S (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22```

Do not scroll to next page when there is only one page active

Setup:

  • all internal pages deactivated (clock, date, temperature, ...)
  • one custom page via MQTT
  • lastest FW 0.41

Current behaviour:

  • the custom page is scrolled to itself with apptime interval

Desired behaviour:

  • no scrolling when there is only one page active

issue custom notification after version 0.38

hello is on version 0.38 get these strange characters at my temperature sensor of my room on the screen after restarting the screen this does not help yet why is this?

service: mqtt.publish
    data:
      topic: AwtrixLight/notify
      payload: >-
        {   "text":
        "{{trigger.to_state.state}}{{trigger.to_state.attributes.unit_of_measurement}}",  
        "icon": "52352",   "rainbow": true,   "duration": 30 }

Allow text to start next to icon

Currently when I send text, the text starts at the most right position. Would be nice, if there was an option to set the start position right next the icon, so part of the text is already shown without scrolling.

Entity_id's in Home Assistant don't refer to device (not unique per device)

I'm uncertain whether this is something that needs to be solved from within HA or this firmware.

An entity like the one showing the firmware version, has an entity_id of sensor.version.
image
Same for e.g. sensor.battery or light.matrix.
image

If a 2nd device flashed with the same firmware would be added to Home Assistant, this will likely result in entity_id's like sensor.version_2 or light.matrix_2.

These entity_id's are very generic and don't refer to the device they belong too.
It's not unthinkable a generic sensor like sensor.version could already be provided by HA itself.

In my opinion, it'd be better to have entity_id's like sensor.[devicename]_[sensor].
For example: sensor.awtrix_aabbcc_version or light.awtrix_aabbcc_matrix.

A HA user would still be able to manually change these entity_id's if they'd want to.

Compare this to the battery sensor entity for an Aqara door sensor integrated via Z2M:
image

[Feature Request] Support for multiple SSIDs

I use one of my Awtrix lights alternately at home and in the local hackrrspace, both locations have different SSIDs / WLAN access data. Support for 2 or more WLAN profiles would therefore be very useful.

[QUESTION] Show icon in the time app

Question

Is it possible to show a icon on the left when displaying time like in the temperature app? And is it possible to customise the icons of the default apps?

Additional information

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • AWTRIX-LIGHT version: [ v0.47 ]

[QUESTION] Lost custom app after Restart ESP

Question

image
If I click the Restart ESP button, my custom app will lost. is it normal?

Additional information

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • AWTRIX-LIGHT version: v0.47

Time and date formatting

Hi, I'm asking for a new feature to be added. I'm in USA and wanted to be able to change the time and date formatting. For example, 12 hour time, and month/day/year date format.

Our week also starts on Sunday, so the bars at the bottom representing the current day, it would be great to be able to update that so it's Sun, Mon, Tue, Wed, Thu, Fri, Sat

Allow to jump to a specific page via MQTT

First: Thanks for including my request that fast in the latest release! 🎉
(Just one question: Would it me possible to support the auto transition also from MQTT? Thanks!)

Since I disabled the auto transition it would be nice to allow to switch to a certain page (build in or custom) via MQTT.

For example:
I want to show the clock by default. When My song in spotify changes, I want to switch to my custom page for x seconds, then back to the clock and then stay at the clock page.

Feature: Have a unique MQTT topic by default

This is a minor quality of life request, especially for people with less experience in this kind of setup.

The default MQTT prefix is AwtrixLight.
If you have multiple clocks, you need to manually change this prefix to ensure they are each discovered as individual devices.

I'd propose appending the 3 final (NIC specific) octets of the device's MAC address to this prefix to make it unique by default.
Similar as to how other IoT devices setup their hostname and/or SSID*.

So if the device's MAC address is 12:34:56:78:90:AB, the MQTT prefix could be AwtrixLight-7890ab.

(*) using this for the WiFi SSID would be another useful little change.

Feature: Expose firmware version as a sensor

I've got my clock on a non-internet VLAN.
This means the Update option in the menu cannot be used to update the device and updates need to be done manually via the web interface.

In order to keep track of firmware updates from within HA, a simple solution is to use the GitHub Integration to track the latest release of a repo like this.
But to be able to know when an update is needed, you'd need to be able to quickly compare the current FW version to the latest release.
And while the web interace does show the firmware version in its title, it would quickly become too much of a hassle to manually check the web interface of each clock to ensure they're up-to-date.

That's why I'd like to propose adding a Version Sensor to the code.

image

[FEATURE REQUEST] WebUI Password Protection

Idea: WebUI Password Protection

Something like this:

<script language="JavaScript"> var pass_entered; var password="test1234"; while (pass_entered!=password) { pass_entered=prompt('Please enter the password:',''); } self.close(); </script>

[FEATURE REQUEST] Icon download via MQTT/HTTP API

Feature Request

Would it be possible to expose the icon download functionality via MQTT / HTTP API? That way if you have multiple clocks you would be able to download icons programmatically across all of them. TIA!

Is your feature request related to a problem?

No

Describe the solution / feature you'd like

I would like to be able to use MQTT or the HTTP API to be able to download icons programmatically.

Describe alternatives you've considered

I do not believe this functionality is present, unless I missed it.

Additional context

NA

[BUG]: Icon stays visible when empty MQTT payload is sent to an active custom app and transition = off

Bug report

Describe the bug

Icon stays visible when empty MQTT payload is sent to an active custom app and transition = off

Additional information

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • AWTRIX-LIGHT version: 0.48

To Reproduce

  1. switch transition off
  2. activate a custom app with mqtt.publish using an icon
  3. the custom app is shown with the icon
  4. de-activate the custom app by sending mqtt.publish with an empty payload
  5. The value of the de-activated custom app is removed, but the icon of the de-activated custom app stays visible

Expected behavior

The icon of the active app that gets deactivated is removed as well just like the value is.

Logs

(optional) Add relevant logs which could help tackle the problem.

Additional context

Add any other context about the problem here.

[FEATURE REQUEST] Binary sensor for charging state / power source

Feature Request

Is your feature request related to a problem?

No

Describe the solution / feature you'd like

Is it possible to implement a binary sensor to indicate wether the pixel clock is currently connected to a power source and is charging? If so could you please implement a binary sensor to show charging state?

Additional context

The idea behind: If the pixel clock runs on a power source I usually disable the battery app. But sometimes the clock is running on battery and in this case the battery app is helpful. If one could determine the current state wether the pixel clock is on power source or runs on battery I could write an automation to automatically enable or disable the battery app.

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.