[Resolved] Incorrect timestamp into Log.txt from scene

Free domotica! Forums Report a bug Incorrect timestamp into Log.txt from scene

This topic contains 14 replies, has 5 voices, and was last updated by Mika Mika 1 year, 3 months ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #3112

    leroymth
    Participant

    Hi,
    Since update into DSM6.0 or update into PulseStation 1.3.1 yesterday, the timestamp inside log.txt from scene is not correct.

    Therefore I noticed a lag time…Below an extract….

    Typically, log from core process are correctly timestamped…

    Thx !

    2016-04-01 00:38:00 Periodic : Start
    2016-04-01 00:38:01 Periodic : Start
    2016-04-01 00:38:03 Periodic : End
    2016-04-01 00:38:04 Pas de PUSH TEMPERATURE SALLE
    2016-04-01 00:38:04 Je bouge pas
    2016-04-01 00:38:04 [LUMINOSITE]=>42
    2016-04-01 00:38:04 [SENSOR]=>False
    2016-04-01 00:38:04 [TEMPERATURE]=>21.0
    2016-04-01 00:38:04 [BATTERIE]=>100
    2016-04-01 00:38:04 [REVEIL]=>3600
    2016-04-01 00:38:04 [REPORTING LUMIERE TRESH]=>0
    2016-04-01 00:38:04 [REPORTING LUMIERE INT]=>1800
    2016-04-01 00:38:04 [LED SIGNALING MODE]=>LED inactive.
    2016-04-01 00:38:04 [TEMPERATURE OFFset]=>-11
    2016-04-01 00:38:04 Periodic : End
    2016-04-01 00:38:05 Pas de PUSH TEMPERATURE SALLE
    #3113

    vryf
    Participant

    Bonjour,
    Même constat pour moi.
    Le log “scene” est décalé de +6 heures par rapport à l’heure locale connue du système.
    Cordialement,
    FV

    #3114

    leroymth
    Participant

    Another complement, it’s impact blocky scenes as soon as we are using the notion of time….typically my scene setted @ midnight are postponed….even for summer/winter hour the gap is important 😀

    #3118

    MacDavis
    Participant

    Hello,
    I have the same problem.
    Somebody knows like solving it?

    (PulsStation on a DS412+)

    #3125
    Mika
    Mika
    Keymaster

    I’ll check it, I don’t notice that.

    #3128

    K.Rens
    Keymaster

    If you enter following command in ssh, do you get the correct time and date?:

    date

    Kind regards,
    K.Rens

    #3129

    leroymth
    Participant

    Hi,
    On my side date function give me correct datetime.
    Regards

    #3135
    Mika
    Mika
    Keymaster

    Do you have the same problem for all log info for each services (eg : vdevices)?

    What you can try is create a simple file “date.php” file inside “/web” folder ?
    And add this line :

    < ?php
    echo date("D M j G:i:s T Y"); 
    ?>
    

    Then try to access the file via http://ipsyno/date.php

    If you see that the time have 6 hours less/more
    , it’s probably a problem regarding the php configuration.

    #3136

    leroymth
    Participant

    Hi Mika,

    I create the test file as you advised and it return me back correct date time.

    “Mon Apr 4 20:14:03 CEST 2016″….so it is not linked to PHP configuration.

    To answer to your first question, OZW.log from Zwaves devices is correctly timestamped….

    Regards

    #3141
    Mika
    Mika
    Keymaster

    @leroymth, what is your NAS model ?

    #3143

    vryf
    Participant

    Bonsoir,
    Je confirme que seul le log “scene” est affecté par le décalage de 6h. Le log des autres services est correct.
    Mon NAS est un DS212.
    Cordialement,
    FV

    #3144

    leroymth
    Participant

    @ Mika, my NAS Model is a DS213j.

    #3201

    vryf
    Participant

    Bonsoir,
    Y a t’il du nouveau pour corriger ce bug ?
    Merci,
    FV

    #3203

    leroymth
    Participant

    Bonsoir,
    Je pense que le bug est corrigé via la procédure que Mika a diffusé sur le home de l’administration de PulseStation : Ici
    Je viens d’appliquer le changement de version PHP et de mon côté l’horodatage de scene.txt est redevenu correct.

    Exemple du changement dans ma log :

    2016-04-19 04:19:05 Periodic : End
    2016-04-19 04:19:05 [REPORTING LUMIERE INT]=>1800
    2016-04-19 04:19:05 [LED SIGNALING MODE]=>LED inactive.
    2016-04-19 04:19:05 [TEMPERATURE OFFset]=>-11
    2016-04-18 22:20:02 Periodic : Start
    2016-04-18 22:20:03 Periodic : Start
    2016-04-18 22:20:06 Periodic : End
    2016-04-18 22:20:06 Pas de PUSH TEMPERATURE SALLE

    Merci Mika ! Pour moi le bug est résolu

    #3218
    Mika
    Mika
    Keymaster

    OK donc je dirais que c’était la version PHP qui était en cause…

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.