Speed up system by using variables instead of asking device

Free domotica! Forums How can I …? Synology NAS Speed up system by using variables instead of asking device

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  djandib 9 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #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
    Moderator

    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

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

You must be logged in to reply to this topic.