Commit Graph
532 Commits
Author SHA1 Message Date
krikkandDatuX 1cefa5eb1b AM2320: negative temperature fix... (#312)
* switched the library, now uses a library which correctly handles negative temperatures

* minor change
2017-05-27 17:55:13 +02:00
DatuXandGitHub a8e39b1899 Update README.md 2017-05-27 16:45:17 +02:00
DatuXandGitHub b1a47e4c3a Update README.md 2017-05-27 16:08:19 +02:00
Jochen KrapfandDatuX b7d881d136 Fixed some minor HTML syntax bugs (#310)
* Fixed some minor HTML syntax bugs

* Fixed some minor HTML syntax bugs
2017-05-26 11:14:06 +02:00
Alex Schwantes 67c3a166f5 Implemented use of addFormSelector methods to _P004_Dallas plugin.
Changed the device select box to show the one wire address for each connected sensor instead of just a number.
Added a blank option to the device address select box so that in the event that multiple devices are present and the configured device is not currently available, the select box will be blank instead of selecting a different device.
2017-05-23 03:41:13 +02:00
Jochen KrapfandDatuX 060b72e88b Pimp device-GUI and optimized HTML (#306)
* First draft

* work release

* work release (not working)

* optimized css

* Pimp device-GUI and optimized HTML

* Handle cppcheck error

* Round help button

* Minor bug fixes
2017-05-22 23:31:58 +02:00
Edwin Eefting 36550511f5 fixing cpp check 2017-05-18 23:00:29 +02:00
Edwin Eefting fb8188b14b fixing cpp check 2017-05-18 22:44:20 +02:00
Edwin Eefting 436564ba51 fixing cpp check 2017-05-18 22:39:48 +02:00
Edwin Eefting 9016f1b53e fixing cpp check 2017-05-18 22:25:46 +02:00
Edwin Eefting 0404a871f2 fixed a few out of bounds bugs in Misc.ino _P023_OLED.ino _P035_IRTX.ino _P037_MQTTImport.ino with cppcheck. also added cppcheck to travis to prevent such cases in the future 2017-05-18 22:21:01 +02:00
krikkandDatuX 1413c92678 do a dns lookup on every request, solves issue #261 (#302) 2017-05-16 21:13:06 +02:00
PieVoandDatuX 28208ac7a2 Plantower (#300)
* + pmsx005: add all values as output

* - PMSx005: remove additional measurements from values

* + PMSx005: fix return values for plugin function

* * PMSx003: rename filename to match devices (PMS3003, 5003, 7003, A003)

* * PMSx003: fix valuecount and prevent sending to controllen when nothing recveid yet

* * PMSx003: rename _P050 to _P053

* + PMSx003: add PLUGIN_BUILD_TESTING

* - PMSx003: remove old _P050 that made place for _P053
2017-05-14 19:47:04 +02:00
DatuXandGitHub 168a2c343c Update CONTRIBUTING.md 2017-05-14 11:53:06 +02:00
Jochen KrapfandDatuX a873e920d4 Fixed rules bug #297 (#299) 2017-05-14 11:42:27 +02:00
beicandDatuX 10838d544c Some little description corrections (#297) 2017-05-13 23:45:38 +02:00
Daniel TedenljungandDatuX ab48fc0dfd New look on Tools page (#296)
* New look on Tools page

* Smal adjustment
2017-05-13 23:01:15 +02:00
Jochen KrapfandDatuX bcf6521ef9 Added HTML templates for customization (#290)
* First draft of templates

* Added templates for customization

* Fixed dept_onchange(frmselect)

* Moved javascript to sendWebPage()

* moved javascript to template var

* Preparation for selected menus

and bugfix if 2 vars are stand near together

* removed libs from prev. commit

* rework of menu

* Some cleanup
2017-05-13 22:56:28 +02:00
krikkandDatuX 6f8d7d1ada i don't like hidden features, added a json button to the tools menu, next to the advanced button (#292) 2017-05-13 09:37:03 +02:00
Daniel TedenljungandDatuX c6f03551c5 addSubmitButton function added (#289) 2017-05-11 15:13:48 +02:00
Edwin Eefting b2a9679488 nicer sleep messages 2017-05-11 02:18:45 +02:00
Edwin Eefting b66d983060 bugfix in rtc checksum 2017-05-11 01:59:27 +02:00
Edwin Eefting 2b16ddedbf reboot and wifidisconnect should be handled by / 2017-05-11 01:54:44 +02:00
Daniel TedenljungandDatuX dbd89deb7b GUI touchup on Tools (#286)
* GUI touchup on Tools

I added some space between settings-firmware and firmware-filesystem to
make it look nicer (my opinion).

* Implemented addButton function
2017-05-11 00:40:30 +02:00
Jochen KrapfandDatuX 6c52721ed1 Limits to NumericBox and a bit of security to PasswordBox (#281)
* Limits to NumericBox and a bit of security to PasswordBox

* Limits to NumericBox and a bit of security to PasswordBox

Password handling: Deliver "*****" to password box accept changes if not equal to "*****"

* solved merge conflicts
2017-05-11 00:39:33 +02:00
Blair ThompsonandDatuX 03fbe8fcca Added Par4 and Par5 Variables (#248)
I am working on an RGBW lightbulb plugin and 3 variables are not enough
to control it.  Rather than add variables in the plugin (like neopixel
does) i think it is better to add them to EventStruct.  I only needed 4,
but neopixel uses 5
2017-05-11 00:14:28 +02:00
krikkandDatuX 9e0af20343 DHT plugin fix 'NaN' issue (#285)
issue https://github.com/letscontrolit/ESPEasy/issues/284 seems valid to me, implemented...
2017-05-10 23:40:26 +02:00
Daniel TedenljungandDatuX aa0b4d0fce P052: More descriptive log messages (#283)
* Better log messages

* Missed semicolon...
2017-05-10 23:38:47 +02:00
krikkandDatuX a9f6605065 addHelpButton Function and a new Help Button for the Rules and Hardware Page (#282) 2017-05-10 23:36:39 +02:00
krikkandDatuX 26b073ba34 make the Settings - Save. Filename more descriptive... (#273)
* make the Settings - Save. Filename more descriptive, didn't like this also. solves issue: #241

* added getDateString + getTimeString + getDateTimeString Functions and replaced dublicate code with the new functions...

* more comments :)
2017-05-10 23:34:40 +02:00
Jochen KrapfandDatuX 27bba1b628 Fixed readUserVarFromRTC() #265 (#280)
Uses checksum to verify user var buffer and fill with zero
2017-05-09 20:50:15 +02:00
Jochen KrapfandDatuX 6131ebca73 Replaced HTML code with addFormSelector() in all plugins (#278)
and added function addFormSelectorI2C()

Note: not all plugins can be tested :(
2017-05-09 20:47:05 +02:00
krikkandDatuX 01b42a6dfb addFormNumeric with min and max & More Form-Function replacements (#272)
* add getFormItemFloat, because we have some float input also

* more form-functions optimizations...

* addFormNumeric with min and max parameters

* ...and more formFunctions replacements

* ...and more formFunctions replacements

* ...and more formFunctions replacements

* ...and more formFunctions replacements

* ...so first round done...  will do another round when addFormSelector is merged...

* and a few controller text boxes can be replaced also...

* one char to much...
2017-05-09 00:19:03 +02:00
Jochen KrapfandDatuX 23be929f72 Preliminary final draft of bugfix #264 (#271)
Group name can be changed during merge in... ;)
2017-05-09 00:16:01 +02:00
Jochen KrapfandDatuX b536770a07 Added function addFormSelector (#270)
* Added function addFormSelector

usage:
        const String options[] = { F("DHT 11"), F("DHT 22"), F("DHT 12") };
        int indices[] = { 11, 22, 12 };

        addFormSelector(string, F("DHT Type"), F("plugin_005_dhttype"), 3, options, indices, choice );

or with zero based index:
        String options[4] = { F("Delta"), F("Delta/Total/Time"), F("Total"), F("Delta/Total") };

        addFormSelector(string, F("Counter Type"), F("plugin_003_countertype"), 4, options, NULL, choice );

+ minor HTML fixes in addFormSubHeader and addFormSeparator

* additional params to addSelector()

* replaced more HTML with Selector functions
2017-05-09 00:12:41 +02:00
Daniel TedenljungandDatuX 792982262b Updated wrong plugin number. (#269)
* Moving plugin from playground

I am now moving this plugin from playground to main repo. It is tested
for long time and works fine.

* Forgot #endif

* Exclude readme.

* Wrong plugin number
2017-05-05 00:12:43 +02:00
krikkandDatuX 541d50e6bb bug fix wrong return type + form function fixes (#266)
* seems to be a type, but return type must be int!

* for form-function optimizations

* even more form-functions....

* even more form-functions + type fix

* lots of form-functions...
2017-05-05 00:05:33 +02:00
Bartlomiej ZimonandEdwin Eefting c8d88140f7 Add backup Wifi network to Settings command 2017-05-04 16:54:38 +02:00
Bartlomiej ZimonandEdwin Eefting d3fdf27746 Add WifiSSID2,WifiKey2 commands 2017-05-04 16:53:53 +02:00
Bartlomiej ZimonandEdwin Eefting afb6860156 Push ProtocolIndex and ControllerIndex into CPLUGIN_WEBFORM_SAVE/LOAD 2017-05-04 16:52:42 +02:00
Bartlomiej ZimonandEdwin Eefting 48563bade6 Custom Controller Settings - add controller index 2017-05-04 16:50:47 +02:00
Bartlomiej ZimonandEdwin Eefting 017019e122 - Misc: typo 2017-05-04 16:06:32 +02:00
Edwin Eefting 8e0d78af7b Merge branch 'mega' of github.com:letscontrolit/ESPEasy into mega 2017-05-04 15:46:48 +02:00
Edwin Eefting 66531d46bd comments. checkudp only in backgroundtasks() 2017-05-04 15:46:38 +02:00
tedendaandDatuX 83dbb63d13 Moving plugin from Playground into main repo. (#262)
* Moving plugin from playground

I am now moving this plugin from playground to main repo. It is tested
for long time and works fine.

* Forgot #endif
2017-05-04 01:21:09 +02:00
krikkandDatuX 771f981c13 replaced static html code with the new addForm* Functions 2017-05-03 23:10:44 +02:00
JKandDatuX 9d5afd1e2a Fixed #196 and rework of IDX display 2017-05-03 11:52:26 +02:00
DatuXandGitHub 33ac272804 Update issue_template.md 2017-05-02 23:53:35 +02:00
DatuXandGitHub 30a1e4c7c3 Update README.md 2017-05-02 21:24:29 +02:00
Jochen KrapfandDatuX 1d97f08b34 Added addForm*-functions for easy web-interface and pimp GUI (#259)
* first draft

* work release

* work release

* work release

* work release

* work release

* work release

* Added addForm*-functions for easy web-interface and pimp GUI

Changes many HTML-code to function calls for less code and more readability. More changes are coming soon.
Some groupings in Web-Interface.
2017-05-02 21:10:54 +02:00