SIGNALduino - Custom flashCommand

Begonnen von SusisStrolch, 23 Juli 2020, 11:28:44

Vorheriges Thema - Nächstes Thema

SusisStrolch

Ich betreibe SIGNALduino auf einem LCG mit miniCUL.

00_Signalduino.pm: V3.4.4

Problem:
  obwohl ich ein Custom-flashCommand verwende, wird das flashen  mit
ParseHttpResponse, Error while flashing: avrdude is not installed. Please provide avrdude tool example: sudo apt-get install avrdude

abgebrochen.

flashCommand:
curl --http1.0 -H "Content_Type:multipart/form-data" -F "file="@[HEXFILE]"; filename=addon.hex" http://[PORT]/ota/addon.hex
Synology DS1515+, 16GB RAM, 4x 6TB WD-Red
- Docker (FHEM), MariaDB, MariaDB10, Surveillance Station
Gateways: LCG miniCUL433, LCG miniCUL868, AVR-X4000, VU-Solo SE, Kodi
ESP8266: ESPEasy (S0-Counter, Temp/Hum), Sonoff TH, Sonoff 4ch

SusisStrolch

Nachtrag:
gibts ne Möglichkeit das flashCommand bzw. einen der []-Parameter zu überarbeiten (bspw. PERL substitution)?
Hintergrund:
[PORT] wird in meinem Fall zu "192.168.254.63:85" evaluiert, ich müsste jedoch die Port-Komponente (:85) wegwerfen um die korrekte OTA-Url aufzubauen...
Synology DS1515+, 16GB RAM, 4x 6TB WD-Red
- Docker (FHEM), MariaDB, MariaDB10, Surveillance Station
Gateways: LCG miniCUL433, LCG miniCUL868, AVR-X4000, VU-Solo SE, Kodi
ESP8266: ESPEasy (S0-Counter, Temp/Hum), Sonoff TH, Sonoff 4ch