Commit Graph

51 Commits

Author SHA1 Message Date
Theo Arends e1c92b701b Change NULL to nullptr
Change NULL to nullptr
2019-03-26 18:26:50 +01:00
Theo Arends 99d20f803b More web chunks
More web chunks
2019-03-16 16:23:41 +01:00
Theo Arends baa5825569 Free some flash
Free some flash
2019-03-11 10:38:41 +01:00
Theo Arends d0ac200a78 Replace webserver flash string to char
Replace webserver flash string to char
2019-03-10 15:36:34 +01:00
Theo Arends 06a9fbd792 Changed logging message handling
Changed logging message handling
2019-03-08 15:15:42 +01:00
Theo Arends 58fe50d81a Update webserver layout
Update webserver layout
2019-03-07 18:18:30 +01:00
Theo Arends b393cdc9f1 Replace menu button list
Replace menu button list
2019-03-04 18:32:23 +01:00
Theo Arends d790b1cfca 6.4.1.20 Webserver uses chunks
6.4.1.20 20190304
 * Changed webserver content handling from single String to small Chunks increasing RAM
2019-03-04 18:16:07 +01:00
Theo Arends 19bdf7e803 Free flash space (WSSend)
Free flash space (WSSend)
2019-02-23 15:29:42 +01:00
Theo Arends c39e2da6b5 Update GUI
Update GUI
2019-02-13 16:05:25 +01:00
Theo Arends 16ec25bdff Prep for user config
Prep CSE7766 (S31 and PowR2) and MCP39F501 (Shelly2) for user configuration
2019-02-04 14:57:20 +01:00
Theo Arends 304ac6fe44 6.4.1.12 code changes (byte/boolean)
6.4.1.12 20190128
 * Change code use of boolean to bool and byte to uint8_t
 * Change code uint8_t flags to bool flags
2019-01-28 14:08:33 +01:00
Theo Arends 2e101839a4 Change web authentication
Change web authentication (#4865)
2019-01-10 12:57:42 +01:00
Theo Arends 447ec6256e 6.4.1.4 Update Copyright (C) 2019
6.4.1.4 20190101
 * Update Copyright (C) 2019
2019-01-01 13:55:01 +01:00
Theo Arends afe83a3460 Prep for template tuning 2018-12-29 17:19:13 +01:00
Theo Arends c1102a4863 6.4.0.2 Fix possible dtostrf bos
6.4.0.2 20181221
 * Fix possible dtostrf buffer overflows by increasing buffers
2018-12-21 16:17:06 +01:00
Adrian Scillato 98a2e6e175
Added Support for ButtonN and SwitchN 2018-12-01 16:26:15 -03:00
Theo Arends 6c87ab205a Fix possible strncat buffer overflows
Fix possible strncat buffer overflows
2018-11-22 15:41:30 +01:00
Theo Arends 4899178362 6.3.0.10 Add command SetOption36
6.3.0.10 20181118
 * Add command SetOption36 0..255 milliseconds (10 default) to tune main loop dynamic delay
2018-11-18 16:49:02 +01:00
andrethomas 4a7e7b0dbb Change C functions with () to (void) 2018-11-14 15:32:09 +02:00
Theo Arends 9fef82736d Prep drivers for management
Prep drivers for management
2018-11-07 10:30:03 +01:00
Adrian Scillato b9fda004d2
KNX: Delete unnecessary comments 2018-10-24 13:58:21 -03:00
Theo Arends b3039de1b6 6.2.1.14 Rewrite Webserver
6.2.1.14 20181010
 * Rewrite Webserver page handler for easier extension (thx to Adrian Scillato)
2018-10-10 22:21:44 +02:00
Theo Arends 633a45f964 Revert "6.2.1.14 Webserver rewrite"
This reverts commit 077b8a79e1.
2018-10-10 19:41:08 +02:00
Theo Arends 077b8a79e1 6.2.1.14 Webserver rewrite
6.2.1.14 20181010
 * Rewrite Webserver page handler for easier extension (thx to Adrian Scillato)
2018-10-10 16:40:54 +02:00
Theo Arends 415ed97dab 6.2.1.5 Add web authentication
Add authentication to HTTP web pages
2018-09-21 11:15:42 +02:00
Adrian Scillato 96aff63c71
Code Simplification for Substr 2018-09-06 14:26:26 -03:00
Theo Arends 4defda2f1a Rewrite some GPIO options
Rewrite GPIO options ButtonXn, SwitchXn and CounterXn to select INPUT mode instead of INPUT_PULLUP
2018-08-25 13:08:06 +02:00
Theo Arends 6a5c0d29e8 6.1.1.9 - Fixes and Additions
6.1.1.9
 * Allow user override of define MAX_RULE_TIMERS (#3561)
 * Allow user override of define MAX_RULE_VARS
 * Add GPIO options ButtonXn, SwitchXn and CounterXn to select INPUT mode instead of INPUT_PULLUP (#2525)
 * Fix OtaMagic when file path contains a dash (-) (#3563)
2018-08-23 16:05:51 +02:00
Adrian Scillato 9e6ea1840d
Added extra KNX configuration check at startup 2018-08-20 00:12:37 -03:00
Adrian Scillato 3373fff9eb
Added Commands KNX_GA and KNX_CB
* Added command KNX_GA so as to setup Group Address to Send Data/Commands

Usage:

KNX_GA
(return the amount of GA configured)

KNX_GA 1
(return the configuration of the GA#1

KNX_GAx option, area, line, member
(Set the configuration of the GA#x)

example: KNX_GA3 1, 2,2,4

For the GA#3, the status of Relay 1 is sent to 2.2.4

* Added command KNX_CB so as to setup Group Address to Receive Data/Commands

KNX_CBx option, area, line, member

example: KNX_CB2 1, 2,2,4

For the CB#2, listen to 2.2.4 to set the status of the Relay 1


Posible values of the parameter OPTION:

1 - Relay 1
2 - Relay 2
3 - Relay 3
4 - Relay 4
5 - Relay 5
6 - Relay 6
7 - Relay 7
8 - Relay 8
9 - Button 1
10 - Button 2
11 - Button 3
12 - Button 4
13 - Button 5
14 - Button 6
15 - Button 7
16 - Button 8
17 - TEMPERATURE        
18 - HUMIDITY           
19 - ENERGY_VOLTAGE     
20 - ENERGY_CURRENT     
21 - ENERGY_POWER       
22 - ENERGY_POWERFACTOR 
23 - ENERGY_DAILY       
24 - ENERGY_START       
25 - ENERGY_TOTAL       
26 - KNX_SLOT1              
27 - KNX_SLOT2              
28 - KNX_SLOT3              
29 - KNX_SLOT4              
30 - KNX_SLOT5              
255 - EMPTY
2018-07-23 04:03:57 -03:00
Adrian Scillato a294a9179d
Added Command KNX_PA
Added Command KNX_PA for changing the device KNX Physical Address
2018-07-23 02:15:44 -03:00
Adrian Scillato 77181854a7
Added KNX commands
* KNX_ENABLED 0/1
* KNX_ENHANCED 0/1
2018-07-23 01:01:52 -03:00
Adrian Scillato 552ac7d545
Make KNX WEB MENU Optional 2018-07-22 23:16:46 -03:00
Adrian Scillato bc6195e492
KNX: Added the EVENT knxrx_val1..5
Added the EVENT KNXRX_VAL1...5 when receiving values from the KNX Network or another Tasmota with KNX

Now, sensor values (for example) can be sent from one device to another.
2018-07-22 22:40:28 -03:00
Adrian Scillato 50d504fb7b
KNX: Command KNXTX_VALx now supports value with decimals 2018-06-28 12:52:05 -03:00
Adrian Scillato ae3f8d0535
KNX: Support for DS18S20 Temperature sensor 2018-06-12 14:17:02 -03:00
Adrian Scillato 75b01e231c
KNX: Fix Bug when reply sensor values 2018-06-07 23:56:52 -03:00
Theo Arends d4119fe54d Add SnfBrdg EFM8BB1 fw tools
6.0.0a
* Add support for uploading Sonoff Bridge firmware found in
tools/fw_efm8bb1 folder build by Portisch using Web Gui File Upload
(#2886)
* Add command RfRaw to control Portisch firmware features
2018-06-04 18:10:38 +02:00
Adrian Scillato 9c862161e0
Added KNX Console Commands
* Added Console Commands to send KNX Commands
  usage: KnxTx_Cmnd[slot] command
  where [slot] is any of the 5 slots on the KNX Menu and command is 0 or 1
  example: KnxTx_Cmnd1 0

* Added Console Commands to send KNX Values
  usage: KnxTx_Val[slot] value
  where [slot] is any of the 5 slots on the KNX Menu and value is a number
  example: KnxTx_Val1 35

* Added Slots on the KNX Web Menu to select Group Addess to send data from console commands

* Added Events to trigger rules when received data from KNX
  usage on rules as: event#KnxRx_Val[slot]
  where [slot] is any of the 5 slots on the KNX Menu
  example: rule on event#KnxRx_Val1 do VAR1 %value% endon

* Added Events to trigger rules when received read requests from KNX
  usage on rules as: event#KnxRx_Req[slot]
  where [slot] is any of the 5 slots on the KNX Menu
  example: rule on event#KnxRx_Req1 do KnxTx_Val1 35 endon

* Added Slots on the KNX Web Menu to select Group Addess to receive data to trigger rules
2018-05-31 02:58:54 -03:00
Theo Arends ed56322f12 Add command source information
5.14.0b
* Add source information to command execution to be shown with logging
option 3 (#2843)
2018-05-28 15:52:42 +02:00
Adrian Scillato 21fadca8f0
Fix Bug on KNX Menu
Fix Bug on KNX Menu that shows Energy Options while there is no energy sensor selected.
2018-05-18 19:57:16 -03:00
Theo Arends 80ffea085b Admin and some fixes
5.14.0a
 * Add KNX energy data (#2750)
 * Fix display selection of
un-available GPIO options in Module Configuration webpage (#2718)
 * Fix
IRSend not accepting data value of 0 (#2751)
2018-05-17 11:55:40 +02:00
Adrian Scillato b381408312
Add Energy Information for KNX
Add Energy Information for KNX
2018-05-17 01:46:10 -03:00
Theo Arends 482c5324ee Add KNX communication enhancement
5.14.0a
 * Add KNX communication enhancement (#2742)
2018-05-16 10:56:09 +02:00
Adrian Scillato 4d5b74a4ee
KNX: Add control for all Tasmota Outputs.
Add control by KNX for all Tasmota Outputs
Before this commit, only Relays were able to be controlled by KNX. Now all Outputs can be controlled using KNX.
2018-05-13 21:16:02 -03:00
Theo Arends 200c952138 Fix KNX config error
5.13.1a
 * Fix KNX config error (#2628)
2018-05-05 09:51:46 +02:00
Theo Arends 39f56cff3a Fix Bug on KNX Driver
Fix Bug on KNX Driver #2568
2018-04-29 10:35:24 +02:00
Theo Arends 8fea3e49a8 5.12.0m - Changes and Fixes
5.12.0m
* Remove sonoff-xxl
* Add sonoff-classic, sonoff-allsensors and sonoff-knx
* Add some coloring to important web buttons
* Add user selectable defines for Sunrise/set Dawn option (#2378)
* Add GPIO_User to GPIO02 for all Sonoff T1 (#2524)
2018-04-23 11:37:46 +02:00
Theo Arends 8a77c48759 Fix Esp/lib 2.3.0 compile error
5.12.0m
 * Fix compile error when using ESP/Arduino library v2.3.0 by
reverting KNX async UDP library to default UDP library (#2488, #2492,
#2493)
2018-04-19 20:27:57 +02:00