Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
55b4bf0
Add In Food Probe
TrevorSchirmer Dec 12, 2024
30a2e9a
Adding Alarm Outside Temp Range
TrevorSchirmer Feb 26, 2025
848fe88
Alarm System And New Release Pipe
TrevorSchirmer Mar 26, 2025
a37bb74
Update Version
TrevorSchirmer Mar 26, 2025
0c8d958
Merge pull request #1 from ApolloAutomation/FoodProbe
TrevorSchirmer Mar 26, 2025
758779e
Power Control Working
TrevorSchirmer Apr 21, 2025
5f155bc
CO2
TrevorSchirmer Apr 21, 2025
e1c267f
Prod Ready
TrevorSchirmer Apr 28, 2025
172eb13
Merge pull request #3 from ApolloAutomation/Rev6
TrevorSchirmer Apr 28, 2025
b5a2906
Fix LEDs Constantly Being Turned Off
TrevorSchirmer May 9, 2025
0892f25
Bug Fix
TrevorSchirmer May 9, 2025
26a42a3
Merge pull request #5 from ApolloAutomation/FixLEDsGoingOFf
TrevorSchirmer May 10, 2025
5c9c557
Update CI Jobs
TrevorSchirmer May 14, 2025
ee9aa89
Merge pull request #6 from ApolloAutomation/FixCI
TrevorSchirmer May 14, 2025
9e0a18f
Bump
TrevorSchirmer May 14, 2025
2978c84
Add Dallas Probe
TrevorSchirmer May 15, 2025
ec4d013
CI
TrevorSchirmer May 15, 2025
3443b89
Add Ids
TrevorSchirmer May 15, 2025
663085f
Update Version
TrevorSchirmer May 15, 2025
f4893c3
Fix Probe Select
TrevorSchirmer May 15, 2025
cd29564
Delay Until Sensors Set Up
TrevorSchirmer May 15, 2025
b5d5dfb
Merge pull request #8 from ApolloAutomation/Fixes
TrevorSchirmer May 15, 2025
c1668db
Fix Update URL
TrevorSchirmer May 15, 2025
d0e755d
Merge pull request #9 from ApolloAutomation/FixUpdate
TrevorSchirmer May 15, 2025
ddb2330
Update README.md for temp_pro-1
bharvey88 May 15, 2025
b60eba9
fix: initial_value over max_value
firstof9 May 15, 2025
409e0be
chore(ci): bump the github-actions group across 1 directory with 3 up…
dependabot[bot] May 16, 2025
972a81e
Merge pull request #10 from ApolloAutomation/temp_pro-1-readme-update
TrevorSchirmer May 16, 2025
204c81d
Merge pull request #12 from ApolloAutomation/dependabot/github_action…
TrevorSchirmer May 16, 2025
9dece0f
adjust version
firstof9 May 16, 2025
7bb509e
Update To Shared Action
TrevorSchirmer Jun 1, 2025
666e211
Merge pull request #13 from ApolloAutomation/SharedAction
TrevorSchirmer Jun 1, 2025
8d13e31
Start On Battery
TrevorSchirmer Jun 1, 2025
bbbed51
chore(ci): bump the github-actions group with 2 updates
dependabot[bot] Jun 2, 2025
a144350
Merge pull request #14 from ApolloAutomation/dependabot/github_action…
TrevorSchirmer Jun 2, 2025
4e69e2b
Update Core.yaml
TrevorSchirmer Jun 2, 2025
18a675c
Merge branch 'main' into patch-1
TrevorSchirmer Jun 2, 2025
4d4b9d7
Merge pull request #11 from firstof9/patch-1
TrevorSchirmer Jun 2, 2025
e7443b7
Remove Template
TrevorSchirmer Jun 10, 2025
c9585fd
Version Bump
TrevorSchirmer Jun 10, 2025
a61bbb5
Merge branch 'main' into Battery
TrevorSchirmer Jun 10, 2025
d886741
Merge pull request #15 from ApolloAutomation/Battery
TrevorSchirmer Jun 10, 2025
0356cf1
chore(ci): bump actions/checkout in the github-actions group
dependabot[bot] Aug 12, 2025
4683964
Change auto-assign assignee from TrevorSchirmer to bharvey88
bharvey88 Dec 18, 2025
cf80310
Merge pull request #16 from ApolloAutomation/dependabot/github_action…
TrevorSchirmer Jan 28, 2026
847dfee
Merge pull request #17 from ApolloAutomation/change-auto-assign-to-br…
TrevorSchirmer Jan 28, 2026
75ecab6
chore(ci): bump actions/checkout in the github-actions group
dependabot[bot] Jan 29, 2026
2024942
Merge pull request #18 from ApolloAutomation/dependabot/github_action…
TrevorSchirmer Jan 30, 2026
5a27f46
chore(ci): bump pozil/auto-assign-issue in the github-actions group
dependabot[bot] Apr 27, 2026
7b6df83
Merge pull request #19 from ApolloAutomation/dependabot/github_action…
TrevorSchirmer Apr 30, 2026
4d4aee0
Fix ESPHome dev build: use on_value trigger variable instead of Selec…
TrevorSchirmer Jul 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!--
From Core.yaml. Should match date YY.MM.DD.# ( Usually # is 1 )
-->
Version:

<!--
You are amazing! Thanks for contributing to our project!
Please, DO NOT DELETE ANY TEXT from this template! (unless instructed).
-->
## What does this implement/fix?



## Types of changes
<!--
What type of change does your PR introduce?
NOTE: Please, check only 1! box!
If your PR requires multiple boxes to be checked, you'll most likely need to
split it into multiple PRs. This makes things easier and faster to code review.
-->

- [ ] Bugfix (fixed change that fixes an issue)
- [ ] New feature (thanks!)
- [ ] Breaking change (repair/feature that breaks existing functionality)
- [ ] Dependency Update - Does not publish
- [ ] Other - Does not publish
- [ ] Website of github readme file update - Does not publish
- [ ] Github workflows - Does not publish


## Checklist / Checklijst:
<!--
Put an x in the boxes that apply. You can also fill these out after
creating the PR. If you're unsure about any of them, don't hesitate to ask.
We're here to help! This is simply a reminder of what we are going to look
for before merging your code.
-->

- [ ] The code change has been tested and works locally
- [ ] The code change has not yet been tested

If user-visible functionality or configuration variables are added/modified:
- [ ] Added/updated documentation for the web page

<!--
Thank you for contributing <3
-->


17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "chore(ci): "
groups:
github-actions:
patterns:
- "*"
51 changes: 51 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name-template: 'Release v$NEXT_PATCH_VERSION'
tag-template: "$RESOLVED_VERSION"
change-template: "- #$NUMBER $TITLE @$AUTHOR"
sort-direction: ascending

categories:
- title: "🚨 Breaking changes"
labels:
- "breaking-change"
- title: "✨ New features"
labels:
- "new-feature"
- title: "🐛 Bug fixes"
labels:
- "bugfix"
# - title: "🚀 Enhancements"
# labels:
# - "enhancement"
# - "refactor"
# - "performance"
# - title: "🧰 Maintenance"
# labels:
# - "maintenance"
# - "ci"
# - title: "📚 Documentation"
# labels:
# - "documentation"
- title: "⬆️ Dependency updates"
collapse-after: 5
labels:
- "dependency-update"
# - title: "🚨🚨 Security Fixes 🚨🚨"
# labels:
# - "security"


include-labels:
- "bugfix"
- "new-feature"
- "breaking-change"

no-changes-template: '- No changes'

template: |
## What's Changed

$CHANGES

**Full Changelog**: https://github.com/ApolloAutomation/TEMP_PRO-1/compare/$PREVIOUS_TAG...$RESOLVED_VERSION.1

Be sure to 🌟 this repository for updates!
4 changes: 2 additions & 2 deletions .github/workflows/autoassign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
pull-requests: write
steps:
- name: 'Auto-assign issue'
uses: pozil/auto-assign-issue@v1
uses: pozil/auto-assign-issue@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: TrevorSchirmer
assignees: bharvey88
numOfAssignee: 1
160 changes: 27 additions & 133 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,143 +1,37 @@
name: Build
env:
DEVICE_NAME: temp_pro-1 # TODO: Rename
RELEASE_URL: ${{ github.server_url }}/${{ github.repository }}/releases/latest
name: Build and Publish

on:
push:
branches:
- main
workflow_dispatch:
inputs:
bypass-yaml-check:
description: 'Bypass YAML change check (force build/publish)'
type: boolean
required: false
default: false
# release:
# types: [published]

jobs:
build:
name: Build And Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set uppercase DEVICE_NAME
run: |
echo "UPPERCASE_DEVICE_NAME=$(echo $DEVICE_NAME | tr '[:lower:]' '[:upper:]')" >> $GITHUB_ENV

- name: Build Firmware
uses: esphome/build-action@v3.0.0
id: esphome-build
with:
yaml_file: Integrations/ESPHome/${{ env.UPPERCASE_DEVICE_NAME }}.yaml
version: 'latest'
cache: true

- name: Read version from YAML file
id: read_version
run: |
version=$(awk '/substitutions:/ {found=1} found && /version:/ {print $2; exit}' Integrations/ESPHome/Core.yaml | tr -d '"')
echo "project_version=$version" >> $GITHUB_ENV

- name: Move generated files to output
run: |
mkdir -p output
mv ${{ steps.esphome-build.outputs.name }}/* output/
echo ${{ steps.esphome-build.outputs.version }} > output/version
# Extract MD5 checksum of firmware.ota.bin
MD5_CHECKSUM=$(jq -r '.ota.md5' output/manifest.json)
echo "MD5_CHECKSUM=$MD5_CHECKSUM" >> $GITHUB_ENV

# Create new manifest.json with jq
jq -n --arg name "${{ env.DEVICE_NAME }}" \
--arg version "${{ env.project_version }}" \
--arg md5 "$MD5_CHECKSUM" \
'{name: $name, version: $version, home_assistant_domain: "esphome", new_install_prompt_erase: false, builds: [{chipFamily: "ESP32-C3", parts: [{path: "apollo-${{ env.DEVICE_NAME }}-esp32c3.factory.bin", offset: 0}], ota: {path: "apollo-${{ env.DEVICE_NAME }}-esp32c3.ota.bin", md5: $md5}}]}' > output/manifest.json


- uses: actions/upload-artifact@v4.3.3
with:
path: output/
retention-days: 1

- name: Collect merge commits
id: collect_commits
run: |
MERGE_COMMITS=$(git log --merges --pretty=format:"%h %s" $(git describe --tags --abbrev=0 @^)..@)
echo "MERGE_COMMITS=$MERGE_COMMITS" >> $GITHUB_ENV

- name: Create Release
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
with:
tag_name: ${{ env.project_version }}
release_name: "Release ${{ env.project_version }}"
body: Release of version ${{ env.project_version }}

draft: false
prerelease: false

- name: Upload firmware.factory.bin to Release
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: output/apollo-${{ env.DEVICE_NAME }}-esp32c3.factory.bin
asset_name: apollo-${{ env.DEVICE_NAME }}-esp32c3.factory.bin
asset_content_type: application/octet-stream

- name: Upload firmware.ota.bin to Release
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: output/apollo-${{ env.DEVICE_NAME }}-esp32c3.ota.bin
asset_name: apollo-${{ env.DEVICE_NAME }}-esp32c3.ota.bin
asset_content_type: application/octet-stream

- name: Upload manifest.json to Release
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: output/manifest.json
asset_name: manifest.json
asset_content_type: application/octet-stream


prep:
name: Consolidate firmwares
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4.1.7
with:
path: output
- run: cp -R static/* output/
- uses: actions/upload-pages-artifact@v3.0.1
with:
path: output
retention-days: 1

deploy:
if: contains(fromJSON('["workflow_dispatch", "push", "schedule"]'), github.event_name) && github.ref == 'refs/heads/main'
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
needs: prep
build-and-publish:
uses: ApolloAutomation/Workflows/.github/workflows/build.yml@main
permissions:
contents: write
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4.0.5
pull-requests: write
with:
device-name: temp-pro-1
yaml-files: |
Integrations/ESPHome/TEMP_PRO-1_ETH.yaml
Integrations/ESPHome/TEMP_PRO-1_W.yaml
firmware-names: "_ETH:firmware-e,_W:firmware-w"
core-yaml-path: Integrations/ESPHome/Core.yaml
esphome-version: stable
# Bypass check if manually triggered with bypass option
check-yaml-changes: ${{ !(github.event_name == 'workflow_dispatch' && github.event.inputs.bypass-yaml-check == 'true') }}
publish-to-pages: true
has-installer: true
installer-path: static
26 changes: 21 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,34 @@ name: CI
on:
pull_request:

permissions:
# Allow GITHUB_TOKEN to add labels to pull requests
pull-requests: write
issues: write
contents: read
id-token: write

jobs:
label-check:
name: Label Check
uses: ApolloAutomation/Workflows/.github/workflows/label-check.yml@main

ci:
name: Building ${{ matrix.file }}
runs-on: ubuntu-latest
strategy:
matrix:
file: # TODO: Rename
- Integrations/ESPHome/TEMP_PRO-1.yaml
file:
- Integrations/ESPHome/TEMP_PRO-1_ETH.yaml
- Integrations/ESPHome/TEMP_PRO-1_W.yaml
esphome-version:
- stable
- beta
- dev
steps:
- name: Checkout source code
uses: actions/checkout@v4.1.7
uses: actions/checkout@v6.0.2
- name: Build ESPHome firmware to verify configuration
uses: esphome/build-action@v3.1.0
uses: esphome/build-action@v7
with:
yaml_file: ${{ matrix.file }}
yaml-file: ${{ matrix.file }}
26 changes: 26 additions & 0 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Weekly Firmware Build

on:
schedule:
- cron: '0 0 * * 1'

jobs:
build:
name: Building ${{ matrix.file }}
runs-on: ubuntu-latest
strategy:
matrix:
file:
- Integrations/ESPHome/TEMP_PRO-1_ETH.yaml
- Integrations/ESPHome/TEMP_PRO-1_W.yaml
esphome-version:
- stable
- beta
- dev
steps:
- name: Checkout source code
uses: actions/checkout@v6.0.2
- name: Build ESPHome firmware to verify configuration
uses: esphome/build-action@v7
with:
yaml-file: ${{ matrix.file }}
Loading
Loading