Commit Graph

307 Commits

Author SHA1 Message Date
Theo Arends ed1fd55d7f
Merge pull request #3692 from MadDoct/patch-3
Make tx and rx pins user selectable on the H801
2018-09-05 16:02:37 +02:00
Theo Arends 36242e0e02 Add network information
Add network information to display start screen (#3704)
2018-09-05 15:38:48 +02:00
MadDoct e7ae727c65
Update sonoff.ino 2018-09-04 18:53:44 +01:00
Theo Arends 07dafe1631 6.2.0.2 - Energy monitoring
6.2.0.2 20180904
 * Rewrite energy monitoring using energy sensor driver modules
 * Fix lost today and total energy value after power cycle (#3689)
2018-09-04 16:22:34 +02:00
MadDoct ababc351d7
prepare to allow h801 tx and rx pins to be gpio_user 2018-09-04 09:45:26 +01:00
Theo Arends 2210bda2e6 Replace APMac with BSSId
Replace APMac with BSSId in state and status 11
2018-09-02 15:54:26 +02:00
Theo Arends 5623924813 Add Wifi channel number
Add Wifi channel number to state message (#3664)
2018-09-02 12:10:22 +02:00
Theo Arends c6a14c5fe7 Fix possible exception
Fix possible exception due to buffer overflow (#3659)
2018-09-02 11:52:24 +02:00
Theo Arends 2212af4860 Clear GPIO on multi boot loop
Clear GPIO on multi boot loop
2018-08-30 14:47:48 +02:00
Theo Arends f7c38f24f3 6.1.1.14 Add boot loop detection
Add boot loop detection and try to fix
2018-08-30 14:27:33 +02:00
Theo Arends 3abdaaffb7 Revert "6.1.1.14 Add boot loop detection"
This reverts commit b9a875d6fb.
2018-08-30 13:19:09 +02:00
Theo Arends b9a875d6fb 6.1.1.14 Add boot loop detection
Add boot loop detection and try to fix
2018-08-30 12:22:24 +02:00
Theo Arends 55b43734d8 6.1.1.13 - Fixes
6.1.1.13 20180828
 * Fix 6.1.1.12 regression of Mem and Var default handling (#3618)
 * Optimizations
2018-08-28 11:10:32 +02:00
Theo Arends f8666c0410 Some requested additions
* Add optional MQTT_TELE_RETAIN to Energy Margins message (#3612, 3614)
 * Add Individual HSBColorX commands (#3430, #3615)
 * Add RuleX debug options 8,9,10 (StopOnError) to control RuleX execution status after an exception restart (#3607)
2018-08-28 10:26:33 +02:00
Theo Arends 9b54ab9038 Some optimizations
Some optimizations
2018-08-27 16:07:23 +02:00
Theo Arends d4931f7b11 Fix handling default names Pt.2
Fix handling default names Pt.2
2018-08-27 14:53:09 +02:00
Theo Arends 9978381c94 Fix handling deafult names
Fix handling use of default names when using names starting with shortcut character (#3392, #3600)
2018-08-27 13:06:22 +02:00
Theo Arends d69e88b50b 6.1.1.12 - Add debounce time
6.1.1.12 20180827
 * Add commands ButtonDebounce 40..1000 and SwitchDebounce 40..1000 to have more control over debounce timing. Default is 50mS (#3594)
2018-08-27 12:01:20 +02:00
Theo Arends ea43540b43 Update WS2812 driver
Update WS2812 driver for new state time
2018-08-26 17:32:49 +02:00
Theo Arends bbd2529914 Sleep fixes part 2 and 3 of 3
* Change scheduler phase 2/3 - Fixed when sleep is enabled: Blinktime (#3581)
 * Change scheduler phase 3/3 - Some sensor update timings: AdcEvery 200 -> 250, Senseair 300 -> 250, SDM120 300 -> 250, SDM630 300 -> 250
2018-08-26 17:10:18 +02:00
Theo Arends f090050e69 6.1.1.11 - Sleep fixes part 1
6.1.1.11 20180826
 * Change scheduler phase 1 - Fixed when sleep is enabled: Uptime, Delay, PulseTime and TelePeriod (#3581)
2018-08-26 15:42:35 +02: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 ae6fcd4d60 Change sleep command
Change command sleep from restart after change to not restart after change (#3554)
2018-08-24 16:38:55 +02:00
Theo Arends ef842daa32 Fix test
Fix test
2018-08-23 17:47:45 +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
Norbert Richter 52413f103e Fixed OtaMagic handling having minus "-" within OtaUrl 2018-08-23 14:31:50 +02:00
Theo Arends 6d98864a04 Fix iFan02 power on state
Fix iFan02 power on state (#3412, #3530)
2018-08-20 15:51:46 +02:00
Theo Arends bb87f99ee0 Fix version numbering
Fix version numbering
2018-08-17 11:10:21 +02:00
Theo Arends 3efb84fb93 Change version representation
Change version representation from 1.1.1a to 1.1.1.1 for better change reference
2018-08-12 14:05:15 +02:00
Theo Arends 9147635d5c Add ifan02 Fanspeed +/-
Add ifan02 Fanspeed +/- as command option to increase or decrease fenspeed (#3415)
2018-08-11 16:12:10 +02:00
Theo Arends 55ef063c0e Add command SerialSend4
Add command SerialSend4 to send binary serial data (#3345)
2018-07-28 15:43:13 +02:00
Erik 76c102c09c Support send / receive of binary serial data 2018-07-27 12:17:34 +02:00
Theo Arends cb192c5c2d Update decode-status.py
Update decode-status.py
2018-07-25 12:42:53 +02:00
Theo Arends 9376b6f7c0 Fix invalid JSON
Fix command TimeDst/TimeStd invalid JSON (#3322)
2018-07-25 10:04:35 +02:00
Theo Arends 99e81ba86e Fix CCS811 env compensation
Fix CCS811 temperature and humidity compensation
2018-07-24 18:41:50 +02:00
Theo Arends cdae4f3f46 Add support for CCS811
Add support for CCS811 sensor (#3309)
2018-07-23 17:42:12 +02:00
gemu2015 d21a04e872 ccs811
completely new from arends/development
2018-07-23 16:27:15 +02:00
Theo Arends 612374cfbf Revisit Timers off/on
6.1.1c
 * Add command Timers 0/1 to globally disable or enable armed timers (#3270)
2018-07-20 16:12:37 +02:00
Theo Arends afdb197a6c v6.6.1b - Change wifi options
6.1.1b
 * Add default Wifi Configuration tool as define WIFI_CONFIG_NO_SSID in user_config.h if no SSID is configured (#3224)
 * Add user selection of Wifi Smartconfig as define USE_SMARTCONFIG in user_config.h
 * Add user selection of WPS as define USE_WPS in user_config.h in preparation for core v2.4.2 (#3221)
 * Change default Wifi config option from WPS to Wifi Manager if WPS is disabled
 *   or Wifi Smartconfig if webserver is disabled
 *   or Wifi Serial input if Smartconfig is disabled
 * Remove WPS and SmartConfig from sonoff-minimal saving 56k code space
2018-07-15 15:21:48 +02:00
Theo Arends f75ab4f25f v6.1.1a - Sync with v6.1.1
Sync with v6.1.1
2018-07-14 18:07:25 +02:00
Theo Arends e876b5aa77 v6.1.0b - WPS optional
6.1.0b
 * Add user selection of WPS as define USE_WPS in user_config.h in preparation for core v2.4.2 (#3221)
 * Change default Wifi config option from WPS to Wifi Manager if WPS is disabled (or Wifi Smartconfig if webserver is disabled)
 * Remove WPS from sonoff-minimal saving 33k code space
 * Revert wifi changes implemented in v6.0.0a due to possible bad initial wifi connections
2018-07-14 15:35:56 +02:00
Theo Arends bee95c5b56 Add TM1638 switch support
Add TM1638 switch support (#2226)
2018-07-12 14:52:35 +02:00
Theo Arends f9ce86a6e8 Add wifi/mqtt status blinkyblinky
6.1.0a
 * Add wifi and mqtt status led blinkyblinky to be disabled by SetOption31 1. Does not work when LedPower is On (deliberate) (#871, #2230, #3114, #3155)
 * Remove not needed functionality from Sonoff-minimal to save space
2018-07-07 17:30:58 +02:00
Theo Arends 2058b9fa95 Updated to v6.1.0a
Updated to v6.1.0a
2018-07-06 18:00:50 +02:00
Theo Arends d08cefb0df Rewrite BME680 driver
Rewrite BME680 driver now using latest Bosch BME680 library (#2969)
2018-07-04 18:41:00 +02:00
Theo Arends c896437124 v6.0.0c - Add spare SetOptions
6.0.0c
* Add support for bitflags SetOption50 .. SetOption81 (#3118)
2018-07-03 12:48:56 +02:00
Theo Arends c8871ae9e8 Fix iFan02 friendlyname
Fix iFan02 friendlyname
2018-07-01 15:18:50 +02:00
Theo Arends d3d876f030 Add Sonoff iFan02 support
Add support for Sonoff iFan02 as module 44 introducing command FanSpeed
0..3 (#2839)
2018-07-01 15:06:44 +02:00
Theo Arends 8b7645b05d Quick fix to re-instate iFan02 RC
Quick fix to re-instate iFan02 RC
2018-06-30 19:09:48 +02:00
Theo Arends eb42ec6a1c Add restriction
Add restriction
2018-06-30 18:54:22 +02:00