Hallo,
Ich habe eine Homematic Funksteckdose wie folgt in FHEM eingebunden:
defmod HM_325EB1_Sw CUL_HM 325EB101
attr HM_325EB1_Sw alias CR-10 Schalter
attr HM_325EB1_Sw model HM-ES-PMSw1-Pl
attr HM_325EB1_Sw peerIDs 00000000,
attr HM_325EB1_Sw room 3D_Drucker,Homematic
Schalte ich die Steckdose jetzt in der FHEM Oberfläche, bekomme ich immer ein Popup wie im Anhang. Gibt es eine Möglichkeit das zu deaktivieren?
Gruß
Stefan
Hallo Stefan,
wo immer diese Popup herkommt von deinem define und von "Standard" FHEM sicher nicht. Es sei denn, Martin hat da gerade was "eingebaut"
Ich kenne solches Popup nicht - bei keinem meiner HM Schalter wenn ich diese über webcmd schalte.
Gruß Otto
vielleicht liegt es an f18.
Es hilft leider nichts. :(
Ich hatte das auch mal, aber vergessen warum und wie es verschwand.
Mach mal bitte ein list von HM_325EB1_Sw und deiner FHEMWEB-Instanz.
Hier ist noch ein List vom Device:
Internals:
DEF 325EB101
NAME HM_325EB1_Sw
NOTIFYDEV global
NR 286
NTFY_ORDER 50-HM_325EB1_Sw
STATE off
TYPE CUL_HM
chanNo 01
device HM_325EB1
READINGS:
2018-11-13 08:15:45 CommandAccepted yes
2018-11-12 08:10:28 R-sign off
2018-11-12 08:11:12 RegL_01. 08:00 30:06 57:24 00:00
2018-11-13 08:54:19 deviceMsg off (to vccu)
2018-11-13 08:54:19 level 0
2018-11-13 08:54:19 pct 0
2018-11-13 08:54:19 recentStateType info
2018-11-13 08:54:19 state off
2018-11-13 08:54:19 timedOn off
2018-11-13 08:15:45 trigLast fhem:02
helper:
regLst ,1,3p
expert:
def 1
det 0
raw 1
tpl 0
role:
chn 1
tmpl:
Attributes:
alias CR-10 Schalter
model HM-ES-PMSw1-Pl
peerIDs 00000000,
room 3D_Drucker,Homematic
Und noch eins vom FHEMWEB
Internals:
CONNECTS 88
DEF 8083 global
FD 5
NAME WEB
NR 4
NTFY_ORDER 50-WEB
PORT 8083
STATE Initialized
TYPE FHEMWEB
READINGS:
2018-11-13 08:54:14 state Initialized
Attributes:
Css @import url('https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i,900,900i');
html, body, html * {
font-family: 'Roboto';
}
@font-face {
font-style: normal;
font-weight: 300;
}
body, input, select, textarea {
font-weight: 400;
font-size: 14px;
}
input, textarea {
border-style: solid;
border-width: 2px;
border-color: #DDDDDD;
border-radius: 0px;
}
input.maininput {
border-width: 0px;
height: 20px;
color: #333333;
}
input[type="text"] {
-webkit-appearance: none;
padding: 2px;
}
body.touch a {
font-size: 16px;
}
#menuBtn {
position: absolute;
top: 14px;
left: 10px;
width: 28px;
height: 28px;
filter: brightness(3);
}
*:focus {
outline: none;
}
div.pinHeader {
color: white;
height: 18px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
padding: 5px 8px 5px 8px;
}
div.pinHeader a {
color: white !important;
}
svg:not([fill]):not(.jssvg) {
fill: #B0BEC5 !important;
height: 25px;
width: 25px;
padding-right: 10px;
}
table.room, table.block.wide, table.fileList {
border-top: 0px;
border-bottom: 2px solid #333333;
}
table.block.wide {
font-weight: 300;
}
table.block.wide td > div {
padding: 4px;
}
td {
padding: 0px;
}
div#content > table {
width: 100%;
}
div#content::-webkit-scrollbar {
display: none;
}
div#menu {
width: 200px;
}
div#menu::-webkit-scrollbar {
display: none;
}
div#menu > table, div#content > table {
border-collapse: collapse;
width: 100%;
}
div#menu > .col_header {
fill: #3373a6;
font-size: 14px;
}
div#menu > .col_header:before {
content: "Menü";
}
div#menu tr {
border-width: 0px;
background-color: #494949;
}
div#menu tr tr:hover {
background-color: #3373a6;
}
div#menu tr:last-child {
border-bottom: none !important;
}
.room tr > td {
padding: 4px 8px 4px 8px;
}
div#menu a {
color: #fff ! important;
padding-left: 5px;
display: block;
}
body.touch #menu table.room div {
padding: 4px;
}
.slider {
background-color: #DDDDDD;
border-radius: 5px;
margin: 30px 0px 10px 0px;
height: 4px;
}
.colorpicker_bri .slider {
background-image: -webkit-linear-gradient(left, rgb( 150, 150 ,150), rgb(255,255,255) ) !important;
background-image: -moz-linear-gradient(left, rgb( 0, 0 ,0), rgb(255,255,255) ) !important;
background-image: -ms-linear-gradient(left, rgb( 0, 0 ,0), rgb(255,255,255) ) !important;
background-image: -o-linear-gradient(left, rgb( 0, 0 ,0), rgb(255,255,255) ) !important;
background-image: linear-gradient(left, rgb( 0, 0 ,0), rgb(255,255,255) ) !important;
}
.handle {
font-size: 13px;
color: white !important;
position: relative;
width: 45px;
height: 20px;
padding: 0px;
background: #3373a6;
border-radius: 8px;
border-width: 0px;
bottom: 32px;
}
.handle:before {
content: '';
position: absolute;
border-style: solid;
border-width: 5px 5px 0;
border-color: #CCCCCC transparent;
display: block;
width: 0;
bottom: -4px;
left: 17px;
}
.handle:after {
content: '';
position: absolute;
border-style: solid;
border-width: 8px;
border-radius: 8px;
border-color: #3373a6;
box-shadow: 0px 0px 0px 2px white;
display: block;
width: 0;
bottom: -23px;
left: 14px;
}
.sysmon table tr td {
padding: 2px;
}
.makeSelect form {
padding: 5px;
display: flex;
align-items: center;
}
.makeSelect {
display: flex;
float: left;
/* clear: left; */
height: 35px;
background: #333333;
width: 100%;
}
.get, .set, .attr {
margin-bottom: 0px;
}
.downText {
margin-top: 0px;
}
input[type="text"] {
color: #060606;
}
.textField_widget input {
border: 0px;
}
input.multiple_widget {
border: 0px;
}
div#devSpecHelp {
background: #333333;
width: 100%;
padding-top: 5px;
margin-bottom: 0px;
}
.SVGplot * {
padding-top: 5px;
}
.border {
stroke: #fff !important;
fill: #333333 !important;
}
input#md_freeText {
color: #000000;
}
.room div:hover svg path {
fill: #FFFFFF;
}
.roomBlock3 div {
height: 30px;
text-transform: uppercase;
font-weight: 300;
line-height: 30px;
overflow: hidden;
}
.roomBlock1 div, .roomBlock2 div, .roomBlock4 div, .roomBlock5 div {
height: 25px;
text-transform: uppercase;
font-weight: 300;
line-height: 25px;
overflow: hidden;
display: flex;
}
canvas.flot-base {
width: 100% !important;
}
.panel-title {
-webkit-box-pack: left !important;
-ms-flex-pack: left !important;
justify-content: left !important;
padding: 4px !important;
}
input.maininput {
border-radius: 10px;
border: 1px solid #000000;
}
table.block.wide.readings.wrapcolumns td:nth-last-child(1) {
width: 200px;
text-align: right;
padding-right: 4px;
}
.dval a {
color: #a6a033 !important;
}
table.block.wide.internals.wrapcolumns a {
color: #a6a033 !important;
}
a#DEFa {
padding: 4px;
}
.rc_body {
background: #494949;
}
JavaScripts codemirror/fhem_codemirror.js
csrfToken none
editConfig 1
longpoll 1
menuEntries restart,cmd=shutdown+restart,update,cmd=update,updatecheck,cmd=update+check,backup,cmd=backup,
roomIcons Save.config:message_attention Wohnzimmer:scene_livingroom Kinderzimmer:scene_childs_room Schlafzimmer:scene_sleeping Küche:scene_cooking Bad:scene_bathroom Balkon:scene_garden System:edit_settings Tanken:car CUL:cul_cul Gateways:cul_usb Wetter:scene_day MQTT:mqtt Plots:time_graph WLAN:it_wifi Unsorted:unknown Presence:people_sensor Logs:message_service Everything:it_i-net HMS:sani_heating_temp Homeconnect:scene_dishwasher Homekit:status_comfort LaCrosse:sani_heating_temp Homematic:status_comfort Kalender:time_calendar Sonos:audio_headphone Zigbee:hue_bridge IR_Remote:it_remote Battery:measure_battery_100
sortRooms 3D_Drucker Wohnzimmer Kinderzimmer Schlafzimmer Küche Bad Balkon System Pflanzen Tanken CUL Homematic CUL_HM LaCrosse Gateways IR_Remote Kalender Logs MQTT2_DEVICE Sonos Wetter
styleData {
"f18": {
"Pinned.menu": true,
"cols.bg": "060606",
"cols.fg": "ffffff",
"cols.link": "ffffff",
"cols.evenrow": "525252",
"cols.oddrow": "494949",
"cols.header": "2b5797",
"cols.menu": "ffffff",
"cols.sel": "CAC8CF",
"cols.inpBack": "FFFFFF",
"savePinChanges": true,
"fixedInput": false,
"hideLogo": true,
"hidePin": true,
"hideInput": false,
"rightMenu": true,
"wrapcolumns": false
}
}
stylesheetPrefix f18
Scheinbar gibt es das Problem schon länger: https://forum.fhem.de/index.php/topic,44966.msg367559.html#msg367559
ZitatwebCmd on:off
warum hast du kein webCmd? attr
Gerade mit webcmd getestet. Macht keinen Unterschied.
Sonst niemand eine Idee?
Keine Idee, aber schau mal. Ich hatte hier auch so ein komisches Popup beim ,,hminfo configCheck":
https://forum.fhem.de/index.php?topic=93078.msg856804#msg856804
Das erste Popup zeigt üblicherweise Informationen an, die ich dann mit ,,ok" bestätigen muss. Aber das zweite Popup ist meiner Ansicht nach Blödsinn und es sieht ziemlich genau so aus, wie deins. Bei mir läuft ein fast aktuelles FHEM 5.8.
Mal eine andere Frage... Welchen Skin hast du im Einsatz?
Gruß Hoppel
Hi zusammen,
wurde hier eine Lösung gefunden? Ich habe gestern ein update gemacht (das vorherige ist nicht soo lange her) und stelle folgendes Verhalten bei CUL_HM-Devices (das sind alles
HM-LC-Sw1PBU-FM) fest:
* Set Befehl über Kommandozeile oder direkt im Device --> "1" wird zurückgegeben und im Web Interface angezeigt
* Set Befehl über WebCmd (oder Icon) --> Popup mit "1"
* Set Befehl über Notify/DOIF --> Eintrag im Log (zeigt ebenfalls den Rückgabewert 1)
Ich habe mir mal ein paar Diffs der letzten CUL_HM Revisions angesehen, konnte da aber nichts auffälliges entdecken... Weiß irgendwer Abhilfe?
Danke,
Grüße,
Oli
So... ich habe mich durch den Code von CUL_HM gewühlt (Wow ist das komplex), folgende Erkenntnis: In Zeile 6368 ist das "Set" Kommando abgearbeitet und wird korrekt beendet:
return ("",1);# no not generate trigger out of command
Scherzeshalber habe ich die 1 mal in eine 2 geändert und sieheda - Ich bekomme eine "2" im Popup. Ich gehe daher davon aus, dass das Problem nicht in CUL_HM liegt, sondern, dass das "no trigger" irgendwie falsch verarbeitet wird. Da muss wohl Rudi ran :-)
Zitat von: KernSani am 29 Dezember 2018, 16:29:32
So... ich habe mich durch den Code von CUL_HM gewühlt (Wow ist das komplex), folgende Erkenntnis: In Zeile 6368 ist das "Set" Kommando abgearbeitet und wird korrekt beendet:
return ("",1);# no not generate trigger out of command
Scherzeshalber habe ich die 1 mal in eine 2 geändert und sieheda - Ich bekomme eine "2" im Popup. Ich gehe daher davon aus, dass das Problem nicht in CUL_HM liegt, sondern, dass das "no trigger" irgendwie falsch verarbeitet wird. Da muss wohl Rudi ran :-)
Die Frage ist immer noch, warum gibt es ein Popup.
Scheint ja irgendwas mit dem HM Befehlt zutun zu haben, nicht alle liefern das Popup.
elsif($cmd =~ m/^(on|off|toggle)$/) { #######################################
my $lvlInv = (AttrVal($name, "param", "") =~ m/levelInverse/)?1:0;
$hash->{helper}{dlvl} = ( $cmd eq 'off'||
($cmd eq 'toggle' &&CUL_HM_getChnLvl($name) != 0))
? ($lvlInv?'C8':'00')
: ($lvlInv?'00':'C8');
my(undef,$lvlMax)=split",",AttrVal($name, "levelRange", "0,100");
$hash->{helper}{dlvl} = sprintf("%02X",$lvlMax*2) if ($hash->{helper}{dlvl} eq 'C8');
if ($md eq "HM-LC-Ja1PBU-FM"){ $hash->{helper}{dlvlCmd} = "++$flag"."11$id$dst"."80$chn$hash->{helper}{dlvl}"."CA";}
else{ $hash->{helper}{dlvlCmd} = "++$flag"."11$id$dst"."02$chn$hash->{helper}{dlvl}".'0000';}
CUL_HM_PushCmdStack($hash,$hash->{helper}{dlvlCmd});
$hash = $chnHash; # report to channel if defined
Der entsprechende Codeabschnitt für das "set on" selbst hat je kein return.
Ich habe es gefunden... Ein Bug im Freezemon ist schuld daran... Bin gerade dabie zu fixen :-[ :-[ :-[
Hui. Da hätte ich ja garnicht dran gedacht. Aber gut wenn du die Ursache und eine Lösung gefunden hast.
Rudi hat mir den entscheidenden Hinweis gegeben ;-)
Fix ist eingecheckt.
Ich hab heute früh nicht drauf geachtet ob ein Update dabei war aber das verhalten beim Schalten ist endlich wieder richtig. Es kommt kein Popup mehr.