Hallo zusammen,
da ich fhem ein halbes Jahr auf Eis legen musste habe ich scheinbar etwas vverpasst.
Früher hatte ich bei z.B. Licht als icon standartmässig eine Birne die grau war, also aus. wurde der Schalter betätigt, wechselte die auf Gelb, also an.
Heute habe ich nur noch einen Power Button, der sich nicht ändert. Wurde hier was geändert? Geht es nicht mehr wie früher? Mache ich was falsch? Habe im Forum unf g....le gesucht, finde aber keine Antwort :-(
Grüße, Kakaomonster
EDIT: Sorry fürs falsche Forum, danke fürs verschieben....
Das hat sich prinzipiell nicht geaendert.
Warum das in deinem Fall ander ist, weiss ich nicht, dazu muesste man details Wissen.
Hallo Rudolf,
danke für die Antwort. Welche Details benötigst Du genau?
Also, ich hatte fhem "stillgelegt" im August, Raspi stecker raus und fertig. Das alles wegen Umzug. Nun im neuen Haus gleicher Router, gleiches Raspi, Systeme.... alles gleich. Eingesteckz, update fertig. Einige Schalter wieder angelegt ( alte genommen, 1:1 kopiert mit neuem Namen ( z.B. wurde aus
Zitatdefine liUG_Flur IT 0FFFFFF00F FF F0
attr liUG_Flur IODev CUL_0
attr liUG_Flur group Licht
attr liUG_Flur model itswitch
attr liUG_Flur room Beleuchtung
dann neu
define FlurUG IT 0FFFFFF00F FF F0
attr FlurUG IODev CUL_0
attr FlurUG group Licht
attr FlurUG model itswitch
attr FlurUG room Beleuchtung
Diese haben dann jetzt den neuen Button. Die alten (die derzeit zwar definiert sind aber noch nicht verbaut haben diesen jedoch auch.
Update habe ich glaube gestern wiederausgeführt, nach "version" kommt:
$Id: fhem.pl 7358 2014-12-29 16:03:31Z rudolfkoenig $ # $Id: 00_CUL.pm 7472 2015-01-07 20:52:03Z rudolfkoenig $ # $Id: 14_CUL_MAX.pm 7067 2014-11-26 19:49:23Z mgehre $ # $Id: 57_Calendar.pm 7509 2015-01-10 20:19:03Z borisneubert $ # $Id: 95_Dashboard.pm 5921 2014-05-21 18:47:19Z svenson08 $ # $Id: 64_ESA2000.pm 7243 2014-12-17 13:04:32Z stromer-12 $ # $Id: 00_FBAHA.pm 7098 2014-11-30 08:48:03Z rudolfkoenig $ # $Id: 72_FB_CALLMONITOR.pm 7456 2015-01-05 21:26:46Z markusbloch $ # $Id: 01_FHEMWEB.pm 7503 2015-01-10 19:41:41Z rudolfkoenig $ # $Id: 95_FLOORPLAN.pm 6174 2014-06-29 05:51:28Z ulimaass $ # $Id: 92_FileLog.pm 7496 2015-01-10 16:54:23Z rudolfkoenig $ # $Id: 20_GUEST.pm 7130 2014-12-05 17:17:57Z loredo $ # $Id: 98_HTTPMOD.pm 7313 2014-12-23 09:37:35Z ststrobel $ # $Id: 10_IT.pm 7356 2014-12-29 15:25:04Z justme1968 $ # $Id: 82_LGTV2012.pm 2 2014-03-17 11:05:19Z juliantatsch $ # $Id: 31_LightScene.pm 7289 2014-12-21 17:28:44Z justme1968 $ # $Id: 10_MAX.pm 7068 2014-11-26 19:50:04Z mgehre $ # $Id: 73_PRESENCE.pm 7485 2015-01-09 16:16:07Z markusbloch $ # $Id: 10_RESIDENTS.pm 7126 2014-12-05 16:48:55Z loredo $ # $Id: 20_ROOMMATE.pm 7129 2014-12-05 17:17:53Z loredo $ # $Id: 99_SUNRISE_EL.pm 6765 2014-10-14 18:24:29Z rudolfkoenig $ # $Id: 98_SVG.pm 7508 2015-01-10 20:07:04Z rudolfkoenig $ # $Id: 59_Twilight.pm 7462 2015-01-06 17:13:36Z dietmar63 $ # $Id: 99_Utils.pm 7461 2015-01-06 16:32:08Z rudolfkoenig $ # $Id: 90_at.pm 7496 2015-01-10 16:54:23Z rudolfkoenig $ # $Id: 98_autocreate.pm 6505 2014-09-06 12:24:48Z rudolfkoenig $ # $Id: 98_dummy.pm 4934 2014-02-15 08:23:12Z rudolfkoenig $ # $Id: 91_eventTypes.pm 7221 2014-12-15 10:02:49Z rudolfkoenig $ # $Id: 32_mailcheck.pm 7298 2014-12-21 21:20:12Z justme1968 $ # $Id: 91_notify.pm 7260 2014-12-19 12:50:49Z rudolfkoenig $ # $Id: 33_readingsGroup.pm 7479 2015-01-09 12:00:47Z justme1968 $ # $Id: $ # $Id: 98_telnet.pm 6611 2014-09-24 07:48:32Z rudolfkoenig $ ./FHEM/95_webViewControl.pm: No such file or directory # $Id: 98_weblink.pm 5608 2014-04-23 10:57:16Z rudolfkoenig $
Auszug fhem.cfg
attr global userattr devStateIcon devStateStyle fm_type fp_Buero fp_Haus fp_Kamera1 fp_Kamera2 fp_Kamera3 fp_Wohnzimmer icon sortby webCmd widgetOverride
attr global autoload_undefined_devices 1
attr global latitude 52.087252
attr global logfile ./log/fhem-%Y-%m.log
attr global longitude 10.984773
attr global modpath .
attr global motd SecurityCheck:\
\
WEB,WEBphone,WEBtablet has no basicAuth attribute.\
telnetPort has no password/globalpassword attribute.\
\
Restart FHEM for a new check if the problem is fixed,\
or set the global attribute motd to none to supress this message.\
attr global sendStatistics onUpdate
attr global statefile ./log/fhem.save
attr global uniqueID ./FHEM/FhemUtils/uniqueID
attr global updateInBackground 1
attr global verbose 4
define telnetPort telnet 7072 global
define WEB FHEMWEB 8083 global
attr WEB hiddenroom AlarmRoom,DashboardRoom
attr WEB longpoll 1
attr WEB stylesheetPrefix dark
define WEBphone FHEMWEB 8084 global
attr WEBphone hiddenroom AlarmRoom,DashboardRoom
attr WEBphone stylesheetPrefix smallscreen
define WEBtablet FHEMWEB 8085 global
attr WEBtablet hiddenroom AlarmRoom,DashboardRoom
attr WEBtablet stylesheetPrefix ios7smallscreen
# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog
attr Logfile room Logs
define autocreate autocreate
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog ./log/%NAME-%Y.log
attr autocreate room Logs
attr autocreate weblink 1
attr autocreate weblink_room Plots
define eventTypes eventTypes ./log/eventTypes.txt
# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create
define CUL_0 CUL /dev/ttyACM0@9600 1034
attr CUL_0 icon cul_cul
attr CUL_0 model CUL
attr CUL_0 rfmode MAX
attr CUL_0 room System
#attr CUL_0 rfmode slowRF
include FHEM/light.cfg
.....
....
Angezeigt wird bei allen Geräten " set_off", früher immer "FS20.off bzw FS20.on" je nach Zustand
Grüße, Ralf
PS: Sorry für die halben Sätze, hätte einen Unfall Anfang Monat und kann nur noch mit 2 fingern links schreiben.
Ich kenne mich mit MAX nicht wirklich aus, aber ich kriege eine Fehlermeldung, wenn ich dein fhem.cfg ohne Aenderung verwende. Ich vermute, rfmode muss SlowRF sein, MAX ist falsch.
Sonst schaut es bei mir korrekt aus, siehe Anhang, das wuerde bedeuten, dass deine Installation nicht vollstaendig ist.
P.S. ich habe (noch) keine kaputten Finger, aber es scheint mir, dass ich mehr Tippfehler habe, als du.
Hallo Rudolf,
habe mal umgestellt auf Slow, aber sie mal das Bild, es ändert sich nichts :-(
noch eine Idee??
Grüße, Ralf
Die Icon-Findung ist relativ kompliziert. Folgende Elemente spielen eine Rolle:
- das FHEMWEB Attribut iconPath
- die im iconPath Verzeichnissen befindlichen iconalias.txt Dateien
- die Device Attribute devStateIcon, model und eventMap
- TYPE und STATE vom Device.
Mrkwuerdig ist, dass ich das abgebildete Icon in dem Standard-FHEM-Verzeichnis nicht finde.
Guten Morgen,
also irgendwie scheint da mehr im argen zu sein.
ich habe überall ein userattr drinnen, obwohl ich dies aus der fhem.cfg gelösscht habe. nach einem restart ist es wieder da.
gebe ich einem device (egal welchem) ein
attr gerät devstateicon
mit, so kommt eine fehlermeldung nach rereadconfig oder restart auf die meisten geräte.
ein attr global devstate icon ist nicht möglich.
ich muss heute mittag mal auf die suche gehen. für tips bin ich natürlich dankbar.
Grüsse, Ralf
PS: @Rudof habe gehört Du wohnst fast um die ecke.... wenn es sein muss schmeisse ich es zuu dir rüber, lach :-)
Also inzwischen konnte ich nach einer neuinstall von fhm herausfinden, dass er nur "set off bzw on" svg nimmt, aber png nicht mehr. daher kommen auch diese komischen buttons. nur warum, das finde ich einfach nicht :-(