Commit Graph

65 Commits

Author SHA1 Message Date
Scott Baker
fa752250df Use FPSTR and get rid of sprintf() so it doesn't crash on ESP8266 2023-03-05 18:38:16 -08:00
Scott Baker
253d4339ce Update properties for library 2023-03-03 15:47:24 -08:00
Scott Baker
c758422b31 Properties update 2023-03-03 09:12:52 -08:00
Scott Baker
d31e613d9f Update email address 2023-03-03 09:11:12 -08:00
Scott Baker
7fff9291ad Update library name 2023-03-03 09:06:21 -08:00
Scott Baker
d0699cc4cf Handle custom HTML better 2023-02-27 20:46:25 -08:00
Scott Baker
9caeb17598 Make the HTML a little more modern 2023-02-27 20:30:45 -08:00
Scott Baker
434b6eeab0 Bump to version 0.1.6 2023-02-27 20:30:05 -08:00
Albrecht Lohofener
99bf849d09 Add FlashHelper FPSTR() to HTML string to fix a crash. 2021-02-26 14:17:41 -08:00
Scott Baker
c98c830c24
Merge pull request #13 from jamesfowkes/master
Add ability to set custom HTML
2020-09-28 09:09:19 -07:00
Scott Baker
dfbaf8ef7f
Style changes for consistency
Someone on #github suggested that I can send a PR to your branch...

I've never done this before, let's see if it works.
2020-09-28 09:00:16 -07:00
James Fowkes
2d9935fda4 Add ability to set custom HTML 2020-09-28 12:43:49 +01:00
Scott Baker
8bd9a8cc14
Merge pull request #10 from jamesfowkes/fix-missing-millis-init
Initialize last value to millis()
2020-07-23 07:56:16 -07:00
James Fowkes
830a1d4a29 Initialize last value to millis() 2020-07-23 15:06:01 +01:00
Scott Baker
59033c620e mshoe007 convinced me... should fix #8 2020-04-29 16:22:52 -07:00
Scott Baker
323ccbead5 BUGFIX: Use unsigned variables for things that can't be negative (#8) 2020-04-29 10:26:24 -07:00
Scott Baker
ca6c74bf17 Add some returns for functions to prevent warnings
This should address #5
2019-08-13 08:18:16 -07:00
Scott Baker
964a807d9a
Merge pull request #4 from leojz/fix_webota_handle
removed unused static variable init_run in WebOTA::handle()
2019-08-08 11:57:26 -07:00
Leo Zimmermann
4cc9e4dd44 removed unused static variable init_run 2019-07-28 21:39:25 +02:00
Scott Baker
5fd0589bc5 Fix a delay call 2019-03-29 13:53:29 -07:00
Scott Baker
64766f3f81 Bump version to v0.1.5 2019-03-20 08:52:48 -07:00
Scott Baker
122a8c7637 Update the examples for the classed based model 2019-03-19 14:33:57 -07:00
Scott Baker
71824b8e9e Update the README to reflect the class based model 2019-03-19 12:25:57 -07:00
Scott Baker
d1998c6678 ESP32 doesn't have mDNS update() 2019-03-19 11:31:16 -07:00
Scott Baker
478e90c261 Need to declare init_has_run in the .h 2019-03-19 11:30:54 -07:00
Scott Baker
500630e268 Store the init_has_run in the object, not globally 2019-03-19 09:29:12 -07:00
Scott Baker
12454d75b2 Use a PROGMEM R() macro string to save memory
https://en.cppreference.com/w/cpp/language/string_literal
2019-03-19 09:24:46 -07:00
Scott Baker
cf6f1de11b Call the Arduino delay() not WebOTA.delay()
This was resulting in a recursive loop forever
2019-03-19 09:18:00 -07:00
Scott Baker
1e24251cfd First attempt as a class instead of raw functions 2019-03-18 22:50:35 -07:00
Scott Baker
1fdf830c89 You have to update() for mDNS to work 2019-03-18 11:51:23 -07:00
Scott Baker
db3776853e Make the output more curl friendly 2019-03-18 11:34:06 -07:00
Scott Baker
2d7671f008 Show the FQDN for mDNS 2019-03-18 11:33:52 -07:00
Scott Baker
445a3b1351 Update the README with curl information 2019-03-18 11:18:48 -07:00
Scott Baker
414573746b Add a small delay after updates so Curl is happy 2019-03-18 09:55:28 -07:00
Scott Baker
0677169cfe Clarify the port/path in the README 2019-03-18 08:03:13 -07:00
Scott Baker
f13661cb21 Update the docs to reflect ESP because we support both 2019-03-17 18:08:18 -07:00
Scott Baker
c7b98ad102 Update the README to reflect the new methods 2019-03-17 18:03:02 -07:00
Scott Baker
dc824a5289 Update the example hostnames 2019-03-17 16:54:43 -07:00
Scott Baker
b5bfd76e33 Use some defines to target both ESP32 and ESP8266 2019-03-16 09:35:25 -07:00
Scott Baker
0d022cbdb3 Put the max sketch size in the HTML 2019-03-16 09:34:35 -07:00
Scott Baker
86ddf2c3ad Bump the version 2019-03-15 22:24:04 -07:00
Scott Baker
35b90ace9a Update the examples to the new methodology 2019-03-15 22:22:08 -07:00
Scott Baker
133b371036 Update to a newer model that's simpler for the end user 2019-03-15 22:13:47 -07:00
Scott Baker
6bd2c1981d Update the upload HTML to NOT require JQuery 2019-03-15 19:35:31 -07:00
Scott Baker
5402ef1bc7 Update the README with webota_delay() info 2019-03-14 15:44:39 -07:00
Scott Baker
c2d726a7df Allow the version to be accessed globally 2019-03-14 15:37:48 -07:00
Scott Baker
08b1ebc39d Bump version to 0.1.3 2019-03-14 15:30:51 -07:00
Scott Baker
ef15214132 Update example to use webota_delay() 2019-03-14 15:27:24 -07:00
Scott Baker
3ab61ce2bd Add a new example 2019-03-14 15:18:09 -07:00
Scott Baker
09102d12af Remove some stuff no one will access from the outside 2019-03-14 15:17:10 -07:00