Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
softwarecrash committed Aug 13, 2023
1 parent a6e4b7e commit fcf7fd2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ framework = arduino
monitor_speed = 115200
monitor_filters = esp8266_exception_decoder, default, time, printable, colorize

custom_prog_version = 1.9.9
custom_prog_version = 2.0.0-rc1

build_flags =
-DVERSION=${this.custom_prog_version}
Expand Down
5 changes: 5 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,11 @@ void setup()
AsyncWiFiManagerParameter custom_mqtt_triggerpath("mqtt_triggerpath", "MQTT Data Trigger Path", NULL, 80);
AsyncWiFiManagerParameter custom_device_name("device_name", "Device Name", "EPEver2MQTT", 32);
AsyncWiFiManagerParameter custom_device_quantity("device_quantity", "Device Quantity", "1", 2);
//not working
//const char* custom_radio_str = "<br/><div style='border-color: #8f8f9d;border-left-width: 1px;border-left-style: solid;border-top-width: 1px;border-top-style: solid;margin-left: 0px;border-right-width: 1px;border-right-style: solid;border-bottom-width: 1px;border-bottom-style: solid;padding-right: 0px;margin-right: 2px;margin-top: 0px;'><label for='device_quantity'>Device Quantity: </label><select name='device_quantity' id='device_quantity' style='width: 40%; float:right;'><option value='1'>1</option><option value='2'>2</option><option value='3'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option></select></div><br/>";
//AsyncWiFiManagerParameter custom_device_quantity(custom_radio_str);



wm.addParameter(&custom_mqtt_server);
wm.addParameter(&custom_mqtt_user);
Expand Down
2 changes: 1 addition & 1 deletion src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#define JSON_BUFFER 8192
#define MQTT_BUFFER 512

#define MAX_DEVICES 6
#define EPEVER_SERIAL Serial

// DON'T edit version here, place version number in platformio.ini (custom_prog_version) !!!
Expand Down
2 changes: 1 addition & 1 deletion src/webpages/HTML_CONFIRM_RESET.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%HEAD_TEMPLATE%
%pre_head_template%
<figure class="text-center">
<h1>Erease all Data?</h1>
</figure>
Expand Down

0 comments on commit fcf7fd2

Please sign in to comment.