ulanzi problems

pull/16/head
LuBeDa 3 years ago
parent e86227304d
commit 6c7015752f

@ -1032,7 +1032,9 @@ sensor:
## Breaking changes
### **nothing yet, since it is new**
### 2023.5.0
- removed the rtttl buzzer from the ulanzi easy template, because it often caused reboots!
## EspHoMaTriX in the media
@ -1065,7 +1067,7 @@ THE SOFTWARE IS PROVIDED "AS IS", use at your own risk!
- **[aptonline](https://github.com/aptonline)** for his work on the ulanzi hardware
- **[wsbtak](https://github.com/wsbtak)** for the work on the ulanzi hardware
- **[ofirsnb](https://github.com/ofirsnb)** for his contributions
- **[darkpoet78](https://github.com/darkpoet78/MatrixClockFonts)** for his work on optimized fonts
- **[darkpoet78](https://github.com/darkpoet78/MatrixClockFonts)** for his work on optimized fonts and user support
- **[pplucky](https://user-images.githubusercontent.com/16407309/224850723-634c9b2d-55d9-44f2-9f93-765c0485b090.GIF)** for his 8x32 GIF animation
- **[dennisse](https://github.com/dennisse)** Auto brightness for the Ulanzi
- **[geekofweek](https://github.com/geekofweek)** fixed sample YAML

@ -20,6 +20,7 @@ namespace esphome
this->alarm_color = Color(CA_RED, CA_GREEN, CA_BLUE);
this->gauge_color = Color(CD_RED, CD_GREEN, CD_BLUE);
this->gauge_value = 0;
this->next_action_time = 0;
this->screen_pointer = MAXQUEUE;
for (uint8_t i = 0; i < MAXQUEUE; i++)
@ -194,7 +195,6 @@ namespace esphome
register_service(&EHMTX::set_brightness, "brightness", {"value"});
ESP_LOGD(TAG, "Setup and running!");
this->is_running = true;
}
void EHMTX::show_alarm(int r, int g, int b, int size)
@ -906,7 +906,6 @@ namespace esphome
{
ESP_LOGCONFIG(TAG, "weekstart: sunday");
}
this->is_running = true;
}
void EHMTX::add_icon(EHMTX_Icon *icon)

@ -37,7 +37,7 @@ namespace esphome
class EHMTX : public PollingComponent, public api::CustomAPIDevice {
protected:
float get_setup_priority() const override { return esphome::setup_priority::BEFORE_CONNECTION; }
float get_setup_priority() const override { return esphome::setup_priority::WIFI; }
uint8_t brightness_;
uint32_t boot_anim=0;
uint8_t screen_pointer;

@ -1,7 +1,5 @@
substitutions:
devicename: ulanzi
ledpin: GPIO32
buzzerpin: GPIO15
friendly_name: LED Matrix
board: esp32dev
# Pin definition from https://github.com/aptonline/PixelIt_Ulanzi
@ -11,7 +9,6 @@ substitutions:
left_button_pin: GPIO26
mid_button_pin: GPIO27
right_button_pin: GPIO14
buzzer_pin: GPIO15
scl_pin: GPIO22
sda_pin: GPIO21
@ -99,13 +96,6 @@ logger:
level: WARN
api:
services:
- service: tune
variables:
tune: string
then:
- rtttl.play:
rtttl: !lambda 'return tune;'
sensor:
- platform: sht3xd
@ -168,14 +158,6 @@ wifi:
web_server:
output:
- platform: ledc
pin: $buzzerpin
id: rtttl_out
rtttl:
output: rtttl_out
i2c:
sda: $sda_pin
scl: $scl_pin

@ -1,7 +1,5 @@
substitutions:
devicename: ulanzi
ledpin: GPIO32
buzzerpin: GPIO15
friendly_name: LED Matrix
board: esp32dev
# Pin definition from https://github.com/aptonline/PixelIt_Ulanzi
@ -11,7 +9,6 @@ substitutions:
left_button_pin: GPIO26
mid_button_pin: GPIO27
right_button_pin: GPIO14
buzzer_pin: GPIO15
scl_pin: GPIO22
sda_pin: GPIO21
@ -99,13 +96,6 @@ logger:
level: WARN
api:
services:
- service: tune
variables:
tune: string
then:
- rtttl.play:
rtttl: !lambda 'return tune;'
sensor:
- platform: sht3xd
@ -168,14 +158,6 @@ wifi:
web_server:
output:
- platform: ledc
pin: $buzzerpin
id: rtttl_out
rtttl:
output: rtttl_out
i2c:
sda: $sda_pin
scl: $scl_pin

Loading…
Cancel
Save