Hauptmenü

SVG Icon

Begonnen von Freee84neu, 13 Juni 2020, 12:24:48

Vorheriges Thema - Nächstes Thema

Freee84neu

Moin

hat jemand ein icon für eine Leinwand oder weiss jemand wo es welche zu finden gibt ?

gruss

amenomade

fa-x-ray, fa-archive, oa-fts_garage_door_100, fs-fts_shutter_1w_100 könntest Du als Umweg nutzen.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Freee84neu

Die habe ich alle garnicht

amenomade

Doch schon. Mindestend openautomation und font awsome kommen standardmässig mit Fhem mit.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Freee84neu


Freee84neu

Schon gefunden danke

Freee84neu

Gehört zwar nicht hier rein aber wie bekomme ich es hin das der Alias mit dem Icon in einer Reihe steht

amenomade

Hmmm... vielleicht nicht so einfach. Kann man sehen, wie dein Device konfiguriert ist? (list)
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Freee84neu

Internals:
   .eventMapCmd Hoch:noArg Runter:noArg
   CID        126
   DEF        126
   DEVICETOPIC Kim_Rollo
   FUUID      5c4851b2-f33f-af43-f700-031352066cca9bfb
   IODev      MQTT2_Server
   LASTInputDev MQTT2_Server
   MQTT2_Server_MSGCNT 125
   MQTT2_Server_TIME 2020-06-13 20:25:50
   MSGCNT     125
   NAME       Kim_Rollo
   NR         1089
   STATE      1
   TYPE       MQTT2_DEVICE
   .attraggr:
   .attreocr:
     .*
   .attrminint:
   .userReadings:
     HASH(0x57110c0)
     HASH(0x5772538)
     HASH(0x57726d8)
   READINGS:
     2020-05-23 21:15:07   BASE            18
     2020-04-18 01:21:25   Command         Unknown
     2020-05-23 21:15:07   FLAG            1
     2020-05-23 21:15:16   FallbackTopic   cmnd/126_fb/
     2020-05-23 21:15:07   GPIO_1          255
     2020-05-23 21:15:07   GPIO_10         255
     2020-05-23 21:15:07   GPIO_11         255
     2020-05-23 21:15:07   GPIO_12         255
     2020-05-23 21:15:07   GPIO_13         255
     2020-05-23 21:15:07   GPIO_2          255
     2020-05-23 21:15:07   GPIO_3          255
     2020-05-23 21:15:07   GPIO_4          255
     2020-05-23 21:15:07   GPIO_5          255
     2020-05-23 21:15:07   GPIO_6          255
     2020-05-23 21:15:07   GPIO_7          255
     2020-05-23 21:15:07   GPIO_8          255
     2020-05-23 21:15:07   GPIO_9          255
     2020-05-23 21:15:16   GroupTopic      cmnd/sonoffs/
     2020-06-13 20:25:50   Heap            26
     2020-06-09 11:06:00   Hoch            Hoch
     2020-06-13 20:25:50   Homebridgeposition 100
     2020-05-23 21:15:16   Hostname        Kim_Rollo-3273
     2020-05-23 21:15:16   IPAddress       192.168.169.126
     2020-06-13 14:31:02   LWT             Online
     2020-06-13 20:25:50   LoadAvg         19
     2020-05-23 21:15:16   Module          Sonoff 4CH Pro
     2020-06-13 20:25:50   MqttCount       27
     2020-05-23 21:15:07   NAME            Generic
     2020-04-18 01:45:22   OtaUrl          http://fritz.nas:49200/Sonoff/tasmota-DE.bin
     2020-06-13 14:31:02   POWER           
     2020-06-13 20:25:50   POWER1          OFF
     2020-06-13 20:25:50   POWER2          OFF
     2020-06-13 20:25:50   POWER3          OFF
     2020-06-13 20:25:50   POWER4          OFF
     2020-05-23 21:15:16   RestartReason   Software/System restart
     2020-06-09 11:05:48   Runter          Runter
     2020-04-17 20:45:09   SaveData        ON
     2020-06-13 20:25:50   Sleep           50
     2020-06-13 20:25:50   SleepMode       Dynamic
     2020-06-13 20:25:50   State           on2
     2020-06-09 10:38:03   Stop            Stop
     2020-06-13 20:25:50   Time            2020-06-13T19:25:50
     2020-04-18 01:47:15   UPGRADE         {"Upgrade":"Successful. Restarting"}
     2020-04-18 01:45:45   Upgrade         Version 8.2.0 from http://fritz.nas:49200/Sonoff/tasmota-DE.bin
     2020-06-13 20:25:50   Uptime          20T23:10:42
     2020-06-13 20:25:50   UptimeSec       1811442
     2020-04-18 01:44:27   Vcc             3.423
     2020-05-23 21:15:16   Version         8.2.0(tasmota)
     2020-04-17 20:46:25   WebColor_1      #eaeaea
     2020-04-17 20:46:25   WebColor_10     #faffff
     2020-04-17 20:46:25   WebColor_11     #1fa3ec
     2020-04-17 20:46:25   WebColor_12     #0e70a4
     2020-04-17 20:46:25   WebColor_13     #d43535
     2020-04-17 20:46:25   WebColor_14     #931f1f
     2020-04-17 20:46:25   WebColor_15     #47c266
     2020-04-17 20:46:25   WebColor_16     #5aaf6f
     2020-04-17 20:46:25   WebColor_17     #faffff
     2020-04-17 20:46:25   WebColor_18     #999999
     2020-04-17 20:46:25   WebColor_2      #252525
     2020-04-17 20:46:25   WebColor_3      #4f4f4f
     2020-04-17 20:46:25   WebColor_4      #000000
     2020-04-17 20:46:25   WebColor_5      #dddddd
     2020-04-17 20:46:25   WebColor_6      #65c115
     2020-04-17 20:46:25   WebColor_7      #1f1f1f
     2020-04-17 20:46:25   WebColor_8      #ff5661
     2020-04-17 20:46:25   WebColor_9      #008000
     2020-05-23 21:15:16   WebServerMode   Admin
     2020-06-13 20:25:50   Wifi_AP         1
     2020-06-13 20:25:50   Wifi_BSSId      08:96:D7:F7:08:C9
     2020-06-13 20:25:50   Wifi_Channel    1
     2020-06-13 20:25:50   Wifi_Downtime   0T00:02:23
     2020-06-13 20:25:50   Wifi_LinkCount  2
     2020-06-13 20:25:50   Wifi_RSSI       68
     2020-06-13 20:25:50   Wifi_SSId       1.Etg von Farwick
     2020-06-13 20:25:50   Wifi_Signal     -66
     2020-06-13 17:19:29   state           on2
     2020-06-13 17:19:29   statePosition   1
     2020-06-13 14:31:48   subscriptions   cmnd/126_fb/# cmnd/Kim_Rollo/# cmnd/sonoffs/#
Attributes:
   IODev      MQTT2_Server
   alias      Kim
   cmdIcon    Runter:rc_DOWN Hoch:rc_UP Stop:time_manual_mode
   devStateIcon 1:fts_shutter_10 3:fts_shutter_40 2:fts_shutter_90
   devStateStyle style="width: 100px;text-align: center"
   event-on-change-reading .*
   eventMap   on2:Hoch on1:Runter
   genericDeviceType blind
   group      Rollo's
   homebridgeMapping clear CurrentPosition=Homebridgeposition,minValue=0,maxValue=100,minStep=50 TargetPosition=Homebridgeposition,minValue=0,maxValue=100,minStep=50,cmds=0:on1;;50:Stop;;100:on2
   icon       fts_shutter_updown
   readingList 126:tele/Kim_Rollo/LWT:.* LWT
126:cmnd/Kim_Rollo/POWER:.* POWER
126:tele/Kim_Rollo/INFO1:.* { json2nameValue($EVENT) }
126:tele/Kim_Rollo/INFO2:.* { json2nameValue($EVENT) }
126:tele/Kim_Rollo/INFO3:.* { json2nameValue($EVENT) }
126:stat/Kim_Rollo/RESULT:.* { json2nameValue($EVENT) }
126:stat/Kim_Rollo/POWER1:.* POWER1
126:stat/Kim_Rollo/RESULT:.* { json2nameValue($EVENT) }
126:stat/Kim_Rollo/POWER2:.* POWER2
126:stat/Kim_Rollo/RESULT:.* { json2nameValue($EVENT) }
126:stat/Kim_Rollo/POWER3:.* POWER3
126:stat/Kim_Rollo/RESULT:.* { json2nameValue($EVENT) }
126:stat/Kim_Rollo/POWER4:.* POWER4
126:tele/Kim_Rollo/STATE:.* { json2nameValue($EVENT) }
126:tele/Kim_Rollo/UPTIME:.* { json2nameValue($EVENT) }
126:stat/Kim_Rollo/UPGRADE:.* UPGRADE
   room       2. Schlafbereich,HomeKit
   setList    on1 cmnd/Kim_Rollo/POWER1 ON
off1 cmnd/Kim_Rollo/POWER1 OFF
on2 cmnd/Kim_Rollo/POWER2 ON
off2 cmnd/Kim_Rollo/POWER2 OFF
on3 cmnd/Kim_Rollo/POWER3 ON
off3 cmnd/Kim_Rollo/POWER3 OFF
on4 cmnd/Kim_Rollo/POWER4 ON
off4 cmnd/Kim_Rollo/POWER4 OFF
Stop cmnd/Kim_Rollo/POWER0 OFF
RESTART cmnd/Kim_Rollo/RESTART 1

   stateFormat statePosition
   userReadings State { ReadingsVal("$NAME","state",0) }, statePosition:(POWER1|POWER2):.ON|State:.Stop {if (ReadingsVal("$NAME","POWER2","") eq "ON" && ReadingsVal("$NAME","State","") ne "Stop") {return 1} if (ReadingsVal("$NAME","POWER1","") eq "ON" && ReadingsVal("$NAME","State","") ne "Stop") {return 2} if (ReadingsVal("$NAME","State","") eq "Stop") {return 3}}, Homebridgeposition {if (ReadingsVal($NAME,"statePosition","") eq "1") {return 100} if (ReadingsVal($NAME,"statePosition","") eq "2") {return 0} if (ReadingsVal($NAME,"statePosition","") eq "3") {return 50}}
   webCmd     Hoch:Runter:Stop

amenomade

Ne. Ausser vielleicht über Rumfummeln in den .css Dateien, sehe ich keine einfache Möglichkeit.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Freee84neu

Hmm ... das ist nicht so schön 🧐🤨

MiKn

eventuell über einen Umweg:

defmod RL_Kueche readingsGroup RL_Kueche:!stop,!rauf,!runter
attr RL_Kueche alias Küche
attr RL_Kueche commands {'stop' => 'set HM_34CED7 stop', 'rauf' => 'set HM_34CED7 hoch', 'runter' => 'set HM_34CED7 runter'}
attr RL_Kueche fp_WG.FP.Rolladen 356,776,0,RG_Kueche,
attr RL_Kueche noheading 1
attr RL_Kueche room Floorplan
attr RL_Kueche style style="text-align:left;;font-size:26px;;color:white;;font-weight:bold;;width: 325px;; height: 119px;;"
attr RL_Kueche valueIcon { 'stop' => 'control_on_off', 'rauf' => 'control_arrow_up', 'runter' => 'control_arrow_down'}