Skip to content

Commit

Permalink
allow longer SSID and Polynom fields
Browse files Browse the repository at this point in the history
  • Loading branch information
universam1 committed May 13, 2018
1 parent da85f3a commit 13216b3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ script:
- platformio run
deploy:
provider: releases
prerelease: true
# prerelease: true
api_key:
secure: bU4iotLTrslYAlXQmSoMaGfCsjpM96TrKKne/2gFTlg++EQwjD/Z/i6T59lO7YVwp1GTD3qp/E4vSXfgkEm559mFIKZkd1IT8Vx/hpjX5CU6/OinGNmj1hYJw5M9DI1kQtc0wFDpbyNDnjPpKqBpFmIpqFyJUC7b3vctk/BMPkiiI5ncuBGp2f35M4qN2FedpTWoZdSAVZms7hsKFP4qZcih6stSlncUNf/niLwf78B31r5Td3G1aYQtHkB0BzyGQSgCvVuZ+PBm6zD/EWqRUGo6OWBCgwykbIZlgu45J4q46yQ2uS1CvRf4DFzIWU79bPg26MmxpjFe3oZucITTUtvOSzHFn8b1nuJE8IajYdM1KHSREl8Piej3A446P+JDQPk6ki3jCRyQentaZofI2ePUuqrvsV3iL4qKXMWpX1cOGU2c6nx0vvl/oft4rEcccibGpGZr0RIL7Ebpp7D4DSQ+bM+2XkuFab3W3QdrqrB6A0DOJuJfu/MvxEgkLtlpypZ2Z3g/F/TDgJkLSNEvX9e6kGAAIiIgkKz/zuuy04eNX+jox22TldovjbNSMCDfeeD6ghfKm0Q1+mdZax2dhvldgKOiwcZFL+TozN3AdPkr5GG/9m+dVaUGdrMK/n6uEJ++FZeUmdT8Pa2u/m3w2A4zeqMUWLM4WZMaUDW4cnA=
file: ".pioenvs/d1_mini_stage/firmware.bin"
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ Check out [IOT DEVICE PULLS ITS WEIGHT IN HOME BREWING](http://hackaday.com/2017

| Date | Note |
| :--------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 15.03.2017 | Firmware 5.8.5: adding support for Prometheus Pushgateway, thanks to @jankeesv |
| 08.03.2017 | Firmware 5.8.4: adding support for logging temperature data in Fahrenheit and Kelvin, thanks to @iceaway |
| 05.03.2017 | Firmware 5.8.3: Support for InfluxDB as additional backend, thanks to @iceaway |
| 23.02.2017 | New drawer version 'mwx-Edition' using threaded bolt nut and washer - thanks to @mwx |
| 13.05.2018 | Firmware 5.8.6: allow longer fields for polynominal, SSID and Password |
| 15.03.2018 | Firmware 5.8.5: adding support for Prometheus Pushgateway, thanks to @jankeesv |
| 08.03.2018 | Firmware 5.8.4: adding support for logging temperature data in Fahrenheit and Kelvin, thanks to @iceaway |
| 05.03.2018 | Firmware 5.8.3: Support for InfluxDB as additional backend, thanks to @iceaway |
| 23.02.2018 | New drawer version 'mwx-Edition' using threaded bolt nut and washer - thanks to @mwx |
| 21.02.2018 | Firmware 5.8.2: Extend token size to 40 char to support longer Ubidots token |
| 14.02.2018 | Firmware 5.8.1: HTML encode special character in configuration forms, allows displaying the passwort correctly |
| 09.02.2018 | Firmware 5.8.0: Transmitting the Wifi strength RSSI to insight of the reception |
Expand Down
2 changes: 1 addition & 1 deletion pio/lib/Globals/Globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
extern Ticker flasher;

// defines go here
#define FIRMWAREVERSION "5.8.5"
#define FIRMWAREVERSION "5.8.6"

#define API_FHEM true
#define API_UBIDOTS true
Expand Down
6 changes: 3 additions & 3 deletions pio/src/iSpindel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,11 @@ bool startConfiguration()
20, TYPE_HIDDEN, WFM_NO_LABEL);

WiFiManagerParameter custom_name("name", "iSpindel Name", htmlencode(my_name).c_str(),
TKIDSIZE);
TKIDSIZE*2);
WiFiManagerParameter custom_sleep("sleep", "Update Intervall (s)",
String(my_sleeptime).c_str(), 6, TYPE_NUMBER);
WiFiManagerParameter custom_token("token", "Token", htmlencode(my_token).c_str(),
TKIDSIZE);
TKIDSIZE*2);
WiFiManagerParameter custom_server("server", "Server Address",
my_server, TKIDSIZE);
WiFiManagerParameter custom_port("port", "Server Port",
Expand Down Expand Up @@ -399,7 +399,7 @@ bool startConfiguration()
wifiManager.addParameter(&custom_instance);
WiFiManagerParameter custom_polynom_lbl("<hr><label for=\"POLYN\">Gravity conversion<br/>ex. \"-0.00031*tilt^2+0.557*tilt-14.054\"</label>");
wifiManager.addParameter(&custom_polynom_lbl);
WiFiManagerParameter custom_polynom("POLYN", "Polynominal", htmlencode(my_polynominal).c_str(), 70, WFM_NO_LABEL);
WiFiManagerParameter custom_polynom("POLYN", "Polynominal", htmlencode(my_polynominal).c_str(), 70*2, WFM_NO_LABEL);
wifiManager.addParameter(&custom_polynom);

wifiManager.setConfSSID(htmlencode(my_ssid));
Expand Down

0 comments on commit 13216b3

Please sign in to comment.