Page 1 of 1

Possible issue with plugin 027?

Posted: 19 Aug 2016, 17:04
by Drum
I was working on converting plugin 027 ina219 to work with an ina3221 (3 x ina291 1 i2C) and I found this at line 132 in Plugin 027:

String plugin1 = WebServer.arg("plugin_026_value");
Settings.TaskDevicePluginConfig[event->TaskIndex][0] = plugin1.toInt();

I don't know if this correct or if it should be "plugin_027_value".

Also at line 112

string += F("<TR><TD>Report:<TD><select name='plugin_026_value'>");

Maybe a issue if both plugins are used? No idea.

Re: Possible issue with plugin 027?

Posted: 20 Aug 2016, 18:42
by Martinus
It does not lead to any issue, but it has been fixed anyway. Thanks for reporting!