Page 1 of 1

Generic - Dummy Device only allows 1 variable in newest releases

Posted: 06 Mar 2020, 13:17
by dampa
I have a device with a Generic - Dummy Device where I had setup 4 variables. I upgraded to ESP_Easy_mega-20200222_normal_ESP8266_4M1M.bin and then went in and changed the name of one of my four variables.

As soon as I hit save, three of the variables disappear from the values list!


Yikes!

Re: Generic - Dummy Device only allows 1 variable in newest releases

Posted: 06 Mar 2020, 13:21
by Wiki
I can see that the dummy.device is set to "SINGLE". If you change it to "QUAD" the missing three values should appear again.

Re: Generic - Dummy Device only allows 1 variable in newest releases

Posted: 06 Mar 2020, 13:44
by dampa
Ahh yes it did, but then the bug must be that the config.dat I imported did not set it to QUAD.

On this device I:
1) saved the settings
2) flashed it to blank.bin
3) flashed it to mega-20020303 and setup wifi to my network/reboot
4) imported the config.dat file
at this point all 4 variables are there but the Output Data Type = 'Single'

If I change it to QUAD it works fine, so either the save of the config.dat file did not output the 'Output Data Type' or the import is ignoring it. I wonder if the naming changed between the prior release (config_node42_U42_Build20104_.dat) and the current releases.

Re: Generic - Dummy Device only allows 1 variable in newest releases

Posted: 06 Mar 2020, 13:57
by dampa
The good news is that saving the config.dat and reloading it in the current release (config_node42_U42_Build20104_202008.dat) works correctly.

Re: Generic - Dummy Device only allows 1 variable in newest releases

Posted: 06 Mar 2020, 17:41
by TD-er
The problem is that all instances of the same plugin will have their output type changed.
So if you have one instance of the plugin set to QUAD and once to SINGLE, then you may run into issues.
The last one in the task list will determine the output type at boot.

This is a known issue.