Hallo zusammen,
für Wetter gibts ja kein echtes Template, gibt es die Möglichkeit es optisch etwas anzupassen?
würde es gerne mit Charts in mein Dashboard nehmen, aber, eingeklappt ist es zu klein, ausgeklappt zu groß :)
Nett wäre, wenn man irgendwie einstellen könnte was man in der eingeklappten Ansicht sehen will.
Ideen?
Lg
Jens
Zitat von: draddy am 18 März 2022, 14:17:57
Hallo zusammen,
für Wetter gibts ja kein echtes Template, gibt es die Möglichkeit es optisch etwas anzupassen?
würde es gerne mit Charts in mein Dashboard nehmen, aber, eingeklappt ist es zu klein, ausgeklappt zu groß :)
Nett wäre, wenn man irgendwie einstellen könnte was man in der eingeklappten Ansicht sehen will.
Ideen?
Lg
Jens
Hallo,
bisher bietet das Wettertemplate keine Möglichkeit Inhalte anzupassen. Ich bin aber für Ideen offen, wie man das generisch aufbauen könnte.
hm,
also, für mich wäre ein layout "large" (nicht expanded) gut, wo quasi der obere Teil angezeigt wird;
heiter
luftdruck wind
Aktueller Tag
das ganze vll etwas gezogen / gestreckt, das es von der höhe gleich der Charts ist ^^
...... und ich fände es super, wenn das nicht nur mit Darksky und Proplanta funktionieren würde, sondern auch mit OpenWeatherMapAPI und DWD-Opendata :D :-X
Ich verwende bisher die darksky und hatte proplanta mal noch dazu gebaut. Besser ist es natürlich, wenn das Weather-Template auf alle anwendbar ist. Im Grund sollte das auch gehen.
Jedoch benötige ich für OpenWeatherMapAPI und DWD-Opendata bitte mal jeweils ein List von einem Device.
Bitte mal hier posten.
Zitat von: jemu75 am 27 März 2022, 14:26:15
Jedoch benötige ich für OpenWeatherMapAPI und DWD-Opendata bitte mal jeweils ein List von einem Device.
Bitte mal hier posten.
Sehr gerne.
Hier einmal von OpenWeatherMap:
Internals:
API OpenWeatherMapAPI
APIKEY xxxxxxxxxxxxxxxx
APIOPTIONS cachemaxage:600
DEF API=OpenWeatherMapAPI,cachemaxage:600 apikey=xxxxxxxxxxxxxx interval=1800
FUUID 5e83787f-f33f-bf2d-b528-6b8264bccf0c9419
FVERSION 59_Weather.pm:v2.1.4-s22982/2020-10-17
INTERVAL 1800
LANG de
MODEL OpenWeatherMapAPI
NAME Stuttgart_Wetter
NOTIFYDEV global
NR 92
NTFY_ORDER 50-Stuttgart_Wetter
STATE T: 2 °C F: 80 % W: 4 km/h P: 1024 hPa
TYPE Weather
VERSION v2.1.4
Helper:
DBLOG:
hfc1_humidity:
logdb:
TIME 1648444374.38847
VALUE 75
hfc1_tempHigh:
logdb:
TIME 1648426357.50108
VALUE 8
hfc1_tempLow:
logdb:
TIME 1648444374.38847
VALUE 3
hfc1_temp_c:
logdb:
TIME 1648444374.38847
VALUE 3
hfc1_temperature:
logdb:
TIME 1648444374.38847
VALUE 3
hfc2_humidity:
logdb:
TIME 1648444374.38847
VALUE 67
hfc2_tempHigh:
logdb:
TIME 1648437170.52214
VALUE 15
hfc2_tempLow:
logdb:
TIME 1648444374.38847
VALUE 7
hfc2_temp_c:
logdb:
TIME 1648444374.38847
VALUE 7
hfc2_temperature:
logdb:
TIME 1648444374.38847
VALUE 7
hfc3_humidity:
logdb:
TIME 1648444374.38847
VALUE 49
hfc3_tempHigh:
logdb:
TIME 1648437170.52214
VALUE 19
hfc3_tempLow:
logdb:
TIME 1648444374.38847
VALUE 14
hfc3_temp_c:
logdb:
TIME 1648444374.38847
VALUE 14
hfc3_temperature:
logdb:
TIME 1648444374.38847
VALUE 14
hfc4_humidity:
logdb:
TIME 1648437170.52214
VALUE 32
hfc4_tempHigh:
logdb:
TIME 1648437170.52214
VALUE 20
hfc4_tempLow:
logdb:
TIME 1648437170.52214
VALUE 20
hfc4_temp_c:
logdb:
TIME 1648437170.52214
VALUE 20
hfc4_temperature:
logdb:
TIME 1648437170.52214
VALUE 20
hfc5_humidity:
logdb:
TIME 1648437170.52214
VALUE 52
hfc5_tempHigh:
logdb:
TIME 1648437170.52214
VALUE 14
hfc5_tempLow:
logdb:
TIME 1648437170.52214
VALUE 14
hfc5_temp_c:
logdb:
TIME 1648437170.52214
VALUE 14
hfc5_temperature:
logdb:
TIME 1648437170.52214
VALUE 14
hfc6_humidity:
logdb:
TIME 1648437170.52214
VALUE 61
hfc6_tempHigh:
logdb:
TIME 1648437170.52214
VALUE 12
hfc6_tempLow:
logdb:
TIME 1648437170.52214
VALUE 12
hfc6_temp_c:
logdb:
TIME 1648437170.52214
VALUE 12
hfc6_temperature:
logdb:
TIME 1648437170.52214
VALUE 12
hfc7_humidity:
logdb:
TIME 1648437170.52214
VALUE 65
hfc7_tempHigh:
logdb:
TIME 1648437170.52214
VALUE 11
hfc7_tempLow:
logdb:
TIME 1648437170.52214
VALUE 11
hfc7_temp_c:
logdb:
TIME 1648437170.52214
VALUE 11
hfc7_temperature:
logdb:
TIME 1648437170.52214
VALUE 11
hfc8_humidity:
logdb:
TIME 1648437170.52214
VALUE 68
hfc8_tempHigh:
logdb:
TIME 1648437170.52214
VALUE 10
hfc8_tempLow:
logdb:
TIME 1648437170.52214
VALUE 10
hfc8_temp_c:
logdb:
TIME 1648437170.52214
VALUE 10
hfc8_temperature:
logdb:
TIME 1648437170.52214
VALUE 10
hfc9_humidity:
logdb:
TIME 1648437170.52214
VALUE 66
hfc9_tempHigh:
logdb:
TIME 1648415545.7432
VALUE 10
hfc9_tempLow:
logdb:
TIME 1648415545.7432
VALUE 10
hfc9_temp_c:
logdb:
TIME 1648415545.7432
VALUE 10
hfc9_temperature:
logdb:
TIME 1648415545.7432
VALUE 10
humidity:
logdb:
TIME 1648446175.57667
VALUE 80
humidity_avg_day:
logdb:
TIME 1648420949.10789
VALUE 52.0
humidity_max_day:
logdb:
TIME 1648420949.10789
VALUE 72.0
humidity_min_day:
logdb:
TIME 1648420949.10789
VALUE 24.0
tempFeelsLike_c:
logdb:
TIME 1648446175.57667
VALUE 2
tempHigh:
logdb:
TIME 1648446175.57667
VALUE 2
tempLow:
logdb:
TIME 1648446175.57667
VALUE 2
temp_c:
logdb:
TIME 1648446175.57667
VALUE 2
temperature:
logdb:
TIME 1648446175.57667
VALUE 2
temperature_avg_day:
logdb:
TIME 1648420949.10789
VALUE 11.5
temperature_max_day:
logdb:
TIME 1648420949.10789
VALUE 21.0
temperature_min_day:
logdb:
TIME 1648420949.10789
VALUE 4.0
READINGS:
2022-03-28 07:42:54 apiMaintainer Marko Oldenburg (<a href=https://forum.fhem.de/index.php?action=profile;u=13684>CoolTux</a>)
2022-03-28 07:42:54 apiVersion v1.0.3
2022-03-28 07:42:54 city Stadtkreis Stuttgart
2022-03-28 07:42:54 cloudCover 0
2022-03-28 07:42:54 code 32
2022-03-28 07:42:54 condition Klarer Himmel
2022-03-28 07:42:54 country DE
2022-03-28 07:42:54 current_date_time Mo, 28 Mär 2022 07:42
2022-03-28 07:42:54 hfc1_cloudCover 0
2022-03-28 07:42:54 hfc1_code 32
2022-03-28 07:42:54 hfc1_condition Klarer Himmel
2022-03-28 07:42:54 hfc1_day_of_week Mo, 07:00
2022-03-28 07:42:54 hfc1_high_c 8
2022-03-28 07:42:54 hfc1_humidity 75
2022-03-28 07:42:54 hfc1_icon sunny
2022-03-28 07:42:54 hfc1_iconAPI 01d
2022-03-28 07:42:54 hfc1_low_c 3
2022-03-28 07:42:54 hfc1_pressure 1024
2022-03-28 07:42:54 hfc1_pubDate Mo, 28 Mär 2022 07:00
2022-03-18 01:00:14 hfc1_rain3h 0.12
2022-02-11 06:34:29 hfc1_snow3h 1.95
2022-03-28 07:42:54 hfc1_tempHigh 8
2022-03-28 07:42:54 hfc1_tempLow 3
2022-03-28 07:42:54 hfc1_temp_c 3
2022-03-28 07:42:54 hfc1_temperature 3
2022-03-28 07:42:54 hfc1_wind 5
2022-03-28 07:42:54 hfc1_wind_gust 6
2022-03-28 07:42:54 hfc1_wind_speed 5
2022-03-28 07:42:54 hfc2_cloudCover 0
2022-03-28 07:42:54 hfc2_code 32
2022-03-28 07:42:54 hfc2_condition Klarer Himmel
2022-03-28 07:42:54 hfc2_day_of_week Mo, 10:00
2022-03-28 07:42:54 hfc2_high_c 15
2022-03-28 07:42:54 hfc2_humidity 67
2022-03-28 07:42:54 hfc2_icon sunny
2022-03-28 07:42:54 hfc2_iconAPI 01d
2022-03-28 07:42:54 hfc2_low_c 7
2022-03-28 07:42:54 hfc2_pressure 1024
2022-03-28 07:42:54 hfc2_pubDate Mo, 28 Mär 2022 10:00
2022-03-17 21:59:50 hfc2_rain3h 0.12
2022-02-11 03:34:12 hfc2_snow3h 1.95
2022-03-28 07:42:54 hfc2_tempHigh 15
2022-03-28 07:42:54 hfc2_tempLow 7
2022-03-28 07:42:54 hfc2_temp_c 7
2022-03-28 07:42:54 hfc2_temperature 7
2022-03-28 07:42:54 hfc2_wind 5
2022-03-28 07:42:54 hfc2_wind_gust 8
2022-03-28 07:42:54 hfc2_wind_speed 5
2022-03-28 07:42:54 hfc3_cloudCover 0
2022-03-28 07:42:54 hfc3_code 32
2022-03-28 07:42:54 hfc3_condition Klarer Himmel
2022-03-28 07:42:54 hfc3_day_of_week Mo, 13:00
2022-03-28 07:42:54 hfc3_high_c 19
2022-03-28 07:42:54 hfc3_humidity 49
2022-03-28 07:42:54 hfc3_icon sunny
2022-03-28 07:42:54 hfc3_iconAPI 01d
2022-03-28 07:42:54 hfc3_low_c 14
2022-03-28 07:42:54 hfc3_pressure 1023
2022-03-28 07:42:54 hfc3_pubDate Mo, 28 Mär 2022 13:00
2022-03-17 15:59:22 hfc3_rain3h 0.21
2022-02-25 12:13:51 hfc3_snow3h 0.33
2022-03-28 07:42:54 hfc3_tempHigh 19
2022-03-28 07:42:54 hfc3_tempLow 14
2022-03-28 07:42:54 hfc3_temp_c 14
2022-03-28 07:42:54 hfc3_temperature 14
2022-03-28 07:42:54 hfc3_wind 6
2022-03-28 07:42:54 hfc3_wind_gust 13
2022-03-28 07:42:54 hfc3_wind_speed 6
2022-03-28 07:42:54 hfc4_cloudCover 1
2022-03-28 07:42:54 hfc4_code 32
2022-03-28 07:42:54 hfc4_condition Klarer Himmel
2022-03-28 07:42:54 hfc4_day_of_week Mo, 16:00
2022-03-28 07:42:54 hfc4_high_c 20
2022-03-28 07:42:54 hfc4_humidity 32
2022-03-28 07:42:54 hfc4_icon sunny
2022-03-28 07:42:54 hfc4_iconAPI 01d
2022-03-28 07:42:54 hfc4_low_c 20
2022-03-28 07:42:54 hfc4_pressure 1019
2022-03-28 07:42:54 hfc4_pubDate Mo, 28 Mär 2022 16:00
2022-03-17 13:01:05 hfc4_rain3h 0.27
2022-02-25 10:13:38 hfc4_snow3h 0.33
2022-03-28 07:42:54 hfc4_tempHigh 20
2022-03-28 07:42:54 hfc4_tempLow 20
2022-03-28 07:42:54 hfc4_temp_c 20
2022-03-28 07:42:54 hfc4_temperature 20
2022-03-28 07:42:54 hfc4_wind 12
2022-03-28 07:42:54 hfc4_wind_gust 16
2022-03-28 07:42:54 hfc4_wind_speed 12
2022-03-28 07:42:54 hfc5_cloudCover 3
2022-03-28 07:42:54 hfc5_code 32
2022-03-28 07:42:54 hfc5_condition Klarer Himmel
2022-03-28 07:42:54 hfc5_day_of_week Mo, 19:00
2022-03-28 07:42:54 hfc5_high_c 14
2022-03-28 07:42:54 hfc5_humidity 52
2022-03-28 07:42:54 hfc5_icon sunny
2022-03-28 07:42:54 hfc5_iconAPI 01n
2022-03-28 07:42:54 hfc5_low_c 14
2022-03-28 07:42:54 hfc5_pressure 1018
2022-03-28 07:42:54 hfc5_pubDate Mo, 28 Mär 2022 19:00
2022-03-17 10:00:47 hfc5_rain3h 0.27
2022-02-25 07:13:22 hfc5_snow3h 0.33
2022-03-28 07:42:54 hfc5_tempHigh 14
2022-03-28 07:42:54 hfc5_tempLow 14
2022-03-28 07:42:54 hfc5_temp_c 14
2022-03-28 07:42:54 hfc5_temperature 14
2022-03-28 07:42:54 hfc5_wind 6
2022-03-28 07:42:54 hfc5_wind_gust 14
2022-03-28 07:42:54 hfc5_wind_speed 6
2022-03-28 07:42:54 hfc6_cloudCover 40
2022-03-28 07:42:54 hfc6_code 26
2022-03-28 07:42:54 hfc6_condition Mäßig bewölkt
2022-03-28 07:42:54 hfc6_day_of_week Mo, 22:00
2022-03-28 07:42:54 hfc6_high_c 12
2022-03-28 07:42:54 hfc6_humidity 61
2022-03-28 07:42:54 hfc6_icon cloudy
2022-03-28 07:42:54 hfc6_iconAPI 03n
2022-03-28 07:42:54 hfc6_low_c 12
2022-03-28 07:42:54 hfc6_pressure 1018
2022-03-28 07:42:54 hfc6_pubDate Mo, 28 Mär 2022 22:00
2022-03-17 07:00:30 hfc6_rain3h 0.11
2022-02-24 10:11:15 hfc6_snow3h 0.4
2022-03-28 07:42:54 hfc6_tempHigh 12
2022-03-28 07:42:54 hfc6_tempLow 12
2022-03-28 07:42:54 hfc6_temp_c 12
2022-03-28 07:42:54 hfc6_temperature 12
2022-03-28 07:42:54 hfc6_wind 5
2022-03-28 07:42:54 hfc6_wind_gust 6
2022-03-28 07:42:54 hfc6_wind_speed 5
2022-03-28 07:42:54 hfc7_cloudCover 70
2022-03-28 07:42:54 hfc7_code 26
2022-03-28 07:42:54 hfc7_condition Überwiegend bewölkt
2022-03-28 07:42:54 hfc7_day_of_week Di, 01:00
2022-03-28 07:42:54 hfc7_high_c 11
2022-03-28 07:42:54 hfc7_humidity 65
2022-03-28 07:42:54 hfc7_icon cloudy
2022-03-28 07:42:54 hfc7_iconAPI 04n
2022-03-28 07:42:54 hfc7_low_c 11
2022-03-28 07:42:54 hfc7_pressure 1017
2022-03-28 07:42:54 hfc7_pubDate Di, 29 Mär 2022 01:00
2022-03-19 10:33:07 hfc7_rain3h 0.49
2022-02-24 07:10:59 hfc7_snow3h 0.23
2022-03-28 07:42:54 hfc7_tempHigh 11
2022-03-28 07:42:54 hfc7_tempLow 11
2022-03-28 07:42:54 hfc7_temp_c 11
2022-03-28 07:42:54 hfc7_temperature 11
2022-03-28 07:42:54 hfc7_wind 6
2022-03-28 07:42:54 hfc7_wind_gust 6
2022-03-28 07:42:54 hfc7_wind_speed 6
2022-03-28 07:42:54 hfc8_cloudCover 100
2022-03-28 07:42:54 hfc8_code 28
2022-03-28 07:42:54 hfc8_condition Bedeckt
2022-03-28 07:42:54 hfc8_day_of_week Di, 04:00
2022-03-28 07:42:54 hfc8_high_c 10
2022-03-28 07:42:54 hfc8_humidity 68
2022-03-28 07:42:54 hfc8_icon mostlycloudy
2022-03-28 07:42:54 hfc8_iconAPI 04n
2022-03-28 07:42:54 hfc8_low_c 10
2022-03-28 07:42:54 hfc8_pressure 1015
2022-03-28 07:42:54 hfc8_pubDate Di, 29 Mär 2022 04:00
2022-03-19 10:03:06 hfc8_rain3h 0.49
2022-02-24 04:10:46 hfc8_snow3h 0.23
2022-03-28 07:42:54 hfc8_tempHigh 10
2022-03-28 07:42:54 hfc8_tempLow 10
2022-03-28 07:42:54 hfc8_temp_c 10
2022-03-28 07:42:54 hfc8_temperature 10
2022-03-28 07:42:54 hfc8_wind 5
2022-03-28 07:42:54 hfc8_wind_gust 5
2022-03-28 07:42:54 hfc8_wind_speed 5
2022-03-28 07:42:54 hfc9_cloudCover 100
2022-03-28 07:42:54 hfc9_code 28
2022-03-28 07:42:54 hfc9_condition Bedeckt
2022-03-28 07:42:54 hfc9_day_of_week Di, 07:00
2022-03-28 07:42:54 hfc9_high_c 10
2022-03-28 07:42:54 hfc9_humidity 66
2022-03-28 07:42:54 hfc9_icon mostlycloudy
2022-03-28 07:42:54 hfc9_iconAPI 04d
2022-03-28 07:42:54 hfc9_low_c 10
2022-03-28 07:42:54 hfc9_pressure 1014
2022-03-28 07:42:54 hfc9_pubDate Di, 29 Mär 2022 07:00
2022-03-18 16:01:30 hfc9_rain3h 0.25
2022-02-24 01:10:31 hfc9_snow3h 0.3
2022-03-28 07:42:54 hfc9_tempHigh 10
2022-03-28 07:42:54 hfc9_tempLow 10
2022-03-28 07:42:54 hfc9_temp_c 10
2022-03-28 07:42:54 hfc9_temperature 10
2022-03-28 07:42:54 hfc9_wind 4
2022-03-28 07:42:54 hfc9_wind_gust 5
2022-03-28 07:42:54 hfc9_wind_speed 4
2022-03-28 07:42:54 high_c 2
2022-03-28 07:42:54 humidity 80
2022-03-28 07:42:54 humidity_avg_day 73.7
2022-03-28 07:42:54 humidity_avg_month 59.5
2022-03-28 07:42:54 humidity_cum_day 2048246
2022-03-28 07:42:54 humidity_cum_month 145648523
2022-03-28 07:42:54 humidity_max_day 80.0
2022-03-15 23:57:49 humidity_max_month 95.0
2022-03-28 03:42:41 humidity_min_day 65.0
2022-03-26 17:38:56 humidity_min_month 22.0
2022-03-28 07:42:54 icon sunny
2022-03-28 07:42:54 iconAPI 01d
2022-03-28 07:42:54 lastError
2022-03-28 07:42:54 lat 48.xxxxxx
2022-03-28 07:42:54 long 9.xxxxxxxx
2022-03-28 07:42:54 low_c 2
2022-03-28 07:42:54 pressure 1024
2022-03-28 07:42:54 pubDate Mo, 28 Mär 2022 07:42
2022-03-28 06:59:56 statPressureTendency 1h: -1 2h: -1 3h: -1 6h: -2
2022-03-28 06:59:56 statPressureTendency1h -1
2022-03-28 06:59:56 statPressureTendency2h -1
2022-03-28 06:59:56 statPressureTendency3h -1
2022-03-28 06:59:56 statPressureTendency6h -2
2022-03-28 07:42:54 state T: 2 °C F: 80 % W: 4 km/h P: 1024 hPa
2022-03-28 07:42:54 status ok
2022-03-28 07:42:54 sunriseTime Mo, 28 Mär 2022 07:09
2022-03-28 07:42:54 sunsetTime Mo, 28 Mär 2022 19:46
2022-03-28 07:42:54 tempFeelsLike_c 2
2022-03-28 07:42:54 tempHigh 2
2022-03-28 07:42:54 tempLow 2
2022-03-28 07:42:54 temp_c 2
2022-03-28 07:42:54 temperature 2
2022-03-28 07:42:54 temperature_avg_day 3.9
2022-03-28 07:42:54 temperature_avg_month 6.2
2022-03-28 07:42:54 temperature_cum_day 107930
2022-03-28 07:42:54 temperature_cum_month 15275934
2022-03-28 00:42:27 temperature_max_day 7.0
2022-03-27 15:41:49 temperature_max_month 21.0
2022-03-28 07:42:54 temperature_min_day 2.0
2022-03-09 06:13:16 temperature_min_month -3.0
2022-03-28 07:42:54 validity up-to-date
2022-03-28 07:42:54 visibility 10000
2022-03-28 07:42:54 wind 4
2022-03-28 07:42:54 wind_condition Wind: ONO 4 km/h
2022-03-28 07:42:54 wind_direction 70
2022-03-28 07:42:54 wind_gust 0
2022-03-28 07:42:54 wind_speed 4
fhem:
LOCATION 48.xxxxxx,9.xxxxxxxx
allowCache 1
interfaces temperature;humidity;wind
helper:
_98_statistics Wetterstatistiken
Attributes:
comment 3
event-on-change-reading .*
event-on-update-reading pressure,statPressureTendency1h,statPressureTendency6h
forecast hourly
forecastLimit 9
room Wetter
Und hier einmal von DWD:
Internals:
FHEM_TZ
FUUID 608ac7d3-f33f-bf2d-1faa-475826fce12d9b29
FVERSION 55_DWD_OpenData.pm:v1.0.0-s23797/2021-02-21
NAME Wetter_DWD
NR 416
STATE 0 %
TYPE DWD_OpenData
VERSION 1.016003
OLDREADINGS:
READINGS:
2022-03-28 07:00:08 Bewoelkung 0
2021-04-29 17:04:52 a_count 0
2021-04-29 17:04:52 a_state updated
2021-04-29 17:04:52 a_time 2021-04-29 17:04:52
2022-03-28 05:00:05 fc0_0_DD 162
2022-03-28 05:00:05 fc0_0_FX1 6
2022-03-28 05:00:05 fc0_0_Neff 0
2022-03-28 05:00:05 fc0_0_SunUp 0
2022-03-28 05:00:05 fc0_0_TTT 12.2
2022-03-28 05:00:05 fc0_0_time 00:00
2022-03-28 05:00:05 fc0_0_ww 0
2022-03-28 05:00:05 fc0_0_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_10_DD 134
2022-03-28 07:00:08 fc0_10_FX1 17
2022-03-28 07:00:08 fc0_10_Neff 0
2022-03-28 07:00:08 fc0_10_SunUp 1
2022-03-28 07:00:08 fc0_10_TTT 10.2
2022-03-28 07:00:08 fc0_10_time 10:00
2022-03-28 07:00:08 fc0_10_ww 0
2022-03-28 07:00:08 fc0_10_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_11_DD 126
2022-03-28 07:00:08 fc0_11_FX1 15
2022-03-28 07:00:08 fc0_11_Neff 0
2022-03-28 07:00:08 fc0_11_SunUp 1
2022-03-28 07:00:08 fc0_11_TTT 13.1
2022-03-28 07:00:08 fc0_11_time 11:00
2022-03-28 07:00:08 fc0_11_ww 0
2022-03-28 07:00:08 fc0_11_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_12_DD 94
2022-03-28 07:00:08 fc0_12_FX1 15
2022-03-28 07:00:08 fc0_12_Neff 1
2022-03-28 07:00:08 fc0_12_SunUp 1
2022-03-28 07:00:08 fc0_12_TTT 15.6
2022-03-28 07:00:08 fc0_12_time 12:00
2022-03-28 07:00:08 fc0_12_ww 0
2022-03-28 07:00:08 fc0_12_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_13_DD 51
2022-03-28 07:00:08 fc0_13_FX1 17
2022-03-28 07:00:08 fc0_13_Neff 4
2022-03-28 07:00:08 fc0_13_SunUp 1
2022-03-28 07:00:08 fc0_13_TTT 17.4
2022-03-28 07:00:08 fc0_13_time 13:00
2022-03-28 07:00:08 fc0_13_ww 0
2022-03-28 07:00:08 fc0_13_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_14_DD 358
2022-03-28 07:00:08 fc0_14_FX1 19
2022-03-28 07:00:08 fc0_14_Neff 8
2022-03-28 07:00:08 fc0_14_R600 2.00
2022-03-28 07:00:08 fc0_14_RR6c 0.00
2022-03-28 07:00:08 fc0_14_SunUp 1
2022-03-28 07:00:08 fc0_14_TTT 18.6
2022-03-28 07:00:08 fc0_14_time 14:00
2022-03-28 07:00:08 fc0_14_ww 0
2022-03-28 07:00:08 fc0_14_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_15_DD 333
2022-03-28 07:00:08 fc0_15_FX1 20
2022-03-28 07:00:08 fc0_15_Neff 10
2022-03-28 07:00:08 fc0_15_SunUp 1
2022-03-28 07:00:08 fc0_15_TTT 19.6
2022-03-28 07:00:08 fc0_15_time 15:00
2022-03-28 07:00:08 fc0_15_ww 0
2022-03-28 07:00:08 fc0_15_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_16_DD 328
2022-03-28 07:00:08 fc0_16_FX1 22
2022-03-28 07:00:08 fc0_16_Neff 17
2022-03-28 07:00:08 fc0_16_SunUp 1
2022-03-28 07:00:08 fc0_16_TTT 20.1
2022-03-28 07:00:08 fc0_16_time 16:00
2022-03-28 07:00:08 fc0_16_ww 0
2022-03-28 07:00:08 fc0_16_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_17_DD 327
2022-03-28 07:00:08 fc0_17_FX1 24
2022-03-28 07:00:08 fc0_17_Neff 23
2022-03-28 07:00:08 fc0_17_SunUp 1
2022-03-28 07:00:08 fc0_17_TTT 20.2
2022-03-28 07:00:08 fc0_17_time 17:00
2022-03-28 07:00:08 fc0_17_ww 0
2022-03-28 07:00:08 fc0_17_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_18_DD 324
2022-03-28 07:00:08 fc0_18_FX1 26
2022-03-28 07:00:08 fc0_18_Neff 22
2022-03-28 07:00:08 fc0_18_SunUp 1
2022-03-28 07:00:08 fc0_18_TTT 20
2022-03-28 07:00:08 fc0_18_time 18:00
2022-03-28 07:00:08 fc0_18_ww 0
2022-03-28 07:00:08 fc0_18_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_19_DD 315
2022-03-28 07:00:08 fc0_19_FX1 24
2022-03-28 07:00:08 fc0_19_Neff 23
2022-03-28 07:00:08 fc0_19_SunUp 1
2022-03-28 07:00:08 fc0_19_TTT 19.1
2022-03-28 07:00:08 fc0_19_time 19:00
2022-03-28 07:00:08 fc0_19_ww 0
2022-03-28 07:00:08 fc0_19_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 05:00:05 fc0_1_DD 170
2022-03-28 05:00:05 fc0_1_FX1 7
2022-03-28 05:00:05 fc0_1_Neff 0
2022-03-28 05:00:05 fc0_1_SunUp 0
2022-03-28 05:00:05 fc0_1_TTT 11
2022-03-28 05:00:05 fc0_1_time 01:00
2022-03-28 05:00:05 fc0_1_ww 0
2022-03-28 05:00:05 fc0_1_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_20_DD 311
2022-03-28 07:00:08 fc0_20_FX1 20
2022-03-28 07:00:08 fc0_20_Neff 22
2022-03-28 07:00:08 fc0_20_R600 3.00
2022-03-28 07:00:08 fc0_20_RR6c 0.00
2022-03-28 07:00:08 fc0_20_RRhc 0.00
2022-03-28 07:00:08 fc0_20_Rh00 6
2022-03-28 07:00:08 fc0_20_SunUp 0
2022-03-28 07:00:08 fc0_20_TTT 17.8
2022-03-28 07:00:08 fc0_20_time 20:00
2022-03-28 07:00:08 fc0_20_ww 0
2022-03-28 07:00:08 fc0_20_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_21_DD 297
2022-03-28 07:00:08 fc0_21_FX1 19
2022-03-28 07:00:08 fc0_21_Neff 22
2022-03-28 07:00:08 fc0_21_SunUp 0
2022-03-28 07:00:08 fc0_21_TTT 16.6
2022-03-28 07:00:08 fc0_21_time 21:00
2022-03-28 07:00:08 fc0_21_ww 0
2022-03-28 07:00:08 fc0_21_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_22_DD 275
2022-03-28 07:00:08 fc0_22_FX1 17
2022-03-28 07:00:08 fc0_22_Neff 25
2022-03-28 07:00:08 fc0_22_SunUp 0
2022-03-28 07:00:08 fc0_22_TTT 15.4
2022-03-28 07:00:08 fc0_22_time 22:00
2022-03-28 07:00:08 fc0_22_ww 0
2022-03-28 07:00:08 fc0_22_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_23_DD 255
2022-03-28 07:00:08 fc0_23_FX1 15
2022-03-28 07:00:08 fc0_23_Neff 28
2022-03-28 07:00:08 fc0_23_SunUp 0
2022-03-28 07:00:08 fc0_23_TTT 14.3
2022-03-28 07:00:08 fc0_23_time 23:00
2022-03-28 07:00:08 fc0_23_ww 0
2022-03-28 07:00:08 fc0_23_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 05:00:05 fc0_2_DD 175
2022-03-28 05:00:05 fc0_2_FX1 9
2022-03-28 05:00:05 fc0_2_Neff 0
2022-03-28 05:00:05 fc0_2_R600 1.00
2022-03-28 05:00:05 fc0_2_RR6c 0.00
2022-03-28 05:00:05 fc0_2_SunUp 0
2022-03-28 05:00:05 fc0_2_TTT 9.80
2022-03-28 05:00:05 fc0_2_time 02:00
2022-03-28 05:00:05 fc0_2_ww 0
2022-03-28 05:00:05 fc0_2_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 05:00:05 fc0_3_DD 169
2022-03-28 05:00:05 fc0_3_FX1 11
2022-03-28 05:00:05 fc0_3_Neff 0
2022-03-28 05:00:05 fc0_3_SunUp 0
2022-03-28 05:00:05 fc0_3_TTT 8.80
2022-03-28 05:00:05 fc0_3_time 03:00
2022-03-28 05:00:05 fc0_3_ww 0
2022-03-28 05:00:05 fc0_3_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 05:00:05 fc0_4_DD 167
2022-03-28 05:00:05 fc0_4_FX1 15
2022-03-28 05:00:05 fc0_4_Neff 0
2022-03-28 05:00:05 fc0_4_SunUp 0
2022-03-28 05:00:05 fc0_4_TTT 8
2022-03-28 05:00:05 fc0_4_time 04:00
2022-03-28 05:00:05 fc0_4_ww 0
2022-03-28 05:00:05 fc0_4_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 05:00:05 fc0_5_DD 163
2022-03-28 05:00:05 fc0_5_FX1 17
2022-03-28 05:00:05 fc0_5_Neff 0
2022-03-28 05:00:05 fc0_5_SunUp 0
2022-03-28 05:00:05 fc0_5_TTT 7.30
2022-03-28 05:00:05 fc0_5_time 05:00
2022-03-28 05:00:05 fc0_5_ww 0
2022-03-28 05:00:05 fc0_5_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_6_DD 154
2022-03-28 07:00:08 fc0_6_FX1 19
2022-03-28 07:00:08 fc0_6_Neff 1
2022-03-28 07:00:08 fc0_6_SunUp 0
2022-03-28 07:00:08 fc0_6_TTT 5.70
2022-03-28 07:00:08 fc0_6_time 06:00
2022-03-28 07:00:08 fc0_6_ww 0
2022-03-28 07:00:08 fc0_6_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_7_DD 151
2022-03-28 07:00:08 fc0_7_FX1 19
2022-03-28 07:00:08 fc0_7_Neff 0
2022-03-28 07:00:08 fc0_7_SunUp 0
2022-03-28 07:00:08 fc0_7_TTT 5.40
2022-03-28 07:00:08 fc0_7_time 07:00
2022-03-28 07:00:08 fc0_7_ww 0
2022-03-28 07:00:08 fc0_7_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_8_DD 147
2022-03-28 07:00:08 fc0_8_FX1 19
2022-03-28 07:00:08 fc0_8_Neff 0
2022-03-28 07:00:08 fc0_8_R600 2.00
2022-03-28 07:00:08 fc0_8_RR6c 0.00
2022-03-28 07:00:08 fc0_8_RRhc 0.00
2022-03-28 07:00:08 fc0_8_Rh00 2
2022-03-28 07:00:08 fc0_8_SunUp 1
2022-03-28 07:00:08 fc0_8_TTT 6.10
2022-03-28 07:00:08 fc0_8_time 08:00
2022-03-28 07:00:08 fc0_8_ww 0
2022-03-28 07:00:08 fc0_8_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_9_DD 145
2022-03-28 07:00:08 fc0_9_FX1 17
2022-03-28 07:00:08 fc0_9_Neff 0
2022-03-28 07:00:08 fc0_9_SunUp 1
2022-03-28 07:00:08 fc0_9_TTT 7.70
2022-03-28 07:00:08 fc0_9_time 09:00
2022-03-28 07:00:08 fc0_9_ww 0
2022-03-28 07:00:08 fc0_9_wwd Bewölkungsentwicklung nicht beobachtet
2022-03-28 07:00:08 fc0_Tg 1.20
2022-03-28 07:00:08 fc0_Tn 5.10
2022-03-28 07:00:08 fc0_Tx 21.2
2022-03-28 07:00:08 fc0_date 2022-03-28
2022-03-28 07:00:08 fc0_weekday Mo
2022-03-28 07:00:08 fc_coordinates 9.xxxxx,48.xxxxxx,314.0
2022-03-28 07:00:08 fc_copyright Datenbasis: Deutscher Wetterdienst
2022-03-28 07:00:08 fc_description STUTTGART-SCHN.
2022-03-28 07:00:08 fc_state updated
2022-03-28 07:00:08 fc_station 10739
2022-03-28 07:00:08 fc_time 2022-03-28 05:00:00
2022-03-28 07:00:08 state forecast updated
Attributes:
alias Wolkenbedeckung
event-on-change-reading .*
forecastDays 0
forecastResolution 1
forecastStation 10739
forecastWW2Text 1
group Wetterübersicht
room Wetter
stateFormat Bewoelkung %
userReadings Bewoelkung {my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
my $wert="fc0_".$hour."_Neff";
return ReadingsVal($name,$wert,'undef')}
Ich habe für das nächste Release ein neues Template (list) vorbereitet.
Dieses kann man sehr flexibel konfigurieren und damit auch alle FHEM Wetter Module darstellen.
Anbei mal ein erster Screenshot von dem, was konfigurativ möglich ist.
Was meint ihr?
Die Konfiguration dazu sieht dann z.B. so aus: die Flexibilität hat ihren Preis... ;)
{ "template": "list",
"setup": {
"iconSet": [
{ "val": "t1.gif", "icon": "mdi-weather-sunny" },
{ "val": "t2.gif", "icon": "mdi-weather-sunny" },
{ "val": "t3.gif", "icon": "mdi-weather-partly-cloudy" },
{ "val": "t4.gif", "icon": "mdi-weather-partly-cloudy" },
{ "val": "t5.gif", "icon": "mdi-weather-cloudy" },
{ "val": "t6.gif", "icon": "mdi-weather-partly-rainy" },
{ "val": "t7.gif", "icon": "mdi-weather-rainy" },
{ "val": "t8.gif", "icon": "mdi-weather-lightning" },
{ "val": "t9.gif", "icon": "mdi-weather-partly-snowy" },
{ "val": "t10.gif", "icon": "mdi-weather-snowy" },
{ "val": "t11.gif", "icon": "mdi-weather-snowy-rainy" },
{ "val": "t12.gif", "icon": "mdi-weather-hazy" },
{ "val": "t13.gif", "icon": "mdi-weather-fog" },
{ "val": "t14.gif", "icon": "mdi-weather-rainy" },
{ "val": "n1.gif", "icon": "mdi-weather-night" },
{ "val": "n2.gif", "icon": "mdi-weather-night" },
{ "val": "n3.gif", "icon": "mdi-weather-night-partly-cloudy" },
{ "val": "n4.gif", "icon": "mdi-weather-night-partly-cloudy" },
{ "val": "n5.gif", "icon": "mdi-weather-cloudy" },
{ "val": "n6.gif", "icon": "mdi-weather-partly-rainy" },
{ "val": "n7.gif", "icon": "mdi-weather-rainy" },
{ "val": "n8.gif", "icon": "mdi-weather-lightning" },
{ "val": "n9.gif", "icon": "mdi-weather-partly-snowy" },
{ "val": "n10.gif", "icon": "mdi-weather-snowy" },
{ "val": "n11.gif", "icon": "mdi-weather-snowy-rainy" },
{ "val": "n12.gif", "icon": "mdi-weather-hazy" },
{ "val": "n13.gif", "icon": "mdi-weather-fog" },
{ "val": "n14.gif", "icon": "mdi-weather-rainy" }
],
"listItems": [
{
"text1": ["weather::%s"]
},
{
"text1": ["pressure::Luftdruck:text"],
"text11": ["pressure::%n.0hPa"],
"text2": ["wind::Wind:text"],
"text21": ["wind::%n.0km/h"],
"divider": true
},
{
"text1": ["fc0_date::%s:text"],
"icon1": ["fc0_weatherDayIcon::%s"],
"text11": ["fc0_tempMin::%n.0°C / :text"],
"text12": ["fc0_tempMax::%n.0°C:text"],
"text2": ["fc1_date::%s:text"],
"icon2": ["fc1_weatherDayIcon::%s"],
"text21": ["fc1_tempMin::%n.0°C / :text"],
"text22": ["fc1_tempMax::%n.0°C:text"],
"text3": ["fc2_date::%s:text"],
"icon3": ["fc2_weatherDayIcon::%s"],
"text31": ["fc2_tempMin::%n.0°C / :text"],
"text32": ["fc2_tempMax::%n.0°C:text"],
"text4": ["fc3_date::%s:text"],
"icon4": ["fc3_weatherDayIcon::%s"],
"text41": ["fc3_tempMin::%n.0°C / :text"],
"text42": ["fc3_tempMax::%n.0°C:text"],
"text5": ["fc4_date::%s:text"],
"icon5": ["fc4_weatherDayIcon::%s"],
"text51": ["fc4_tempMin::%n.0°C / :text"],
"text52": ["fc4_tempMax::%n.0°C:text"],
"divider": true
},
{
"class1": "col-2 text-center",
"icon1": ["fc0_weatherDayIcon::%s"],
"class2": "text-left",
"text2": ["fc0_date::%s:font-weight-bold"],
"text21": ["fc0_weatherDay::%s:text"],
"class5": "col-2 text-center",
"text5": ["fc0_tempMin::%n.0°C:text"],
"text51": ["fc0_tempMax::%n.0°C:text"]
},
{
"class1": "col-2 text-center",
"icon1": ["fc1_weatherDayIcon::%s"],
"class2": "text-left",
"text2": ["fc1_date::%s:font-weight-bold"],
"text21": ["fc1_weatherDay::%s:text"],
"class5": "col-2 text-center",
"text5": ["fc1_tempMin::%n.0°C:text"],
"text51": ["fc1_tempMax::%n.0°C:text"]
},
{
"class1": "col-2 text-center",
"icon1": ["fc2_weatherDayIcon::%s"],
"class2": "text-left",
"text2": ["fc2_date::%s:font-weight-bold"],
"text21": ["fc2_weatherDay::%s:text"],
"class5": "col-2 text-center",
"text5": ["fc2_tempMin::%n.0°C:text"],
"text51": ["fc2_tempMax::%n.0°C:text"]
},
{
"class1": "col-2 text-center",
"icon1": ["fc3_weatherDayIcon::%s"],
"class2": "text-left",
"text2": ["fc3_date::%s:font-weight-bold"],
"text21": ["fc3_weatherDay::%s:text"],
"class5": "col-2 text-center",
"text5": ["fc3_tempMin::%n.0°C:text"],
"text51": ["fc3_tempMax::%n.0°C:text"]
},
{
"class1": "col-2 text-center",
"icon1": ["fc4_weatherDayIcon::%s"],
"class2": "text-left",
"text2": ["fc4_date::%s:font-weight-bold"],
"text21": ["fc4_weatherDay::%s:text"],
"class5": "col-2 text-center",
"text5": ["fc4_tempMin::%n.0°C:text"],
"text51": ["fc4_tempMax::%n.0°C:text"]
}
],
"info": {
"left1": ["weatherIcon:::%s"],
"mid1": ["Readings.state.Time::%t"],
"right2": ["state:Tmin::mdi-sync", "state:::mdi-sync-off"]
}
}
}
Moin,
grundlegend, sieht das schick aus, muss man sich in ner ruhigen Minute dann mal anschauen ;)
Hoffe du machst das, zumindest vorerst, als zusätzliches Wetter Template rein?!
gut find ich das iconSet - womit jeder quasi eigene Items wählen kann (vll. will wer für "sonnig" lieber ein cabrio haben ??? :o ;D)
so grundlegend - wird List ein komplett neues eigenes Template? da wäre doch vermutlich andere Sachen als Wetter auch möglich damit oder?
eine Erklärung für text1 text 11 text 21 ... folgt oder ist das einfach
text1 = 1. Spalte 1. Text (04.04.2022)
text11 = 1. Spalte 2. Text (-2°C)
text12 = 1. Spalte 3. Text (6°C)
...
text31 = 3. Spalte 2. Text ( 6°C)
also zu lesen als
1
1.1
1.2
2
2.1
2.2
... ?
hätte ich im 1. Main auch die Möglichkeit die heutige Temp rein zu bekommen, und den Forecast dann ab morgen bis ... laufen zu lassen? (das stört mich tatsächlich am meisten beim aktuellen xD)
was kann man mit "class" tolles machen?
{ } stellt immer eine Zeile da richtig?
Zitat von: jemu75 am 04 April 2022, 15:02:44
Ich habe für das nächste Release ein neues Template (list) vorbereitet.
Dieses kann man sehr flexibel konfigurieren und damit auch alle FHEM Wetter Module darstellen.
Anbei mal ein erster Screenshot von dem, was konfigurativ möglich ist.
Was meint ihr?
Sieht toll und gut aus. Bin gespannt wie es funktioniert.
@draddy: zu deinen Fragen
1) das neue Template list wird es zusätzlich zu dem weather Template geben.
2) list ist ein komplett eigenes Template
3) damit kann man auch andere Sachen als "Wetter" darstellen
4) die Inhalte des Templates sind komplett frei definierbar. Es können beliebig viele "Zeilen" konfiguriert werden. Jede Zeile kann bis zu 5 "Spalten" haben. In jeder Spalte können bis zu 3 Textfelder und 1 Icon definiert werden. Die Reihenfolge der Felder innerhalb einer Spalte ist fest: text1 -> darunter icon1 -> darunter text11 -> rechts daneben text12. Die erste Ziffer der Elemente repräsentiert die Spalte (1-5) und die zweite Ziffer unterscheidet die beiden "Subtexte"
5) die erste Zeile ("main1") ist auch im eingeklappten Zustand sichtbar und genau so frei konfigurierbar wir oben beschrieben
6) class ist optional dazu da, die Spaltenbreite bzw. die Textausrichtung zu verändern.
7) innerhalb von dem Array "listItems" beschreibst du innerhalb der geschweiften Klammern {} wie die Zeile konfiguriert ist.
Noch weitere Fragen? ;D
ich fasse zusammen; meine Annahmen waren soweit richtig ;D
weitere Fragen? natürlich!
1. wird bei dem Release schon mein Wunsch (main "show" und %d drin sein?)
und
WANN? ;D ;D ;D ;D
lg
Jens
Ja, im nächsten Release kommt das alles. :)
So, das neue Release ist raus.
Viel Spaß bei ausprobieren und konfigurieren! ;D
Hallo jemu75
erst einmal vielen Dank für fhemapp.
Zum neuen Release, fehlen auf github nicht die templates für list und weather im ordner cfg?
Viele Grüße
Gudido
hi,
weather ist kein normales Template, das wird durch scripts umgesetzt,
du brauchst nur als appOption im wetter device
{
"template": "weather",
"home": true
}
machen (statt "home": true geht natürlich auch room was auch immer ... ;))
damit sollte schon was da sein.
list ist neu, denke aber auch das wird über Scripts geregelt, da kommt quasi der ganze Code in die appOption (siehe Beispiel von jemu etwas weiter oben)
Zitat von: fettgu am 04 April 2022, 22:32:38
Hallo jemu75
erst einmal vielen Dank für fhemapp.
Zum neuen Release, fehlen auf github nicht die templates für list und weather im ordner cfg?
Viele Grüße
Gudido
Hallo Gudido,
das neue Template
list kann beliebig konfiguriert werden. Es ist also nicht explizit für Wetterdaten gedacht. Das war nur der "Auslöser" für die Erstellung dieses Templates. Natürlich kann man jetzt für die verschiedenen Wetter-Schnittstellen, die FHEM bietet Konfigurationen erstellen. Hier setze ich auf die Communitiy und warte mal ab, was hier so entsteht. Wenn gute Lösungen zur Darstellung der Wetterdaten hier gepostet werden, dann stelle ich diese gern in der Doku auf github ein. Hoffe diese Antwort ist erstmal okay für Dich. ;)
Beste Grüße
Jens.
Hier mal ein Beispiel, wie das neue Template list für die Anzeige des Wetters über die FHEM Wetterschnittstelle von proplanta aussehen kann.
Hier die Definition, die unter appOptions in FHEM hinterlegt werden muss:
{
"template": "list",
"setup": {
"iconSet": [
{ "val": "t1.gif", "icon": "mdi-weather-sunny" },
{ "val": "t2.gif", "icon": "mdi-weather-sunny" },
{ "val": "t3.gif", "icon": "mdi-weather-partly-cloudy" },
{ "val": "t4.gif", "icon": "mdi-weather-partly-cloudy" },
{ "val": "t5.gif", "icon": "mdi-weather-cloudy" },
{ "val": "t6.gif", "icon": "mdi-weather-partly-rainy" },
{ "val": "t7.gif", "icon": "mdi-weather-rainy" },
{ "val": "t8.gif", "icon": "mdi-weather-lightning" },
{ "val": "t9.gif", "icon": "mdi-weather-partly-snowy" },
{ "val": "t10.gif", "icon": "mdi-weather-snowy" },
{ "val": "t11.gif", "icon": "mdi-weather-snowy-rainy" },
{ "val": "t12.gif", "icon": "mdi-weather-hazy" },
{ "val": "t13.gif", "icon": "mdi-weather-fog" },
{ "val": "t14.gif", "icon": "mdi-weather-rainy" },
{ "val": "n1.gif", "icon": "mdi-weather-night" },
{ "val": "n2.gif", "icon": "mdi-weather-night" },
{ "val": "n3.gif", "icon": "mdi-weather-night-partly-cloudy" },
{ "val": "n4.gif", "icon": "mdi-weather-night-partly-cloudy" },
{ "val": "n5.gif", "icon": "mdi-weather-cloudy" },
{ "val": "n6.gif", "icon": "mdi-weather-partly-rainy" },
{ "val": "n7.gif", "icon": "mdi-weather-rainy" },
{ "val": "n8.gif", "icon": "mdi-weather-lightning" },
{ "val": "n9.gif", "icon": "mdi-weather-partly-snowy" },
{ "val": "n10.gif", "icon": "mdi-weather-snowy" },
{ "val": "n11.gif", "icon": "mdi-weather-snowy-rainy" },
{ "val": "n12.gif", "icon": "mdi-weather-hazy" },
{ "val": "n13.gif", "icon": "mdi-weather-fog" },
{ "val": "n14.gif", "icon": "mdi-weather-rainy" }
],
"listItems": [
{
"text1": ["weather::%s"]
},
{
"text1": ["pressure::Luftdruck:text"],
"text11": ["pressure::%n.0hPa"],
"text2": ["wind::Wind:text"],
"text21": ["wind::%n.0km/h"],
"divider": true
},
{
"text1": ["fc0_date::Morgens:text"],
"icon1": ["fc0_weatherMorningIcon::%s"],
"text2": ["fc0_date::Mittags:text"],
"icon2": ["fc0_weatherDayIcon::%s"],
"text3": ["fc0_date::Abends:text"],
"icon3": ["fc0_weatherEveningIcon::%s"],
"divider": true
},
{
"class1": "col-2 text-center",
"icon1": ["fc0_weatherDayIcon::%s"],
"class2": "text-left",
"text2": ["fc0_date::%s:font-weight-bold"],
"text21": ["fc0_weatherDay::%s:text"],
"class5": "col-2 text-center",
"text5": ["fc0_tempMax::%n.0°C:text"],
"text51": ["fc0_tempMin::%n.0°C:text"]
},
{
"class1": "col-2 text-center",
"icon1": ["fc1_weatherDayIcon::%s"],
"class2": "text-left",
"text2": ["fc1_date::%s:font-weight-bold"],
"text21": ["fc1_weatherDay::%s:text"],
"class5": "col-2 text-center",
"text5": ["fc1_tempMax::%n.0°C:text"],
"text51": ["fc1_tempMin::%n.0°C:text"]
},
{
"class1": "col-2 text-center",
"icon1": ["fc2_weatherDayIcon::%s"],
"class2": "text-left",
"text2": ["fc2_date::%s:font-weight-bold"],
"text21": ["fc2_weatherDay::%s:text"],
"class5": "col-2 text-center",
"text5": ["fc2_tempMax::%n.0°C:text"],
"text51": ["fc2_tempMin::%n.0°C:text"]
},
{
"class1": "col-2 text-center",
"icon1": ["fc3_weatherDayIcon::%s"],
"class2": "text-left",
"text2": ["fc3_date::%s:font-weight-bold"],
"text21": ["fc3_weatherDay::%s:text"],
"class5": "col-2 text-center",
"text5": ["fc3_tempMax::%n.0°C:text"],
"text51": ["fc3_tempMin::%n.0°C:text"]
},
{
"class1": "col-2 text-center",
"icon1": ["fc4_weatherDayIcon::%s"],
"class2": "text-left",
"text2": ["fc4_date::%s:font-weight-bold"],
"text21": ["fc4_weatherDay::%s:text"],
"class5": "col-2 text-center",
"text5": ["fc4_tempMax::%n.0°C:text"],
"text51": ["fc4_tempMin::%n.0°C:text"]
}
],
"info": {
"left1": ["weatherIcon:::%s"],
"mid1": ["Readings.state.Time::%t"],
"right2": ["state:Tmin::mdi-sync", "state:::mdi-sync-off"]
}
}
}
Im Anhang ein Bild, wie das Template damit aussieht.
moin Jens,
muss da gleich mal bissl anfangen zu basteln und testen ... ;)
könnte man mit dem list auch Template vorlagen bauen?
dann könnte Wolle ja z.B. mal wegen DWD (wars glaub ich) schauen und man nimmt die Fertigen vorlagen einfach als Sammlung auf.
oder kann list explizit nur in appOptions genutzt werden? ;)
Natürlich könnt ihr Vorlagen erstellen. Diese müssten dann nur in appOptions kopiert werden. :)
ok, aber die üblichen templ_ Dateien funktionieren halt nicht damit? ;)
hi Jens,
kannst du eventuell mal ne komplette Liste bereitstellen, was in List alles möglich ist, besonders bezogen auf Text.
also
"text":["reading:wert:anzeigetext"]
großer dicken Text"text":["reading:wert:anzeigetext:text"] normaler Text
"text":["reading:wert:anzeigetext:font-weight-bold"]
dicker Text normale Größegibt es mehr? z.B. size?
zu "class"
habe ich das bis jetzt richtig überblickt, es gibt 5 spalten die ich besetzen kann, die interne col ist aber wie in fhemAPP allgemein 12?
sprich: wenn ich ein col span über die ganze breite des Templates will, mache ich col-12 - richtig?
gibt es hier weitere Optionen neben;
- text-center
- text-right
- text-left
"icon" - gibt es hier eventuell size? color?
quasi, alles was wissenswert wäre mal zusammenfassen ;)
dankö
Jens
Hallo,
bei mit funktioniert das template list bei WetterProplanta nicht, aber dafür das template weather appOptions { "template": "weather" }
Leider finde ich für weather keine templ_weather.json Datei, da ich gern das Template anpassen möchte.
Ich bin zwar erst seit zwei Tagen dabei, aber die FHEMapp ist KLASSE!
VG Sven