Commit Graph

40 Commits

Author SHA1 Message Date
Theo Arends bac30bbe1b Try to catch domoticz test
Try to catch domoticz test (#6529)
2019-10-02 12:51:37 +02:00
Theo Arends cae714e300 Optimize rule/script processing
Optimize rule/script processing
2019-08-19 11:18:50 +02:00
Theo Arends 7965ada5c5 Clean code
Clean code
2019-08-18 15:21:38 +02:00
Theo Arends 54364484fa Add Driver and Sensor info to status 4
* Add Driver and Sensor info to status 4
* Change WebSensor return information to show disabled state using exclamation mark
* Clean up debug code
2019-08-18 13:23:43 +02:00
Theo Arends 23ec00a452 Add command Buzzer
Add command Buzzer with optional parameters <number of beeps>,<duration of beep in 100mS steps>,<duration of silence in 100mS steps> enabled when a buzzer is configured (#5988)
2019-08-12 17:18:08 +02:00
Theo Arends 1b69502d9b Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 16:44:36 +02:00
Theo Arends 30adce5648 Revert "Code optimization - Change for(uint8_t in for (uint32_t"
This reverts commit 5e1eac3f74.
2019-06-30 15:56:55 +02:00
Theo Arends 5e1eac3f74 Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 15:47:32 +02:00
Theo Arends feb11dd49e wemohue tuning
wemohue tuning
2019-03-27 18:09:27 +01:00
Theo Arends baa5825569 Free some flash
Free some flash
2019-03-11 10:38:41 +01:00
Theo Arends 37e1b31937 Add support for sensor SCD30
* Add support for sensor SCD30 (#5434)
 * Add support for commands in sensor drivers
2019-03-10 13:33:32 +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 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 c67922241c Add tests for result 2018-12-30 15:32:53 +01:00
Theo Arends 164db4e12b Clean up
Clean up
2018-11-24 17:22:06 +01:00
Theo Arends d71ae77900 6.3.0.12 Change boot delays
6.3.0.12 20181122
 * Remove delays introduced in 6.3.0.11 (#4233)
 * Add additional start-up delay during initial wifi connection
 * Add support for I2C MGC3130 Electric Field Effect sensor by Christian Baars (#3774, #4404)
 * Add initial support for Hass sensor discovery (#4380)
2018-11-22 12:25:18 +01:00
Theo Arends 76829d4ced 6.3.0.11 Add delays
6.3.0.11 20181120
 * Add delays removed in 6.3.0.9 (#4233)
 * Allow user definition of defines WIFI_RSSI_THRESHOLD (default 10) and WIFI_RESCAN_MINUTES (default 44)
 * Add support for Fujitsu HVac and IrRemote (#4387)
2018-11-20 14:10:32 +01:00
Theo Arends 18997e841f 6.3.0.9 Add dynamic delay in loop
6.3.0.9 20181118
 * Moved command SetSensorXX to debugging driver freeing user code space
 * Add dynamic delay to main loop providing time for wifi background tasks
 * Remove delays introduced in 6.3.0.1 (#4233)
2018-11-18 15:02:52 +01:00
andrethomas 4a7e7b0dbb Change C functions with () to (void) 2018-11-14 15:32:09 +02:00
Theo Arends c0cfdde8ac Fix Sonoff Pow R2 and Sonoff S31
Fix Sonoff Pow R2 and Sonoff S31 Serial interface hang caused by Sonoff Basic R2 driver delay implementation (and possibly core bug)
2018-11-11 17:58:18 +01:00
Theo Arends 44d6714b69 Moved all func ptr tables to RAM
Moved all function pointer tables to RAM to check performance issues
2018-11-07 11:57:28 +01:00
Theo Arends a4df728115 Moved func ptr tables to RAM
Moved function pointer tables to RAM to check performance issues
2018-11-07 11:38:24 +01:00
andrethomas 1000cb836f Make driver boot delay configurable 2018-11-01 17:24:49 +02:00
Theo Arends 46a0a0afba Add minutes to commands Timezone
Add minutes to commands Timezone to allow all possible world timezones
2018-11-01 13:00:05 +01:00
Adrian Scillato 5d1f5a40a1
Reduce CPU usage at boot time
If many drivers has been enabled, there is a peak of CPU usage at boot time that it is translated as a peak in power consumption. This address to a wifi connection issue in poor power regulated devices like Sonoff Basic R2. This fix reduces cpu usage making the wifi connection to establish faster.
2018-10-31 15:03:47 -03:00
Theo Arends 19b7a33f6b Prepair for more drivers 2018-10-23 16:03:57 +02:00
Theo Arends f05fc71d67 Fix rule trigger POWER1#STATE
Fix rule trigger POWER1#STATE execution after restart and SetOption0 is 0 (#3856)
2018-09-22 17:37: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 dc1c2abda7 Add heap and stack debug information
Add heap and stack debug information
2018-06-26 11:48:09 +02: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
Theo Arends 41496acdee File renames and Add command WebSend
5.14.0b
* Add command WebSend [<host>(:<port>,<user>:<password>)] <command>
(#2821)
2018-05-28 11:35:23 +02:00
Theo Arends 9f329d5fb0 Add rule support for IrReceive and RfReceive
5.14.0b
 * Add rule support for IrReceive and RfReceive (#2758)
2018-05-24 16:23:20 +02:00
Theo Arends 08456e55e6 v5.12.0k - Add rules
5.12.0k
* Add commands Publish, Rule, RuleTimer and Event. See Wiki about Rule
restriction, usage and examples
2018-04-13 17:42:11 +02:00
Theo Arends 2049730877 Fix DS18x20 temperature updates (#
5.12.0k
 * Change Timer parameter name from Power to Action
 * Fix
update temperature on DS18x20 drivers (#2328)
2018-04-12 14:01:43 +02:00
Theo Arends c60c8af237 v5.12.0d - Add alternative MQTT libraries
5.12.0d
* Add support for optional MQTT drivers to be selected in user_config.h
(#1992)
2018-03-02 15:38:37 +01:00
Theo Arends 9014ad3a8e v5.12.0d - Adds and Fix
5.12.0d
 * Prep for optional MQTT drivers by separating mqtt code from
sonoff.ino to file xdrv_00_mqtt.ino
 * Add compiler check for stable
lwIP version v1.4 (#1940)
 * Add diacritics to Polish language file
(#2005)
 * Add Hungarian language file (#2024)
 * Fix MQTT TLS
fingerprint validation (#2033)
2018-02-27 14:59:46 +01:00
arendst 0908c336ee v5.11.1j - Provide user driver/sensor hooks 91-99
Provide user driver/sensor hooks 91-99 (#1828)
2018-02-08 15:20:03 +01:00
arendst 2cac51619c v5.11.1e Fixes new commands
5.11.1e
 * Replaced command Ina219Mode with command Sensor13
 * Add
command Sensor15 2 to start MHZ19(B) Zero Point Calibration
 * Add
chunked webserver pages for large pages saving memory
 * Fix Non-English
JSON temperature unit attachement
 * Fix Sonoff Pow Energy Today and
Energy Total reading after restart (#1648)
 * Rewrite function pointers
to save code space and memory (#1683)
 * Add option define
HOME_ASSISTANT_DISCOVERY_ENABLE in user_config.h (#1685)
 * Fix SOnoff
Pow Energy Period roll-over (#1688)
2018-01-24 17:31:20 +01:00
arendst c14234394a v5.11.1d - Add command State and fixes
5.11.1d
 * Add locale Decimal Separator to Web sensor page
 * Add
command State to retrieve device state information (same data as
teleperiod state and status 11 in slightly different JSON format)
 *
Extent state information with Light parameters
 * Fix IRSend parameter
translation (#1636)
 * Add optional login to Webserver AP mode (#1587,
#1635)
 * Fix BME680 teleperiod resistance measuring (#1647)
2018-01-20 12:12:39 +01:00
arendst 349230de72 v5.10.0i - Fixes and rearrangements
5.10.0i
 * Add device function pointers
 * Moved Command and JSON
English language defines to one file (i18n.h)
 * Update it-IT.h language
file (#1449)
 * Fix Wemo and Hue emulation by adding M-Search response
delay (#1486)
2018-01-05 12:26:19 +01:00