Neues Modul: ESPEInk für e-Paper Displays (Name geändert, war ESP8266EInk)

Begonnen von eki, 02 Oktober 2019, 10:24:53

Vorheriges Thema - Nächstes Thema

kkoeniger

Auf meinen zwei 7.5"-Displays erfolgt kein erfolgreicher Upload.

Uploading image to device wird in FHEM nicht aktualisiert. erst nach einem manuellen Reload der Seite steht Successfully uploaded image to device

Log (verbose = 4):
2020.03.02 10:32:02 4: Start forked process to convert output picture
2020.03.02 10:32:03 1: PERL WARNING: Invalid conversion in sprintf: end of string at ./FHEM/89_ESPEInk.pm line 1194.
2020.03.02 10:32:04 4: File /opt/fhem/www/images/test_SWBalkenStrichLogo.png opened, sizes is 640 x 384
2020.03.02 10:32:21 4: Finished conversion in background
2020.03.02 10:32:33 3: einkDiplay01: sending HTTP request to http://10.0.0.130/ with data: eb


Edit: beide ESP8266
LG,
Karl

eki

Grrr. Kannst Du bitte Deine Definitionen posten (list <devicename>).

kkoeniger

ESP32, 2.9"-Flex, funktioniert:
Internals:
   BOARDTYPE  ESP32
   CFGFN     
   COLORMODE  monochrome
   CONVERTMODE level
   DEF        /opt/fhem/www/images/eDisplayFlex/296x128.png
   DEVICETYPE 2.9inch_e-Paper_Module_(D)
   FUUID      5e5ccf94-f33f-5656-c375-c93d24b585f484b7
   INTERVAL   604800
   NAME       eDisplayFlex
   NOTIFYDEV  cmyAbfall,fp_date,fp_time,global,eDisplayFlex,cNuki
   NR         67
   NTFY_ORDER 50-eDisplayFlex
   PICTUREFILE /opt/fhem/www/images/eDisplayFlex/296x128.png
   STATE      Successfully uploaded image to device
   SUBFOLDER  images
   TYPE       ESPEInk
   URL        10.0.0.131
   .attraggr:
   .attrminint:
   READINGS:
     2020-03-02 10:49:33   result_picture  <html><img src=/fhem/images/eDisplayFlex/result.png?dummy=765010.967259311></img><div>/fhem/images/eDisplayFlex/result.png</div></html>
     2020-03-02 10:19:16   source_picture  <html><img src=/fhem/images/eDisplayFlex/296x128.png?dummy=232959.158082025></img><div>/fhem/images/eDisplayFlex/296x128.png</div></html>
   helper:
Attributes:
   alias      Flex Display 2.9" .131
   boardtype  ESP32
   colormode  monochrome
   convertmode level
   definition attr eDisplayFlex definition
textreading#fp_date:state#10#10#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
textreading#fp_time:state#105#10#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf
addtext#LUFTGÜTE#150#9#11#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
addtext#------------------------------------------------------#1#16#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
addicon#fhemicon#260#2#30#0#

addtext#PM 2.5 in µg/m³#1#25#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
addtext#12,5#150#25#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
addtext#PM 10 in µg/m³#1#40#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
addtext#Helligkeit Lux#1#55#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
addtext#UV-Index (0-3)#1#70#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
addtext# - #1#85#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf

addtext#Eingang#1#100#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cNuki:aufzu#100#100#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Abfall#1#115#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/arial.ttf
textreading#cmyAbfall:Anzeige#65#115#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf

   devicetype 2.9inch_e-Paper_Module_(D)
   disable    1
   group      Device
   icon       terminal
   interval   604800
   maxretries 3
   picturefile /opt/fhem/www/images/eDisplayFlex/296x128.png
   placement  top-left
   room       Displays
   scale2fit  0
   url        10.0.0.131
   verbose    0


7.5", ESP8266 convert=ok, kein Upload (Hier 7.5-B=rot, 2. Display=SW im Wesentlichen gleich):
Internals:
   BOARDTYPE  ESP8266
   COLORMODE  color
   CONVERTMODE dithering
   DEF        /opt/fhem/www/images/test_SWBalkenStrichLogo.png
   DEVICETYPE 7.5inch_e-Paper_HAT_(B)
   FUUID      5df261e7-f33f-5656-6753-33b686a9f40a4a33
   INTERVAL   604800
   NAME       einkDiplay01
   NOTIFYDEV  cwzbuecherregal,czSchaltpower,cazklinuxpc,cmyProPlanta,cWetter,czufalldummy,cfb_stromazpc,global,cSolar,cNuki,cvztemp,cnetatmow,einkDiplay01,cmyAbfall,fp_date,fp_time,cWetterstaion,cGaszaehler,cwzavplf
   NR         35
   NTFY_ORDER 50-einkDiplay01
   PICTUREFILE /opt/fhem/www/images/test_SWBalkenStrichLogo.png
   STATE      Successfully uploaded image to device
   SUBFOLDER  images
   TYPE       ESPEInk
   URL        10.0.0.130
   .attraggr:
   .attrminint:
   READINGS:
     2020-03-02 10:12:29   deftexts        0
     2020-03-02 10:44:15   result_picture  <html><img src=/fhem/images/einkDiplay01/result.png?dummy=19903.7965239945></img><div>/fhem/images/einkDiplay01/result.png</div></html>
     2020-03-02 10:12:29   source_picture  <html><img src=/fhem/images/einkDiplay01/test_SWBalkenStrichLogo.png?dummy=929805.819018945></img><div>/fhem/images/einkDiplay01/test_SWBalkenStrichLogo.png</div></html>
   helper:
Attributes:
   alias      rotes Display 7.5" .130
   boardtype  ESP8266
   colormode  color
   convertmode dithering
   definition attr einkDiplay01 definition
addtext#Haussteuerung#|300#10#24#0#FFFFFF#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
textreading#fp_date:state#|300#45#16#0#FFFFFF#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Aktualisierung:#530#75#8#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#fp_time:state#605#75#8#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf

addtext#Wetter heute#10#80#12#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
textreading#cWetter:fc1_condition#10#100#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
addtext#aktuelle Temperatur#10#120#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cWetterstaion:temperature{%.1f °C}#|220#120#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Luftfeuchte#10#140#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cWetterstaion:humidity{%.1f %}#|220#140#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Tageshoch#10#160#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cWetter:fc1_high_c{%.1f °C}#|220#160#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Tagestief#10#180#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cWetter:fc1_low_c{%.1f °C}#|220#180#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Windgeschwindigkeit#10#200#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cWetterstaion:windSpeed{%.1f km/h}#|220#200#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf

addtext#Wettervorschau#10#225#12#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
iconreading#cmyProPlanta:fc2_weather12Icon#60#235#50#0
iconreading#cmyProPlanta:fc3_weather12Icon#140#235#50#0
iconreading#cmyProPlanta:fc4_weather12Icon#220#235#50#0
addtext#Regen %#7#295#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
addtext#Hoch °C#7#315#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
addtext#Tief °C#7#335#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf

textreading#cmyProPlanta:fc2_chOfRain12#|90#295#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
textreading#cWetter:fc2_high_c#|90#315#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
textreading#cWetter:fc2_low_c#|90#336#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf

textreading#cmyProPlanta:fc3_chOfRain12#|170#295#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
textreading#cWetter:fc3_high_c#|170#315#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
textreading#cWetter:fc3_low_c#|170#335#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf

textreading#cmyProPlanta:fc4_chOfRain12#|250#295#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
textreading#cWetter:fc4_high_c#|250#315#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
textreading#cWetter:fc4_low_c#|250#335#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#           morgen      übermorgen       3.Tag#20#360#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf

addtext#Energie heute#315#80#12#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Photovoltaik#315#100#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cSolar:Daily.Energy{%.1f kWh}#|530#100#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Stromverbrauch                noch nicht vorhanden#315#120#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
addtext#Gasverbrauch#315#140#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cGaszaehler:verbrTagM{%.1f M3}#|530#140#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf

addtext#Status im Haus#315#160#12#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Abfall#315#180#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cmyAbfall:Anzeige#|525#180#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Eingangstuer#315#200#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cNuki:aufzu#|530#200#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Zufallslicht im WZ#315#220#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#czufalldummy:onoff#|530#220#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#AV-Anlage heute#315#240#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cwzavplf:statEnergyDay_kWh{%.1f kWh}#|530#240#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Buecherregal#315#260#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cwzbuecherregal:power{%.1f W}#|530#260#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#LAN heute#315#280#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cfb_stromazpc:statEnergyDay_kWh{%.1f kWh}#|530#280#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Linux heute#315#300#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cazklinuxpc:statEnergyDay_kWh{%.1f kWh}#|530#300#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#USB-Lader#315#320#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#czSchaltpower:power_2{%.1f W}#|530#320#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Holzhaus Grad#315#340#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cvztemp:temperature#|530#340#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
addtext#Wohnzimmer Grad#315#360#10#0#000000#/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
textreading#cnetatmow:temperature#|530#360#10#0#FF1000#/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
   devicetype 7.5inch_e-Paper_HAT_(B)
   disable    1
   group      Device
   icon       terminal
   interval   604800
   maxretries 3
   picturefile /opt/fhem/www/images/test_SWBalkenStrichLogo.png
   room       Displays
   scale2fit  1
   url        10.0.0.130
   verbose    4
LG,
Karl

Jendaw

Bei meinem 7.5B @ESP32 funktioniert sowohl die manuelle Konvertierung als auch der Upload.
Was bei mir nicht funktioniert, ist seit dem letzten Update die automatische Konvertierung. Das Internal NOTIFYDEV ist noch immer recht leer. Sowohl mit definitionFile als auch mit definition.

Internals:
   BOARDTYPE  ESP32
   COLORMODE  color
   CONVERTMODE level
   DEF        /opt/fhem/www/images/displayBackground.png
   DEVICETYPE 7.5inch_e-Paper_HAT_(B)
   FUUID      5e0a2eed-f33f-062a-705d-d867dd93f669f529
   INTERVAL   0
   NAME       system_display
   NOTIFYDEV  system_display,global
   NR         630
   NTFY_ORDER 50-system_display
   PICTUREFILE /opt/fhem/www/images/displayBackground.png
   STATE      Successfully uploaded image to device
   SUBFOLDER  images
   TYPE       ESPEInk
   URL        eink-panel
   READINGS:
     2020-02-21 15:59:02   deftexts        0
     2020-03-02 13:15:49   result_picture  <html><img src=/fhem/images/system_display/result.png?dummy=485152.098152415></img><div>/fhem/images/system_display/result.png</div></html>
     2020-02-21 15:59:01   source_picture  <html><img src=/fhem/images/system_display/displayBackground.png?dummy=795515.52887224></img><div>/fhem/images/system_display/displayBackground.png</div></html>
   helper:
Attributes:
   alias      Statusanzeige
   boardtype  ESP32
   colormode  color
   convertmode level
   definition textreading#system_time:date_w#92#18#30#0#FFFFFF#/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf#0#0
textreading#system_time:date_w#91#17#30#0#FF0000#/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf#0#0

textreading#weather_sunrise_time:state#60#100#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#weather_sunset_time:state#220#100#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0

textreading#weather_sensor1:temperature{% 2.1f}#40#150#32#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
addtext#°C#140#170#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#weather_sensor1:humidity#210#158#24#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
addtext#%#250#170#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0

addtext#heute#35#205#12#0#FF0000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#system_weather:fc0_Tn{% 2.f°C - }#20#225#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#system_weather:fc0_Tx{% 2.f°C}#60#225#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#system_weather:fc1_weekday#140#205#12#0#FF0000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#system_weather:fc1_Tn{% 2.f°C - }#110#225#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#system_weather:fc1_Tx{% 2.f°C}#150#225#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#system_weather:fc2_weekday#230#205#12#0#FF0000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#system_weather:fc2_Tn{% 2.f°C - }#200#225#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#system_weather:fc2_Tx{% 2.f°C}#240#225#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0


textreading#system_abfallAbholungen:displayText#20#270#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0

iconreading#system_display_status:status_heating#45#341#20#0#
iconreading#system_display_status:status_shutter#120#341#20#0#
iconreading#system_display_status:status_sunblind#190#341#20#0#

textreading#system_time:date_time#150#370#8#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0

# rechte Seite

iconreading#system_display_status:status_dg_bad_dach_fenster#320#80#12#0#000000

iconreading#system_display_status:status_dg_bad_fenster#320#100#12#0#000000
textreading#HM_dg_bad_thermostat:1.ACTUAL_TEMPERATURE{% 2.1f}#520#100#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#HM_dg_bad_thermostat:1.HUMIDITY#590#100#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0

iconreading#system_display_status:status_dg_kizi_fenster#320#120#12#0#000000
textreading#HM_dg_kizi_thermostat:1.ACTUAL_TEMPERATURE{% 2.1f}#520#120#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#HM_dg_kizi_thermostat:1.HUMIDITY#590#120#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0

iconreading#system_display_status:status_HM_dg_schlaZiL_tuer#320#140#12#0#000000
iconreading#system_display_status:status_HM_dg_schlaZiR_tuer#320#160#12#0#000000
textreading#HM_dg_schlazi_hzgThermostat:1.ACTUAL_TEMPERATURE{% 2.1f}#520#160#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0

iconreading#system_display_status:status_eg_wizi_fenster#320#190#12#0#000000
textreading#weather_sensor3:temperature{% 2.1f}#520#190#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#weather_sensor3:humidity#590#190#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0

iconreading#system_display_status:status_eg_bad_fenster#320#210#12#0#000000
iconreading#system_display_status:status_eg_kueche_fenster#320#230#12#0#000000
iconreading#system_display_status:status_eg_azi_fenster#320#250#12#0#FF0000

iconreading#system_display_status:status_HM_eg_wozi_linkeTerrassen_tuer#320#270#12#0#000000
textreading#HM_eg_wozi_thermostat:1.ACTUAL_TEMPERATURE{% 2.1f}#520#270#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#HM_eg_wozi_thermostat:1.HUMIDITY#590#270#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0

iconreading#system_display_status:status_HM_eg_wozi_rechteTerrassen_tuer#320#290#12#0#000000

iconreading#system_display_status:status_kg_dusche_fenster#320#320#12#0#000000
textreading#weather_sensor2:temperature{% 2.1f}#520#320#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0
textreading#weather_sensor2:humidity#590#320#12#0#000000#/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf#0#0

   devStateIcon Starting.conversion.in.background:hm-dis-wm55@green Finished.conversion.in.background:hm-dis-wm55@yellow Uploading.image.to.device:hm-dis-wm55@red Successfully.uploaded.image.to.device:hm-dis-wm55@grey
   devicetype 7.5inch_e-Paper_HAT_(B)
   group      Global
   icon       hm-dis-wm55
   interval   0
   picturefile /opt/fhem/www/images/displayBackground.png
   room       System
   timeout    50
   url        eink-panel
   verbose    4
FHEM/RaspberryMatic @RaspPi + nanoCUL 433 + Signalduino 433 + JeeLink-Clone + CC2531 + Slaesh-Stick
IT Funkschalter, HE-Sensoren, TX 29 DTH-IT, HMIP, HM-Wired, zigbee2mqtt
ESPEInk + waveshare 7.5inch_e-Paper_HAT_(B) + ESP8266 (Firmware von https://github.com/Yattien)

eki

Ich denke, das Problem liegt nicht an den Displays sondern am ESP8266 setting . Ich kann aber leider aktuell kein Problem erkennen. Kannst Du mal ein log mit verbose = 5 posten?

Das Problem mit NOTIFYDEV habe ich gefunden, kommt mit der nächsten korrigierten Version.

eki

Ist das das komplette Log? Da scheint irgendetwas abzubrechen. Die Zahlen vorne sollten bis 245760 gehen und das letzte Kommando müsste /SHOW am Ende haben.
Bei mir gerade noch mal mit mehr oder weniger Deinen Settings ausprobiert. Geht das denn mit der vorherigen Version gut?.

kkoeniger

Ich kann das Log nur als txt-file anhängen.
Im Anschluss folgten 2 Minuten lang nur mehr Events von den devices.

Jetzt habe ich eine ältere Version des 89_ESPInk.pm in FhEM geladen, dort funktioniert der Upload. Mangels Versionsangabe kann ich nur die Größe angeben, 106.338 KB, ich hatte sie am 25.2. geladen.
LG,
Karl

kkoeniger

Die letzten V heruntergeladen und Größe verglichen - die bei mir funktionierende Version ist aus Antwort #110 am: 21 Februar 2020, 15:51:37
LG,
Karl

eki

Hier nun eine Version, die das Problem hoffentlich beseitigt und mit der auch das NOTIFYDEV Problem und die Fehler mit der Drehung korrigiert sind.

kkoeniger

ESP32 funktioniert.

ESP8266 sieht schwarzweiß vergrieselt wie im Bild aus.

verbose=4 (1x convert, 2x upload):
2020.03.03 09:03:53 4: Start forked process to convert output picture
2020.03.03 09:03:53 1: PERL WARNING: Invalid conversion in sprintf: end of string at ./FHEM/89_ESPEInk.pm line 1194.
2020.03.03 09:03:55 4: File /opt/fhem/www/images/test_SWBalkenStrichLogo.png opened, sizes is 640 x 384
2020.03.03 09:04:12 4: Finished conversion in background
2020.03.03 09:04:19 3: einkDiplay01: sending HTTP request to http://10.0.0.130/EPD with data: eb
2020.03.03 09:04:32 3: einkDiplay01: problems with communication to device, trying once more (1 of 3 done)
2020.03.03 09:04:42 3: einkDiplay01: problems with communication to device, trying once more (2 of 3 done)
2020.03.03 09:04:52 3: einkDiplay01: problems with communication to device, trying once more (3 of 3 done)
2020.03.03 09:04:52 2: einkDiplay01: Upload of image currently running, try again later
2020.03.03 09:05:02 1: einkDiplay01: problems with communication to device, max retries (3) reached
2020.03.03 09:05:31 3: einkDiplay01: sending HTTP request to http://10.0.0.130/EPD with data: eb
2020.03.03 09:05:44 3: einkDiplay01: problems with communication to device, trying once more (1 of 3 done)
2020.03.03 09:05:54 3: einkDiplay01: problems with communication to device, trying once more (2 of 3 done)
2020.03.03 09:06:04 3: einkDiplay01: problems with communication to device, trying once more (3 of 3 done)
2020.03.03 09:06:14 1: einkDiplay01: problems with communication to device, max retries (3) reached
LG,
Karl

kkoeniger

Zitat von: kkoeniger am 02 März 2020, 10:21:04
Nach dem Einspielen des neuen Files, einem Update von FHEM und dessen Neustart ist als erstes mein 4. definiertes Display (2.9"-Flex) verschwunden. Grund? das zugrundeliegende Picturefile ist gelöscht worden?

...
Das scheint mir immer dann aufzutreten, wenn das picturefile der devicedefinition im Unterordner (zB /opt/fhem/www/images/eDisplayFlex/) des Displays liegt. Seit ich es in den Ordner /opt/fhem/www/images/ verschoben habe, wird das device nicht mehr gelöscht.
LG,
Karl

pepe_11

Hallo,

endlich hatte ich gestern etwas Zeit mich dem Display intensiver zu beschäftigen. Ich kann vermelden, dass zumindest bei meinem Display alle so wie erwartet funktioniert. Upload, Konvertierung funktioniert ohne Beanstandung. Das einzige was mir aufgefallen ist, ist  der Löschung der Definitionen über "removeobject". Manchmal werden nicht alle die Ausgewählt wurden, gelöscht. Eine Kleinigkeit, die nicht wirklich störend ist. Ich benutze die Version aus dem Beitrag #128.
Als nächstes ist der Dauerbetrieb an der Reihe.

Gruß
Peter

Jendaw

Zitat von: eki am 02 März 2020, 23:37:06
Hier nun eine Version, die das Problem hoffentlich beseitigt und mit der auch das NOTIFYDEV Problem und die Fehler mit der Drehung korrigiert sind.
Danke. NOTIFYDEV funktioniert (jetzt wieder) nur mit dem Attribut "definition", nicht jedoch mit "definitionFile".
FHEM/RaspberryMatic @RaspPi + nanoCUL 433 + Signalduino 433 + JeeLink-Clone + CC2531 + Slaesh-Stick
IT Funkschalter, HE-Sensoren, TX 29 DTH-IT, HMIP, HM-Wired, zigbee2mqtt
ESPEInk + waveshare 7.5inch_e-Paper_HAT_(B) + ESP8266 (Firmware von https://github.com/Yattien)

eki

Noch ein Versuch bezüglich Problem mit ESP8266, sollte jetzt auch bezüglich NOTIFYDEF für definitionfile gehen.

kkoeniger

LG,
Karl