Commit Graph

6437 Commits

Author SHA1 Message Date
arijav 714f2d460a
Update README.md 2020-04-19 21:30:25 +02:00
arijav bade7b16b6
Update README.md 2020-04-19 20:31:23 +02:00
arijav 96a586c51f
Update README.md 2020-04-19 18:56:14 +02:00
Javier Arigita 4485184a4e Fix merge 2020-04-19 08:09:37 +02:00
Javier Arigita 95a4d6cd5d Adding debug features, disable by default 2020-04-18 21:07:08 +02:00
Javier Arigita b47785191c Adding debug features, disable by default 2020-04-18 21:05:35 +02:00
Javier Arigita 1deb92a2b1 Fix kCommandSource adding heating source 2020-04-18 20:53:28 +02:00
Javier Arigita 602a6cdd43 Merge branch 'new_branch' of https://github.com/arijav/Tasmota into new_branch 2020-04-18 20:51:33 +02:00
Javier Arigita a979136161 Fix kCommandSource adding heating source 2020-04-18 20:51:03 +02:00
Javier Arigita 5122ea6c10 Fix kCommandSource adding heating source 2020-04-18 20:49:38 +02:00
arijav 46612cddac
Correction to counter_seconds 2020-04-18 10:22:42 +02:00
Javier Arigita f937504dd5 Correction of second counter and integration into Bitfield to save 1 byte 2020-04-18 10:19:11 +02:00
Javier Arigita 68d722713f Merge branch 'new_branch' of https://github.com/arijav/Tasmota into new_branch 2020-04-18 09:47:55 +02:00
Javier Arigita ade012a2c7 Reduction of types 2020-04-18 09:44:15 +02:00
arijav f545818349
Update settings.h 2020-04-17 23:06:37 +02:00
Javier Arigita b3094aa50e New driver created for heating control. I have created initially this as a LUA script running in Domoticz on a Raspberry Pi to control floor heating valves using Qubino relays. I have ported this to a Tasmota driver embedding the functionality in the relays. This driver has been successfully tested with a shelly 1PM. The controller offers 3 controlling strategies (Hybrid, Rampup and PI) as well as time planning (3 diff. temp. each weekday). 2020-04-17 22:52:06 +02:00
Javier Arigita ba0a2ff2eb Corrections to reduce settings 2020-04-17 20:24:12 +02:00
Javier Arigita 80f364cc5a Merge branch 'development' of https://github.com/arijav/Tasmota into development 2020-04-17 20:21:50 +02:00
Theo Arends 8ada812218 Add ESP32 optional brownout disable
Add ESP32 brownout disable for weak onboard LDO's - eventually you'll need to change the LDO to a better one.
2020-04-17 20:14:36 +02:00
Stephan Hadinger 3f9fdc09ce Remove warning/errors when compiling Zigbee for ESP32 2020-04-17 20:14:36 +02:00
Jason2866 fa51f9f4ad Add the possibility to add Custom env
to build special Tasmota versions with Compiler switches defined in [env:tasmota-xyz] in `platformio_tasmota_cenv.ini` to control
user_config_override.h
Example:
"[env:tasmota-zigbee]
build_flags = ${common.build_flags} -DHANS_CONFIG_ZIGBEE=true"
which referrs to in user_config_override.h
```#ifdef HANS_CONFIG_ZIGBEE  // ******************************************************************

#undef CODE_IMAGE_STR
#define CODE_IMAGE_STR "ZIGBEE"

#define USE_WEBSERVER                            // Enable web server and Wifi Manager (+66k code, +8k mem)
  #define USE_JAVASCRIPT_ES6                     // Enable ECMAScript6 syntax using less JavaScript code bytes (fails on IE11)
//  #define USE_WEBSEND_RESPONSE                   // Enable command WebSend response message (+1k code)

//#define USE_RULES                                // Add support for rules (+4k4 code)
//  #define USE_EXPRESSION                         // Add support for expression evaluation in rules (+3k2 code, +64 bytes mem)
//    #define SUPPORT_IF_STATEMENT                 // Add support for IF statement in rules (+4k2 code, -332 bytes mem)
//  #define SUPPORT_MQTT_EVENT                     // Support trigger event with MQTT subscriptions (+3k5 code)

//#define USE_SCRIPT                               // Add support for script
//  #define USE_SCRIPT_FATFS 4                     // Add support for script storage on SD card (+12k code, +4k mem)
//  #define USE_SCRIPT_WEB_DISPLAY


#define USE_ADC_VCC                              // Display Vcc in Power status. Disable for use as Analog input on selected devices


// -- Zigbee interface ----------------------------
#define USE_ZIGBEE                               // Enable serial communication with Zigbee CC2530 flashed with ZNP (+35k code, +3.2k mem)
  #define USE_ZIGBEE_PANID  0x1A63                // arbitrary PAN ID for Zigbee network, must be unique in the home
  #define USE_ZIGBEE_EXTPANID 0xCCCCCCCCCCCCCCCCL // arbitrary extended PAN ID
  #define USE_ZIGBEE_CHANNEL  11                  // Zigbee Channel (11-26)
  #define USE_ZIGBEE_PRECFGKEY_L 0x0F0D0B0907050301L  // note: changing requires to re-pair all devices
  #define USE_ZIGBEE_PRECFGKEY_H 0x0D0C0A0806040200L  // note: changing requires to re-pair all devices
  #define USE_ZIGBEE_PERMIT_JOIN false           // don't allow joining by default
  #define USE_ZIGBEE_COALESCE_ATTR_TIMER 350     // timer to coalesce attribute values (in ms)


#endif ```
2020-04-17 20:14:35 +02:00
Stephan Hadinger 36c9a44512 Fix Zigbee DimmerUp/DimmerDown malformed 2020-04-17 20:14:35 +02:00
Jason2866 22e05c2e27 No Map file is generated for ESP32
Fix error for ESP32. Scripts checks if exists and generates only in target folder if there
2020-04-17 20:14:35 +02:00
Theo Arends ee98151834 Provide ESP32 base module support 2020-04-17 20:14:35 +02:00
Theo Arends 49652598de Prep ESP32 template 2020-04-17 20:14:35 +02:00
Javier Arigita bba829883b Update 2020-04-17 20:14:35 +02:00
Javier Arigita e347c26eff Revert "Update i18n.h"
This reverts commit 56788a339f0cd7b013182eaa815b2d32aeabd3bd.
2020-04-17 20:14:35 +02:00
Javier Arigita 72ca178154 Revert "Update settings.ino"
This reverts commit 431ad4256545abd953589c1455a90164dcde5b8a.
2020-04-17 20:14:35 +02:00
Theo Arends b70ca01231 Add ESP32 optional brownout disable
Add ESP32 brownout disable for weak onboard LDO's - eventually you'll need to change the LDO to a better one.
2020-04-17 18:27:31 +02:00
Theo Arends c6ad8ddf89
Merge pull request #8210 from s-hadinger/zigbee_esp32
Remove warning/errors when compiling Zigbee for ESP32
2020-04-17 17:59:27 +02:00
Stephan Hadinger a98b719f82 Remove warning/errors when compiling Zigbee for ESP32 2020-04-17 17:52:44 +02:00
Theo Arends 383ad798f4
Merge pull request #8209 from Jason2866/patch-3
Add the possibility to add Custom env in a extra file
2020-04-17 17:29:42 +02:00
Theo Arends e6273b3824
Merge pull request #8208 from s-hadinger/zigbee_dimmerup
Fix Zigbee DimmerUp/DimmerDown malformed
2020-04-17 17:21:43 +02:00
Jason2866 8765223f75
Add the possibility to add Custom env
to build special Tasmota versions with Compiler switches defined in [env:tasmota-xyz] in `platformio_tasmota_cenv.ini` to control
user_config_override.h
Example:
"[env:tasmota-zigbee]
build_flags = ${common.build_flags} -DHANS_CONFIG_ZIGBEE=true"
which referrs to in user_config_override.h
```#ifdef HANS_CONFIG_ZIGBEE  // ******************************************************************

#undef CODE_IMAGE_STR
#define CODE_IMAGE_STR "ZIGBEE"

#define USE_WEBSERVER                            // Enable web server and Wifi Manager (+66k code, +8k mem)
  #define USE_JAVASCRIPT_ES6                     // Enable ECMAScript6 syntax using less JavaScript code bytes (fails on IE11)
//  #define USE_WEBSEND_RESPONSE                   // Enable command WebSend response message (+1k code)

//#define USE_RULES                                // Add support for rules (+4k4 code)
//  #define USE_EXPRESSION                         // Add support for expression evaluation in rules (+3k2 code, +64 bytes mem)
//    #define SUPPORT_IF_STATEMENT                 // Add support for IF statement in rules (+4k2 code, -332 bytes mem)
//  #define SUPPORT_MQTT_EVENT                     // Support trigger event with MQTT subscriptions (+3k5 code)

//#define USE_SCRIPT                               // Add support for script
//  #define USE_SCRIPT_FATFS 4                     // Add support for script storage on SD card (+12k code, +4k mem)
//  #define USE_SCRIPT_WEB_DISPLAY


#define USE_ADC_VCC                              // Display Vcc in Power status. Disable for use as Analog input on selected devices


// -- Zigbee interface ----------------------------
#define USE_ZIGBEE                               // Enable serial communication with Zigbee CC2530 flashed with ZNP (+35k code, +3.2k mem)
  #define USE_ZIGBEE_PANID  0x1A63                // arbitrary PAN ID for Zigbee network, must be unique in the home
  #define USE_ZIGBEE_EXTPANID 0xCCCCCCCCCCCCCCCCL // arbitrary extended PAN ID
  #define USE_ZIGBEE_CHANNEL  11                  // Zigbee Channel (11-26)
  #define USE_ZIGBEE_PRECFGKEY_L 0x0F0D0B0907050301L  // note: changing requires to re-pair all devices
  #define USE_ZIGBEE_PRECFGKEY_H 0x0D0C0A0806040200L  // note: changing requires to re-pair all devices
  #define USE_ZIGBEE_PERMIT_JOIN false           // don't allow joining by default
  #define USE_ZIGBEE_COALESCE_ATTR_TIMER 350     // timer to coalesce attribute values (in ms)


#endif ```
2020-04-17 17:20:46 +02:00
Stephan Hadinger bd38f72ce7 Fix Zigbee DimmerUp/DimmerDown malformed 2020-04-17 17:14:06 +02:00
Theo Arends d8a1029c61
Merge pull request #8205 from Jason2866/patch-2
No Map file is generated for ESP32
2020-04-17 16:32:22 +02:00
Theo Arends 09599bb4a1 Provide ESP32 base module support 2020-04-17 16:17:01 +02:00
Jason2866 dfa2099406
No Map file is generated for ESP32
Fix error for ESP32. Scripts checks if exists and generates only in target folder if there
2020-04-17 16:15:41 +02:00
Theo Arends 39440e56c2 Prep ESP32 template 2020-04-17 14:40:09 +02:00
arijav 2f2f3bf33d
Merge branch 'development' into development 2020-04-17 14:25:09 +02:00
Theo Arends 2a471c2614
Merge pull request #8202 from s-hadinger/zigbee_disarm_occupancy
Disarm Zigbee timer for Occupancy:0
2020-04-17 14:01:52 +02:00
Javier Arigita 79657014b8 no message 2020-04-17 13:50:39 +02:00
Javier Arigita 5c19a01cec Merge commit '431ad4256545abd953589c1455a90164dcde5b8a' into Heating 2020-04-17 13:46:18 +02:00
Theo Arends a82b87aaea Fix compile warning 2020-04-17 13:45:10 +02:00
Theo Arends 1e1a2c1807 Add config version tag
- Add config version tag
- Bump version 8.2.0.4
2020-04-17 13:45:10 +02:00
Stephan Hadinger 318cfe2681 Disarm timer for Occupancy:0 2020-04-17 12:27:36 +02:00
Theo Arends e5a78deaa3 Fix compile warning 2020-04-17 12:08:43 +02:00
Theo Arends d3b2f8c489 Add config version tag
- Add config version tag
- Bump version 8.2.0.4
2020-04-17 11:57:09 +02:00
Javier Arigita ee47415579 Was not propertly committed 2020-04-17 10:35:26 +02:00
Javier Arigita 31d0268df4 Heating controller added. Created by myself initially in LUA running as a Domoticz (running on a raspberry pi) script and controlling Qubino relays for floor heating. Ported to tasmota to get the logic within the relay itself and be less dependent on Domoticz.
The controller supports several working modes. From off (no action) to manual (following input), automatic (hybrid, rampup or pi controller) and timeplan (automatic following predefined schedule with 3 temperatures for each weekday). It is fully configured via commands, it will include in the future diagnostics and will be extended to more outputs (will be tested on sonoff 4CH Pro).

The controller has been tested successfully with a Shelly 1PM device and works as the original LUA domoticz script.
2020-04-17 10:31:53 +02:00