Enocean Sensor sendet nur in 15-20min-takt Werte

Begonnen von Emjoo, 24 Juni 2016, 14:19:31

Vorheriges Thema - Nächstes Thema

Emjoo

Hallo zusammen,

ich habe einen Enocean Sensor der nur in Minuten-Takt ( 10min- 30min) Daten raus. Leider hatte ich bisher keinen Erfolg gehabt die Werte den Sensor in Sekunden-Takt anzeigen zu lassen.

Das ist der EnOcean Sensor:
http://www.greenelectric.eu/Temperatur-Sensor-EnOcean-STP-2-1-05-weiss?gclid=CPyHtabQwM0CFdW4GwodASYPCQ

Logfile vom Enocean Sensor:
2016-06-24_12:14:58 EnO_sensor_018A2DC6 temperature: 28.9
2016-06-24_12:14:58 EnO_sensor_018A2DC6 28.9
2016-06-24_12:27:20 EnO_sensor_018A2DC6 temperature: 28.5
2016-06-24_12:27:20 EnO_sensor_018A2DC6 28.5
2016-06-24_12:52:02 EnO_sensor_018A2DC6 temperature: 28.2
2016-06-24_12:52:02 EnO_sensor_018A2DC6 28.2
2016-06-24_13:14:59 EnO_sensor_018A2DC6 temperature: 28.2
2016-06-24_13:14:59 EnO_sensor_018A2DC6 28.2
2016-06-24_13:39:41 EnO_sensor_018A2DC6 temperature: 28.2
2016-06-24_13:39:41 EnO_sensor_018A2DC6 28.2
2016-06-24_14:04:24 EnO_sensor_018A2DC6 temperature: 28.4
2016-06-24_14:04:24 EnO_sensor_018A2DC6 28.4


So habe ich den Enocean Sensor konfiguriert:--> siehe Anhang

Hat jmd. damit schon Erfahrungen gehabt bzw. eine Idee um dies zu lösen?

Vielen Dank !

ernst1024

event on change reading 1 kommt mir spanisch vor.

versuch mal
event on change reading temperature
Gruß Ernst

Emjoo

Hi Ernst,

vielen dank für den Tipp.  Hat bei mir leider nicht funktioniert.

Gibt es hier auch noch andere Attribute, wo man die Zeit vom Interval einstellen kann ? Oder muss man dafür ein Script schreiben?


ernst1024

#3
also ich würde erstmal die ganzen event on attribute rausschmeißen und dann mal sehen was er macht.
Da muss man halt ein wenig probieren, ist ja keine Raketentechnik.

Wie hast du das Teil denn definiert? Mach doch mal ein list <device> und poste das hier in codetags. Zum testen kannst du auch mal das attr verbose auf 5 setzen und mal sehen was er so schreibt
Gruß Ernst

Emjoo

Joah, ich teste auch gerade die anderen Attribute. Nur bisher keinen Erfolg gehabt :)

Internals:
   DEF        018A2DC6
   IODev      TCM120_0
   LASTInputDev TCM310_0
   MSGCNT     9
   NAME       EnO_sensor_018A2DC6
   NR         24
   NTFY_ORDER 50-EnO_sensor_018A2DC6
   STATE      26.7
   TCM310_0_DestinationID FFFFFFFF
   TCM310_0_MSGCNT 9
   TCM310_0_PacketType 1
   TCM310_0_RSSI -64
   TCM310_0_ReceivingQuality excellent
   TCM310_0_RepeatingCounter 0
   TCM310_0_SubTelNum 3
   TCM310_0_TIME 2016-06-24 21:25:39
   TYPE       EnOcean
   Readings:
     2016-05-13 10:59:48   D0              0
     2016-05-13 10:59:48   D1              0
     2016-05-13 10:59:48   D2              0
     2016-05-13 10:59:48   D3              1
     2016-05-13 10:59:48   sensor1         0
     2016-05-13 10:59:48   sensor2         0
     2016-05-13 10:59:48   sensor3         115
     2016-06-24 21:25:39   state           26.7
     2016-06-24 21:25:39   temperature     26.7
   Helper:
Attributes:
   IODev      TCM120_0
   displayContent time
   event-on-change-reading temperature
   manufID    7FF
   room       EnOcean
   subType    tempSensor.05
   verbose    5




IODev   TCM120_0  deleteattr
displayContent  time deleteattr
event-on-change-reading temperature deleteattr
manufID 7FF  deleteattr
room EnOcean deleteattr
subType tempSensor.05 deleteattr


Ich habe auch mal das eingegeben event-on-change-reading TCM120_0 oder event-on-change-reading EnO_sensor_018A2DC6, aber hat nicht funktioniert.

ernst1024

#5
hmnn, kann da jetzt auch nirgendwo entdecken wo möglicherweise das Sendeintervall eingestellt werden kann.

Hast du mal spaßeshalber im event monitor geschaut was so passiert. Und mal in /log/fhem-2016-06.log geschaut?

Edit: wow 49,90€ für einen Außenfühler das ist heftig :-\
Gruß Ernst

Emjoo

das ist der log :


2016.06.24 21:25:41 1: usb create end
2016.06.24 21:30:00 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:30:00 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:34:11 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:34:11 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:40:12 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:40:12 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:41:32 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:41:32 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:42:24 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:42:24 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:42:58 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:42:58 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:43:17 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:43:17 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:45:04 5: TCM TCM120_0 RAW: 5500
2016.06.24 21:45:04 5: TCM TCM120_0 RAW: 0A0701EBA500005508018A2DC60001FFFFFFFF3D00BA
2016.06.24 21:45:38 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:45:39 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:47:41 1: nothing to do...
2016.06.24 21:52:03 0: Server shutdown
2016.06.24 21:52:11 1: Including fhem.cfg
2016.06.24 21:52:11 3: telnetPort: port 7072 opened
2016.06.24 21:52:12 3: WEB: port 8083 opened
2016.06.24 21:52:12 3: WEBphone: port 8084 opened
2016.06.24 21:52:12 3: WEBtablet: port 8085 opened
2016.06.24 21:52:13 2: eventTypes: loaded 241 events from ./log/eventTypes.txt
2016.06.24 21:52:14 3: Opening TCM310_0 device /dev/ttyAMA0
2016.06.24 21:52:14 3: Setting TCM310_0 serial parameters to 57600,8,N,1
2016.06.24 21:52:14 3: TCM310_0 device opened
2016.06.24 21:52:14 3: Opening TCM120_0 device /dev/ttyUSB0
2016.06.24 21:52:14 3: Setting TCM120_0 serial parameters to 57600,8,N,1
2016.06.24 21:52:14 3: TCM120_0 device opened
2016.06.24 21:52:20 2: EnOcean Cryptographic functions are not available.
2016.06.24 21:52:23 1: Including ./log/fhem.save
2016.06.24 21:52:26 3: TCM set TCM120_0 reset
2016.06.24 21:52:26 5: TCM TCM120_0 sending ESP2: A55AAB0A000000000000000000B5
2016.06.24 21:52:26 5: SW: A55AAB0A000000000000000000B5
2016.06.24 21:52:29 2: TCM TCM120_0 Timeout reading answer for get reset
2016.06.24 21:52:29 3: TCM get TCM120_0 baseID
2016.06.24 21:52:29 5: TCM TCM120_0 sending ESP2: A55AAB5800000000000000000003
2016.06.24 21:52:29 5: SW: A55AAB5800000000000000000003
2016.06.24 21:52:32 2: TCM TCM120_0 Timeout reading answer for get baseID
2016.06.24 21:52:32 2: TCM TCM120_0 initialized
2016.06.24 21:52:35 3: TCM set TCM310_0 reset
2016.06.24 21:52:35 2: TCM TCM310_0 RESPONSE: OK
2016.06.24 21:52:35 3: TCM set TCM310_0 smartAckMailboxMax 0
2016.06.24 21:52:35 2: TCM TCM310_0 RESPONSE: OK
2016.06.24 21:52:35 2: TCM TCM310_0 smartAckMailboxMax 0 restored
2016.06.24 21:52:35 3: TCM set TCM310_0 mode 00
2016.06.24 21:52:35 2: TCM TCM310_0 RESPONSE: NOT_SUPPORTED
2016.06.24 21:52:35 3: TCM set TCM310_0 maturity 01
2016.06.24 21:52:35 2: TCM TCM310_0 RESPONSE: OK
2016.06.24 21:52:35 2: TCM TCM310_0 maturity 01 restored
2016.06.24 21:52:35 3: TCM set TCM310_0 repeater 0000
2016.06.24 21:52:35 2: TCM TCM310_0 RESPONSE: OK
2016.06.24 21:52:35 2: TCM TCM310_0 repeater 0000 restored
2016.06.24 21:52:35 3: TCM get TCM310_0 baseID
2016.06.24 21:52:35 2: TCM TCM310_0 RESPONSE: BaseID: FFAB7580 RemainingWriteCycles: 0A
2016.06.24 21:52:35 3: TCM get TCM310_0 version
2016.06.24 21:52:35 2: TCM TCM310_0 RESPONSE: APIVersion: 02050000 APPVersion: 020A0000 ChipID: 019956EB ChipVersion: 454F0103 Desc: GATEWAYCTRL
2016.06.24 21:52:35 2: TCM TCM310_0 initialized
2016.06.24 21:52:35 1: usb create starting
2016.06.24 21:52:38 1: usb create end
2016.06.24 21:52:38 3: Opening mqtt device 127.0.0.1:1883
2016.06.24 21:52:38 3: mqtt device opened
2016.06.24 21:52:38 2: SecurityCheck:  WEBphone,WEBtablet has no associated allowed device with basicAuth. telnetPort has no associated allowed device with password/globalpassword.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2016.06.24 21:52:38 0: Featurelevel: 5.7
2016.06.24 21:52:38 0: Server started with 19 defined entities (fhem.pl:11655/2016-06-13 perl:5.020002 os:linux user:fhem pid:2318)
2016.06.24 21:52:46 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:52:46 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:54:15 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:54:15 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:55:12 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:55:12 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:55:42 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:55:42 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:55:56 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:55:56 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:56:19 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:56:19 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:56:22 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:56:22 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:56:35 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:56:35 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:57:57 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:57:57 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64
2016.06.24 21:59:46 4: FileLog_EnO_sensor_018A2DC6 get: Input file ./log/EnO_sensor_018A2DC6-2016.log, from:2016-06-24_00:00:00  to:2016-06-25_00:00:01
2016.06.24 21:59:46 4: FileLog_EnO_sensor_018A2DC6 get: line 1, regexp:EnO_sensor_018A2DC6.*, col:3, output lines:64


event monitor:

2016-06-24 22:00:38 MQTT mqtt connection: active
2016-06-24 22:01:38 MQTT mqtt connection: active

krikan

Hallo!
Kenne den Sensor zwar nicht, aber:
EnOcean-Sensoren senden normalerweise bei bestimmten Temperaturveränderungen und/oder in bestimmten Minutenintervallen, die im Handbuch angegeben sind. Ein aktives Abfragen der Temperatur ist bei EnOcean-Sensoren grds. nicht möglich (willst Du doch?). Insbesondere in Sekundenrhythmus würde es auch dem Stromsparkonzept von EnOcean widersprechen.

Zum Anlernen von EnOcean-Sensoren findest Du im Wiki Infos. Und folge vielleicht einmal dem Rat von ernst1024 die Attribute rauszunehmen, wenn Du nicht genaue Kenntnis hast, was sie bedeuten und wie sie zu setzen sind.

Gruß, Christian

Emjoo

Also ich möchte quasi dauerhaft die Temperatur abfragen. D.h. je Sekunde soll er mir einen Wert liefern, egal ob sich die Temperatur geändert hat oder nicht.

Die Attribute habe ich bereits schon rausgenommen. Wollte dies auch nur testen, was dabei raus kommt .

ernst1024

Ich denke auch dass dies mit deinem Sensor so nicht möglich ist. Sekunden Intervall ist ja schon heftig. Selbst meine 1-Wire die ja schon recht gesprächig sind senden nicht sekundlich. Beschreibe doch mal was du erreichen möchtest.
Gruß Ernst

krikan

Zitat von: Emjoo am 24 Juni 2016, 22:10:26
Also ich möchte quasi dauerhaft die Temperatur abfragen. D.h. je Sekunde soll er mir einen Wert liefern, egal ob sich die Temperatur geändert hat oder nicht.
Behaupte, das wird als Sensorabfrage nicht funktionieren. Mir ist kein EnOcean-TempSensor bekannt, der das unterstützt. Selbst ein EnOcean-Sensor bei dem man das Sendeintervall aktiv beeinflussen kann, fällt mir aus dem Kopf nicht ein. EnOcean-Sensoren senden zumeist nur spontan. Was sagt denn das Handbuch? (Habe zwar versucht das zu laden, ist aber wegen miserabler mobiler Netzanbindung gescheitert)

Emjoo

Wenn ich mich korrigiere, es muss jetzt nicht jede Sekunde sein. Ich denke im Rahmen unter 5min wäre das auch in Ordnung. Dann erstmal vielen Dank für die Rückmeldungen.

Laut dem Handbuch schickt der jede 20 min/ 30 min die Werte aus.

ZitatThe setup of the transmission timing allows avoiding possible collisions with data packages
of other EnOcean transmitters as well as disturbances from the environment. With each
transmission cycle, 3 identical subtelegrams are transmitted within 40 ms. The transmission
of a subtelegram lasts approximately 0.9 ms. The delay between the three transmission
bursts is affected at random.