FHEM Forum

FHEM - Hausautomations-Systeme => Sonstige Systeme => Thema gestartet von: SusisStrolch am 23 Juli 2020, 11:28:44

Titel: SIGNALduino - Custom flashCommand
Beitrag von: SusisStrolch am 23 Juli 2020, 11:28:44
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
Titel: Antw:SIGNALduino - Custom flashCommand
Beitrag von: SusisStrolch am 23 Juli 2020, 11:58:07
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...