This project contains my mods for a Rancilio Silvia espresso machine.
This project is using Nerves and Phoenix LiveView.
Currently the versions included are:
nerves
- 1.11.1phoenix
- 1.7.18phoenix_liveview
- 1.0.1tailwindcss
- 0.2.3
The order of configuration is loaded in a specific order:
config.exs
host.exs
ortarget.exs
based onMIX_TARGET
prod.exs
,dev.exs
, ortest.exs
based onMIX_ENV
runtime.exs
at runtime
To make configuration slightly more straightforward, the application is run
with MIX_ENV=prod
when on the device. Therefore, the configuration for
phoenix on the target device is in the prod.exs
config file.
You can burn the first image with the following commands:
./scripts/deploy.sh
The next few steps are:
- Get the heat sensor (TSIC 306) working so we can detect the heat of the boiler
- Introduce the relay to control the heating element (get it working)
- Introduce the PID (pid_controller) library and understand how it works
- Insulate the boiler on the physical machine
- Implement the PID
- Work on the UI for the Dashboard