NEWS
Objekt Motion / Nomotion zu 1 oder 0
-
@ChrisXY
Zeig mir doch mal ein jsonlist2 der 2 Bewegungsmelder -
okay wie geht das ? Bisher noch nicht gemacht
-
@ChrisXY
Ok....in der Befehlszeile von FHEM: jsonlist2 "Name Bewegungsmelder" eingeben. -
@LausiD okay hier
{ "Arg":"motion_stall", "Results": [ { "Name":"motion_stall", "PossibleSets":"assignHmKey:noArg clear:readings,trigger,register,oldRegs,rssi,msgEvents,msgErrors,attack,all deviceRename fwUpdate getConfig:noArg getDevInfo:noArg getRegRaw peerBulk peerChan raw regBulk regSet reset:noArg sign:on,off unpair:noArg peerSmart:Rauchmelder_Team,TeamVirtuell_Stall,VCCU_Btn4,VCCU_disarm,VCCU_lampe_stall_unterstand,VCCU_lampe_stall_unterstand_reitplatz,heizung_badoben_WindowRec,heizung_badoben_remote,heizung_badunten_WindowRec,heizung_badunten_remote,heizung_buro_WindowRec,heizung_buro_remote,heizung_esszimmer_WindowRec,heizung_esszimmer_remote,heizung_milena_WindowRec,heizung_milena_remote,heizung_schlafzimmer_WindowRec,heizung_schlafzimmer_remote,heizung_wohnzimmervitrine_WindowRec,heizung_wohnzimmervitrine_remote,pumpe_regenwasser_Sw,strom_aquarium_Sw,strom_server_Sw,strom_zaun ", "PossibleAttrs":"alias comment:textField-long eventMap:textField-long group room suppressReading userReadings:textField-long verbose:0,1,2,3,4,5 do_not_notify:1,0 showtime:1,0 rawToReadable unit expert:0_defReg,1_allReg,2_defReg+raw,3_allReg+raw,4_off,8_templ+default,12_templOnly,251_anything param readOnly:0,1 actAutoTry:0_off,1_on aesCommReq:1,0 model ignore:1,0 dummy:1,0 IODev IOList IOgrp rssiLog:1,0 actCycle hmKey hmKey2 hmKey3 readingOnDead:multiple,noChange,state,periodValues,periodString,channels subType:AlarmControl,KFM100,THSensor,blindActuator,blindActuatorSol,dimmer,display,keyMatic,motionAndBtn,motionDetector,no,outputUnit,powerMeter,powerSensor,pushButton,remote,repeater,rgb,senBright,sensRain,sensor,singleButton,siren,smokeDetector,swi,switch,thermostat,threeStateSensor,timer,tipTronic,virtual,winMatic .mId serialNr firmware .stc .devInfo actStatus autoReadReg:0_off,1_restart,2_pon-restart,3_onChange,4_reqStatus,5_readMissing,8_stateOnly burstAccess:0_off,1_auto msgRepeat hmProtocolEvents:0_off,1_dump,2_dumpFull,3_dumpTrigger aesKey:5,4,3,2,1,0 modelForce:ACTIONDETECTOR,ACTIONDETECTOR,ASH550,ASH550I,CCU-FHEM,CMM,DORMA_ATENT,DORMA_BRC-H,DORMA_RC-H,HM-CC-RT-DN,HM-CC-RT-DN-BOM,HM-CC-SCD,HM-CC-TC,HM-CC-VD,HM-DIS-EP-WM55,HM-DIS-TD-T,HM-DIS-WM55,HM-DW-WM,HM-ES-PMSW1-DR,HM-ES-PMSW1-PL,HM-ES-PMSW1-PL-DN-R1,HM-ES-PMSW1-PL-DN-R2,HM-ES-PMSW1-PL-DN-R3,HM-ES-PMSW1-PL-DN-R4,HM-ES-PMSW1-PL-DN-R5,HM-ES-PMSW1-SM,HM-ES-TX-WM,HM-HM-LC-DW-WM,HM-LC-AO-SM,HM-LC-BL1-FM,HM-LC-BL1-FM-2,HM-LC-BL1-PB-FM,HM-LC-BL1-SM,HM-LC-BL1-SM-2,HM-LC-BL1PBU-FM,HM-LC-DDC1-PCB,HM-LC-DIM1L-CV,HM-LC-DIM1L-CV-2,HM-LC-DIM1L-CV-644,HM-LC-DIM1L-PL,HM-LC-DIM1L-PL-2,HM-LC-DIM1L-PL-3,HM-LC-DIM1L-PL-644,HM-LC-DIM1PWM-CV,HM-LC-DIM1PWM-CV-2,HM-LC-DIM1T-CV,HM-LC-DIM1T-CV-2,HM-LC-DIM1T-CV-644,HM-LC-DIM1T-DR,HM-LC-DIM1T-FM,HM-LC-DIM1T-FM-2,HM-LC-DIM1T-FM-644,HM-LC-DIM1T-FM-LF,HM-LC-DIM1T-PL,HM-LC-DIM1T-PL-2,HM-LC-DIM1T-PL-3,HM-LC-DIM1T-PL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DK,ROTO_ZEL-STG-RM-FEP-230V,ROTO_ZEL-STG-RM-FFK,ROTO_ZEL-STG-RM-FSA,ROTO_ZEL-STG-RM-FSS-UP3,ROTO_ZEL-STG-RM-FST-UP4,ROTO_ZEL-STG-RM-FWT,ROTO_ZEL-STG-RM-FZS,ROTO_ZEL-STG-RM-FZS-2,ROTO_ZEL-STG-RM-HS-4,ROTO_ZEL-STG-RM-WT-2,S550IA,SCHUECO_263-130,SCHUECO_263-131,SCHUECO_263-132,SCHUECO_263-133,SCHUECO_263-134,SCHUECO_263-135,SCHUECO_263-144,SCHUECO_263-145,SCHUECO_263-146,SCHUECO_263-147,SCHUECO_263-155,SCHUECO_263-157,SCHUECO_263-158,SCHUECO_263-160,SCHUECO_263-162,SCHUECO_263-167,SCHUECO_263-XXX,SENSOTIMER-ST-6,VIRTUAL,WDF-SOLAR,WS888 repPeers peerIDs tempListTmpl:none,defaultWeekplan, levelRange levelMap cyclicMsgOffset event-aggregator event-min-interval event-on-change-reading event-on-update-reading oldreadings stateFormat:textField-long timestamp-on-change-reading DbLogExclude DbLogInclude alarmDevice:Actor,Sensor alarmSettings cmdIcon devStateIcon:textField-long devStateStyle icon msgContactAudio msgContactLight msgContactMail msgContactPush msgContactScreen msgParams msgPriority msgRecipient msgRecipientAudio msgRecipientLight msgRecipientMail msgRecipientPush msgRecipientScreen msgRecipientText msgTitle msgTitleShrt msgType:text,push,mail,screen,light,audio,queue sortby webCmd webCmdLabel:textField-long widgetOverride userattr", "Internals": { ".triggerUsed": "0", "DEF": "461309", "FUUID": "5cce995c-f33f-09a2-4026-a0e84556b11b8ebe", "HMLANGW_MSGCNT": "168", "HMLANGW_RAWMSG": "050000830084104613090000000601C400", "HMLANGW_RSSI": "-131", "HMLANGW_TIME": "2019-06-05 16:33:51", "HMLAN_MSGCNT": "43", "HMLAN_RAWMSG": "E461309,0000,03E48BA9,FF,FFAC,0084104613090000000601C400", "HMLAN_RSSI": "-84", "HMLAN_TIME": "2019-06-05 16:33:51", "LASTInputDev": "HMLAN", "MSGCNT": "211", "NAME": "motion_stall", "NOTIFYDEV": "global", "NR": "839", "NTFY_ORDER": "50-motion_stall", "STATE": "noMotion", "TYPE": "CUL_HM", "chanNo": "01", "lastMsg": "No:00 - t:10 s:461309 d:000000 0601C400", "protCmdPend": "4 CMDs_pending", "protLastRcv": "2019-06-05 16:33:51", "protRcv": "178 last_at:2019-06-05 16:33:51", "protRcvB": "2 last_at:2019-06-04 05:09:12", "protState": "CMDs_pending", "rssi_at_HMLAN": "cnt:43 min:-103 max:-83 avg:-89.62 lst:-84 ", "rssi_at_HMLANGW": "cnt:166 min:-134 max:-37 avg:-129.78 lst:-131 ", "rssi_at_rpt_HMLANGW": "cnt:2 min:-133 max:-63 avg:-98 lst:-63 ", "rssi_broadcast": "cnt:1 min:-189 max:-189 avg:-189 lst:-189 " }, "Readings": { ".D-devInfo": { "Value":"110100", "Time":"2019-05-06 09:13:34" }, ".D-stc": { "Value":"81", "Time":"2019-05-06 09:13:34" }, ".protLastRcv": { "Value":"2019-06-05 16:33:51", "Time":"2019-06-05 16:33:51" }, "Activity": { "Value":"alive", "Time":"2019-06-01 16:45:59" }, "D-firmware": { "Value":"1.6", "Time":"2019-05-06 09:13:34" }, "D-serialNr": { "Value":"NEQ0118339", "Time":"2019-05-06 09:13:34" }, "battery": { "Value":"ok", "Time":"2019-06-05 16:33:51" }, "brightness": { "Value":"196", "Time":"2019-06-05 16:33:51" }, "cover": { "Value":"closed", "Time":"2019-06-05 16:33:51" }, "motion": { "Value":"off", "Time":"2019-06-05 16:37:39" }, "motionCount": { "Value":"1_next:240s", "Time":"2019-06-05 16:33:37" }, "motionDuration": { "Value":"296", "Time":"2019-06-05 16:37:39" }, "powerOn": { "Value":"2019-06-05 16:33:04", "Time":"2019-06-05 16:33:04" }, "recentStateType": { "Value":"info", "Time":"2019-06-05 16:33:51" }, "state": { "Value":"noMotion", "Time":"2019-06-05 16:37:39" }, "trigDst_broadcast": { "Value":"noConfig", "Time":"2019-05-23 17:17:26" }, "trigger_cnt": { "Value":"1", "Time":"2019-06-05 16:33:37" } }, "Attributes": { ".mId": "005D", "DbLogExclude": ".*", "DbLogInclude": "trigger_cnt,brightness,motionDuration", "IODev": "HMLAN", "actCycle": "024:00", "actStatus": "alive", "alias": "motion_stall", "autoReadReg": "4_reqStatus", "expert": "2_raw", "firmware": "1.6", "model": "HM-SEN-MDIR-O", "room": "CUL_HM,ioBroker", "serialNr": "NEQ0118339", "subType": "motionDetector" } } ], "totalResultsReturned":1 }
-
@ChrisXY
Danke..kannst FHEM Adapter über github aktualisieren
Nach Neustart sollte der Bewegungsmelder im ioBroker ein Objekt state_boolean mit true/false haben.
Gruß
LausiD -
@LausiD Mega Vielen DANK
-
host.iobroker 2019-06-06 16:04:16.687 error instance system.adapter.fhem.0 terminated with code 1 () Caught 2019-06-06 16:04:16.687 error by controller[0]: at bootstrap_node.js:625:3 Caught 2019-06-06 16:04:16.687 error by controller[0]: at startup (bootstrap_node.js:204:16) Caught 2019-06-06 16:04:16.687 error by controller[0]: at Function.Module.runMain (module.js:694:10) Caught 2019-06-06 16:04:16.687 error by controller[0]: at Function.Module._load (module.js:498:3) Caught 2019-06-06 16:04:16.686 error by controller[0]: at tryModuleLoad (module.js:506:12) Caught 2019-06-06 16:04:16.686 error by controller[0]: at Module.load (module.js:566:32) Caught 2019-06-06 16:04:16.686 error by controller[0]: at Object.Module._extensions..js (module.js:664:10) Caught 2019-06-06 16:04:16.686 error by controller[0]: at Module._compile (module.js:617:28) Caught 2019-06-06 16:04:16.686 error by controller[0]: at Object.runInThisContext (vm.js:139:10) Caught 2019-06-06 16:04:16.686 error by controller[0]: at createScript (vm.js:80:10) Caught 2019-06-06 16:04:16.686 error by controller[0]: SyntaxError: Invalid or unexpected token Caught 2019-06-06 16:04:16.686 error by controller[0]: ^^^^^^^^^^^ Caught 2019-06-06 16:04:16.686 error by controller[0]: if (valOrg === 'motion' || valOrg === 'nomotion' || valOrg === 'noMotion' || valOrg === "Motion') { Caught 2019-06-06 16:04:16.686 error by controller[0]: /opt/iobroker/node_modules/iobroker.fhem/main.js:1725
EDIT: oder auch FHEM selbst neu tarten ? Hab nur den Adapter
-
@ChrisXY
Nein, FHEM nicht neu starten
Sorry, habe mich auf Handy vertippt.
Nochmal von github aktualisieren:-( -
hmm habs nochmal von github geladen nu is immer noch 1.2.1 drauf guthub gibt es aber nur 1.2.0
Edit : leider taucht auch ein state_boolean auf.. komisch
Will das fhem auch nicht löschen hab angst da was zu verlieren hab da Logging für vieles Aktiv. -
@ChrisXY
Sorry, Änderung nebenher ging schief.
Aller guten Dinge sind drei
Kannst bitte nochmal von github aktualisieren....
Korrekt, die Version ist 1.2.1 und ändert sich auch nicht.
Beim Start FHEM Adapter werden folgende Zeilen ins Log geschrieben:
fhem.1 2019-06-06 20:16:08.526 info STEP 01 ===== buildDate 06.06.19b - check objects fhem.1
fhem.1 2019-06-06 20:16:08.460 info starting. Version 1.2.1 in /opt/iobroker/node_modules/iobroker.fhem, node: v8.15.1Und jetzt sollte nach Neustart auch endgültig ein Objekt state_Boolean mit dem Wert true/false erscheinen
Gruß
LausiD -
@LausiD hehe macht ja nichts bin für jede änderung Dankbar. Super Adapter Was würde ich ohne den nur machen g