Schönen Abend
Ich habe nur eine Frage.
Ich möchte eine ShellyWall intergrieren.
Über MQTT kommen nur Standart Werte z.B.
IODev         MQTT2_FHEM_Server                  2024-04-04 20:53:18 
app           WallDisplay                        2024-04-04 21:01:03 
discoverable  false                              2024-04-04 21:01:03
fw_id         20240402-142908\/1.2.11-e287c5c3   2024-04-04 21:01:03
gen           2                                  2024-04-04 21:01:03
id            ShellyWallDisplay-00082292FFB1     2024-04-04 21:01:03
mac           00082292FFB1                       2024-04-04 21:01:03
model         SAWD-0A1XX10EU1                    2024-04-04 21:01:03
 usw.
Sensorwerte werden nicht übertragen,
Temperatur, Luftfeuchte und Helligkeit.
Hat jemand schon Erfahrung, eine Idee, oder einen Tipp wo ich was finden kann.
Vielen Dank schon mal in vorraus!
mfg. Hermann    
			
			
			
				Moin erst mal
Mit dem Ding hat wohl noch keiner Erfahrung.
:( 
mfg.
Hermann
			
			
			
				Naja, Du lieferst halt recht wenige Informationen, um Dir wirklich helfen zu können.
- was hast Du bisher unternommen, um an die Daten zu kommen?
- warum zeigst Du kein komplettes list Deines mqtt2_device?
- welche mqtt2 messages kommen beim mqtt2_fhem_server an?
 
- ...
				Moin Moin
Hier mal ein List vom Gerät
Internals:
   CFGFN      
   CID        ShellyWallDisplay_00082292FFB1
   DEF        ShellyWallDisplay_00082292FFB1
   FUUID      660ef71e-f33f-e6ff-c0ce-2114f9df6d45290c
   IODev      MQTT2_FHEM_Server
   LASTInputDev MQTT2_FHEM_Server
   MQTT2_FHEM_Server_CONN MQTT2_FHEM_Server_192.168.13.113_55869
   MQTT2_FHEM_Server_MSGCNT 7216
   MQTT2_FHEM_Server_TIME 2024-04-09 11:40:03
   MSGCNT     7216
   NAME       MQTT2_ShellyWallDisplay_00082292FFB1
   NR         629
   STATE      ???
   TYPE       MQTT2_DEVICE
   eventCount 7016
   .DT:
     DEVICETOPIC MQTT2_ShellyWallDisplay_00082292FFB1
   .attraggr:
   .attreocr:
     .*
   .attrminint:
   READINGS:
     2024-04-04 20:53:18   IODev           MQTT2_FHEM_Server
     2024-04-09 11:40:03   app             WallDisplay
     2024-04-09 11:40:03   app_uptime      399347
     2024-04-09 11:40:03   auth_en         false
     2024-04-09 11:40:03   cfg_rev         15
     2024-04-09 11:40:03   discoverable    false
     2024-04-09 11:40:03   fw_id           20240402-142908\/1.2.11-e287c5c3
     2024-04-09 11:40:03   gen             2
     2024-04-09 11:40:03   id              ShellyWallDisplay-00082292FFB1
     2024-04-09 11:40:03   mac             00082292FFB1
     2024-04-09 11:40:03   model           SAWD-0A1XX10EU1
     2024-04-09 09:59:43   online          true
     2024-04-09 11:40:03   platform        vXD10000M2
     2024-04-09 11:40:03   relay_in_thermostat true
     2024-04-09 11:40:03   restart_required false
     2024-04-09 11:40:03   schedule_rev    0
     2024-04-09 11:40:03   sensor_in_thermostat true
     2024-04-09 11:40:03   unixtime        1712655602
     2024-04-09 11:40:03   uptime          399417
     2024-04-09 11:40:03   ver             1.2.11
     2024-04-09 11:40:03   webhook_rev     0
Attributes:
   event-on-change-reading .*
   readingList ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/online:.* online
ShellyWallDisplay_00082292FFB1:/sys:.* { json2nameValue($EVENT) }
   room       MQTT2_DEVICE
Hier mal das was am MQTT Server an kommt.
root@FHEMzuHause:/home/hermann# mosquitto_sub -t "#" -v | grep ShellyWall
/sys {"id":"ShellyWallDisplay-00082292FFB1","mac":"00082292FFB1","model":"SAWD-0A1XX10EU1","gen":2,"fw_id":"20240402-142908\/1.2.11-e287c5c3","ver":"1.2.11","app":"WallDisplay","auth_en":false,"uptime":399657,"app_uptime":399587,"discoverable":false,"cfg_rev":15,"schedule_rev":0,"webhook_rev":0,"platform":"vXD10000M2","available_updates":{},"restart_required":false,"unixtime":1712655842,"relay_in_thermostat":true,"sensor_in_thermostat":true}
Ich hoffe es hilft etwas weiter.
Schon mal Danke .
mfg.
Hermann
			
			
			
				Warum postest du nicht in MQTT, wenn du Fragen dazu hast? (=> bitte selbst verschieben)
Und beantwortest die Fragen, die dort "üblicherweise" gestellt werden? Z.B. nach der "homepage des Projekts"?
Was hast du konfiguriert von dem, was hier steht: https://kb.shelly.cloud/knowledge-base/shelly-wall-display-device-smart-control#ShellyWallDisplayDeviceSmartControl-MQTT?
			
			
			
				Vielen dank erst mal für die Antwort.
Zu deinem Link.
Ich habe es so ein eingestellt wie dort beschrieben.
Neuste Firmware ist auch drauf.
Nach suche im Netz habe ich allerdings gefunden´das bei Home Assistant zumindest Temperatur, Luftfeuchte und Helligkeit übertragen werden,
wie auch immer.
mfg.
Hermann 
			
			
			
				Zitat von: Hermann am 09 April 2024, 12:58:45Ich habe es so ein eingestellt wie dort beschrieben.
...da sind (nach meinem Verständnis) _drei Varianten_ beschrieben...
Und in deiner readingList sieht zumindest das mit dem "sys" nicht so aus, als wäre ein Topic-prefix festgelegt. (bitte aber ggf. erst fixen, wenn "generic update" aktiviert ist wie bei den 2nd gen Shelly im allgemeinen erforderlich...)
			
 
			
			
				Hallo
Vielen dank für den Tipp.
:-* Da hab ich wohl ein Häkchen vergessen.
Jetzt sind wohl 3 mal so viele Readings vorhanden.
Entschuldigung für die Mühe.  O:-) 
mfg.
Hermann
			
			
			
				Zitat von: Hermann am 09 April 2024, 14:23:02Entschuldigung für die Mühe.  O:-) 
Bis dahin war es keine "Mühe". 
Wäre interessant, ob man das relay via MQTT auch schalten kann, oder ob das nur über Logiken auf dem ESP selbst geht? Die Doku vom Hersteller ist halt mal wieder.... (nennen wir es "wenig sprechend"). Anscheinend ist es vorrangig als "erweitertes Raumthermostat" gedacht bzw. konzipiert, braucht aber z.B. für Wochenpläne (?) eine Internetverbindung (zur Hersteller-Cloud?) Hmmm, es bleiben im Moment mehr Fragen offen als gelöst sind...
PS: Falls die Readings (Shelly-typisch) ziemlich "wirr" benannt sind, wäre Nacharbeit angesagt. Dazu bitte aber erst mal die anderen Threads zu den Shelly-rpc-Devices konsultieren und ggf. mal jsonMap/json2nameValue() versuchen zu setzen.
			
 
			
			
				Hallo
Ich werde es mal Probieren ob ich raus kriege wie!
mfg.
Hermann
			
			
			
				Das shelly wall display liefert die Sensorwerte im topic 
<mqttprefix>/status/
Also ergänze doch einfach mal die readingList um die entsprechende Zeile
ShellyWallDisplay_00082292FFB1/status:.* { json2nameValue($EVENT) }
und beobachte, ob dann neue readings angelegt werden.
			
			
			
				Guten Abend erst mal.
Danke noch mal.
Nachdem ich das vergessene Häkchen in der Config des ShellyWall gesetzt habe sind auch die 
3 Werte in den Readings vorhanden und noch viele mehr.
Das hatte ich wohl nicht explizit erwähnt.
Stelle es mal hier rein... vielleicht  interessiert es ja jemand.
Nochmal vielen Dank für eure mühe.
Internals:
   CID        ShellyWallDisplay_00082292FFB1
   DEF        ShellyWallDisplay_00082292FFB1
   FUUID      660ef71e-f33f-e6ff-c0ce-2114f9df6d45290c
   IODev      MQTT2_FHEM_Server
   LASTInputDev MQTT2_FHEM_Server
   MQTT2_FHEM_Server_CONN MQTT2_FHEM_Server_192.168.13.113_34746
   MQTT2_FHEM_Server_MSGCNT 438
   MQTT2_FHEM_Server_TIME 2024-04-10 22:51:03
   MSGCNT     438
   NAME       MQTT2_ShellyWallDisplay_00082292FFB1
   NR         628
   STATE      false
   TYPE       MQTT2_DEVICE
   eventCount 63
   .DT:
     DEVICETOPIC MQTT2_ShellyWallDisplay_00082292FFB1
   .attraggr:
   .attreocr:
     params_thermostat_0_target_C
     params_temperature_0_tC
     params_humidity_0_rh
     lux
     output
   .attrminint:
   READINGS:
     2024-04-10 22:01:43   IODev           MQTT2_FHEM_Server
     2024-04-10 22:51:03   app             WallDisplay
     2024-04-10 22:51:03   app_uptime      12134
     2024-04-10 22:51:03   auth_en         false
     2024-04-10 22:02:41   ble             {}
     2024-04-10 22:51:03   cfg_rev         20
     2024-04-10 22:02:41   connected       true
     2024-04-10 22:02:42   current_C       17.3
     2024-04-10 22:51:03   discoverable    false
     2024-04-10 22:51:00   dst             ShellyWallDisplay-00082292FFB1\/events
     2024-04-10 22:02:42   enable          true
     2024-04-10 22:02:42   external_present true
     2024-04-10 22:51:03   fw_id           20240402-142908\/1.2.11-e287c5c3
     2024-04-10 22:51:03   gen             2
     2024-04-10 22:02:42   gw              192.168.13.1
     2024-04-10 22:51:03   id              ShellyWallDisplay-00082292FFB1
     2024-04-10 22:51:00   illumination    dark
     2024-04-10 22:51:00   lux             5
     2024-04-10 22:51:03   mac             00082292FFB1
     2024-04-10 22:51:00   method          NotifyStatus
     2024-04-10 22:51:03   model           SAWD-0A1XX10EU1
     2024-04-10 22:02:42   nameserver      192.168.13.1
     2024-04-10 22:02:42   netmask         255.255.0.0
     2024-04-10 22:02:41   online          true
     2024-04-10 22:02:42   output          false
     2024-04-10 22:02:41   params_cloud_connected true
     2024-04-10 22:02:42   params_devicepower_0_external_present true
     2024-04-10 22:02:42   params_devicepower_0_id 0
     2024-04-10 22:51:00   params_humidity_0_id 0
     2024-04-10 22:51:00   params_humidity_0_rh 54.1
     2024-04-10 22:51:00   params_illuminance_0_id 0
     2024-04-10 22:51:00   params_illuminance_0_illumination dark
     2024-04-10 22:51:00   params_illuminance_0_lux 5
     2024-04-10 22:02:42   params_input_0_id 0
     2024-04-10 22:02:42   params_input_0_state false
     2024-04-10 22:02:41   params_mqtt_connected true
     2024-04-10 22:02:42   params_switch_0_id 0
     2024-04-10 22:02:42   params_switch_0_output false
     2024-04-10 22:02:42   params_switch_0_source THERMOSTAT
     2024-04-10 22:02:42   params_sys_app  WallDisplay
     2024-04-10 22:02:42   params_sys_app_uptime 9233
     2024-04-10 22:02:42   params_sys_auth_en false
     2024-04-10 22:02:42   params_sys_cfg_rev 20
     2024-04-10 22:02:42   params_sys_discoverable false
     2024-04-10 22:02:42   params_sys_fw_id 20240402-142908\/1.2.11-e287c5c3
     2024-04-10 22:02:42   params_sys_gen  2
     2024-04-10 22:02:42   params_sys_id   ShellyWallDisplay-00082292FFB1
     2024-04-10 22:02:42   params_sys_mac  00082292FFB1
     2024-04-10 22:02:42   params_sys_model SAWD-0A1XX10EU1
     2024-04-10 22:02:42   params_sys_platform vXD10000M2
     2024-04-10 22:02:42   params_sys_relay_in_thermostat true
     2024-04-10 22:02:42   params_sys_restart_required false
     2024-04-10 22:02:42   params_sys_schedule_rev 0
     2024-04-10 22:02:42   params_sys_sensor_in_thermostat true
     2024-04-10 22:02:42   params_sys_unixtime 1712779361
     2024-04-10 22:02:42   params_sys_uptime 9303
     2024-04-10 22:02:42   params_sys_ver  1.2.11
     2024-04-10 22:02:42   params_sys_webhook_rev 0
     2024-04-10 22:51:00   params_temperature_0_id 0
     2024-04-10 22:51:00   params_temperature_0_tC 17.3
     2024-04-10 22:51:00   params_temperature_0_tF 63.2
     2024-04-10 22:02:42   params_thermostat_0_current_C 17.3
     2024-04-10 22:02:42   params_thermostat_0_enable true
     2024-04-10 22:02:42   params_thermostat_0_id 0
     2024-04-10 22:02:42   params_thermostat_0_output false
     2024-04-10 22:02:42   params_thermostat_0_schedules_enable false
     2024-04-10 22:02:42   params_thermostat_0_target_C 8
     2024-04-10 22:51:00   params_ts       1712782260
     2024-04-10 22:02:42   params_wifi_gw  192.168.13.1
     2024-04-10 22:02:42   params_wifi_mac 00:08:22:92:FF:B1
     2024-04-10 22:02:42   params_wifi_nameserver 192.168.13.1
     2024-04-10 22:02:42   params_wifi_netmask 255.255.0.0
     2024-04-10 22:02:42   params_wifi_rssi -66
     2024-04-10 22:02:42   params_wifi_ssid s-zuHause
     2024-04-10 22:02:42   params_wifi_sta_ip 192.168.13.113
     2024-04-10 22:02:42   params_wifi_status got ip
     2024-04-10 22:51:03   platform        vXD10000M2
     2024-04-10 22:51:03   relay_in_thermostat true
     2024-04-10 22:51:03   restart_required false
     2024-04-10 22:51:00   rh              54.1
     2024-04-10 22:02:42   rssi            -66
     2024-04-10 22:51:03   schedule_rev    0
     2024-04-10 22:02:42   schedules_enable false
     2024-04-10 22:51:03   sensor_in_thermostat true
     2024-04-10 22:02:41   source          THERMOSTAT
     2024-04-10 22:51:00   src             ShellyWallDisplay-00082292FFB1
     2024-04-10 22:02:42   ssid            s-zuHause
     2024-04-10 22:02:42   sta_ip          192.168.13.113
     2024-04-10 22:02:42   state           false
     2024-04-10 22:02:42   status          got ip
     2024-04-10 22:51:00   tC              17.3
     2024-04-10 22:51:00   tF              63.2
     2024-04-10 22:02:42   target_C        8
     2024-04-10 22:51:03   unixtime        1712782262
     2024-04-10 22:51:03   uptime          12204
     2024-04-10 22:51:03   ver             1.2.11
     2024-04-10 22:51:03   webhook_rev     0
Attributes:
   event-on-change-reading params_thermostat_0_target_C,params_temperature_0_tC,params_humidity_0_rh,lux,output
   readingList ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/online:.* online
ShellyWallDisplay_00082292FFB1:/sys:.* { json2nameValue($EVENT) }
ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/status/ble:.* ble
ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/events/rpc:.* { json2nameValue($EVENT) }
ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/status/cloud:.* { json2nameValue($EVENT) }
ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/status/mqtt:.* { json2nameValue($EVENT) }
ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/status/temperature_0:.* { json2nameValue($EVENT) }
ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/status/humidity_0:.* { json2nameValue($EVENT) }
ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/status/illuminance_0:.* { json2nameValue($EVENT) }
ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/status/switch_0:.* { json2nameValue($EVENT) }
ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/status/input_0:.* { json2nameValue($EVENT) }
ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/status/sys:.* { json2nameValue($EVENT) }
ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/status/wifi:.* { json2nameValue($EVENT) }
ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/status/devicepower_0:.* { json2nameValue($EVENT) }
ShellyWallDisplay_00082292FFB1:ShellyWallDisplay-00082292FFB1/status/thermostat_0:.* { json2nameValue($EVENT) }
   room       MQTT2_DEVICE
			
			
			
				Zitat von: Hermann am 10 April 2024, 22:55:47Stelle es mal hier rein... vielleicht  interessiert es ja jemand.
Na ja, "interessant" ist es schon... Zumindest sieht man, dass identische Infos über einige Wege versendet werden - das braucht eigentlich niemand in dieser Form.
Um es zu verbessern, müßte man wissen, was genau über welchen Weg wann an den Server geschickt wird, dann aussortieren, was man davon haben will. Den Teil dann "sauber" mappen (params_temperature_0_tC => temperature), und ggf. event-Reduzierungsmaßnahmen dazu packen, ...
Viel Freude mit dem Ding (ich hasse diese besch... Firmwares).
			
 
			
			
				Das Teil interessiert mich auch: es hat ja ein Touch-Display. Sind da die Tastpositionen vordefiniert, lassen die sich auch über MQTT auslesen?
Gruß
helgo
			
			
			
				Hallo Leute
Mein Fazit zu dem Display.
Ist wohl z.Zt. nur in der Shelly Cloud sinnvoll einzusetzen,
zumindest weiss ich es nicht besser.
Und nur als Thermostat mit Feuchte und Helligkeitsmessung schon sehr teuer. 
mfg.
Hermann
			
			
			
				Ich nutze das Shelly Wall Display als Schalter und natürlich zur Steuerung von Shellies.
Habe heute mal MQTT angemacht und versucht das Template anzupassen obwohl ich da nicht fit bin. 
Schalten geht über fhem und auch Readings für temperature, humidity, eingeschaltet, lux.
Allerdings sind temperature, humidity vom internen Sensor und nicht vom externen, der nirgendwo in den Readings auftaucht.
devStateIcon habe ich auch nicht hinbekommen, aber Logging tut.
Readings:
IODev	MQTT2_FHEM_Server	2025-10-20 14:11:04
dst	ShellyWallDisplay\/events	2025-10-20 14:36:09
eingeschaltet	false	2025-10-20 14:24:05
humidity	38	2025-10-20 14:40:09
ip	192.168.2.114	2025-10-20 14:11:08
lux	30	2025-10-20 14:36:09
method	NotifyStatus	2025-10-20 14:36:09
online	true	2025-10-20 14:11:08	
params_cloud_connected	true	2025-10-20 14:11:08	
params_devicepower_0_external_present	true	2025-10-20 14:11:08	
params_devicepower_0_id	0	2025-10-20 14:11:08	
params_humidity_0_id	0	2025-10-20 14:36:09	
params_illuminance_0_id	0	2025-10-20 14:36:09	
params_illuminance_0_illumination	twilight	2025-10-20 14:36:09	
params_illuminance_0_lux	30	2025-10-20 14:08:09	
params_input_0_id	0	2025-10-20 14:11:08	
params_input_0_state	false	2025-10-20 14:11:08	
params_media_item_counts_audio	0	2025-10-20 14:11:08	
params_media_item_counts_photo	0	2025-10-20 14:11:08	
params_media_item_counts_video	0	2025-10-20 14:11:08	
params_media_playback_buffering	false	2025-10-20 14:11:08	
params_media_playback_enable	false	2025-10-20 14:11:08	
params_media_playback_media_meta_thumb	https:\/\/cdn.onlineradiobox.com\/img\/apple-touch-icon-120x120.png	2025-10-20 14:11:08	
params_media_playback_media_meta_title	JS Bach - Classical Radio	2025-10-20 14:11:08	
params_media_playback_media_type	RADIO	2025-10-20 14:11:08	
params_media_playback_volume	10	2025-10-20 14:11:08	
params_media_total_size	3885854	2025-10-20 14:11:08	
params_media_total_size_h	3.706 MB	2025-10-20 14:11:08	
params_mqtt_connected	true	2025-10-20 14:11:08	
params_switch_0_id	0	2025-10-20 14:24:05	
params_switch_0_source	HTTP \/relay legacy command	2025-10-20 14:24:05	
params_sys_app	WallDisplay	2025-10-20 14:11:08	
params_sys_app_uptime	1013679	2025-10-20 14:11:08	
params_sys_auth_en	false	2025-10-20 14:11:08	
params_sys_awaiting_auth_code	false	2025-10-20 14:11:08	
params_sys_batch_date	230930	2025-10-20 14:11:08	
params_sys_batch_id	38612	2025-10-20 14:11:08	
params_sys_cfg_rev	23	2025-10-20 14:11:08	
params_sys_ch_1	switch:0	2025-10-20 14:11:08	
params_sys_discoverable	false	2025-10-20 14:11:08	
params_sys_fs_free	4756504576	2025-10-20 14:11:08	
params_sys_fs_size	4845625344	2025-10-20 14:11:08	
params_sys_fw_id	20251002-123335\/2.4.5-32f73abb	2025-10-20 14:11:08	
params_sys_gen	2	2025-10-20 14:11:08	
params_sys_id	ShellyWallDisplay-0008224FB3C8	2025-10-20 14:11:08	
params_sys_mac	0008224FB3C8	2025-10-20 14:11:08	
params_sys_model	SAWD-0A1XX10EU1	2025-10-20 14:11:08	
params_sys_platform	vXD10000M2	2025-10-20 14:11:08	
params_sys_ram_free	46204568	2025-10-20 14:11:08	
params_sys_ram_size	134217728	2025-10-20 14:11:08	
params_sys_relay_in_thermostat	false	2025-10-20 14:11:08	
params_sys_restart_required	false	2025-10-20 14:11:08	
params_sys_schedule_rev	0	2025-10-20 14:11:08	
params_sys_sensor_in_thermostat	false	2025-10-20 14:11:08	
params_sys_serial	SAWD89A54014L	2025-10-20 14:11:08	
params_sys_unixtime	1760962258	2025-10-20 14:11:08	
params_sys_uptime	1013758	2025-10-20 14:11:08	
params_sys_ver	2.4.5	2025-10-20 14:11:08	
params_sys_webhook_rev	6	2025-10-20 14:11:08	
params_temperature_0_id	0	2025-10-20 14:36:09	
params_temperature_0_tF	73.3	2025-10-20 14:36:09	
params_ts	1760963760	2025-10-20 14:36:09	
params_wifi_gw	192.168.2.1	2025-10-20 14:11:08	
params_wifi_mac	00:08:22:4F:B3:C8	2025-10-20 14:11:08	
params_wifi_nameserver	192.168.2.1	2025-10-20 14:11:08	
params_wifi_netmask	255.255.255.0	2025-10-20 14:11:08	
params_wifi_rssi	-53	2025-10-20 14:11:08	
params_wifi_ssid	Home	2025-10-20 14:11:08	
params_wifi_status	got ip	2025-10-20 14:11:08
src	ShellyWallDisplay-0008224FB3C8	2025-10-20 14:36:09
state	set_off	2025-10-20 14:05:02
subscriptions	ShellyWallDisplay/rpc	2025-10-20 14:11:58
temperature	23	2025-10-20 14:40:09
Mein config file:
# Shelly ShellyWallDisplay 
define ShellyWallDisplay MQTT2_DEVICE ShellyWallDisplay
attr ShellyWallDisplay devStateIcon {my $onl = ReadingsVal($name,'eingeschaltet','false') eq 'false'?'10px-kreis-rot':'10px-kreis-gruen';; $onl = FW_makeImage($onl);; my $light = FW_makeImage(ReadingsVal($name,'state','off'));; my $humid = ReadingsVal($name,humidity,'-100');; my $temp = ReadingsVal($name,'temperature','-100');; my $ip = ReadingsVal($name,'ip','none');; my $reb = ReadingsVal($name,'sys_restart_required','false') eq 'true'?'<a href="/fhem?cmd.dummy=set '.$name.' x_reboot&XHR=1"> ... Notwendigen Reboot durchführen</a>':'';; qq(<a href="http://$ip" target="_blank">${onl}</a><a href="/fhem?cmd.dummy=set $name toggle&XHR=1">${light}</a>$reb<div>Feuchtigkeit: $humid % / Temp: $temp °C</div>)}
attr ShellyWallDisplay devicetopic ShellyWallDisplay
attr ShellyWallDisplay event-on-change-reading eingeschaltet,temperature,state,status,sys_restart_required,online,humidity,lux
attr ShellyWallDisplay getList in_mode:noArg in_mode $DEVICETOPIC/rpc {"id": 1,"src":"$DEVICETOPIC", "method": "Switch.GetConfig", "params": {"id": 0}}
attr ShellyWallDisplay group Shelly
attr ShellyWallDisplay jsonMap switch_state:state params_wifi_sta_ip:ip params_temperature_0_tC:temperature result_in_mode:in_mode params_switch_0_output:eingeschaltet params_humidity_0_rh:humidity params_illuminance_0_lux:lux
attr ShellyWallDisplay model ShellyWallDisplay
attr ShellyWallDisplay readingList $DEVICETOPIC/online:.* online\
  $DEVICETOPIC/events/rpc:.* { json2nameValue($EVENT,'',$JSONMAP) }\
  $DEVICETOPIC/status/mqtt:.* { json2nameValue($EVENT, 'mqtt_', $JSONMAP) }\
  $DEVICETOPIC/status/sys:.* { json2nameValue($EVENT, 'sys_', $JSONMAP) }\
  $DEVICETOPIC/status/switch_0:.* { json2nameValue($EVENT,, $JSONMAP) }\
  $DEVICETOPIC/status/cloud:.* {}\
  $DEVICETOPIC/status:.* { json2nameValue($EVENT) }
attr ShellyWallDisplay room Raum->Wohnzimmer
attr ShellyWallDisplay setList toggle:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Toggle","params": {"id":0}}\
  off:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":false}}\
  on:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":true}}\
  on-for-timer $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":true,"toggle_after":$EVTPART1}}\
  off-for-timer $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":false,"toggle_after":$EVTPART1}}\
  in_mode:toggle,flip,detached {fhem("sleep 0.2;; get $NAME in_mode");; my $val = $EVTPART1 ne 'toggle' ? $EVTPART1 : ReadingsVal($NAME,'in_mode','flip') eq 'flip' ? 'detached':'flip';; qq($DEVICETOPIC/rpc {"id":1,"src":"fhem2shelly","method":"Switch.SetConfig","params": {"id":0, "config": {"in_mode": "$val"}}})}\
  x_update:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Shelly.Update","params": {"stage":"stable"}}\
  x_reboot:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Shelly.Reboot"}\
  x_eco:true,false $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Sys.SetConfig","params": {"config": {"device": {"eco_mode": $EVTPART1}}}}
attr ShellyWallDisplay setStateList on off toggle on-for-timer off-for-timer
attr ShellyWallDisplay webCmd :
# FileLog 
define Log_ShellyWallDisplay FileLog ./logs/ShellyWallDisplay-%Y.log ShellyWallDisplay:(temperature.*|humidity.*|eingeschaltet.*|lux.*)
attr Log_ShellyWallDisplay logtype text
attr Log_ShellyWallDisplay room Logs
define Graph_ShellyWallDisplay SVG Log_ShellyWallDisplay:hms_tf:CURRENT
attr Graph_ShellyWallDisplay room Raum->Wohnzimmer
attr Graph_ShellyWallDisplay title "WallDisplay Temperature Min:$data{min3} Max:$data{max3} Last:$data{currval3} -- Humidity Min:$data{min2} Max:$data{max2} Last:$data{currval2}"
Logfile:
025-10-20_14:32:09 ShellyWallDisplay humidity: 37.9
2025-10-20_14:31:09 ShellyWallDisplay temperature: 23
2025-10-20_14:29:09 ShellyWallDisplay humidity: 37.8
2025-10-20_14:29:09 ShellyWallDisplay temperature: 22.9
2025-10-20_14:28:09 ShellyWallDisplay temperature: 23.1
2025-10-20_14:27:09 ShellyWallDisplay humidity: 37.7
2025-10-20_14:26:09 ShellyWallDisplay humidity: 37.8
2025-10-20_14:26:09 ShellyWallDisplay temperature: 23
2025-10-20_14:25:09 ShellyWallDisplay humidity: 37.9
2025-10-20_14:24:09 ShellyWallDisplay lux: 30
2025-10-20_14:24:09 ShellyWallDisplay temperature: 23.1
2025-10-20_14:24:05 ShellyWallDisplay eingeschaltet: false
2025-10-20_14:23:10 ShellyWallDisplay lux: 5
2025-10-20_14:23:00 ShellyWallDisplay eingeschaltet: true
2025-10-20_14:22:09 ShellyWallDisplay humidity: 37.8
2025-10-20_14:22:09 ShellyWallDisplay temperature: 23
2025-10-20_14:21:45 ShellyWallDisplay eingeschaltet: false
2025-10-20_14:20:45 ShellyWallDisplay eingeschaltet: true
2025-10-20_14:20:09 ShellyWallDisplay humidity: 37.7
2025-10-20_14:20:09 ShellyWallDisplay temperature: 22.9
2025-10-20_14:19:24 ShellyWallDisplay eingeschaltet: false
2025-10-20_14:19:09 ShellyWallDisplay lux: 30
2025-10-20_14:19:09 ShellyWallDisplay humidity: 37.9
2025-10-20_14:19:09 ShellyWallDisplay temperature: 23
2025-10-20_14:18:15 ShellyWallDisplay eingeschaltet: true
2025-10-20_14:18:12 ShellyWallDisplay lux: 5
2025-10-20_14:18:09 ShellyWallDisplay humidity: 37.7
2025-10-20_14:17:09 ShellyWallDisplay humidity: 38
...
			
			
			
				Kann man (per MQTT oder anderweitig) auch einstellen was im Display angezeigt wird? Also ist ein benutzerdefinierter Text (von FHEM generiert und gesendet) zur Darstellung von Gerätezuständen möglich?
			
			
			
				Zitat von: kingmathers am 31 Oktober 2025, 01:02:27Kann man (per MQTT oder anderweitig) auch einstellen was im Display angezeigt wird? Also ist ein benutzerdefinierter Text (von FHEM generiert und gesendet) zur Darstellung von Gerätezuständen möglich?
Denke nicht.
Aber schau mal hier: https://shelly-forum.com/thread/29897-rpc-mqtt-topics/ (https://shelly-forum.com/thread/29897-rpc-mqtt-topics/)