Kindle als Fhem-Display

Begonnen von alexmetz, 25 März 2014, 22:59:15

Vorheriges Thema - Nächstes Thema

AHA1805

Hallo

wer noch einen günstigen Kindle Touch braucht,
den bekommt man im Moment für 49€ und wenn man sich am Saturn Newletter anmeldet sogar für 44€.
http://www.mytopdeals.net/allgemein/info-neues-einsteiger-kindle/

Ich hoffe, es stört niemanden, dass ich den Link poste ???

Kann man den auch Jailbreaken und für FHEM verwenden?

Gruß Hannes
AHA 1805 RIP 29.08.2016 --> RUHE IN FRIEDEN
In Gedanken Bei dir HANNES
Dein Bruder Gerd (Inputsammler) Vermisst dich Hannes (AHA1805)

micomat

Der Touch sollte von der Software her aehnlich dem PaperWhite sein.
Muesste also problemlos funktionieren.

Gruß
Markus
Synology DS218+ with fhem+iobroker in docker, 2x RasPi w. ser2net, CUL433+868, IT, EGPM2LAN, THZ/LWZ, FB_Callmonitor, HMS100TF, Homematic, 2x TX3-TH, Pushover, USB-IR-SML-Head, SONOS, GHoma, MBus, KLF200

Timmy.m

So, jetzt habe ich auch meinen Kindle4.

Leider habe ich das Problem, dass die verlinkten Wetter Icons nicht dargestellt werden. In der SVG sind sie vorhanden und in der PNG sind wie weg.
Ich habe gelesen, dass das Problem eigentlich im aktuellen FReplacer behoben wurde. Wenn ich jedoch das folgende Attribut verwende, wird gar keine PNG mehr erstellt.

attr fr PostCommand bash -c 'inkscape /opt/fhem/www/images/status.svg -e=tmp.png;; convert tmp.png -type GrayScale -depth 8 /opt/fhem/www/images/status.png' >/dev/null 2>&1 &

Was mache ich falsch?

Grüße Tim
FHEM5.9@RaspPi.3B|HMLAN|CUL868V3|1Wire|HUE|FritzBox|BotVacDconnected|3xKindleDisplay|
FHEM2FHEM|
FHEM5.9@RaspPi.2B|nanoCul868|TCM310|JeeLinkClone|RFXTRX433E|ZWave|Zigbee|xiaomi
RaspberryMatic@RaspPi.3B+ in Planung

StefanStrobel

Hallo Tim,

Was passiert denn wenn Du die Befehle zur Konvertierung manuell in einer Shell ausführst (ohne die Ausgabeumleitung und den Bash Aufruf)


inkscape /opt/fhem/www/images/status.svg -e=tmp.png
convert tmp.png -type GrayScale -depth 8 /opt/fhem/www/images/status.png


Gruß
   Stefan

Timmy.m

Hallo Stefan.

Danke für Deine Antwort. Es kommt die Meldung:

-bash: inkscape: Kommando nicht gefunden.

Habe ich irgendetwas überlesen... muss man noch etwas auf meinem Raspberry Pi installieren?

Grüße Tim
FHEM5.9@RaspPi.3B|HMLAN|CUL868V3|1Wire|HUE|FritzBox|BotVacDconnected|3xKindleDisplay|
FHEM2FHEM|
FHEM5.9@RaspPi.2B|nanoCul868|TCM310|JeeLinkClone|RFXTRX433E|ZWave|Zigbee|xiaomi
RaspberryMatic@RaspPi.3B+ in Planung

StefanStrobel

Hallo Tim,

ja, inkscape scheint zu fehlen.
sollte einfach mit apt-get install inkscape zu installieren sein.

Gruss
   Stefan

Timmy.m

Hallo Stefan.

Danke für Deine Antwort. Nach der Installation kommen nun die folgenden Fehler, wenn ich den Befehl über SSH ausführe:



** (inkscape:9363): WARNING **: --export-use-hints can only be used with --export-id or --export-area-drawing; ignored.

** (inkscape:9363): WARNING **: DPI value epth out of range [0.1 - 10000.0]. Nothing exported.

** (inkscape:9363): CRITICAL **: Inkscape::XML::Document* sp_repr_read_file(const gchar*, const gchar*): assertion `Inkscape::IO::file_test( filename, G_FILE_TEST_EXISTS )' failed

** (inkscape:9363): CRITICAL **: Inkscape::XML::Document* sp_repr_read_file(const gchar*, const gchar*): assertion `Inkscape::IO::file_test( filename, G_FILE_TEST_EXISTS )' failed

** (inkscape:9363): WARNING **: Specified document convert cannot be opened (does not exist or not a valid SVG file)

(inkscape:9363): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(inkscape:9363): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(inkscape:9363): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(inkscape:9363): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(inkscape:9363): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)' failed

(inkscape:9363): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)' failed

(inkscape:9363): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)' failed

(inkscape:9363): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)' failed

(inkscape:9363): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_attributes: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_attributes: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_wrap: assertion `PANGO_IS_LAYOUT (layout)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(inkscape:9363): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_screen_get_width: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_get_line_count: assertion `layout != NULL' failed

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: Error: Inkscape ist auf einen internen Fehler gestoßen und wird nun geschlossen.


(inkscape:9363): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(inkscape:9363): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed

(inkscape:9363): Gdk-CRITICAL **: IA__gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
Speicherzugriffsfehler


Grüße Tim
FHEM5.9@RaspPi.3B|HMLAN|CUL868V3|1Wire|HUE|FritzBox|BotVacDconnected|3xKindleDisplay|
FHEM2FHEM|
FHEM5.9@RaspPi.2B|nanoCul868|TCM310|JeeLinkClone|RFXTRX433E|ZWave|Zigbee|xiaomi
RaspberryMatic@RaspPi.3B+ in Planung

StefanStrobel

Hallo Tim,

Solche Fehlermeldungen hab ich mal bekommen, als ich versehentlich inkscape mit einem PNG-File statt einem SVG-File aufgerufen habe...
Prüf doch noch mal ob der Aufruf korrekt ist und ob Du ein gültiges SVG-File übergibst.

Gruss 
    Stefan

StefanStrobel

#278
Hallo,

anbei eine neue Anpassung des onlinescreensavers für den Kindle 4.
Ich habe inzwischen eine Build-Umgebung auf Basis von CrossTool NG nach der Anleitung von NiLuJe aufgesetzt und damit rtcwake compiliert. Damit kann man den K4 während er im Screesnaver-Modus auf das nächste update wartet schlafen legen und dann per Alarm der RTC wieder aufwecken. Das senkt den Stromverbrauch...
Wer auch einen K4 als Fhem-Display verwendet und mutig ist, kann es gerne testen.

Die angehängten Dateien einfach ausgepackt ins bin-Verzeichnis des onlinescreensavers kopieren (/mnt/us/extensions/onlinescreensaver/bin/)
Vorsicht! Auf neueren Kindles bringt es nichts und führt möglicherweise zum crash ...

Gruss
   Stefan

Timmy.m

#279
Hallo Stefan.

Zitatanbei eine neue Anpassung des onlinescreensavers für den Kindle 4.
Habe Deine Änderung eingespielt. Schön, dass die Batterieanzeige nun standardmäßig implementiert ist. Leider kann ich keine Stromeinsparung feststellen. Nach zwei Tagen ist der Akku leer.


ZitatPrüf doch noch mal ob der Aufruf korrekt ist und ob Du ein gültiges SVG-File übergibst.

Also ich verwende diesen Aufruf über SSH.

inkscape /opt/fhem/www/images/status.svg -e=tmp.png
convert tmp.png -type GrayScale -depth 8 /opt/fhem/www/images/status.png


Ich sehe nur keinen Fehler.

Grüße Tim
FHEM5.9@RaspPi.3B|HMLAN|CUL868V3|1Wire|HUE|FritzBox|BotVacDconnected|3xKindleDisplay|
FHEM2FHEM|
FHEM5.9@RaspPi.2B|nanoCul868|TCM310|JeeLinkClone|RFXTRX433E|ZWave|Zigbee|xiaomi
RaspberryMatic@RaspPi.3B+ in Planung

StefanStrobel

Hallo Tim,

wenn inkscape trotz gültiger SVG-Datei nur Fehler ausgibt, müsste was mit der Installation nicht stimmen.
Kannst Du die SVG-Datei denn im Browser ansehen? Wie sehen denn die ersten Zeilen der Datei aus?

Zur Stromeinsparung: wie sind denn Deine Update-Intervalle? Je häufiger das ist, umso weniger kann der Kindle schlafen. Bei mir hält er inzwischen 4-5 Tage bei 10 minütigen Updates am Tag.

Gruss
   Stefan

micomat

danke fuer das update :)
ich habe mir fuer meine K4's mittlerweile Dockingstations gekauft bzw selbst gebastelt.
das schien mir am geeignetsten um nicht immer laden zu muessen.
Synology DS218+ with fhem+iobroker in docker, 2x RasPi w. ser2net, CUL433+868, IT, EGPM2LAN, THZ/LWZ, FB_Callmonitor, HMS100TF, Homematic, 2x TX3-TH, Pushover, USB-IR-SML-Head, SONOS, GHoma, MBus, KLF200

Timmy.m

ZitatKannst Du die SVG-Datei denn im Browser ansehen? Wie sehen denn die ersten Zeilen der Datei aus?

Im Chrome Browser ist alles ok. In Internet Explorer 11 sind die Wetter-Icons zu groß.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape

(http://www.inkscape.org/) -->

<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   

xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   

xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   

xmlns:xlink="http://www.w3.org/1999/xlink"
   

xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   

xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="600"
   height="800"
   

id="svg3517"
   version="1.1"
   inkscape:version="0.48.5 r10040"
   

sodipodi:docname="KindleDisplay_Vorlage.svg">
  <defs
     id="defs3519">
    <inkscape:perspective
     

sodipodi:type="inkscape:persp3d"
       inkscape:vp_x="0 : 400 : 1"
       inkscape:vp_y="0 : 1000 :

0"
       inkscape:vp_z="600 : 400 : 1"
       inkscape:persp3d-origin="300 : 266.66667 : 1"
       

id="perspective3204" />
    <style
       id="style3041"
       type="text/css">
   
    .fil0

{fill:#040404}
    .fil1 {fill:#2B2A29}
   
  </style>
    <style
       id="style3075"
       

type="text/css">
   
    .fil0 {fill:#040404}
    .fil1 {fill:#2B2A29}
   
  </style>
    <style
       

id="style3117"
       type="text/css">
   
    .fil0 {fill:#040404}
    .fil1 {fill:#2B2A29}
   
  </style>


</defs>
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     

borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="1"
 

   inkscape:cx="432.74618"
     inkscape:cy="306.34516"
     inkscape:current-layer="layer1"
     

inkscape:document-units="px"
     showgrid="false"
     width="758px"
     inkscape:window-width="1600"
 

   inkscape:window-height="838"
     inkscape:window-x="-8"
     inkscape:window-y="-8"
     

inkscape:window-maximized="1"
     showguides="true"
     inkscape:guide-bbox="true">
   

<sodipodi:guide
       orientation="1,0"
       position="363.80644,696.58857"
       id="guide3084" />
 

</sodipodi:namedview>
  <metadata
     id="metadata3522">
    <rdf:RDF>
      <cc:Work
         

rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           

rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title />
      </cc:Work>
   

</rdf:RDF>
  </metadata>
  <g
     id="layer1"
     inkscape:label="Layer 1"
     

inkscape:groupmode="layer"
     transform="translate(0,32.00001)">
    <flowRoot
       

xml:space="preserve"
       id="flowRoot3536"
       style="font-size:40px;font-style:normal;font-

weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:none;stroke:none;font-

family:Sans"><flowRegion
         id="flowRegion3538"><rect
           id="rect3540"
           

width="270"
           height="242"
           x="20"
           y="178" /></flowRegion><flowPara
       

id="flowPara3542" /></flowRoot>    <text
       xml:space="preserve"
       style="font-

size:83.25596619px;font-style:normal;font-variant:normal;font-weight:normal;font-

stretch:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-

tb;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-

specification:Arial"
       x="317.48318"
       y="164.63472"
       id="text5608"
       

sodipodi:linespacing="125%"
       transform="scale(0.96924695,1.0317288)"><tspan
         

sodipodi:role="line"
         id="tspan5610"
         x="317.48318"
         y="164.63472"
         

style="font-size:83.25596619px;font-style:normal;font-variant:normal;font-weight:normal;font-

stretch:normal;text-align:end;line-height:125%;writing-mode:lr-tb;text-anchor:end;font-

family:Arial;-inkscape-font-specification:Arial">17.3</tspan></text>
    <text
       

xml:space="preserve"
       style="font-size:41.62798309px;font-style:normal;font-

variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-

spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-

opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
       x="319.68289"
       

y="165.79105"
       id="text5612"
       sodipodi:linespacing="125%"
       transform="scale

(0.96924695,1.0317288)"><tspan
         sodipodi:role="line"
         id="tspan5614"
         

x="319.68289"
         y="165.79105"
         style="font-size:41.62798309px;font-style:normal;font-

variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-

mode:lr-tb;text-anchor:start;font-family:Arial;-inkscape-font-specification:Arial">°C</tspan></text>


hier mal einen Ausschnitt der Datei... leider kann ich gerade keine Datei anhängen.

Grüße Tim
FHEM5.9@RaspPi.3B|HMLAN|CUL868V3|1Wire|HUE|FritzBox|BotVacDconnected|3xKindleDisplay|
FHEM2FHEM|
FHEM5.9@RaspPi.2B|nanoCul868|TCM310|JeeLinkClone|RFXTRX433E|ZWave|Zigbee|xiaomi
RaspberryMatic@RaspPi.3B+ in Planung

mattes1007

#283
Zitat von: StefanStrobel am 23 Dezember 2014, 11:01:45
Hallo,

anbei eine neue Anpassung des onlinescreensavers für den Kindle 4.
Ich habe inzwischen eine Build-Umgebung auf Basis von CrossTool NG nach der Anleitung von NiLuJe aufgesetzt und damit rtcwake compiliert. Damit kann man den K4 während er im Screesnaver-Modus auf das nächste update wartet schlafen legen und dann per Alarm der RTC wieder aufwecken. Das senkt den Stromverbrauch...
Wer auch einen K4 als Fhem-Display verwendet und mutig ist, kann es gerne testen.

Die angehängten Dateien einfach ausgepackt ins bin-Verzeichnis des onlinescreensavers kopieren (/mnt/us/extensions/onlinescreensaver/bin/)
Vorsicht! Auf neueren Kindles bringt es nichts und führt möglicherweise zum crash ...

Gruss
   Stefan

Hi,

muss man da vorher was an den t1/t2_timeouts ändern ( momentan wie im Wiki eingestellt)

Edit:
Hab das jetzt einfach mal versucht und die Dateien ausgetauscht. Von alleine aktualisiert er nicht mehr.
Weder Netzbetrieb noch Akku.
Was mir aber dann aufgefallen ist: Wenn ich das Netzkabel ab- und dann wir anstecke aktualisiert er.
Dann aber nicht mehr. Kabel wieder ab/dran...sofort aktualisiert.
Woran könnte das liegen ??

Gruß mattes

Timmy.m

#284
Mir ist aufgefallen, dass "Rep##Regex"Werte, die mit # anfangen irgendwann in 1 umgeändert werden.

Grüße Tim
FHEM5.9@RaspPi.3B|HMLAN|CUL868V3|1Wire|HUE|FritzBox|BotVacDconnected|3xKindleDisplay|
FHEM2FHEM|
FHEM5.9@RaspPi.2B|nanoCul868|TCM310|JeeLinkClone|RFXTRX433E|ZWave|Zigbee|xiaomi
RaspberryMatic@RaspPi.3B+ in Planung