Open tatemz opened 4 years ago
Very nice work.
I've also created a simple update script so updating will be easier in the future.
I am using a RPi B+ and the bundled arduino-cli is the armv7 so it does not work, it needs to be the armv6 for that RPi.
@renatose could you enable debugging in the settings and find out in the internal log if you find what it says after self.arduino_cli_path=
?
Candle Manager does have built in support for ArmV6 already.
I was wrong, it did not. I'm adding it now.
I posted this issue in the docker image repo (https://github.com/mozilla-iot/gateway-docker/issues/42), but have since found more info on the problem. The
arduino-cli
that comes pre-packaged in theCandle-manager-addon
does not work within themozillaiot/gateway
Docker image (which is based onnode:12-buster-slim
). The workaround for me was to download thearduino-cli
from https://arduino.github.io/arduino-cli/installation/ and update the SHA256SUMS file (usingsed
).Here's my docker create/startup script that installs the addon and performs the above workaround.