cdburgess / OctoPrint-FirmwareUpdater

Firmware updater with automatic updates check

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OctoPrint Firmware Updater

This plugin can be used to flash the firmware of your printer by selecting a file or an URL.

It can also check automatically for new firmwares by getting the printer's current firmware version and checking online for the latest one.

Firmware Updater Plugin

The automatic firmware update is done by detecting the current firmware version from the M115's response. This response string is parsed to identify the MACHINE_TYPE and the FIRMWARE_VERSION. This information is then sent to a web service which responds with information about the latests firmware available and the URL to download it, which is done automatically after the check.

The update check can be done automatically after connecting to the printer or manually from the plugin's dialog.

Setup

Install via the bundled Plugin Manager or manually using this URL:

https://github.com/OctoPrint/OctoPrint-FirmwareUpdater/archive/master.zip

AVRDUDE setup

AVRDUDE needs to be installed in the server, where OctoPrint is running.

Raspberry Pi

sudo apt-get update
sudo apt-get install avrdude

Ubuntu (12.04 - 14.04 - 15.04)

Information about the package needed can be found here Ubuntu avrdude package

sudo add-apt-repository ppa:pmjdebruijn/avrdude-release
sudo apt-get update
sudo apt-get install avrdude

Configuration

In order to be able to flash firmwares, we need to install avrdude and then specify it's path. The path to avrdude can be set in the plugin's configuration dialog. This can be usually found in /usr/bin/avrdude

In order to change the URL where the updates are checked you will need to edit OctoPrint's config.yaml.

About

Firmware updater with automatic updates check


Languages

Language:Python 82.2%Language:JavaScript 17.8%