Blueforcer / awtrix3

Custom firmware for the Ulanzi Smart Pixel clock or self made awtrix. Getting started is easy as 1-2-3
https://blueforcer.github.io/awtrix3/
Other
1.27k stars 110 forks source link

[BUG] Unable to switch off battery app or add custom apps on ESP32 Custom Build #518

Closed proffalken closed 4 months ago

proffalken commented 6 months ago

Bug report

Describe the bug

I've built a custom AWTRIX3 clock using a Heltec WiFi32 v2 board, an 8x32 matrix, and a BME280 sensor.

This device will always be plugged in, therefore I want to disable the battery app.

I also want Home Assistant to be able to send custom app data to the system to show Spotify status etc.

At the moment, none of the CURL or MQTT commands that I send to the device seem to disable the battery app or create a new app for spotify.

Additional information

To Reproduce

Steps to reproduce the behavior:

Connect Matrix to pin 32, SCL/SDA to pins 21/22, power on via USB

Expected behavior

  1. When posting {"BAT": false} to api/settings, or [{"name": "bat", "show": false}] to api/apps the battery level should not be shown as part of the transition carousel
  2. When posting {"text": "TEST ME","rainbow": true} to api/custom?app=TestApp the app is not registered and the text does not display.

I have tried rebooting after sending the commands, but that has no effect. LiveView also continues to display the battery app and does not show the custom app.