FHEM Forum

FHEM => Sonstiges => Thema gestartet von: HomeAuto_User am 17 Juni 2019, 19:53:55

Titel: Manche Module keine commandref anklickbar "Device specific help"
Beitrag von: HomeAuto_User am 17 Juni 2019, 19:53:55
Hallo,

bei manchen Modulen auf dem System erscheint eine mir nicht erklärbare Bildschirmausgabe obwohl diese ein Commandref besitzen.

Internal command: it

aus dem Modul IT Bsp.:

Könnt Ihr Euch das erklären?

Mfg
Titel: Antw:Manche Module keine commandref anklickbar "Device specific help"
Beitrag von: rischbiter123 am 17 Juni 2019, 20:35:48
Moin,

das passiert, glaube ich, wenn das attr global commandref auf modular steht.

LG

Andreas
Titel: Antw:Manche Module keine commandref anklickbar "Device specific help"
Beitrag von: HomeAuto_User am 17 Juni 2019, 20:52:33
Hallo Andreas,

danke für deine schnelle Antwort. Leider ist dies nicht der Fall.

Internals:
   DEF        no definition
   FD         3
   NAME       global
   NR         1
   STATE      no definition
   TYPE       Global
   currentlogfile ./log/fhem-2019-06.log
   logfile    ./log/fhem-%Y-%m.log
Attributes:
   autoload_undefined_devices 1
   autosave   0
   comment    https://fhem.de/stats/statistics.html
   configfile fhem.cfg
   language   DE
   latitude   51.340824
   logfile    ./log/fhem-%Y-%m.log
   longitude  12.484747
   modpath    .
   nrarchive  1
   room       Unsorted
   stacktrace 0
   statefile  ./log/fhem.save
   updateInBackground 1
   userattr   cmdIcon devStateIcon devStateIcon:textField-long devStateStyle icon siriName sortby webCmd webCmdLabel:textField-long widgetOverride
   verbose    3
   version    fhem.pl:19485/2019-05-29
Titel: Antw:Manche Module keine commandref anklickbar "Device specific help"
Beitrag von: rischbiter123 am 17 Juni 2019, 21:08:47
Moin,

setz das Attribut mal explizit auf full und versuch es dann noch mal. Eventuell muss dann ein update gemacht werden.

LG

Andreas
Titel: Antw:Manche Module keine commandref anklickbar "Device specific help"
Beitrag von: HomeAuto_User am 17 Juni 2019, 21:17:45
Zitat von: rischbiter123 am 17 Juni 2019, 21:08:47
Moin,

setz das Attribut mal explizit auf full und versuch es dann noch mal. Eventuell muss dann ein update gemacht werden.

LG

Andreas

Nachdem ich das Attribut auf "full" setzte erscheint nach einen Update das selbe.
Titel: Antw:Manche Module keine commandref anklickbar "Device specific help"
Beitrag von: rudolfkoenig am 17 Juni 2019, 21:25:57
"Device specific help" ruft "help <modulname>" auf.
Wenn das nicht funktoniert, muss man bei help weitersuchen.
Titel: Antw:Manche Module keine commandref anklickbar "Device specific help"
Beitrag von: HomeAuto_User am 17 Juni 2019, 21:54:26
Zitat von: rudolfkoenig am 17 Juni 2019, 21:25:57
"Device specific help" ruft "help <modulname>" auf.
Wenn das nicht funktoniert, muss man bei help weitersuchen.

Ein

help IT

bringt

Internal command: it

... oder stehe ich auf dem Schlauch  ???
Titel: Antw:Manche Module keine commandref anklickbar "Device specific help"
Beitrag von: Wuehler am 18 Juni 2019, 08:14:31
Moin,

Fand das interessant und habe den Fehler gefunden.
In Zeile 44 von 98_help.pm fehlt ein \, vor $mod
Ist:
if($cmds{help}{InternalCmds} !~ m/$mod\,/) {
Soll:
     if($cmds{help}{InternalCmds} !~ m/\,$mod\,/) {

Dadurch matched eine Abfrage nach IT auf das command quit.
Um das erste command auch zu erkennen müsste in Zeile 163 ein Komma an den Anfang gesetzt werden:
Soll:
my $output = ",";

Ist ungetestet, da ich im Zug bin und nur ein Handy dabei habe.

Edit: das Forum sonstiges passt für help. Sollte betateilchen also mitbekommen als Maintainer.

Viele Grüße,
Dirk
Titel: Antw:Manche Module keine commandref anklickbar &quot;Device specific help&quot;
Beitrag von: HomeAuto_User am 18 Juni 2019, 10:15:51
Hallo Dirk,

Danke für deine Antwort.
Ich habe es mal auf die Schnelle eingebaut und siehe da, die Help ist sichtbar :)

Ich würde Betateilchen mal direkt noch informieren um diesen Fix zu beheben ;)

Lg


Gesendet von iPhone mit Tapatalk Pro