-
Notifications
You must be signed in to change notification settings - Fork 0
Development
Dan Roberts edited this page Jan 16, 2026
·
1 revision
This repo is a split Arduino sketch so changes are easier to review and you can use Git diffs effectively.
Suggested workflow:
- Keep behavior changes small per commit.
- Prefer “one feature or fix per PR” style.
- Capture Serial logs in issues when reporting bugs.
- Open
BedJetMatterBridge.ino. - Select board + port.
- Ensure your Arduino-ESP32 core provides Matter (
#include <Matter.h>). - Flash and monitor Serial at 115200.
This repo currently targets Arduino IDE style. If you add PlatformIO support, consider:
- adding
platformio.ini - defining
BOOT_PINvia build flags for boards that differ - documenting tested platform + versions
The bridge intentionally avoids full JSON parsing for footprint/simplicity. Current behavior:
-
/api/stateis fetched as a string - the bridge extracts:
-
ble_connected(optional) -
status_summary(required)
-
- the
status_summarystring is parsed for tokens
If BedJetWebSchedule evolves, you have two options:
- Keep
status_summarystable and update parsing tokens - Add a lightweight JSON parser (trade-off: footprint and complexity)
Right now the bridge exposes Thermostat + Fan.
If you add more endpoints/clusters:
- keep the “suppress update” pattern to prevent write-back loops
- decide whether BedJetWebSchedule needs new endpoints or a richer schema
- document the mapping in the wiki
- This is a home automation project controlling heat/cool.
- Always clamp ranges, validate inputs, and default conservative.
- Avoid blocking calls in the main loop beyond short retries/timeouts.
- Update wiki page(s) if user-facing behavior changes
- Add/refresh troubleshooting notes if applicable
- Test: setup portal, Wi‑Fi join, Matter pairing, command round-trip
BedJet Matter Bridge • ESP32 Matter Thermostat/Fan bridge for BedJetWebSchedule by Dan Roberts