FHEM - Hausautomations-Systeme > SlowRF
FHT wird ständig neu autocreated
Andi.Riese:
Hallo,
ich habe einem bestehenden FHT "FHT_Bad"
Den Code "0b02" habe ich neu eingestellt.
Der Code im FHT80b und in FHT_Bad ist gleich.
FHT80b habe ich über "CEnt" gepaired.
FHT80b und Fhem funktionieren einwandfrei.
Aber trotzdem wird ständig einer neuer FHT_0b02 autocreated.
Nach "delete FHT_0b02" wird er in kürzester Zeit wieder neu angelegt.
Warum ist das so? Was kann ich tun?
-------------
list FHT_Bad
-------------
--- Code: ---Internals:
CODE 0b02
DEF 0b02
FUUID 5f719d08-f33f-4a30-c345-5ccc2a428c34b336
IODev FHZ_0
NAME FHT_Bad
NR 221
STATE 17.9 C
TYPE FHT
webCmd desired-temp
READINGS:
2020-11-14 19:18:38 ack 38
2020-11-14 19:22:15 actuator 0%
2020-11-14 12:46:36 actuator1 pair
2020-11-14 19:18:38 battery ok
2020-11-14 19:18:38 batteryState ok
2020-04-17 21:01:24 can-rcv 38
2020-07-05 04:03:06 day-temp 19.0
2020-11-14 12:47:51 desired-temp 8.0
2020-11-14 19:18:38 end-xmit 38
2018-12-17 17:54:33 fri-from1 06:30
2018-12-17 17:54:34 fri-from2 00:00
2018-12-17 17:54:34 fri-to1 06:40
2018-12-17 17:54:34 fri-to2 24:00
2020-11-14 19:18:38 lowtemp ok
2020-07-05 04:03:09 lowtemp-offset 4.0
2020-11-14 19:18:37 measured-temp 17.9
2020-07-05 15:56:50 mode auto
2018-12-17 17:58:14 mon-from1 06:30
2018-12-17 17:58:15 mon-from2 21:00
2018-12-17 19:26:00 mon-to1 06:40
2018-12-17 17:58:15 mon-to2 21:30
2020-07-05 04:03:06 night-temp 16.0
2020-07-05 04:01:09 report2 255
2019-08-22 21:21:43 start-xmit 119
2020-11-14 19:18:37 state 17.9 C
2020-11-14 19:18:37 temperature 17.9
2018-12-17 17:54:32 thu-from1 06:30
2018-12-20 19:29:19 thu-from2 21:30
2018-12-17 17:54:32 thu-to1 06:40
2019-01-10 07:00:21 thu-to2 21:50
2018-12-18 21:41:46 tue-from1 06:30
2018-12-18 21:41:47 tue-from2 24:00
2018-12-18 21:41:47 tue-to1 06:50
2018-12-18 21:41:47 tue-to2 24:00
2020-11-14 19:18:38 warnings none
2020-11-14 09:55:32 wed-from1 06:00
2020-11-14 09:55:33 wed-from2 24:00
2020-11-14 09:55:32 wed-to1 23:00
2020-11-14 09:55:33 wed-to2 24:00
2020-11-14 19:18:38 window closed
2020-07-05 04:03:06 windowopen-temp 9.0
2020-11-14 19:18:38 windowsensor ok
Attributes:
IODev FHZ_0
alias Bad
event-on-change-reading temperature,actuator,battery,desired-temp,window,windowsensor
group Temp
room 1.2_Heizung,2.3_Temperatur
--- Ende Code ---
-------------
list FHT_0b02
-------------
--- Code: ---Internals:
CODE 0b02
DEF 0b02
FHZ_0_MSGCNT 450
FHZ_0_RAWMSG 810c04660909a0010b020000a600
FHZ_0_TIME 2020-11-17 12:10:20
FUUID 5fb2e50e-f33f-4a30-b94a-f922519f374e75ba
IODev FHZ_0
LASTInputDev FHZ_0
MSGCNT 450
NAME FHT_0b02
NR 249
STATE 17.8 C
TYPE FHT
webCmd desired-temp
READINGS:
2020-11-17 12:02:44 ack 38
2020-11-17 12:10:20 actuator 0%
2020-11-17 12:02:44 battery ok
2020-11-17 12:02:44 batteryState ok
2020-11-17 09:02:49 desired-temp 7.5
2020-11-17 12:02:44 end-xmit 38
2020-11-17 12:02:44 lowtemp ok
2020-11-17 12:02:43 measured-temp 17.8
2020-11-17 12:02:43 state 17.8 C
2020-11-17 12:02:43 temperature 17.8
2020-11-17 12:02:44 warnings none
2020-11-17 12:02:44 window closed
2020-11-17 12:02:44 windowsensor ok
Attributes:
IODev FHZ_0
room FHT
--- Ende Code ---
-------------
list FHZ_0
-------------
--- Code: ---Internals:
DEF /dev/ttyUSB0
DeviceName /dev/ttyUSB0
FD 11
FHZ_0_MSGCNT 3116
FHZ_0_TIME 2020-11-17 12:10:38
FUUID 5c7fed5e-f33f-4a30-95ff-6b3b89a48abdd2ba
NAME FHZ_0
NR 23
NR_CMD_LAST_H 6
PARTIAL
RAWMSG 810c04650909a0010b010000a600
STATE Initialized
TYPE FHZ
READINGS:
2020-11-16 21:53:16 init2 1f04a0071c2640ff
2020-11-17 03:33:16 serial 136e6fff
SOFTBUFFER:
XMIT_TIME:
1605607681
1605607815
1605608060
1605608176
1605609667
1605609922
Attributes:
fhtsoftbuffer 0
room 9.1_System
--- Ende Code ---
Gruß
Andreas
rudolfkoenig:
Ich habe den Code jetzt eine Weile angestarrt, und habe keine Idee.
Kannst Du bitte ein "attr global verbose 5" Mitschnitt des FHEM Logs zeigen, beginnend ein paar Sekunden vor dem UNDEFINED Meldung?
Andi.Riese:
2020.11.17 14:51:57 ist die UNDEFINED Meldung
--- Code: ---2020.11.17 14:51:51 4: WEB_192.168.178.34_50610 GET /fhem?room=1%2e2%5fHeizung&fw_id=14475; BUFLEN:0
2020.11.17 14:51:51 4: WEB: /fhem?room=1%2e2%5fHeizung&fw_id=14475 / RL:7482 / text/html; charset=UTF-8 / Content-Encoding: gzip
/ Cache-Control: no-cache, no-store, must-revalidate
2020.11.17 14:51:51 5: GET /fhem?XHR=1&inform=type=status;filter=room=1%2e2%5fHeizung;since=1605621110;fmt=JSON&fw_id=14475×tamp=1605621111410 HTTP/1.1
Host: raspi5:8083
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
Accept: */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive
Referer: http://raspi5:8083/fhem?room=1%2e2%5fHeizung&fw_id=14475
2020.11.17 14:51:51 4: WEB_192.168.178.34_50610 GET /fhem?XHR=1&inform=type=status;filter=room=1%2e2%5fHeizung;since=1605621110;fmt=JSON&fw_id=14475×tamp=1605621111410; BUFLEN:0
2020.11.17 14:51:51 5: PRESENCE (Gast) - stopping timer
2020.11.17 14:51:51 5: PRESENCE (Gast) - starting blocking call for mode lan-ping
2020.11.17 14:51:51 4: BlockingCall (PRESENCE_DoLocalPingScan): created child (1142), uses telnetPort to connect back
2020.11.17 14:51:51 4: Connection accepted from telnetPort_127.0.0.1_59096
2020.11.17 14:51:51 5: Cmd: >{BlockingRegisterTelnet($cl,12782)}<
2020.11.17 14:51:51 5: PRESENCE (Gast) - starting ping scan: Gast|123.456.78.910|0|4
2020.11.17 14:51:51 5: PRESENCE (Gast) - ping command returned with output:
ping: 123.456.78.910: Der Name oder der Dienst ist nicht bekannt
2020.11.17 14:51:51 5: Cmd: >{BlockingStart('12782')}<
2020.11.17 14:51:51 5: Cmd: >{PRESENCE_ProcessLocalScan('Gast|0|absent')}<
2020.11.17 14:51:51 5: PRESENCE (Gast) - blocking scan result: Gast|0|absent
2020.11.17 14:51:51 4: PRESENCE (Gast) - rescheduling next check in 5 seconds
2020.11.17 14:51:53 4: Connection accepted from WEB_192.168.178.34_50615
2020.11.17 14:51:53 5: POST /fhem?cmd=save&XHR=1&fw_id=14475 HTTP/1.1
Host: raspi5:8083
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
Accept: */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Origin: http://raspi5:8083
DNT: 1
Connection: keep-alive
Referer: http://raspi5:8083/fhem?room=1%2e2%5fHeizung&fw_id=14475
Content-Length: 0
2020.11.17 14:51:53 4: WEB_192.168.178.34_50615 POST /fhem?cmd=save&XHR=1&fw_id=14475; BUFLEN:0
2020.11.17 14:51:53 5: Cmd: >save<
2020.11.17 14:51:53 5: Starting notify loop for global, 1 event(s), first is SAVE
2020.11.17 14:51:53 5: createNotifyHash
2020.11.17 14:51:53 5: statistics AussentemperaturStatistik: Notify.280 Notification of 'global' received. Device not monitored.
2020.11.17 14:51:53 5: End notify loop for global
2020.11.17 14:51:53 4: WEB: /fhem?cmd=save&XHR=1&fw_id=14475 / RL:52 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/ Cache-Control: no-cache, no-store, must-revalidate
2020.11.17 14:51:54 5: PRESENCE (Hanna) - ping command returned with output:
PING 192.168.178.23 (192.168.178.23) 56(84) bytes of data.
From 192.168.178.20 icmp_seq=1 Destination Host Unreachable
From 192.168.178.20 icmp_seq=2 Destination Host Unreachable
From 192.168.178.20 icmp_seq=3 Destination Host Unreachable
From 192.168.178.20 icmp_seq=4 Destination Host Unreachable
--- 192.168.178.23 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3123ms
pipe 4
2020.11.17 14:51:54 5: Cmd: >{BlockingStart('12781')}<
2020.11.17 14:51:54 5: Cmd: >{PRESENCE_ProcessLocalScan('Hanna|0|absent')}<
2020.11.17 14:51:54 5: PRESENCE (Hanna) - blocking scan result: Hanna|0|absent
2020.11.17 14:51:54 4: PRESENCE (Hanna) - rescheduling next check in 5 seconds
2020.11.17 14:51:55 4: Connection closed for WEB_192.168.178.34_50610: EOF
2020.11.17 14:51:55 5: GET /fhem?room=FHT HTTP/1.1
Host: raspi5:8083
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive
Referer: http://raspi5:8083/fhem?room=1%2e2%5fHeizung&fw_id=14475
Upgrade-Insecure-Requests: 1
2020.11.17 14:51:55 4: WEB_192.168.178.34_50615 GET /fhem?room=FHT; BUFLEN:0
2020.11.17 14:51:56 4: WEB: /fhem?room=FHT / RL:2628 / text/html; charset=UTF-8 / Content-Encoding: gzip
/ Cache-Control: no-cache, no-store, must-revalidate
2020.11.17 14:51:56 5: GET /fhem?XHR=1&inform=type=status;filter=room=FHT;since=1605621114;fmt=JSON&fw_id=14723×tamp=1605621116261 HTTP/1.1
Host: raspi5:8083
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
Accept: */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive
Referer: http://raspi5:8083/fhem?room=FHT
2020.11.17 14:51:56 4: WEB_192.168.178.34_50615 GET /fhem?XHR=1&inform=type=status;filter=room=FHT;since=1605621114;fmt=JSON&fw_id=14723×tamp=1605621116261; BUFLEN:0
2020.11.17 14:51:56 5: PRESENCE (Gast) - stopping timer
2020.11.17 14:51:56 5: PRESENCE (Gast) - starting blocking call for mode lan-ping
2020.11.17 14:51:57 4: BlockingCall (PRESENCE_DoLocalPingScan): created child (1144), uses telnetPort to connect back
2020.11.17 14:51:57 4: Connection accepted from telnetPort_127.0.0.1_59098
2020.11.17 14:51:57 5: Cmd: >{BlockingRegisterTelnet($cl,12783)}<
2020.11.17 14:51:57 5: PRESENCE (Gast) - starting ping scan: Gast|123.456.78.910|0|4
2020.11.17 14:51:57 5: PRESENCE (Gast) - ping command returned with output:
ping: 123.456.78.910: Der Name oder der Dienst ist nicht bekannt
2020.11.17 14:51:57 5: Cmd: >{BlockingStart('12783')}<
2020.11.17 14:51:57 5: Cmd: >{PRESENCE_ProcessLocalScan('Gast|0|absent')}<
2020.11.17 14:51:57 5: PRESENCE (Gast) - blocking scan result: Gast|0|absent
2020.11.17 14:51:57 4: PRESENCE (Gast) - rescheduling next check in 5 seconds
2020.11.17 14:51:57 4: FHZ/RAW: 810c04 (Unparsed: )
2020.11.17 14:51:57 4: FHZ/RAW: 680909a0010b040000a600 (Unparsed: 810c04)
2020.11.17 14:51:57 5: FHZ_0: dispatch 810c04680909a0010b040000a600
2020.11.17 14:51:57 3: FHT Unknown device 0b04, please define it
2020.11.17 14:51:57 5: Starting notify loop for global, 1 event(s), first is UNDEFINED FHT_0b04 FHT 0b04
2020.11.17 14:51:57 5: createNotifyHash
2020.11.17 14:51:57 5: statistics AussentemperaturStatistik: Notify.280 Notification of 'global' received. Device not monitored.
2020.11.17 14:51:57 2: autocreate: define FHT_0b04 FHT 0b04
2020.11.17 14:51:57 2: autocreate: define FileLog_FHT_0b04 FileLog ./log/FHT_0b04-%Y.log FHT_0b04
2020.11.17 14:51:57 2: autocreate: define SVG_FHT_0b04 SVG FileLog_FHT_0b04:fht:CURRENT
2020.11.17 14:51:57 5: Starting notify loop for SVG_FHT_0b04, 1 event(s), first is copyGplotFile
2020.11.17 14:51:57 5: createNotifyHash
2020.11.17 14:51:57 5: End notify loop for SVG_FHT_0b04
2020.11.17 14:51:57 4: Skipping save, as autosave is disabled
2020.11.17 14:51:57 5: End notify loop for global
2020.11.17 14:51:59 5: PRESENCE (Hanna) - stopping timer
2020.11.17 14:51:59 5: PRESENCE (Hanna) - starting blocking call for mode lan-ping
2
--- Ende Code ---
Andi.Riese:
Noch 3 Anmerkungen:
* Wenn ich FHT_0b02 in FHT_Bad umbenenne, ist das autocreate weg. Allerdings muss ich die Einstellungen neu vornehmen.
* Das Problem tritt auch bei meinen anderen 4 FHTs genauso auf
* Das Problem habe ich seit Jahren: Irgendwann ist ein neuer FHT_... da, dann muss ich umbenennen und die Einstellungen neu vornehmen.
rudolfkoenig:
Immer noch keine Ahnung: ich schaffe es nicht mit den Daten aus dem Anhang ein zweites Geraet anzulegen, und laut Code kann sowas auch nicht passieren.
Ich habe 11_FHT.pm mit Debugausgaben erweitert (siehe Anhang), bitte FHEM damit starten, und im Problemfall alle Zeilen aus dem Log, die FHT enthalten, hier anhaengen.
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln