Espeasy: Can not read disabled dummy device value

Created on 25 Feb 2018  ·  4Comments  ·  Source: letscontrolit/ESPEasy

Steps to reproduce

  • OTA update to mega-20180224 from 2.0.0-dev12
  • In rules: use if statement compare disabled dummy device value to any value. Ex:
    if [Dummy#value1] > 1000
    command
    endif
  • Taskvalueset works well.
    Does the problem presist after powering off and on? (just resetting isnt enough sometimes)
  • Yes

Expected behavior

  • Read disabled dummy device value as normal sensor value

    Actual behavior

  • Can not read value of disabled dummy device

    System configuration

Hardware: Nodemcu-12E

Software or git version: mega-20180224
Previous good version: 2.0.0-dev12

Most helpful comment

I guess enabling the dummy device will not use many resources, so please try with the dummy device enabled.

All 4 comments

It is not a bug.
Why do You want to read from disabled device?

It is indeed by design to ignore disabled devices/controllers etc.
This will save resources on the ESP and allow for better responsiveness and more stable operations.

I use dummy devices as variables so no need to keep it updating regularly (in log: EVENT: ...). I want to control them manually by reading and writing as needed. I do not know well how ESPeasy works but I guest keeping device disabled helps saving resource.

I guess enabling the dummy device will not use many resources, so please try with the dummy device enabled.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Wandmalfarbe picture Wandmalfarbe  ·  5Comments

tedenda picture tedenda  ·  6Comments

workgroupengineering picture workgroupengineering  ·  6Comments

TD-er picture TD-er  ·  3Comments

TD-er picture TD-er  ·  4Comments