Commit Graph

82 Commits

Author SHA1 Message Date
Eric Chauvet
21e75bef51 Kingart curtain switch UI support (#2250)
* Completed kingart curtain switch support:
Added Web UI controls and view in status
Added power up behaviour (nothing, close, open, last position)
Added curtain style (Roller, etc...) for UI status and to be used in MQTT

* Checked commit before PR. Added html gulp static files generated.

* Corrected a code refactor error which make the MQTT messages not handling position from received messages. Added comment to debug tab to show how to enable debug

* Use the maximum compression for gzip. A byte is a byte :)

* Update code/espurna/curtain_kingart.cpp

Co-authored-by: Max Prokhorov <prokhorov.max@outlook.com>

* Variable name prefix update
Added public set position function and curtain count

* Added Scheduler new type : curtain

* Add curtain schedule support and correct the 12h bug when adding a slot (00:00 after refresh). Default Hour is 12h

* Code cleaning.
Schedule support.
Light support is having an issue with new schedules corrected here.

* I let do better by the specialists

* Curtain init statues

* Coding style corrections

* Removed debug stuff from now - will be back later with the right way

* rebuild webui

* revert 435f1c5e03 schHour default, rebuild ui

Co-authored-by: Eric Chauvet <eric.chauvet@test-tree.com>
Co-authored-by: Max Prokhorov <prokhorov.max@outlook.com>
2020-05-18 02:19:50 +03:00
Max Prokhorov
849f8cf920 Rules RPN (#1984)
* RPN rules (WIP)

* RPN rules web interface, MQTT inputs

* Stickyness, rpn.ops,...

* Perform light updates only when value changes

* Improve wsSend performance

* Revert PR test

* Check TERMINAL_SUPPORT for _rpnInitCommands and remove unused variable

* Fix merge

* formatting

* disable by default (?)

* changelog

* comment

* remove debug function wrappers in favour of var activation

* fixup! comment
2019-11-10 07:01:50 +03:00
DmitryBlinov
bb33dfd102 Thermostat upgrade (#1711)
* Add "Enable Thermostat" switch

* Add heater/cooler thermostat mode
2019-05-02 01:06:14 +03:00
Dmitry Blinov
376205c9bb Merge branch 'dev' into thermostat
# Conflicts:
#	code/espurna/config/webui.h
#	code/espurna/data/index.all.html.gz
#	code/espurna/data/index.light.html.gz
#	code/espurna/data/index.rfbridge.html.gz
#	code/espurna/data/index.rfm69.html.gz
#	code/espurna/data/index.sensor.html.gz
#	code/espurna/data/index.small.html.gz
#	code/espurna/espurna.ino
#	code/espurna/static/index.all.html.gz.h
#	code/espurna/static/index.light.html.gz.h
#	code/espurna/static/index.rfbridge.html.gz.h
#	code/espurna/static/index.rfm69.html.gz.h
#	code/espurna/static/index.sensor.html.gz.h
#	code/espurna/static/index.small.html.gz.h
#	code/espurna/web.ino
#	code/gulpfile.js
#	code/html/index.html
2019-03-08 01:35:36 +02:00
Dmitry Blinov
af07494f00 Add thermostat module 2019-03-03 12:17:34 +02:00
Andrey F. Kupreychik
8b4713dee1 UI for LightFox 2019-01-04 18:57:07 +07:00
Max Prokhorov
9cdf59f1b2 Fix selector order 2018-09-29 04:49:15 +03:00
Max Prokhorov
3c91389c20 Update password UI
* revise first-time-use screen
* generate password (policy applies)
* hide/reveal password text for sta/admin settings
* changed autocomplete='...' for some inputs to avoid completion
2018-09-17 05:22:21 +03:00
Xose Pérez
e0f72bee0e Fixing look & feel 2018-07-23 11:09:50 +02:00
userName
df9fecd16a removed blind copy/paste console.log....
improved CSS to comply with CODACY rules
2018-07-22 09:00:02 +03:00
userName
4094adbae6 changed the look and feel of the checkboxes to resolve Edge issue and bring disabled state
also minor html fixes
2018-07-21 23:45:48 +03:00
Max Prokhorov
712cbe4942 Safari needs -webkit- prefix for clip-path 2018-07-05 17:58:45 +03:00
Xose Pérez
7b0d062190 Fix RFM69 message buttons in Web UI 2018-06-28 19:30:41 +02:00
Xose Pérez
8411e7bfe6 Fix filter buttons color 2018-06-25 13:46:49 +02:00
Xose Pérez
a39c4689ec Merge branch 'dev' into rfm69 2018-06-25 13:45:18 +02:00
Xose Pérez
b4761323b0 Revert button font style 2018-06-25 13:40:30 +02:00
Xose Pérez
3cd58e7f7c Initial support for RFM69GW board 2018-06-24 22:39:06 +02:00
Xose Pérez
1ac653b5e7 Fix button height 2018-06-20 10:40:04 +02:00
Xose Pérez
32553192e5 Replaced checkboxes with pure css version 2018-06-20 09:53:50 +02:00
Xose Pérez
0a1ad46100 Show hostname is right case in menu header (#799) 2018-04-17 12:41:13 +02:00
Xose Pérez
448ce2ccb9 Revert "Escape html for weblog in the client"
This reverts commit 8da3f54e91.
2018-03-30 23:59:41 +02:00
Xose Pérez
abcd23b41d Merge pull request #728 from mcspr/h1-height
Resize WebUI elements for narrow screen
2018-03-30 23:06:38 +02:00
Maxim Prokhorov
6f31111e7f Downsize header to fit the screen 2018-03-29 17:36:48 +03:00
Maxim Prokhorov
b6256fa24f Recalculate header line-height 2018-03-26 02:58:44 +03:00
Maxim Prokhorov
8da3f54e91 Escape html for weblog in the client 2018-03-26 02:44:20 +03:00
Xose Pérez
e46a904ff4 Fix codacy issues 2018-03-12 13:44:36 +01:00
Xose Pérez
2e872525f3 Added button to clear weblog 2018-03-12 11:49:31 +01:00
Xose Pérez
8777d29f7c Merge branch 'pwm-dimmer' of https://github.com/wysiwyng/espurna into wysiwyng-pwm-dimmer
Conflicts:
	code/espurna/data/index.html.gz
	code/espurna/static/index.html.gz.h
	code/html/custom.js
2018-03-12 11:07:53 +01:00
Xose Pérez
5f2b22d063 Fix web debug layout. Added command execution from web UI 2018-03-11 22:09:20 +01:00
Lazar Obradovic
e1802de827 Add debug console to Status page. 2018-03-10 19:08:25 +01:00
Xose Pérez
207f58f0e9 Show home assistant configuration in web UI 2018-03-02 20:54:32 +01:00
Xose Pérez
ab07def2d8 Merge pull request #558 from hyteoo/master
Add Reset to factory settings in admin page of web UI
2018-02-26 23:38:46 +01:00
Xose Pérez
0e767dbffc Allowing hostname breaks on spaces 2018-02-26 23:36:30 +01:00
wysiwyng
86d1817801 made scheduler templates more beautiful, added checks to not add unsupported schedules 2018-02-16 20:25:03 +01:00
wysiwyng
3827ff37d2 light scheduler working 2018-02-15 02:27:43 +01:00
Teo Pavel
66eabc46f4 changed to LF 2018-02-13 09:30:29 +02:00
Teo Pavel
c3454ad217 Added Reset to factory settings in admin page of web UI 2018-02-13 09:15:42 +02:00
Xose Pérez
8e392d94ae Check upgrade file size and signature in web UI 2018-02-05 21:19:05 +01:00
Xose Pérez
939a1e184a Added CSS lint to gulp file 2018-01-26 23:54:38 +01:00
Xose Pérez
95968a97c3 Improved NTP support 2018-01-21 00:36:06 +01:00
Xose Pérez
b7a5c128df Fix webUI layout so signature does not overlay buttons on small screens (#396) 2018-01-14 22:19:04 +01:00
Xose Pérez
2f1d7fdc98 Added hostname to web UI side menu (#404) 2018-01-14 21:15:16 +01:00
Xose Pérez
a5df00b569 Option to disable network scanning (#392, #399). Scan networks from web UI 2018-01-14 13:58:16 +01:00
Xose Pérez
2e7613af83 Scheduler: web UI layout fixes, allow toggling, change first weeday to Monday, dinamically load relays in dropdown 2018-01-10 22:21:29 +01:00
Stefano Cotterli
db408fbf95 Merge remote-tracking branch 'upstream/master' into dev
# Conflicts:
#	code/espurna/data/index.html.gz
#	code/espurna/static/index.html.gz.h
2018-01-07 12:47:02 +01:00
Stefano Cotterli
b7ed0ec686 a simple scheduler for relays 2017-12-28 19:37:56 +01:00
Xose Pérez
a1489d752d Clean web UI 2017-12-26 18:53:43 +01:00
Xose Pérez
38b2747218 Sensor indexes in web UI 2017-12-26 15:50:49 +01:00
Xose Pérez
f384d81d8e Ensure select boxes use full width 2017-12-25 19:25:30 +01:00
Xose Pérez
d91d5eedb1 New sensors tab in web UI for all sensors 2017-12-21 14:45:24 +01:00