Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)

Begonnen von dominik, 12 November 2016, 11:45:15

Vorheriges Thema - Nächstes Thema

Master_Nick

Moin,

gibt es eigentlich einen Grund dafür, dass die Thermostate ein fiktives Zukunftsdatum gesendet bekommen?
Es wäre doch bestimmt ein einfaches wirklich das aktuelle zu nutzen. Bei mir ist irgendwie bei allen das Jahr 2038 oder ähnlich.
Rancher K8s Cluster mit nanoCUL (a-culfw) | IObroker | IT(V1&V3), IT-PIR, THGR122NX |Co² | alexa-fhem | WOL | NFC | Harmony UltimateHub | Anwesenheitserkennnung | Roomba | 10" Touch mit Node-Red | SonOff S20 | SonOff Touch | SonOff Dual | Rolladen | Und ganz viel anderes tolles Gerödel.... ;-)

IT-Fuzzi

Also ich nutze seit einigen Tagen wieder die alte Version den Moduls (von letzter Heizsaison v2.0.3 - 20171218), und seither habe ich keine Problem mehr mit sich verstellenden Thermostaten bzgl. Datum/Uhrzeit.

Viele Grüße  ;)

costa2

#362
Heute habe ich ein Fhem Update gemacht, der Fehler ist wieder da.

PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 525.
RPI3, Nanocul 433 MHz, 433 MHz Steckdosen, DVB-T Stick für 868 MHz TX Sensoren, MOBILE ALERTS Sensoren und Gateway

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

costa2

Internals:
   DEF        00:1A:22:0D:6E:19 raspi2
   MAC        00:1A:22:0D:6E:19
   NAME       bad_heizung
   NR         951
   STATE      initialized
   TYPE       EQ3BT
   VERSION    2.0.5
   loglevel   4
   Helper:
     DBLOG:
       bluetoothDevice:
         logdb:
           TIME       1544596034.72041
           VALUE      hci
       consumption:
         logdb:
           TIME       1544606374.44275
           VALUE      -114.509
       consumptionToday:
         logdb:
           TIME       1544606374.49359
           VALUE      286.574
       consumptionYesterday:
         logdb:
           TIME       1544569362.02102
           VALUE      621.029
       desiredTemperature:
         logdb:
           TIME       1544606219.80229
           VALUE      13.0
       firmware:
         logdb:
           TIME       1544618310.38436
           VALUE      110
       lastChangeBy:
         logdb:
           TIME       1544606219.72965
           VALUE      FHEM
       state:
         logdb:
           TIME       1544606215.72874
           VALUE      desiredTemperature 13
       valvePosition:
         logdb:
           TIME       1544620504.8222
           VALUE      0
   READINGS:
     2018-09-21 17:34:40   battery         ok
     2018-12-12 07:27:14   bluetoothDevice hci
     2018-09-21 17:34:40   boost           0
     2018-09-21 17:34:40   childlock       0
     2018-12-12 10:19:34   consumption     -114.509
     2018-12-12 10:19:34   consumptionToday 286.574
     2018-12-12 00:02:42   consumptionYesterday 621.029
     2018-12-12 10:16:59   desiredTemperature 13.0
     2018-09-21 17:34:40   ecoMode         0
     2018-09-22 12:42:48   errorCount-setDesiredTemperature 0
     2018-12-10 14:31:57   errorCount-updateStatus 2
     2018-12-10 14:34:51   errorCount-updateSystemInformation 1
     2018-12-12 13:38:30   firmware        110
     2018-12-12 10:16:59   lastChangeBy    FHEM
     2018-11-03 09:16:08   mode            Automatic
     2018-12-12 14:15:04   valvePosition   0
     2018-11-26 10:02:12   windowOpen      0
   helper:
     currenthcidevice 0
     handlesetDesiredTemperature 0x0411
     handleupdateStatus 0x0411
     handleupdateSystemInformation 0x0411
     listensetDesiredTemperature
     listenupdateStatus 02 01 08 00 04 1a
     listenupdateSystemInformation 01 6e 00 00 7f 75 81 61 66 61 63 65 60 63 a7
     retryCounterHci0 4
     retryCountersetDesiredTemperature 0
     retryCounterupdateStatus 0
     retryCounterupdateSystemInformation 0
     valuesetDesiredTemperature 411A
     valueupdateStatus 03120C0C0E0E
     valueupdateSystemInformation 00
     hcidevices:
Attributes:
   room       Heizung
   sshHost    pi@raspi2


Allerdings weiß ich gar nicht, ob alle Thermostaten den Fehler verursachen, oder nur Einer.
RPI3, Nanocul 433 MHz, 433 MHz Steckdosen, DVB-T Stick für 868 MHz TX Sensoren, MOBILE ALERTS Sensoren und Gateway

CoolTux


valueupdateSystemInformation 00
     hcidevices:
Attributes:


Bei mir steht unter hcidevices: noch eine 0
Das würde dann auch passen mit der Aussage
PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 525.
Bei Dir steht kein Wert und deswegen kann der Code in Zeile 525 auch keine Wertezuweisung machen. Warum das so ist vermag ich aber nicht zu sagen.

my $hciDevice = "hci".$hash->{helper}{hcidevices}[$hash->{helper}{currenthcidevice}];


Was ist wenn Du in der Detailansicht des Devices auf DEF klickst und dann gleich auf modify. Dann kurz warten und noch mal ein list machen.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

costa2

#366
Ein modify hat nichts geändert.

Internals:
   DEF        00:1A:22:0D:6E:19 raspi2
   MAC        00:1A:22:0D:6E:19
   NAME       bad_heizung
   NR         951
   STATE      initialized
   TYPE       EQ3BT
   VERSION    2.0.5
   loglevel   4
   Helper:
     DBLOG:
       bluetoothDevice:
         logdb:
           TIME       1544623559.21003
           VALUE      hci
       firmware:
         logdb:
           TIME       1544623258.41555
           VALUE      110
       valvePosition:
         logdb:
           TIME       1544623492.73014
           VALUE      0
   READINGS:
     2018-09-21 17:34:40   battery         ok
     2018-12-12 15:05:59   bluetoothDevice hci
     2018-09-21 17:34:40   boost           0
     2018-09-21 17:34:40   childlock       0
     2018-12-12 10:19:34   consumption     -114.509
     2018-12-12 10:19:34   consumptionToday 286.574
     2018-12-12 00:02:42   consumptionYesterday 621.029
     2018-12-12 10:16:59   desiredTemperature 13.0
     2018-09-21 17:34:40   ecoMode         0
     2018-09-22 12:42:48   errorCount-setDesiredTemperature 0
     2018-12-10 14:31:57   errorCount-updateStatus 2
     2018-12-10 14:34:51   errorCount-updateSystemInformation 1
     2018-12-12 15:00:58   firmware        110
     2018-12-12 10:16:59   lastChangeBy    FHEM
     2018-11-03 09:16:08   mode            Automatic
     2018-12-12 15:04:52   valvePosition   0
     2018-11-26 10:02:12   windowOpen      0
   helper:
     currenthcidevice 0
     handleupdateStatus 0x0411
     handleupdateSystemInformation 0x0411
     listenupdateStatus 02 01 08 00 04 1a
     listenupdateSystemInformation no gatttool binary found. Please check if bluez-package is properly installed
     retryCounterHci0 1
     retryCounterupdateStatus 0
     retryCounterupdateSystemInformation 1
     valueupdateStatus 03120C0C0F04
     valueupdateSystemInformation 00
     hcidevices:
Attributes:
   room       Heizung
   sshHost    raspi2


Ein anderer Thermostat:

Internals:
   DEF        00:1A:22:0D:61:55 raspi2
   MAC        00:1A:22:0D:61:55
   NAME       sz_heizung
   NR         933
   STATE      initialized
   TYPE       EQ3BT
   VERSION    2.0.5
   loglevel   4
   Helper:
     DBLOG:
       firmware:
         logdb:
           TIME       1544623258.35811
           VALUE      110
       valvePosition:
         logdb:
           TIME       1544623633.92648
           VALUE      0
   READINGS:
     2018-09-21 17:41:51   battery         ok
     2018-12-12 15:00:20   bluetoothDevice hci
     2018-09-21 17:41:51   boost           0
     2018-09-21 17:41:50   childlock       0
     2018-12-12 03:00:35   consumption     785.547
     2018-12-12 03:00:35   consumptionToday 2.334
     2018-12-12 00:01:56   consumptionYesterday 40.26
     2018-12-12 08:59:09   desiredTemperature 8.0
     2018-09-21 17:41:50   ecoMode         0
     2018-12-10 14:34:17   errorCount-updateStatus 1
     2018-12-10 14:34:45   errorCount-updateSystemInformation 1
     2018-12-12 15:00:58   firmware        110
     2018-12-12 08:59:09   lastChangeBy    Thermostat
     2018-09-21 17:41:51   mode            Manual
     2018-12-12 15:07:13   valvePosition   0
     2018-12-12 08:59:09   windowOpen      0
   helper:
     currenthcidevice 0
     handleupdateStatus 0x0411
     handleupdateSystemInformation 0x0411
     listenupdateStatus 02 01 09 00 04 10
     listenupdateSystemInformation 01 6e 00 00 7f 75 81 61 66 61 60 62 61 69 a7
     retryCounterupdateStatus 0
     retryCounterupdateSystemInformation 0
     valueupdateStatus 03120C0C0F06
     valueupdateSystemInformation 00
     hcidevices:
Attributes:
   room       Heizung
   sshHost    pi@raspi2
RPI3, Nanocul 433 MHz, 433 MHz Steckdosen, DVB-T Stick für 868 MHz TX Sensoren, MOBILE ALERTS Sensoren und Gateway

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

costa2

Was ist wenn Du in der Detailansicht des Devices auf DEF klickst und dann gleich auf modify. Dann kurz warten und noch mal ein list machen.

Das?

Ja, hat nichts geändert.
RPI3, Nanocul 433 MHz, 433 MHz Steckdosen, DVB-T Stick für 868 MHz TX Sensoren, MOBILE ALERTS Sensoren und Gateway

CoolTux

Ja das meinte ich.
Ich kann auch auf dem Holzweg sein. Eventuell kann ein Dritter noch mal bei sich schauen.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

costa2

Es sieht bei allen Thermostaten gleich aus.

valueupdateSystemInformation 00
     hcidevices:
Attributes:
RPI3, Nanocul 433 MHz, 433 MHz Steckdosen, DVB-T Stick für 868 MHz TX Sensoren, MOBILE ALERTS Sensoren und Gateway

CoolTux

Kommt die Meldung ständig oder nur einmal nach einem Neustart?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

costa2

#372
Ständig.

2018.12.12 16:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 525.
2018.12.12 16:05:39 1: stacktrace:
2018.12.12 16:05:39 1:     main::__ANON__                      called by ./FHEM/10_EQ3BT.pm (525)
2018.12.12 16:05:39 1:     main::EQ3BT_execGatttool            called by FHEM/Blocking.pm (194)
2018.12.12 16:05:39 1:     main::BlockingStart                 called by FHEM/Blocking.pm (107)
2018.12.12 16:05:39 1:     main::BlockingCall                  called by ./FHEM/10_EQ3BT.pm (343)
2018.12.12 16:05:39 1:     main::EQ3BT_updateSystemInformation called by fhem.pl (3146)
2018.12.12 16:05:39 1:     main::HandleTimeout                 called by fhem.pl (649)
2018.12.12 16:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 525.
2018.12.12 16:05:39 1: stacktrace:
2018.12.12 16:05:39 1:     main::__ANON__                      called by ./FHEM/10_EQ3BT.pm (525)
2018.12.12 16:05:39 1:     main::EQ3BT_execGatttool            called by FHEM/Blocking.pm (194)
2018.12.12 16:05:39 1:     main::BlockingStart                 called by FHEM/Blocking.pm (107)
2018.12.12 16:05:39 1:     main::BlockingCall                  called by ./FHEM/10_EQ3BT.pm (343)
2018.12.12 16:05:39 1:     main::EQ3BT_updateSystemInformation called by fhem.pl (3146)
2018.12.12 16:05:39 1:     main::HandleTimeout                 called by fhem.pl (649)
2018.12.12 16:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 525.
2018.12.12 16:05:39 1: stacktrace:
2018.12.12 16:05:39 1:     main::__ANON__                      called by ./FHEM/10_EQ3BT.pm (525)
2018.12.12 16:05:39 1:     main::EQ3BT_execGatttool            called by FHEM/Blocking.pm (194)
2018.12.12 16:05:39 1:     main::BlockingStart                 called by FHEM/Blocking.pm (107)
2018.12.12 16:05:39 1:     main::BlockingCall                  called by ./FHEM/10_EQ3BT.pm (343)
2018.12.12 16:05:39 1:     main::EQ3BT_updateSystemInformation called by fhem.pl (3146)
2018.12.12 16:05:39 1:     main::HandleTimeout                 called by fhem.pl (649)
2018.12.12 16:06:16 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 525.
2018.12.12 16:06:16 1: stacktrace:
2018.12.12 16:06:16 1:     main::__ANON__                      called by ./FHEM/10_EQ3BT.pm (525)
2018.12.12 16:06:16 1:     main::EQ3BT_execGatttool            called by FHEM/Blocking.pm (194)
2018.12.12 16:06:16 1:     main::BlockingStart                 called by FHEM/Blocking.pm (107)
2018.12.12 16:06:16 1:     main::BlockingCall                  called by ./FHEM/10_EQ3BT.pm (368)
2018.12.12 16:06:16 1:     main::EQ3BT_updateStatus            called by fhem.pl (3146)
2018.12.12 16:06:16 1:     main::HandleTimeout                 called by fhem.pl (649)
2018.12.12 16:06:16 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 525.
2018.12.12 16:06:16 1: stacktrace:
2018.12.12 16:06:16 1:     main::__ANON__                      called by ./FHEM/10_EQ3BT.pm (525)
2018.12.12 16:06:16 1:     main::EQ3BT_execGatttool            called by FHEM/Blocking.pm (194)
2018.12.12 16:06:16 1:     main::BlockingStart                 called by FHEM/Blocking.pm (107)
2018.12.12 16:06:16 1:     main::BlockingCall                  called by ./FHEM/10_EQ3BT.pm (368)
2018.12.12 16:06:16 1:     main::EQ3BT_updateStatus            called by fhem.pl (3146)
2018.12.12 16:06:16 1:     main::HandleTimeout                 called by fhem.pl (649)
2018.12.12 16:06:16 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 525.
2018.12.12 16:06:16 1: stacktrace:
2018.12.12 16:06:16 1:     main::__ANON__                      called by ./FHEM/10_EQ3BT.pm (525)
2018.12.12 16:06:16 1:     main::EQ3BT_execGatttool            called by FHEM/Blocking.pm (194)
2018.12.12 16:06:16 1:     main::BlockingStart                 called by FHEM/Blocking.pm (107)
2018.12.12 16:06:16 1:     main::BlockingCall                  called by ./FHEM/10_EQ3BT.pm (368)
2018.12.12 16:06:16 1:     main::EQ3BT_updateStatus            called by fhem.pl (3146)
2018.12.12 16:06:16 1:     main::HandleTimeout                 called by fhem.pl (649)
2018.12.12 16:07:11 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 525.
2018.12.12 16:07:11 1: stacktrace:
2018.12.12 16:07:11 1:     main::__ANON__                      called by ./FHEM/10_EQ3BT.pm (525)
2018.12.12 16:07:11 1:     main::EQ3BT_execGatttool            called by FHEM/Blocking.pm (194)
2018.12.12 16:07:11 1:     main::BlockingStart                 called by FHEM/Blocking.pm (107)
2018.12.12 16:07:11 1:     main::BlockingCall                  called by ./FHEM/10_EQ3BT.pm (396)
2018.12.12 16:07:11 1:     main::EQ3BT_setDesiredTemperature   called by ./FHEM/10_EQ3BT.pm (280)
2018.12.12 16:07:11 1:     main::EQ3BT_Set                     called by fhem.pl (3598)
2018.12.12 16:07:11 1:     main::CallFn                        called by fhem.pl (1810)
2018.12.12 16:07:11 1:     main::DoSet                         called by fhem.pl (1843)
2018.12.12 16:07:11 1:     main::CommandSet                    called by fhem.pl (1217)
2018.12.12 16:07:11 1:     main::AnalyzeCommand                called by fhem.pl (1063)
2018.12.12 16:07:11 1:     main::AnalyzeCommandChain           called by ./FHEM/01_FHEMWEB.pm (2588)
2018.12.12 16:07:11 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (863)
2018.12.12 16:07:11 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (535)
2018.12.12 16:07:11 1:     main::FW_Read                       called by fhem.pl (3603)
2018.12.12 16:07:11 1:     main::CallFn                        called by fhem.pl (726)
2018.12.12 16:07:16 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 525.
2018.12.12 16:07:16 1: stacktrace:
2018.12.12 16:07:16 1:     main::__ANON__                      called by ./FHEM/10_EQ3BT.pm (525)
2018.12.12 16:07:16 1:     main::EQ3BT_execGatttool            called by FHEM/Blocking.pm (194)
2018.12.12 16:07:16 1:     main::BlockingStart                 called by FHEM/Blocking.pm (107)
2018.12.12 16:07:16 1:     main::BlockingCall                  called by ./FHEM/10_EQ3BT.pm (396)
2018.12.12 16:07:16 1:     main::EQ3BT_setDesiredTemperature   called by ./FHEM/10_EQ3BT.pm (280)
2018.12.12 16:07:16 1:     main::EQ3BT_Set                     called by fhem.pl (3598)
2018.12.12 16:07:16 1:     main::CallFn                        called by fhem.pl (1810)
2018.12.12 16:07:16 1:     main::DoSet                         called by fhem.pl (1843)
2018.12.12 16:07:16 1:     main::CommandSet                    called by fhem.pl (1217)
2018.12.12 16:07:16 1:     main::AnalyzeCommand                called by fhem.pl (1063)
2018.12.12 16:07:16 1:     main::AnalyzeCommandChain           called by ./FHEM/01_FHEMWEB.pm (2588)
2018.12.12 16:07:16 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (863)
2018.12.12 16:07:16 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (535)
2018.12.12 16:07:16 1:     main::FW_Read                       called by fhem.pl (3603)
2018.12.12 16:07:16 1:     main::CallFn                        called by fhem.pl (726)
2018.12.12 16:08:59 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 525.
2018.12.12 16:08:59 1: stacktrace:
2018.12.12 16:08:59 1:     main::__ANON__                      called by ./FHEM/10_EQ3BT.pm (525)
2018.12.12 16:08:59 1:     main::EQ3BT_execGatttool            called by FHEM/Blocking.pm (194)
2018.12.12 16:08:59 1:     main::BlockingStart                 called by FHEM/Blocking.pm (107)
2018.12.12 16:08:59 1:     main::BlockingCall                  called by ./FHEM/10_EQ3BT.pm (368)
2018.12.12 16:08:59 1:     main::EQ3BT_updateStatus            called by fhem.pl (3146)
2018.12.12 16:08:59 1:     main::HandleTimeout                 called by fhem.pl (649)
2018.12.12 16:09:14 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 525.
2018.12.12 16:09:14 1: stacktrace:
2018.12.12 16:09:14 1:     main::__ANON__                      called by ./FHEM/10_EQ3BT.pm (525)
2018.12.12 16:09:14 1:     main::EQ3BT_execGatttool            called by FHEM/Blocking.pm (194)
2018.12.12 16:09:14 1:     main::BlockingStart                 called by FHEM/Blocking.pm (107)
2018.12.12 16:09:14 1:     main::BlockingCall                  called by ./FHEM/10_EQ3BT.pm (368)
2018.12.12 16:09:14 1:     main::EQ3BT_updateStatus            called by fhem.pl (3146)
2018.12.12 16:09:14 1:     main::HandleTimeout                 called by fhem.pl (649)
2018.12.12 16:09:50 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 525.
2018.12.12 16:09:50 1: stacktrace:
2018.12.12 16:09:50 1:     main::__ANON__                      called by ./FHEM/10_EQ3BT.pm (525)
2018.12.12 16:09:50 1:     main::EQ3BT_execGatttool            called by FHEM/Blocking.pm (194)
2018.12.12 16:09:50 1:     main::BlockingStart                 called by FHEM/Blocking.pm (107)
2018.12.12 16:09:50 1:     main::BlockingCall                  called by ./FHEM/10_EQ3BT.pm (368)
2018.12.12 16:09:50 1:     main::EQ3BT_updateStatus            called by fhem.pl (3146)
2018.12.12 16:09:50 1:     main::HandleTimeout                 called by fhem.pl (649)


Aber es wird immer schlimmer.
Nach dem Modify des Devices nun das:

2018.12.12 15:56:02 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_EQ3BT.pm line 672.
2018.12.12 15:56:02 3: eval: {EQ3BT_processGatttoolResult('bad_heizung|00:1A:22:0D:6E:19|error|updateStatus|0x0411|03|no gatttool binary found. Please check if bluez-package is properly installed')}
2018.12.12 15:56:02 1: stacktrace:
2018.12.12 15:56:02 1:     main::__ANON__                      called by ./FHEM/10_EQ3BT.pm (672)
2018.12.12 15:56:02 1:     main::EQ3BT_processGatttoolResult   called by (eval 5744) (1)
2018.12.12 15:56:02 1:     (eval)                              called by fhem.pl (1116)
2018.12.12 15:56:02 1:     main::AnalyzePerlCommand            called by fhem.pl (1141)
2018.12.12 15:56:02 1:     main::AnalyzeCommand                called by fhem.pl (1063)
2018.12.12 15:56:02 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (255)
2018.12.12 15:56:02 1:     main::telnet_Read                   called by fhem.pl (3603)
2018.12.12 15:56:02 1:     main::CallFn                        called by fhem.pl (726)


Der Thermostat reagiert nun auch nicht mehr.

Edit.
Durch das modify hat er das "pi@" in  "attr bad_heizung sshHost pi@raspi2" in der Config verloren, nun reagiert der Thermostat wieder.
Die Fehlermeldung im Log ist weiterhin vorhanden.
RPI3, Nanocul 433 MHz, 433 MHz Steckdosen, DVB-T Stick für 868 MHz TX Sensoren, MOBILE ALERTS Sensoren und Gateway

costa2

#373
Nun habe ich im Modul "#use warnings;" erst einmal deaktiviert, jeden Tag 1MB an Perl Warnungen im Logfile ist mir etwas zu viel.
RPI3, Nanocul 433 MHz, 433 MHz Steckdosen, DVB-T Stick für 868 MHz TX Sensoren, MOBILE ALERTS Sensoren und Gateway

IT-Fuzzi

Hallo,

Zitat von: Master_Nick am 26 November 2018, 12:40:17
Moin,

gibt es eigentlich einen Grund dafür, dass die Thermostate ein fiktives Zukunftsdatum gesendet bekommen?
Es wäre doch bestimmt ein einfaches wirklich das aktuelle zu nutzen. Bei mir ist irgendwie bei allen das Jahr 2038 oder ähnlich.

Meiner Meinung nach ist das derzeit ein Fehler. Das Zusammensetzen von $value müsste vor dem Zusammensetzen von $cmd passieren, ansonsten wird es nicht berücksichtigt, Codezeilen (536-551). Gibt es einen Grund wieso die Sekunden nicht synchronisiert werden?


        $cmd .= "ssh $sshHost '" if($sshHost ne 'none');
        $cmd .= "timeout " . AttrVal($name, "timeout", 15) . " " if($listen);
        $cmd .= "gatttool -i $hciDevice -b $mac ";
        $cmd .= "--char-write-req -a $handle -n $value";
        $cmd .= " --listen" if($listen);
        $cmd .= " 2>&1 /dev/null";
        $cmd .= "'" if($sshHost ne 'none');           
       

        if($value eq "03") {
            my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time);
            my $currentDate = sprintf("%02X%02X%02X%02X%02X", $year+1900-2000, $mon+1, $mday, $hour, $min);
            $value .= $currentDate;
        }


Viele Grüße