Commit Graph

2506 Commits

Author SHA1 Message Date
Theo Arends
db05d920cf Add more accurate fmodf function and make available to all core versions lowering code footprint
Add more accurate fmodf function and make available to all core versions lowering code footprint
2019-07-03 12:32:44 +02:00
Stephan Hadinger
cc60bf0f03 Fix Not restoring white value on power off/power on (#5993) 2019-07-02 22:10:57 +02:00
Theo Arends
61807b8afa Clean up code
Clean up code
2019-07-02 17:59:40 +02:00
Theo Arends
3d67b8dc66 Fix core 2.3.0 compile error
Fix core 2.3.0 compile error (#6012)
2019-07-02 17:18:32 +02:00
Theo Arends
4938b1e31e Code refactoring
Code refactoring
2019-07-02 15:49:08 +02:00
Theo Arends
169718aa5c Refactor Sonoff L1 support
Refactor Sonoff L1 support
2019-07-02 12:26:04 +02:00
Theo Arends
cc46e2e625 Add support for Sonoff L1 thanks to reef-actor
Add support for Sonoff L1 thanks to reef-actor (#6002)
2019-07-02 10:54:30 +02:00
reef-actor
f1efdb8905 Merge remote-tracking branch 'arendst/development' into sonoff-l1 2019-07-01 23:14:16 +01:00
reef-actor
53b1a920c7 Revert "Add changelog entry for Sonoff L1 support"
This reverts commit b930cd1474.
2019-07-01 23:14:03 +01:00
reef-actor
18f5be9598 Move new entries in SupportedModules and kModules to the ends of the lists 2019-07-01 23:13:59 +01:00
reef-actor
decd91aac0 Remove sscanf call and use strncmp instead 2019-07-01 22:50:59 +01:00
Stephan Hadinger
d75b6ad889 Moved FastPrecisePow and TaylorLog to sonoff_float.ino for consistency 2019-07-01 18:31:54 +02:00
Stephan Hadinger
15e37ef0bb Change converted double to float in rules, and replaced trigonometric functions from stdlib with smaller versions. 2019-07-01 18:20:43 +02:00
Theo Arends
912e8b62e7 Add background timeslot to clear heap
Add background timeslot to clear heap
2019-07-01 17:07:17 +02:00
Theo Arends
9268976ff1 Add Heap info to state message
Add Heap info to state message
2019-07-01 15:30:40 +02:00
Theo Arends
d66a3e8450 Fix displaymode 2/3 to not receive MQTT data
Fix displaymode 2/3 to not receive MQTT data (#5990)
2019-07-01 12:54:26 +02:00
reef-actor
b930cd1474 Add changelog entry for Sonoff L1 support 2019-06-30 23:51:32 +01:00
reef-actor
c489d56ea2 Refactor Sonoff L1 to reduce duplication 2019-06-30 23:48:03 +01:00
reef-actor
2a19735c92 Switch compatibility improvements for Sonoff L1 2019-06-30 23:45:14 +01:00
reef-actor
b10fc6677e Dimmer compatibility improvements for Sonoff L1 2019-06-30 23:44:40 +01:00
reef-actor
d95d18d84e Color handling for Sonoff L1 2019-06-30 23:39:09 +01:00
Theo Arends
98864116c1
Merge pull request #6001 from s-hadinger/fix_tls_aws_compilation
Fixed compilation error when USE_MQTT_AWS_IOT set and USE_MQTT_TLS disabled
2019-06-30 19:52:07 +02:00
Stephan Hadinger
3ac912f957 Fixed compilation error when USE_MQTT_AWS_IOT set and USE_MQTT_TLS disabled 2019-06-30 18:50:42 +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
Adrian Scillato
f8ebe35d85
Update Spanish Translation 2019-06-30 03:25:27 -03:00
Stephan Hadinger
5b524a2c95 More floats 2019-06-21 19:23:35 +02:00
Stephan Hadinger
b0eaea45bc Changed from double to float, -3.4k 2019-06-21 16:57:42 +02:00
Theo Arends
bcaafd7413 Change ADE7953 energy update code and add debug information
Change ADE7953 energy update code and add debug information (#5968)
2019-06-21 14:31:08 +02:00
Theo Arends
46210bc9f0 Add command SetOption40 0..250
Add command SetOption40 0..250 to disable button functionality if activated for over 0.1 second. Needs SetOption1 1 and SetOption13 0 (#5449)
2019-06-19 12:37:35 +02:00
Stephan Hadinger
4413a757d8 TLS+AWS IoT optimization for speed, code and memory footprint 2019-06-19 09:49:48 +02:00
Theo Arends
5f3be7ca87 Add define USE_DHT to my_user_config.h to save space in sonoff-basic.bin
Add define USE_DHT to my_user_config.h to save space in sonoff-basic.bin
2019-06-16 17:03:41 +02:00
Theo Arends
12da2fd6f9 Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
2019-06-16 16:43:23 +02:00
Theo Arends
48b96528fc Add more ES6 javascript
Add more ES6 javascript
2019-06-15 16:09:04 +02:00
Theo Arends
1effa25402 Fix javascript error
Fix javascript error
2019-06-15 15:20:31 +02:00
Jason2866
53460ec306
Disable some sensors by default
Disable rarely used sensors in standard build
2019-06-15 11:42:32 +02:00
Theo Arends
22cf3f2279
Merge pull request #5958 from gemu2015/scripter
update scripter
2019-06-15 09:48:56 +02:00
Theo Arends
9f4d1fa009
Merge pull request #5954 from gemu2015/MLX90614
support for MLX90614
2019-06-15 09:48:09 +02:00
gemu2015
dad6d9f997 update scripter
bug fixes and enhancements
2019-06-15 07:02:34 +02:00
gemu2015
a86d579746 Update my_user_config.h 2019-06-15 06:14:51 +02:00
gemu2015
2dd4750bb7 sps30 stop, run (0,1) added 2019-06-14 18:54:40 +02:00
gemu2015
d6fd54ae9b Create xsns_46_MLX90614.ino 2019-06-14 15:51:00 +02:00
Stephan Hadinger
66d372586a Fix channel command for dual dimmers (#5940) 2019-06-12 22:49:22 +02:00
Theo Arends
8ed16c15a0 dd using heap when more than 199 IRSend values need to be send. May need increase of define MQTT_MAX_PACKET_SIZE too
dd using heap when more than 199 IRSend values need to be send. May need increase of define MQTT_MAX_PACKET_SIZE too (#5950)
2019-06-12 19:11:21 +02:00
Theo Arends
9d706c9864 Start using optional ES6 saving code space
Start using optional ES6 saving code space
2019-06-12 17:32:25 +02:00
Theo Arends
2e7c72724d Fix Arduino compile errors
Fix Arduino compile errors
2019-06-11 17:48:53 +02:00
Theo Arends
8da743f98e Fix Arduino IDE compilation error
Fix Arduino IDE compilation error
2019-06-11 17:39:12 +02:00
Theo Arends
8c473adc86 Update xdrv_01_webserver.ino 2019-06-11 16:53:03 +02:00
Theo Arends
3a3a26bf5e Add some ES6 comments
Add some ES6 comments
2019-06-11 16:19:56 +02:00