Am Donnerstag, 17. Januar 2008 schrieb Rudolf Koenig:
> 4. Ich habe Mehrfachbefehle in 11_FHT.pm implementiert und
> eingecheckt, waer Klasse wenn auch andere es testen wuerden.
hier also mein ergebnis:
fhem.pl gestartet und kurz abgewartet:
2008.01.18 16:47:51 3: FHZ opening FHZ device /dev/ttyUSB0
2008.01.18 16:47:51 3: FHZ opened FHZ device /dev/ttyUSB0
2008.01.18 16:47:54 1: Trying again get FHZ init2 (2 out of 3)
2008.01.18 16:47:56 2: FHEMWEB port 8080 opened
2008.01.18 16:47:56 2: Asking the FHT device wz.Heizung/0b01 to send its data
2008.01.18 16:47:57 2: FHT set wz.Heizung refreshvalues
2008.01.18 16:47:57 2: Asking the FHT device sc.Heizung/1801 to send its data
2008.01.18 16:47:58 0: Server started (version =VERS= from =DATE= ($Id:
fhem.pl,v 1.37 2008/01/08 20:15:58 rudolfkoenig Exp $), pid 19182)
2008.01.18 16:49:46 4: FHT wz.Heizung confirmation: 65ff43
2008.01.18 16:49:46 4: FHT wz.Heizung init: 255
2008.01.18 16:49:46 4: FHT wz.Heizung code_7e0067: 255
2008.01.18 16:51:39 4: FHT wz.Heizung actuator: 00%
2008.01.18 16:51:40 4: FHT wz.Heizung mon-from1: 12:00
2008.01.18 16:51:41 4: FHT wz.Heizung mon-to1: 22:30
2008.01.18 16:51:41 4: FHT wz.Heizung code_4b0067: 144
2008.01.18 16:51:42 4: FHT wz.Heizung tue-from1: 12:00
2008.01.18 16:51:42 4: FHT wz.Heizung tue-from1: 12:00
2008.01.18 16:52:35 4: Connection accepted from 127.0.0.1:28129
jetzt mon-to2 bis fri-to2 gesetzt:
2008.01.18 16:52:35 2: FHT set wz.Heizung mon-to2 00:00 tue-to2 00:00 wed-to2
00:00 thu-to2 00:00 fri-to2 00:00
2008.01.18 16:52:35 4: Connection closed for 127.0.0.1:28129
2008.01.18 16:53:38 4: FHT wz.Heizung confirmation: 17003d
2008.01.18 16:53:38 4: FHT wz.Heizung mon-to2: 00:00
2008.01.18 16:53:38 4: FHT wz.Heizung code_7e0067: 0
2008.01.18 16:55:30 4: FHT wz.Heizung actuator: 00%
2008.01.18 16:57:26 4: FHT wz.Heizung actuator: 00%
2008.01.18 16:57:27 4: FHT wz.Heizung tue-from1: 12:00
2008.01.18 16:57:27 4: FHT wz.Heizung tue-to1: 22:30
2008.01.18 16:57:28 4: FHT wz.Heizung tue-to2: 00:00
2008.01.18 16:57:28 4: FHT wz.Heizung code_4b0067: 0
2008.01.18 16:57:28 4: FHT wz.Heizung wed-from1: 12:00
2008.01.18 16:57:28 4: FHT wz.Heizung wed-to1: 22:30
2008.01.18 16:57:29 4: FHT wz.Heizung wed-to2: 00:00
2008.01.18 16:57:29 4: FHT wz.Heizung code_4b0067: 0
2008.01.18 16:57:30 4: FHT wz.Heizung thu-from1: 12:00
2008.01.18 16:57:30 4: FHT wz.Heizung thu-to1: 22:30
2008.01.18 16:57:30 4: FHT wz.Heizung thu-to2: 00:00
2008.01.18 16:57:31 4: FHT wz.Heizung code_4b0067: 0
2008.01.18 16:57:31 4: FHT wz.Heizung fri-from1: 12:00
2008.01.18 16:57:31 4: FHT wz.Heizung fri-to1: 22:30
2008.01.18 16:57:32 4: FHT wz.Heizung fri-to2: 00:00
2008.01.18 16:57:32 4: FHT wz.Heizung code_4b0067: 0
2008.01.18 16:57:32 4: FHT wz.Heizung sat-from1: 08:30
2008.01.18 16:57:33 4: FHT wz.Heizung sat-to1: 23:50
2008.01.18 16:57:33 4: FHT wz.Heizung code_4b0067: 144
2008.01.18 16:57:34 4: FHT wz.Heizung sun-from1: 08:30
2008.01.18 16:57:34 4: FHT wz.Heizung sun-to1: 23:50
2008.01.18 16:57:35 4: FHT wz.Heizung code_4b0067: 144
2008.01.18 16:57:35 4: FHT wz.Heizung day-temp: 21.5 (Celsius)
2008.01.18 16:57:35 4: FHT wz.Heizung night-temp: 16.0 (Celsius)
2008.01.18 16:57:36 4: FHT wz.Heizung windowopen-temp: 10.0 (Celsius)
2008.01.18 16:57:36 4: FHT wz.Heizung code_4b0067: 20
2008.01.18 16:57:36 4: FHT wz.Heizung lowtemp-offset: 4.0 (Celsius)
2008.01.18 16:57:37 4: FHT wz.Heizung code_4b0067: 4
2008.01.18 16:57:37 4: FHT wz.Heizung desired-temp: 20.0 (Celsius)
2008.01.18 16:57:37 4: FHT wz.Heizung code_4b0067: 40
2008.01.18 16:57:38 4: FHT wz.Heizung measured-temp: 21.6 (Celsius)
2008.01.18 16:57:38 4: FHT wz.Heizung code_4b0067: 0
2008.01.18 16:57:38 4: FHT wz.Heizung mode: auto
2008.01.18 16:57:39 4: FHT wz.Heizung code_4b0067: 0
2008.01.18 16:57:39 4: FHT wz.Heizung warnings: none
2008.01.18 16:57:39 4: FHT wz.Heizung code_4b0067: 0
2008.01.18 16:57:39 4: FHT wz.Heizung code_7e0067: 0
2008.01.18 16:59:21 4: FHT wz.Heizung actuator: 00%
kurz gewartet nochmal überprüft:
abe:/usr/local/lib/FHEM/scripts # echo "list wz.Heizung" | netcat -w1
localhost 7072
Internals:
CODE 0b01
DEF 0b01
IODev FHZ
NAME wz.Heizung
NR 8
STATE code_7e0067: 0
TYPE FHT
Readings:
2008-01-18 16:57:26 actuator 00%
2008-01-18 16:57:39 code_4b0067 0
2008-01-18 16:57:39 code_7e0067 0
2008-01-18 16:57:35 day-temp 21.5 (Celsius)
2008-01-18 16:57:37 desired-temp 20.0 (Celsius)
2008-01-18 16:57:31 fri-from1 12:00
2008-01-16 20:07:15 fri-from2 00:00
2008-01-18 16:57:31 fri-to1 22:30
2008-01-18 16:57:32 fri-to2 00:00
2008-01-18 16:49:46 init 255
2008-01-18 16:57:36 lowtemp-offset 4.0 (Celsius)
2008-01-18 16:57:38 measured-high 0
2008-01-18 16:57:37 measured-low 216
2008-01-18 16:57:38 measured-temp 21.6 (Celsius)
2008-01-18 16:57:38 mode auto
2008-01-18 16:51:40 mon-from1 12:00
2008-01-16 18:53:02 mon-from2 00:00
2008-01-18 16:51:41 mon-to1 22:30
2008-01-18 16:53:38 mon-to2 00:00
2008-01-18 16:57:35 night-temp 16.0 (Celsius)
2008-01-18 16:57:32 sat-from1 08:30
2008-01-16 18:53:09 sat-from2 00:00
2008-01-18 16:57:33 sat-to1 23:50
2008-01-16 18:53:10 sat-to2 00:00
2008-01-18 16:57:34 sun-from1 08:30
2008-01-16 18:53:11 sun-from2 00:00
2008-01-18 16:57:34 sun-to1 23:50
2008-01-16 18:53:11 sun-to2 00:00
2008-01-16 20:56:16 synctime 3
2008-01-18 16:57:30 thu-from1 12:00
2008-01-16 18:53:07 thu-from2 00:00
2008-01-18 16:57:30 thu-to1 22:30
2008-01-18 16:57:30 thu-to2 00:00
2008-01-18 16:57:27 tue-from1 12:00
2008-01-16 18:53:04 tue-from2 00:00
2008-01-18 16:57:27 tue-to1 22:30
2008-01-18 16:57:28 tue-to2 00:00
2008-01-18 16:57:39 warnings none
2008-01-18 16:57:28 wed-from1 12:00
2008-01-16 18:53:05 wed-from2 00:00
2008-01-18 16:57:28 wed-to1 22:30
2008-01-18 16:57:29 wed-to2 00:00
2008-01-18 16:57:36 windowopen-temp 10.0 (Celsius)
alle *-to2 werte von mon-fri waren vorher auf 23:30 und nun auf 00:00.
so wie ich das jetzt sehe, hat das zu 100% funktioniert! zeitersparnis
gegenüber der vorherigen methode > 1 std.
da das ja nicht mit dem fhtsoftbuffer geht und um internen buffer nicht zu
flodden, sollte ich jetzt ein paar sleeps einbauen, wenn ich das system
richtig verstanden habe. z.b. in der form:
set mon-from1 zeit tue-from1 zeit wed-from1 zeit thu-from1 zeit fri-from1 zeit
sleep 240
set mon-to1 zeit tue-to1 zeit wed-to1 zeit thu-to1 zeit fri-to1 zeit
sleep 240
set mon-from2 zeit tue-from2 zeit wed-from2 zeit thu-from2 zeit fri-from2 zeit
sleep 240
set mon-to2 zeit tue-to2 zeit wed-to2 zeit thu-to2 zeit fri-to2 zeit
sleep 240
set sat-from1 zeit sat-to1 zeit sat-from2 zeit sat-to2 zeit
sleep 240
set sun-from1 zeit sun-to1 zeit sun-from2 zeit sun-to2 zeit
oder ist 240 zuviel oder zuwenig?
vielleicht gibts ja auch bald ein release das mit fhtsoftbuffer
funktioniert ;-)
also rudi: an dieser stelle nochmal ein danke schön, das du dir die zeit
genommen hast. gerne stelle ich mich für weitere (auch andere tests) zur
verfügung!
gruß martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHZ1000 users on Linux" group.
To post to this group, send email to FHZ1000-users-on-unix@googlegroups.com
To unsubscribe from this group, send email to FHZ1000-users-on-unix-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/FHZ1000-users-on-unix?hl=en-~----------~----~----~----~------~----~------~--~-