ESPEasy-20200410 generic - Dummy Device - change to one effects all

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
dampa
Normal user
Posts: 87
Joined: 19 Jul 2018, 01:48

ESPEasy-20200410 generic - Dummy Device - change to one effects all

#1 Post by dampa » 23 Apr 2020, 11:27

Wemos D1 mini
ESP_Easy_mega-20200410_normal_ESP8266_4M1M.bin

If you have more than one 'Generic - Dummy Device', changing the 'Output Data Type' option on one device changes all other 'Generic - Dummy Devices'

For example if you have device 1 with the 'Output Data Type' set to 'Quad', you have four values. If you add a second 'Generic - Dummy Device' and set the 'Output Data Type' set to 'Single', device 1 will now be a single too.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: ESPEasy-20200410 generic - Dummy Device - change to one effects all

#2 Post by grovkillen » 23 Apr 2020, 13:03

Yes this is a known bug.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

TD-er
Core team member
Posts: 8748
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESPEasy-20200410 generic - Dummy Device - change to one effects all

#3 Post by TD-er » 23 Apr 2020, 13:07

Yep known bug and someone has emailed me a fix, but haven't had the time yet to look into it.
The problem is that the properties of a plugin are set in memory for all instances of that plugin.
And as far as I know it may be a big change to get it right for all places where the output type is queried.

The same bug applies to the system info plugin and the SenseAir plugin (when setting to collect CO2 + temperature)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 43 guests