Commit Graph

16868 Commits

Author SHA1 Message Date
Theo Arends 68f8b684a3
Merge pull request #16850 from christiankarsch/development
Added stop-condition before start-condition
2022-10-17 21:17:17 +02:00
Christian Karsch 4ba3b58ea8
Added stop-condition before start-condition
Bp5758d does not support repeated-start-condition.
Therefore it overwrite the next register ('current range setup' of red-channel)

A stop-condition is always needed before next start-condition
2022-10-17 21:01:25 +02:00
Theo Arends a9ba035474 refactor NTP fraction 2022-10-17 17:59:18 +02:00
Jason2866 9487465517 s3cdc safeboot 2022-10-17 16:49:55 +02:00
Theo Arends 0be740850a
Merge pull request #16847 from LeonPoon/development
Support nanos in rtc for sync from ntp
2022-10-17 16:48:05 +02:00
Jason2866 c7a2d04972 fix [env:tasmota32s3] 2022-10-17 16:15:27 +02:00
Jason2866 b8d594b868 fix [env:tasmota32s3cdc] 2022-10-17 16:12:18 +02:00
Jason2866 724b0342c7
Reduce Boards manifests
## Description:

by using the 4MB default safeboot partition scheme layout. Tasmota will increase the FS partition with
the new Autoresize feature introduced with PR #16838 #16842

So it is possible to reduce the boards mainifest since it is no more needed to have different ones for boards with different flash sizes. Added generic S3 Flash / PSRAM boards variants. Removed all S3 boards specific variants. Configuration is done via Autoconfig. For a few special use cases maybe an [env] needs to be defined. Examples for are in file `platformio_tasmota_cenv_sample.ini`

@s-hadinger @arendst @staars please test. Since it is a major change how the firmwares are build, there is maybe something i overlooked. So i do not check all below.

## Checklist:
  - [x] The pull request is done against the latest development branch
  - [x] Only relevant files were touched
  - [ ] Only one feature/fix was added per PR and the code change compiles without warnings
  - [ ] The code change is tested and works with Tasmota core ESP8266 V.2.7.4.9
  - [ ] The code change is tested and works with Tasmota core ESP32 V.2.0.5
  - [x] I accept the [CLA](https://github.com/arendst/Tasmota/blob/development/CONTRIBUTING.md#contributor-license-agreement-cla).

_NOTE: The code change must pass CI tests. **Your PR cannot be merged unless tests pass**_
2022-10-17 16:04:11 +02:00
Leon Poon 18fdc4a176 support nanos in rtc for sync from ntp
so that all tm1637 6-digit clocks tick simultaneously at real second boundary.
2022-10-17 21:45:29 +08:00
Theo Arends f998a457db Disable SspmPowerOnState for v1.0.0 main 2022-10-17 15:41:46 +02:00
Jason2866 6b1deb5e5e
Revert "refac (#16845)" (#16846)
This reverts commit bc4fb77db0.
2022-10-17 15:38:30 +02:00
Jason2866 bc4fb77db0
refac (#16845)
* Update sensor.h

* Update esp_camera.h

* refactor boards manifests

* fix s3 safebooot env

* fix env
2022-10-17 15:37:26 +02:00
Theo Arends 065396ff73 Bump version v12.2.0.1 2022-10-17 11:25:22 +02:00
Theo Arends d4559fea5a Prep release v12.2 2022-10-17 10:34:48 +02:00
s-hadinger 714e3210fa
Merge pull request #16842 from s-hadinger/flash_32_128
Support for Flash size 32/64/128 MB in Partition Wizard and auto-resize
2022-10-16 18:44:58 +02:00
Stephan Hadinger eb3de9c73a Support for Flash size 32/64/128 MB in Partition Wizard and auto-resize 2022-10-16 18:32:46 +02:00
Theo Arends 2cda2e2ce7
Merge pull request #16816 from Jason2866/webcam
rm Domoticz / ad Counter in `env: webcam`
2022-10-16 15:05:10 +02:00
Theo Arends f07a90bd4a
Merge pull request #16837 from barbudor/ina219_any_shunt_value
INA219 enhancement : any shunt value
2022-10-16 15:04:34 +02:00
Theo Arends 411a7f0788 Update xdrv_86_esp32_sonoff_spm.ino 2022-10-16 15:03:05 +02:00
Theo Arends 480fae6804 Add command ``SspmPowerOnState<relay> 0|1|2``
Add command ``SspmPowerOnState<relay> 0|1|2`` to set Sonoff SPM 4Relay module v1.2.0 power on state overruling tasmota  global power on state. 0 = Off, 1 = On, 2 = Saved state (#13447)
2022-10-16 12:57:17 +02:00
s-hadinger 0bd57a3787
Merge pull request #16838 from s-hadinger/resize_fr_bootcount_0
Resize FS to max at initial boot
2022-10-16 12:38:45 +02:00
Stephan Hadinger 39a05984ca Automatically resize FS to max flash size at initial boot (ESP32x) 2022-10-16 12:19:08 +02:00
Stephan Hadinger 5e03066883 Resize FS to max at initial boot 2022-10-16 11:49:30 +02:00
Barbudor 2921832912 spacing 2022-10-16 00:21:30 +02:00
Barbudor 8742770fb4 take 1 2022-10-16 00:03:07 +02:00
md5sum-as 1f8012482e Fix compilation error 2022-10-15 19:27:06 +03:00
md5sum-as fa649ec174 naming optimization 2022-10-15 19:05:35 +03:00
md5sum-as c7404049eb
Merge branch 'arendst:development' into development 2022-10-15 19:02:12 +03:00
md5sum-as d4f3bc732b ESP32 don't support dual pin mode 2022-10-15 18:57:29 +03:00
md5sum-as 4b2181482f Ready for test on esp8266 and esp32 2022-10-15 18:40:17 +03:00
md5sum-as c4ba1457a1 Ready for test on esp8266 and esp32 2022-10-15 18:39:37 +03:00
md5sum-as 61027810fa Ready for test on esp8266 and esp32 2022-10-15 18:38:47 +03:00
Jason2866 e1af7ba12a `USE_LIGHT` needed for flashlight 2022-10-15 16:26:02 +02:00
Theo Arends 90d6b7572d
Merge pull request #16822 from christiankarsch/development
[BP5758D] Fix Sleep
2022-10-15 14:38:34 +02:00
Theo Arends 169e65a922 Add ESP32 non-persistent phy selection 2022-10-15 14:33:21 +02:00
md5sum-as 5c9c7f2e26 Ready for test esp8266 2022-10-15 14:58:23 +03:00
md5sum-as 8c81ee7487 Ready for test esp8266 2022-10-15 14:52:45 +03:00
md5sum-as 59c7488e70 Corrections based on sensor sorting 2022-10-15 14:25:43 +03:00
md5sum-as d8a3560497 Ready fo tests 2022-10-15 12:06:07 +03:00
Christian Karsch ee55903e0d
[BP5758D] Fix Sleep
If all channels are set to 0, disable all channels on the driver and then set the driver into sleep-mode
Otherwise wake up the driver when it is sleeping and active all channels
2022-10-14 23:37:30 +02:00
md5sum-as eccccdad37
Merge branch 'arendst:development' into development 2022-10-15 00:00:23 +03:00
md5sum-as 9ae38a9797 tests 2022-10-14 23:58:53 +03:00
md5sum-as 1cdbb980f1 Add support DS18x20_MULTI_GPIOs for esp8266 2022-10-14 23:58:53 +03:00
s-hadinger 2523a29da3
Merge pull request #16819 from s-hadinger/berry_restart_flag
Berry add access to `restart_flag`
2022-10-14 08:59:21 -07:00
Stephan Hadinger 6783a90ccc Add bootcount 2022-10-14 17:31:15 +02:00
Stephan Hadinger 65672b62ae Berry add access to `restart_flag` 2022-10-14 17:14:35 +02:00
Jason2866 8d59dd800f
rm Domoticz / ad Counter 2022-10-14 15:32:57 +02:00
Theo Arends 2456280139
Merge pull request #16810 from barbudor/fix_script_topic
get correct topic var
2022-10-14 15:02:51 +02:00
Theo Arends d36ce4977a Update TEMPLATES.md 2022-10-14 14:21:28 +02:00
Theo Arends 2dec4ac057 Add clock change execution to webcam 2022-10-14 13:54:37 +02:00