(2023-02-15 version) - rewrite of older guide, this includes BLTouch and Neopixel stick firmware changes, start/end g-code and troubleshooting.
This is my process of compiling Marlin firmware for the following configuration:
Hardware:
Ender 3 Pro
Apr 7 19:21:45 raspberrypi systemd[683]: run-docker-runtime\x2drunc-moby-394ace4c80ec8e9a16a9bf2bb820e3f03449376b7b2873c2b09a6bb2fd48d344-runc.AUhPcc.mount: Succeeded. | |
Apr 7 19:21:45 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-394ace4c80ec8e9a16a9bf2bb820e3f03449376b7b2873c2b09a6bb2fd48d344-runc.AUhPcc.mount: Succeeded. | |
Apr 7 19:21:54 raspberrypi systemd[1]: Started Session 18300 of user pi. | |
Apr 7 19:21:55 raspberrypi systemd[1]: session-18300.scope: Succeeded. | |
Apr 7 19:21:58 raspberrypi systemd[683]: run-docker-runtime\x2drunc-moby-9a365823d704a7b0401a66613fe5fe7eca14529c993810b4ed65c73ec91edcef-runc.WPL92g.mount: Succeeded. | |
Apr 7 19:21:59 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-9a365823d704a7b0401a66613fe5fe7eca14529c993810b4ed65c73ec91edcef-runc.WPL92g.mount: Succeeded. | |
Apr 7 19:22:15 raspberrypi systemd[683]: run-docker-runtime\x2drunc-moby-394ace4c80ec8e9a16a9bf2bb820e3f03449376b7b2873c2b09a6bb2fd48d344-runc.nV7Car.mount: Succeeded. | |
Apr 7 19:22:24 raspberrypi systemd[1 |
[{"id":"e9f6057b.583898","type":"exec","z":"42f852c3.941c8c","command":"ssh [email protected] /sbin/apcaccess","addpay":false,"append":"","useSpawn":"false","timer":"","name":"apcaccess","x":330,"y":1080,"wires":[["fdf663d5.5d4a9","73e4509a.7bd2e","7727397d.4c9bb8"],[],[]]},{"id":"2bdb7bf1.6e87d4","type":"inject","z":"42f852c3.941c8c","name":"every 30 seconds","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"30","crontab":"","once":true,"onceDelay":"","topic":"","payload":"","payloadType":"str","x":140,"y":1080,"wires":[["e9f6057b.583898"]]},{"id":"3c80b3fe.1ed81c","type":"comment","z":"42f852c3.941c8c","name":"Extract data from a connected APC UPS via apcupsd and post to mqtt","info":"","x":610,"y":980,"wires":[]},{"id":"fdf663d5.5d4a9","type":"change","z":"42f852c3.941c8c","name":"$stats/$updated","rules":[{"t":"change","p":"topic","pt":"msg","from":"^(.*)$","fromt":"re","to":"$1/$stats/$updated","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"$now()\t","tot":"jsonata"}],"action":"","prope |
FROM python:3-alpine | |
MAINTAINER Brandon <[email protected]> | |
USER root | |
COPY ./src /src | |
RUN pip install -r /src/requirements.txt \ | |
&& chown -R 1001:1001 /src | |
USER 1001 | |
WORKDIR ["/src"] |
## Docker Compose | |
To setup a local copy of zigbee-herdsman-converters so that you can modify e.g. `devices.js` and from`Zigbee.js`; use the following instructions: | |
`cd /opt` | |
`git clone https://github.com/Koenkk/zigbee-herdsman-converters.git` | |
Now add the volumes to your `docker-compose.yml ` | |
Example: |
I am using IOTstack which works with Docker, you will need to change your node-modules directory as needed.
Stop node-red container (I used Portainer CE)
Open linux terminal/Putty
cd /home/pi/IOTstack/volumes/nodered/data/node_modules/alexa-remote2
sudo mv alexa-remote.js alexa-remote.js.BAK
Wemos D1 Mini ESP8266
https://www.wemos.cc/en/latest/d1/d1_mini.html
TFT 2.4 inch
https://www.wemos.cc/en/latest/d1_mini_shield/tft_2_4.html
GY-BME280 sensor
https://www.14core.com/wiring-the-bme280-environmental-sensor-using-i2cspi-interface-with-microcontroller/