Hallo,
ich bin neu in dem Thema "Haushalt automatisieren" und habe mir einen Razberry und einen Fibaro Motions Sensor für den Einstieg gekauft und FHEM installiert. Nach ein paar Tagen probieren und lesen habe ich schon ein paar Sachen verstanden, aber das meiste wohl noch nicht. Den Sensor habe ich includiert und bekomme dann und wann Temperatur und Helligkeit gemeldet. Sonst aber eher nichts. Ich bekomme keine Bewegung gemeldet und ich habe auch Schwierigkeiten set und get Befehle durch zu bekommen (glaube ich). Das mit dem Schlafmodus und dem Aufwecken habe ich vom Prinzip verstanden, aber das drücken des B-Knopfes zum Aufwecken scheint mir auch nicht besonders zu helfen. Vielleicht kann sich jemand mal meine Konfiguration anschauen, ob da etwas auffällig ist?
list vom Razberry:
Internals:
CallbackNr 0
Clients :ZWave:
DEF /dev/ttyAMA0@115200
DeviceName /dev/ttyAMA0@115200
FD 10
MaxSendRetries 3
NAME ZWAVE1
NR 20
PARTIAL
RAWMSG 000400020a56013105030a00404f55
ReadTime 1485510756.63869
STATE Initialized
SendRetries 0
SendTime 1485503504.71871
TYPE ZWDongle
WaitForAck 0
ZWAVE1_MSGCNT 71
ZWAVE1_TIME 2017-01-27 10:52:36
homeId da392101
nodeIdHex 01
nrNAck 0
Matchlist:
1:ZWave .*
Readings:
2017-01-26 19:51:00 caps Vers:5 Rev:4 ManufID:0147 ProductType:0400 ProductID:0002 SERIAL_API_GET_INIT_DATA SERIAL_API_APPL_NODE_INFORMATION APPLICATION_COMMAND_HANDLER ZW_GET_CONTROLLER_CAPABILITIES SERIAL_API_SET_TIMEOUTS SERIAL_API_GET_CAPABILITIES SERIAL_API_SOFT_RESET UNKNOWN_09 UNKNOWN_0a ZW_SET_R_F_RECEIVE_MODE ZW_SET_SLEEP_MODE ZW_SEND_NODE_INFORMATION ZW_SEND_DATA ZW_SEND_DATA_MULTI ZW_GET_VERSION ZW_SEND_DATA_ABORT ZW_R_F_POWER_LEVEL_SET ZW_SEND_DATA_META ZW_GET_RANDOM MEMORY_GET_ID MEMORY_GET_BYTE MEMORY_PUT_BYTE MEMORY_GET_BUFFER MEMORY_PUT_BUFFER FLASH_AUTO_PROG_SET UNKNOWN_28 NVM_GET_ID NVM_EXT_READ_LONG_BUFFER NVM_EXT_WRITE_LONG_BUFFER NVM_EXT_READ_LONG_BYTE NVM_EXT_WRITE_LONG_BYTE ZW_GET_NODE_PROTOCOL_INFO ZW_SET_DEFAULT ZW_REPLICATION_COMMAND_COMPLETE ZW_REPLICATION_SEND_DATA ZW_ASSIGN_RETURN_ROUTE ZW_DELETE_RETURN_ROUTE ZW_REQUEST_NODE_NEIGHBOR_UPDATE ZW_APPLICATION_UPDATE ZW_ADD_NODE_TO_NETWORK ZW_REMOVE_NODE_FROM_NETWORK ZW_CREATE_NEW_PRIMARY ZW_CONTROLLER_CHANGE ZW_SET_LEARN_MODE ZW_ASSIGN_SUC_RETURN_ROUTE ZW_REQUEST_NETWORK_UPDATE ZW_SET_SUC_NODE_ID ZW_DELETE_SUC_RETURN_ROUTE ZW_GET_SUC_NODE_ID ZW_SEND_SUC_ID ZW_EXPLORE_REQUEST_INCLUSION ZW_REQUEST_NODE_INFO ZW_REMOVE_FAILED_NODE_ID ZW_IS_FAILED_NODE ZW_REPLACE_FAILED_NODE UNKNOWN_66 UNKNOWN_67 UNKNOWN_78 GET_ROUTING_TABLE_LINE LOCK_ROUTE_RESPONSE ZW_GET_PRIORITY_ROUTE ZW_SET_PRIORITY_ROUTE UNKNOWN_98 ZW_SET_WUT_TIMEOUT ZW_WATCHDOG_ENABLE ZW_WATCHDOG_DISABLE ZW_WATCHDOG_CHECK ZW_SET_EXT_INT_LEVEL ZW_RF_POWERLEVEL_GET ZW_TYPE_LIBRARY ZW_SEND_TEST_FRAME ZW_GET_PROTOCOL_STATUS WATCHDOG_START WATCHDOG_STOP UNKNOWN_d4 UNKNOWN_ef ZME_FREQ_CHANGE ZME_BOOTLOADER_FLASH UNKNOWN_f5
2017-01-26 19:51:00 ctrlCaps MEMBER PRIMARY SUC
2017-01-26 19:51:00 homeId HomeId:da392101 CtrlNodeIdHex:01
2017-01-26 16:17:07 nodeList ZWAVE1 FibMotion1
2017-01-26 19:51:00 random 252b3116650d93fe82a124d3a124d51d3f5cc65c36db193b048d2c47a51d4256
2017-01-26 19:51:00 state Initialized
2017-01-26 19:51:00 sucNodeId 1
SendStack:
Attributes:
verbose 5
list vom Fibaro:
Internals:
DEF da392101 2
IODev ZWAVE1
LASTInputDev ZWAVE1
MSGCNT 20
NAME FibMotion1
NR 21
STATE configByte 64 600
TYPE ZWave
ZWAVE1_MSGCNT 20
ZWAVE1_RAWMSG 000400020a56013105030a00404f55
ZWAVE1_TIME 2017-01-27 10:52:36
ZWaveSubDevice no
homeId da392101
isWakeUp 1
lastMsgSent 1485503504.71769
nodeIdHex 02
Readings:
2017-01-27 08:51:44 CMD ZW_APPLICATION_UPDATE
2017-01-27 08:51:44 battery 96 %
2017-01-27 10:52:36 luminance 64 Lux
2017-01-26 12:08:17 model FIBARO System FGMS001-ZW5 Motion Sensor
2017-01-26 12:08:17 modelConfig fibaro/fgms-zw5.xml
2017-01-26 12:08:17 modelId 010f-0801-1001
2017-01-26 18:48:53 state configByte 64 600
2017-01-27 09:22:23 temperature 20.7 C
2017-01-27 08:51:44 timeToAck 0.028
2017-01-27 08:51:44 transmit OK
SendStack:
sentackget:1302037005402502
get:13020285052503
get:1302037005532504
get:1302037005522505
...Einträge gelöscht...
get:13020284052533
Attributes:
IODev ZWAVE1
classes ZWAVEPLUS_INFO VERSION MANUFACTURER_SPECIFIC ASSOCIATION_GRP_INFO BATTERY POWERLEVEL CRC_16_ENCAP APPLICATION_STATUS SENSOR_MULTILEVEL SECURITY FIRMWARE_UPDATE_MD BASIC CONFIGURATION WAKE_UP ASSOCIATION SENSOR_BINARY SENSOR_ALARM SENSOR_MULTILEVEL
icon IR
room Haus
vclasses APPLICATION_STATUS:1 ASSOCIATION_GRP_INFO:1 BATTERY:1 CRC_16_ENCAP:1 FIRMWARE_UPDATE_MD:3 MANUFACTURER_SPECIFIC:2 POWERLEVEL:1 SECURITY:1 SENSOR_MULTILEVEL:8 VERSION:2 ZWAVEPLUS_INFO:2
Mein Log vom Figaro sieht wie folgt aus:
2017-01-26_12:08:17 FibMotion1 modelConfig: fibaro/fgms-zw5.xml
2017-01-26_12:08:17 FibMotion1 model: FIBARO System FGMS001-ZW5 Motion Sensor
2017-01-26_12:08:17 FibMotion1 modelId: 010f-0801-1001
2017-01-26_12:09:15 FibMotion1 luminance: 19 Lux
2017-01-26_12:09:15 FibMotion1 temperature: 21.3 C
2017-01-26_12:09:16 FibMotion1 temperature: 22.4 C
2017-01-26_12:38:55 FibMotion1 temperature: 21.2 C
2017-01-26_13:09:16 FibMotion1 luminance: 26 Lux
2017-01-26_13:42:17 FibMotion1 transmit: NO_ACK
2017-01-26_13:42:22 FibMotion1 transmit: NO_ACK
2017-01-26_13:42:27 FibMotion1 transmit: NO_ACK
2017-01-26_13:42:52 FibMotion1 transmit: NO_ACK
2017-01-26_13:50:50 FibMotion1 transmit: NO_ACK
2017-01-26_13:54:00 FibMotion1 temperature: 23.5 C
2017-01-26_14:09:19 FibMotion1 luminance: 197 Lux
2017-01-26_14:10:44 FibMotion1 transmit: NO_ACK
2017-01-26_14:18:30 FibMotion1 transmit: NO_ACK
2017-01-26_14:23:59 FibMotion1 temperature: 24.5 C
2017-01-26_14:53:57 FibMotion1 temperature: 22.6 C
2017-01-26_15:09:16 FibMotion1 luminance: 27 Lux
2017-01-26_15:23:58 FibMotion1 temperature: 17.2 C
2017-01-26_15:39:04 FibMotion1 temperature: 11.6 C
2017-01-26_15:54:14 FibMotion1 temperature: 9.5 C
2017-01-26_16:09:44 FibMotion1 luminance: 91 Lux
2017-01-26_16:13:12 FibMotion1 transmit: NO_ACK
2017-01-26_16:24:37 FibMotion1 temperature: 8.1 C
2017-01-26_16:24:37 FibMotion1 temperature: 8.1 C
2017-01-26_16:24:37 FibMotion1 temperature: 8.1 C
2017-01-26_16:36:54 FibMotion1 transmit: NO_ACK
2017-01-26_16:57:39 FibMotion1 transmit: NO_ACK
2017-01-26_17:10:33 FibMotion1 luminance: 1 Lux
2017-01-26_17:25:23 FibMotion1 temperature: 12.2 C
2017-01-26_17:40:30 FibMotion1 temperature: 14.2 C
2017-01-26_17:55:35 FibMotion1 temperature: 15.4 C
2017-01-26_18:25:45 FibMotion1 temperature: 16.6 C
2017-01-26_18:40:27 FibMotion1 transmit: NO_ACK
2017-01-26_18:43:38 FibMotion1 associationAdd 2 1
2017-01-26_18:43:42 FibMotion1 transmit: NO_ACK
2017-01-26_18:44:42 FibMotion1 temperature: 17.0 C
2017-01-26_18:46:16 FibMotion1 transmit: NO_ACK
2017-01-26_18:48:53 FibMotion1 configByte 64 600
2017-01-26_18:50:19 FibMotion1 luminance: 4 Lux
2017-01-26_18:50:19 FibMotion1 temperature: 17.2 C
2017-01-26_18:50:26 FibMotion1 luminance: 2 Lux
2017-01-26_18:50:26 FibMotion1 temperature: 18.0 C
2017-01-26_18:50:31 FibMotion1 luminance: 4 Lux
2017-01-26_18:50:31 FibMotion1 temperature: 18.0 C
2017-01-26_19:34:37 FibMotion1 temperature: 18.1 C
2017-01-26_19:36:07 FibMotion1 luminance: 2 Lux
2017-01-26_19:36:12 FibMotion1 transmit: NO_ACK
2017-01-26_19:36:14 FibMotion1 temperature: 18.6 C
2017-01-26_19:36:14 FibMotion1 temperature: 20.7 C
2017-01-26_19:36:19 FibMotion1 luminance: 2 Lux
2017-01-26_19:36:20 FibMotion1 temperature: 20.7 C
2017-01-26_19:38:10 FibMotion1 transmit: NO_ACK
2017-01-26_19:41:00 FibMotion1 temperature: 23.1 C
2017-01-26_20:11:00 FibMotion1 temperature: 21.8 C
2017-01-27_01:37:00 FibMotion1 temperature: 19.8 C
2017-01-27_06:37:17 FibMotion1 luminance: 3 Lux
2017-01-27_07:37:22 FibMotion1 luminance: 3 Lux
2017-01-27_08:37:26 FibMotion1 luminance: 23 Lux
2017-01-27_08:41:12 FibMotion1 luminance: 11 Lux
2017-01-27_08:41:12 FibMotion1 temperature: 20.4 C
2017-01-27_08:41:18 FibMotion1 luminance: 7 Lux
2017-01-27_08:41:18 FibMotion1 temperature: 20.4 C
2017-01-27_08:42:07 FibMotion1 temperature: 21.9 C
2017-01-27_08:48:14 FibMotion1 luminance: 10 Lux
2017-01-27_08:48:15 FibMotion1 temperature: 21.9 C
2017-01-27_08:51:42 FibMotion1 luminance: 16 Lux
2017-01-27_08:51:44 FibMotion1 CMD: ZW_APPLICATION_UPDATE
2017-01-27_08:51:44 FibMotion1 battery: 96 %
2017-01-27_08:52:37 FibMotion1 luminance: 26 Lux
2017-01-27_08:52:37 FibMotion1 temperature: 21.8 C
2017-01-27_09:22:23 FibMotion1 temperature: 20.7 C
2017-01-27_09:52:34 FibMotion1 luminance: 57 Lux
2017-01-27_10:52:36 FibMotion1 luminance: 64 Lux
2017-01-27_11:52:41 FibMotion1 luminance: 53 Lux
Ein typischer Eintrag im Logfile:
2017.01.27 09:52:24.532 4: ZWDongle_Read ZWAVE1: rcvd 00040002029840 (request APPLICATION_COMMAND_HANDLER), sending ACK
2017.01.27 09:52:24.532 5: SW: 06
2017.01.27 09:52:24.535 5: ZWAVE1: dispatch 00040002029840
2017.01.27 09:52:24.536 4: CMD:APPLICATION_COMMAND_HANDLER ID:02 ARG:029840 CB:00
2017.01.27 09:52:24.537 1: FibMotion1 SECURITY DISABLED (command dropped)
Hier finde ich die letzte Zeile auffällig: "SECURITY DISABLED (command dropped)". Was bedeutet das?
Ich hatte auch eine Reihe von Einträgen wie diesen:
2017.01.27 01:36:49 4: ZWAVE1 CRC_16 checksum mismatch, received 0791, calculated 791
Ist das ein Problem? Es scheint ja nur eine Differenz um eine führende Null zu sein.
Wie und wo kann ich sehen, dass eine Bewegung festgestellt wurde?
Viele Grüße
Jan
Moin Jan
Evtl. solltest Du das mal in den ZWave Bereich verschieben!?
Gruss Christoph
Moin Jan,
kann es sein, dass du die Association nicht richtig gesetzt hast? Die sollte wohl auf 3 stehen und bei dir ist sie anscheinend auf 2 - wenn ich das so richtig sehe!?
Bin ja auch noch totaler Anfänger und hatte das gleiche Problem.
Folgenden Befehl hatte ich abgesetzt:
set Fibaro associationAdd 3 01
In diesem Beitrag hatte ich das rausgefunden :-)
https://forum.fhem.de/index.php/topic,50070.0.html
Gruß
Dedi