layout 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. font /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
  2. rgb c0c0c0 # HTML color notation, RGB
  3. pt 18
  4. date 25 470
  5. pt 48 # font size in points
  6. time 20 525 # time @ (0.1*width, 0.9*height)
  7. pt 18
  8. img 20 525 0.5 png file { "www/images/default/weather/" . ReadingsVal("Weather","icon","") . ".png" }
  9. pt 18
  10. text 104 548 { ReadingsVal("Weather","temperature","?"). "°C" }
  11. text 104 570 { ReadingsVal("Weather","humidity","?"). "%" }
  12. pt 10
  13. text 35 590 { ReadingsVal("Weather","wind","?") ."km/h" }
  14. text 90 590 { ReadingsVal("Weather","pressure","?"). "hPa " . ReadingsVal("Weather","pressure_trend_sym","?") }
  15. text 350 525 { ReadingsVal("Weather","fc1_day_of_week","?") }
  16. img 330 525 0.5 png file { "www/images/default/weather/" . ReadingsVal("Weather","fc1_icon","") . ".png" }
  17. text 330 590 { ReadingsVal("Weather","fc1_low_c","?")."°C" }
  18. text 370 590 { ReadingsVal("Weather","fc1_high_c","?")."°C" }
  19. text 440 525 { ReadingsVal("Weather","fc2_day_of_week","?") }
  20. img 420 525 0.5 png file { "www/images/default/weather/" . ReadingsVal("Weather","fc2_icon","") . ".png" }
  21. text 420 590 { ReadingsVal("Weather","fc2_low_c","?")."°C" }
  22. text 460 590 { ReadingsVal("Weather","fc2_high_c","?")."°C" }
  23. text 530 525 { ReadingsVal("Weather","fc3_day_of_week","?") }
  24. img 510 525 0.5 png file { "www/images/default/weather/" . ReadingsVal("Weather","fc3_icon","") . ".png" }
  25. text 510 590 { ReadingsVal("Weather","fc3_low_c","?")."°C" }
  26. text 550 590 { ReadingsVal("Weather","fc3_high_c","?")."°C" }
  27. text 620 525 { ReadingsVal("Weather","fc4_day_of_week","?") }
  28. img 600 525 0.5 png file { "www/images/default/weather/" . ReadingsVal("Weather","fc4_icon","") . ".png" }
  29. text 600 590 { ReadingsVal("Weather","fc4_low_c","?")."°C" }
  30. text 640 590 { ReadingsVal("Weather","fc4_high_c","?")."°C" }
  31. text 710 525 { ReadingsVal("Weather","fc5_day_of_week","?") }
  32. img 690 525 0.5 png file { "www/images/default/weather/" . ReadingsVal("Weather","fc5_icon","") . ".png" }
  33. text 690 590 { ReadingsVal("Weather","fc5_low_c","?")."°C" }
  34. text 730 590 { ReadingsVal("Weather","fc5_high_c","?")."°C" }
  35. text 735 15 { sunrise_abs("REAL") }
  36. text 735 30 { sunset_abs("REAL") }