Hallo,
in der aktuellen SVN-Version von fhem habe ich in 02_RSS.pm den Tag gif
bei der Layout-Definition entfernt und durch den Tag img ersetzt. Wer
bisher den Tag gif verwendet hat, muß diesen durch img ersetzen. Bitte
die commandref.html dazu lesen.
Wer einen 800x600er Bilderrahmen hat und sich wieder die Wetter-Icons
anzeigen lassen möchte, kann folgendes Schnipsel für seine
Layout-Definition verwenden. Bitte dazu den Thread "[FHEM] 59_Weather.pm
von Google auf Yahoo Weather API umgestellt" beachten!
e.ext.ws ist eine KS300, e.ext.Weather ist ein Weather-Device, und meine
Wetter-Icons liegen in /data/Homeautomation/fhem/FHEM/weather/.
### SCHNIPP
font /usr/share/fonts/truetype/arial.ttf
rgb c0c0c0 # HTML color notation, RGB
pt 48 # font size in points
time 20 525 # time @ (0.1*width, 0.9*height)
rgb ff0000
pt 18
pt 14
rgb c0c0c0
img 20 525 0.5 png file { "/data/Homeautomation/fhem/FHEM/weather/" . ReadingsVal("e.ext.Weather","icon","") . ".png" }
pt 18
text 100 548 { ReadingsVal("e.ext.ws","temperature","?"). "°C" }
text 100 570 { ReadingsVal("e.ext.ws","humidity","?"). "%" }
pt 10
text 35 590 { ReadingsVal("e.ext.ws","wind","?"). "km/h" }
text 90 590 { ReadingsVal("e.ext.Weather","pressure","?"). "hPa (" . ReadingsVal("e.ext.Weather","pressure_trend","?") .")" }
text 620 525 { ReadingsVal("e.ext.Weather","fc1_day_of_week","?") }
img 600 525 0.5 png file { "/data/Homeautomation/fhem/FHEM/weather/" . ReadingsVal("e.ext.Weather","fc1_icon","") . ".png" }
text 600 590 { ReadingsVal("e.ext.Weather","fc1_low_c","?")."°C" }
text 640 590 { ReadingsVal("e.ext.Weather","fc1_high_c","?")."°C" }
text 710 525 { ReadingsVal("e.ext.Weather","fc2_day_of_week","?") }
img 690 525 0.5 png file { "/data/Homeautomation/fhem/FHEM/weather/" . ReadingsVal("e.ext.Weather","fc2_icon","") . ".png" }
text 690 590 { ReadingsVal("e.ext.Weather","fc2_low_c","?")."°C" }
text 730 590 { ReadingsVal("e.ext.Weather","fc2_high_c","?")."°C" }
### SCHNAPP
Viele Grüße
Boris
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com