Speed up system by using variables instead of asking device

Domotica gratuit Forums How can I …? Synology NAS Speed up system by using variables instead of asking device

Mots-clés : 

Ce sujet a 2 réponses, 2 participants et a été mis à jour par  djandib, il y a 5 mois et 3 semaines.

3 sujets de 1 à 3 (sur un total de 3)
  • Auteur
    Messages
  • #4128

    djandib
    Participant

    Hi,

    first I try to explain my thoughts:
    Let`s speak about the level of a shutter.
    In Blocky I ask:
    IF Shutter1 LEVEL <> “99”
    THEN Put Shutter1 LEVEL = “99”

    Question:
    Where is the “Shutter1 LEVEL” stored?
    Somewhere in an config-file or database in Pulse-station OR
    only direct in the Fibaro shutter2 control?

    If it`s stored in the device:
    Wouldn`t it speed up my scenes, if I save the “Shutter1 Level” in a variable e.g. “ShutterLevel.ini” and work with this variable instead of asking the device itself?

    Andi

    #4130
    Miss Laura
    Miss Laura
    Modérateur

    The current status of your devices is stored in:
    /web/PulseStation/data
    zwave.json
    and
    zwcfg_….xml

    But those files are not easy to interpret.

    After changing the value of your shutter, you could store it inside a virtual device and use that to know the current state. It may be a bit faster, but almost nothing, as the current value of a devices is stored locally and updated only after the device tells PulseStation it’s value has changed.
    It’s push from the devices, not pull from within PulseStation.

    Have fun,
    Laura

    #4131

    djandib
    Participant

    Hi Laura,
    I had already this prepared for a try 😉

    Scene

    So it was just a experience…
    Have anice weekend

    Andi

3 sujets de 1 à 3 (sur un total de 3)

Vous devez être connecté pour répondre à ce sujet.