From a One-Button Feed Trigger to a Local Apex Touchscreen Controller

TokenReefer

Valuable Member
View Badges
Joined
Oct 4, 2022
Messages
2,386
Reaction score
2,088
Location
Over the river and through the woods
Rating - 0%
0   0   0
I wanted to share a small project that gradually turned into something much more useful than I originally expected: a local, at-the-tank touchscreen feed controller and Apex status display.

It started because I added another tank and had a 15-minute feed automation in Smart Life. Every time I wanted to feed, I had to find the tablet, unlock it, open the app, find the automation, and run it. I wanted one simple physical control at the tank, especially when I had food in my hands.

Image Jun 27, 2026, 08_02_33 PM.png

My first version used an ESP32-S3 SuperMini, a 0.96-inch OLED, and four physical buttons. It proved the basic idea: a physical ESP32 control could call Home Assistant, which could then trigger an Apex feed mode or a feed automation.

That version eventually had a small menu for Fusion 15, Apex Feed A through D, and Apex Cancel. It worked, but the small OLED and button navigation made it feel more like a compact remote than a true at-the-tank interface.

I then moved to an ESP32-2432S028 CYD touchscreen. The goal was not just a larger display. I wanted to walk up to the tank, see what is active, press the action I want, get confirmation that it happened, and see when things will return to normal.

The current touchscreen includes Apex Feed A, B, C, and D, Apex Cancel, Fusion 15 start, Fusion Cancel during an active Fusion feed, live Apex and Fusion countdowns, a date/time header, alarms and warnings, informational status banners, and rotation between multiple active statuses.

The screen stays intentionally simple. It shows the current Apex and Fusion state, the main feed controls, and a footer that normally says Select Feed Action but changes to a warning, alarm, or informational status when something is active.

The normal control path stays local:

Apex local REST/XML endpoints, then Home Assistant for scripts, automations, templates, and status processing, then encrypted ESPHome communication to the CYD.

The touchscreen does not talk directly to the Apex and does not store Apex credentials.

The optional Fusion-style feed workflow is handled by Home Assistant. It turns off the return, UV, and skimmer, then starts a 15-minute timer. When the timer finishes, or when I press Fusion Cancel, it turns the return and UV back on, waits one minute, then turns the skimmer on.

The button reflects that state directly. When inactive, it is blue and says Fusion 15. When the timer is active, it changes to red and says Fusion Cancel.

One limitation worth noting is that the current restore sequence explicitly turns those configured devices back on. It is a reliable staged restore, but it is not yet a true state snapshot-and-restore system for equipment that may already have been intentionally off.

The footer can show things like Trident Testing, SOW Wavemaker Running, High Temperature Warning, and High Temperature Alarm. Multiple active items rotate and show an indicator such as 1/2 or 2/2.

feature-walkthrough-collage.png

I cleaned up and published the project as a modular community build here:

https://github.com/reefprintshare/apex-cyd-feed-controller

It includes sanitized ESPHome YAML, Home Assistant examples for Apex feed controls, live feed status, countdowns, a custom Fusion-style feed workflow, alert/footer templates, secrets templates, installation notes, troubleshooting, and the screenshots above.

I built and refined this with a lot of help from ChatGPT. The idea, workflow, desired behavior, and testing all came from my own setup, while AI was especially useful for working through ESPHome, Home Assistant YAML, Apex local API calls, display logic, troubleshooting, documentation, and turning it into something shareable.

I am sharing it less as a finished one-size-fits-all product and more as a jumping-off point for other reefers. Someone may only want touchscreen buttons for Feed A through D and Cancel. Others may want to add countdowns, custom feed behavior, alerts, or their own equipment logic.

A few cautions for anyone trying it: keep it local, do not expose Apex, Home Assistant, or ESPHome directly to the internet, and test every feed, cancel, restore, and safety behavior against your own equipment before relying on it.

Feedback, improvements, and ideas for other useful tank-side status or control screens are welcome.
 

Justfebreezeit

Valuable Member
View Badges
Joined
Nov 30, 2017
Messages
2,120
Reaction score
2,446
Location
SoFlo
Rating - 0%
0   0   0
Awesome you went way further than me.

Tapo sells a wifi button on Amazon. I use that to trigger automation on my wifi outlets for feed mode.

Yours is much cooler, but just in case anyone was looking for a less intensive version of diy
 
OP
OP
TokenReefer

TokenReefer

Valuable Member
View Badges
Joined
Oct 4, 2022
Messages
2,386
Reaction score
2,088
Location
Over the river and through the woods
Rating - 0%
0   0   0
Awesome you went way further than me.

Tapo sells a wifi button on Amazon. I use that to trigger automation on my wifi outlets for feed mode.

Yours is much cooler, but just in case anyone was looking for a less intensive version of diy
Yes. I was looking at these originally which got the idea started. For about the same cost I've got something with much more flex and ability though I think.
 
OP
OP
TokenReefer

TokenReefer

Valuable Member
View Badges
Joined
Oct 4, 2022
Messages
2,386
Reaction score
2,088
Location
Over the river and through the woods
Rating - 0%
0   0   0
That's amazing!! I wish I understood how this works and how to integrate it! 😂 Some of us are a little 😵‍💫
I think this is where AI becomes really useful; to bridge the gap and help people get things done. I think anyone can do this with some assistance like I had.
 

DmitryB

Active Member
View Badges
Joined
May 26, 2026
Messages
461
Reaction score
336
Location
Hunter, NY
Rating - 100%
1   0   0
That's amazing!! I wish I understood how this works and how to integrate it! 😂 Some of us are a little 😵‍💫
I think this is where AI becomes really useful; to bridge the gap and help people get things done. I think anyone can do this with some assistance like I had.
Yeah, but I think with AI, the questions you ask are as important as anything else. I don't know what I'd even ask!
 
OP
OP
TokenReefer

TokenReefer

Valuable Member
View Badges
Joined
Oct 4, 2022
Messages
2,386
Reaction score
2,088
Location
Over the river and through the woods
Rating - 0%
0   0   0
Yeah, but I think with AI, the questions you ask are as important as anything else. I don't know what I'd even ask!
Indeed. I would start simple, sharing the github link indicating you'd like to do this project. Ask it to lay out what's needed and then what to start on first if you decide to. Focus on one piece at a time. The LLM may matter too. I use chatgpt
 

DmitryB

Active Member
View Badges
Joined
May 26, 2026
Messages
461
Reaction score
336
Location
Hunter, NY
Rating - 100%
1   0   0
Yeah, but I think with AI, the questions you ask are as important as anything else. I don't know what I'd even ask!
Indeed. I would start simple, sharing the github link indicating you'd like to do this project. Ask it to lay out what's needed and then what to start on first if you decide to. Focus on one piece at a time. The LLM may matter too. I use chatgpt
Great suggestions, thanks!!
 

Gumbies R Us

God, Bouldering, and Reefing
View Badges
Joined
Nov 10, 2022
Messages
29,767
Reaction score
52,612
Location
North Georgia
Rating - 0%
0   0   0
Well this thing is amazing!
 
OP
OP
TokenReefer

TokenReefer

Valuable Member
View Badges
Joined
Oct 4, 2022
Messages
2,386
Reaction score
2,088
Location
Over the river and through the woods
Rating - 0%
0   0   0
Small update. Did some polishing and updated the GitHub repo.

Most of the core stuff was already working, but I cleaned up the interface and added a few things that made it feel much more complete at the tank:

  • Added a proper idle footer panel that says SELECT FEED ACTION, with green command confirmations when something is sent.
  • Added active button styling for whichever Apex feed mode is running.
  • Added quick pressed-button feedback so each tap feels more deliberate.
  • Added Wi-Fi signal bars on the display.
  • Added separate status indicators for Apex feed-data freshness and the CYD/Home Assistant connection.
  • Added a staged restore countdown after Fusion feed cancel or completion, so it shows when the skimmer is coming back on.
  • Added night dimming with wake-on-touch. The first touch at night wakes the screen only, then it stays bright for a minute.
  • Active alarms and warnings now override dimming and force full brightness.
  • Reworked the footer behavior so alarms and warnings do not rotate away behind normal informational messages.
  • Added mappings for things like Water Change, Outage Mode, Trident testing, SOW wavemaker activity, and a literal manually forced Return Pump OFF state.
I also updated the public YAML examples, documentation, screenshots, and changelog so the repo now reflects the finished current version instead of the earlier controller build.

main-screen.png

The new Fusion restore state was one thing I really wanted. After a normal Fusion finish or a cancel, Return and UV come back on first, then the screen shows the skimmer countdown during the one-minute delay before the skimmer comes back online.

fusion-restore-countdown.png

I am still treating this as a jumping-off point rather than a one-size-fits-all controller. The basic feed controls can stay simple, but the project is meant to be customized around each person’s own tank, equipment, Apex outlets, feed routines, alerts, and restore behavior. Someone may only want Feed A through D and Cancel, while someone else may want to build out their own status messages, safety warnings, custom feed sequence, or equipment-specific logic.

Updated repo is here:

https://github.com/reefprintshare/apex-cyd-feed-controller
 

TOP 10 Trending Threads

DO YOU THINK TECHNOLOGICAL ADVANCEMENTS ARE MORE HELPFUL OR HURTFUL TO REEFING?

  • More helpful.

    Votes: 33 38.4%
  • More hurtful.

    Votes: 4 4.7%
  • I think it depends mostly on the technology.

    Votes: 34 39.5%
  • I think it dependsmostly on the reefer behind the technology.

    Votes: 28 32.6%
Back
Top
Home
Post thread…
Market
What's new