Skip to content

Presence Engine Development

From presence-detection-engine/docs/DEVELOPMENT_WORKFLOW.md:

  • Codespaces/local: edit code, run tests, commit, push.
  • ubuntu-node: USB-connected device flashing + Home Assistant access.

From presence-detection-engine/README.md:

Terminal window
cd esphome
platformio test -e native
yamllint esphome/ homeassistant/

Python E2E tests run in tests/e2e/ on ubuntu-node.

docs/DEVELOPMENT_WORKFLOW.md documents the flashing step:

Terminal window
ssh ubuntu-node
cd ~/presence-dectection-engine
esphome run esphome/bed-presence-detector.yaml
esphome logs esphome/bed-presence-detector.yaml
  • presence-detection-engine/README.md
  • presence-detection-engine/docs/DEVELOPMENT_WORKFLOW.md
  • presence-detection-engine/CONTRIBUTING.md