Skip to content

Fix: IR noise issue, new Gree AC menu, and Clock removal - #3063

Open
Lolzik-2 wants to merge 6 commits into
BruceDevices:mainfrom
Lolzik-2:main
Open

Lolzik-2 wants to merge 6 commits into
BruceDevices:mainfrom
Lolzik-2:main

Conversation

@Lolzik-2

@Lolzik-2 Lolzik-2 commented Nov 9, 2026

Copy link
Copy Markdown

Description

This PR introduces three major improvements tested on the M5Stack Cardputer ADV, StickC S3, and StickC Plus 2:

  1. IR Noise Fix: Reverted the IR receiver pin initialization from setup_ir_pin() back to pinMode(INPUT) (as it was in v1.11.1). This completely eliminates the "white noise" bug where the IR Read menu was instantly blocked by background IR interference.
  2. AC (Conditioners) Menu: Added a new "AC" menu item inside the Infrared section. It uses the built-in IRGreeAC protocol to send signals to Gree (and compatible) air conditioners. Commands included: Turn ON (Cool 22°C), Turn ON (Heat 24°C), and Turn OFF.
  3. Clock Removal: Removed the clock/time display from the top status bar, replacing it with a static "BRUCE" text to save screen space (since the ESP32 lacks a hardware RTC, the time was often inaccurate).

Testing

  • Tested on m5stack-cardputer
  • Tested on m5stack-sticks3
  • Tested on m5stack-cplus2

Important Note for Maintainers

My local platformio.ini is currently modified to only build the 3 boards mentioned above (for faster testing). Please ignore or revert the changes to platformio.ini when merging, so it doesn't break the builds for other 60+ boards.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant