Commit Graph

51 Commits

Author SHA1 Message Date
s-hadinger 356de1a16a
Add command ``GpioRead`` (#19814)
* Add command ``GpioRead``

* change output
2023-10-21 15:56:40 +02:00
Theo Arends 5cee525d02 Add Active Power Total
Add Active Power Total if multiple phases AND both positive and negative values (#19141)
2023-10-13 13:56:04 +02:00
chefpro 32cbd330aa
Add Rescan and RetryRead to onewire scan for bulletproove onewire (#19700)
Co-authored-by: Peter Rustler <peter@rustlerit.de>
2023-10-13 11:29:19 +02:00
Paul Blacknell f41e525f5a
fix: account for MAX17043 alert status on start (#19708) 2023-10-09 16:14:41 +02:00
s-hadinger 473a8ee999
Audio refactoring, filters and I2SConfig (#19662) 2023-10-03 22:39:02 +02:00
s-hadinger 00bd97fdc7
Matter virtual lights (#19511) 2023-09-13 22:49:46 +02:00
s-hadinger f7c4c16a9c
Support for HDMI CEC protocol (#19434) 2023-09-01 21:46:18 +02:00
s-hadinger 4ad3070558
Fix crash in IRHVAC (#19389) 2023-08-26 10:17:53 +02:00
Paul Blacknell df1a526f02
fix: properly detect device is offline after maximum misses reached (#19298) 2023-08-12 11:32:29 +02:00
Paul Blacknell c3fadde3e8
Improvements to thermostat debug output (#19279)
* add: update DEBUG_THERMOSTAT to only control the virtual switch

Also, debug output is still generated but end user can control this debug level 3

* add: debug output of main controller parameters when thermostat enabled

Also, add units for debug outputs added to make them more intelligible

* Update xdrv_39_thermostat.ino

* add: debug message when sensor is detected as not alive

fix: display thermostat number in debug messages

* add: log message prefix string for thermostat

* Update xdrv_39_thermostat.ino

fix: typos in comments
add: debug messages

* add: debug prefix for thermostat

* add: debug prefix added to output lines

* fix: comment typos and small grammatical changes for clarity

* add: debug prefix 'THE' added to debug output
2023-08-08 10:55:05 +02:00
Vincent de Groot bc41500d9c
MAX17043 sensor integration (#18788)
* Restart MAX17043 from the scratch

* revert change

* Changed battery capacity in charge (capacity is the Ah value of the battery, this degrades over time when battery ages)

* merge

* Changing xsns_109 to 110

* fix nr

* removed old xsns109

* Update I2CDEVICES.md

* clean-up usage of Interface
2023-07-22 13:33:47 +02:00
s-hadinger d72f3b9978
Command ``BrRestart`` to restart the Berry VM (experimental) (#19003)
* Command ``BrRestart`` to restart the Berry VM (experimental)

* Add web button for Berry Restart
2023-07-02 21:52:01 +02:00
Subhash Chandra 2f616eef2c
make IRHVAC send incremental changes. (#18310)
This change will allow mqtt messages simpler by allowing something like
`publish cmnd/ir-bridge/IRHVAC {"Power": "On"}`.
The simpler format is required for working with mqtt clients like
iotMQTTPanel or similar on android.

Limitations:
- Requires full message be sent at-least once. I work around this with
   a `system#boot` rule
- Gets messy with multiple devices. I have only one AC per room, and
  this doesn't doesn't interfere with other IR devices.

TODO:
- [ ] Change the build flag `INCREMENTAL_IRAC`to a `SetOption`
- [ ] Persist `irac_prev_state` across reboots.
- [ ] Support multiple devices.
2023-06-10 14:53:02 +02:00
Mateusz Bronk 6a7b2b0c6e
IR: Extended the A/C protocol with Command/iFeel/SensorTemp (#18612)
* IR: Added support for new A/C protocol fields

New fields introduced in IRremoteESP8266 v2.8.5:
1. Command (one of: [Control | Config | iFeel | Timer], default: Control) - allows to set IR command type (e.g. iFeel for no-beep ambient sensor report)
2. iFeel (boolean, default: false) - configures whether iFeel (ambient sensor temp. is used by the A/C unit)
3. SensorTemp - the ambient sensor temperature reading to send

Note:
 - Fan setting via int is now 6-value (breaking change -> 6 is the new max)

* IR A/C: Model now pretty-printed to JSON

Model string is the default (falls back to int if n/a)

* IR A/C: Added separate JSON resp. per command type

* No change for "kControlCommand" (default/legacy).
* SensorReport/Timer/Config commands only contain relevant JSON nodes

Additionally:
 Clock has time semantics (input: minutes, output: HH:MM), except for "config" mode,
 where state.clock is used as ConfigKey and state.sleep is used as ConfigValue.

---------

Co-authored-by: Mateusz Bronk <2566147+mbronk@users.noreply.github.com>
2023-05-09 21:35:56 +02:00
Szewcson 4fdd1ad94d
Ftlab gdk101 Gamma Radiation Sensor Module support (#18390)
* Support for GDK101.

* GDK101 driver rework

---------

Co-authored-by: PetrNovacek <39201428+r21m@users.noreply.github.com>
2023-04-14 15:29:00 +02:00
stefanbode 6d9beb5d79
autosetup of shutters for shelly devices (#18393)
* New autocallibration and setup for shelly devices

* setup command
2023-04-12 09:39:48 +02:00
Theo Arends 00c60450c6 Consolidate messages
- Consolidate messages
- Fix sen5x
2023-03-22 13:25:55 +01:00
Theo Arends 59677d7e4a Consolidate sensor parameters 2023-03-20 17:11:05 +01:00
Theo Arends 115105bf7c Consolidate energy messages 2023-03-18 18:26:43 +01:00
Theo Arends db3fdc5118 Add ESP32 support for eigth energy phases/channels
- ESP32 support for eigth energy phases/channels
- ESP32 command ``EnergyCols 1..8`` to change number of GUI columns
- ESP32 command ``EnergyDisplay 1..3`` to change GUI column presentation
- support for SEN5X gas and air quality sensor by Tyeth Gundry (#17736)
2023-01-29 16:09:13 +01:00
Theo Arends 7a97fa4a19 Fix BMP support on two busses
Fix BMP support on two busses (#17643)
2023-01-15 17:14:54 +01:00
stefanbode 2902c93b29
functionality upgrade (#17380)
* functionality update see below:

- added shutterxxx0 command to change all shutters in parallel. Similar to power0 command
- added flexible ShutterMotorstop time to control the time between one relay OFF and the next ON. Now not blocking anymore other operations
- fix recent bug "shuttermode x" not working anymore
- changed autoconfig behavior to avoid SHORT CIRCUIT on missing interlock setting or wrong shuttermode

* Adding motorstop time for shutters

* Adding motorstop command for shutters

* func update

- added shutterxxx0 command to change all shutters in parallel. Similar to power0 command
- added flexible ShutterMotorstop time to control the time between one relay OFF and the next ON. Now not blocking anymore other operations
- fix recent bug "shuttermode x" not working anymore
- changed autoconfig behavior to avoid SHORT CIRCUIT on missing interlock setting or wrong shuttermode

* typo fix

* regression fix on "shutterposition stopclose"

* fix mulithread timing issue
2022-12-14 11:25:41 +01:00
Stephan Hadinger 2f1b2ec5fd IPv6 support for Ethernet (ESP32) 2022-12-08 19:06:51 +01:00
Stephan Hadinger d3be3dfe8f IPv6 preview for ESP32, also working for ESP8266 2022-11-30 19:40:58 +01:00
Theo Arends 0674f9b0b6 Add command ``SSerialBuffer 64..256``
Add command ``SSerialBuffer 64..256`` to change software serial bridge receive buffer size from default (64) to max local buffer size (256) (#17120)
2022-11-18 13:00:59 +01:00
Theo Arends f044ccdeec Remove commands ArtNetStop and ArtNetStart 2022-11-16 16:26:12 +01:00
Theo Arends a0e7191d4e Add command ArtNet
- Fix ArtNetStop
2022-11-16 16:15:31 +01:00
Stephan Hadinger 0b18c60ba2 Zigbee ZbProbe for unknown devices and doc helper 2022-11-16 13:43:36 +01:00
Stephan Hadinger 2549203c13 Added WS2812 and Light ArtNet DMX control over UDP port 6454 2022-11-13 18:22:39 +01:00
Theo Arends 381bfbf5bd Redesign distance sensors VL53LXX, TOF10120, HRXL and DYP
Redesign distance sensors VL53LXX, TOF10120, HRXL and DYP to use cm instead of mm (#17021)
2022-11-08 16:59:46 +01:00
Theo Arends 64ed79debc Make distance floats with one decimal (#17021) 2022-11-08 16:16:15 +01:00
eeak 4e98cbb387 moved D_CMND_xx to i18n.h 2022-10-29 16:09:09 +03:00
Theo Arends 5cfbbd4302 Add command ``Sunrise 0..3`` to select sunrise dawn angle
- Bump version to v12.1.1.5
- Add command ``Sunrise 0..3`` to select sunrise dawn angle between Normal, Civil, Nautical or Astronomical (#16795)
2022-10-12 11:02:54 +02:00
Theo Arends 29a9197101
Merge pull request #16714 from Performance20/development
Add QMC5883L driver
2022-10-05 14:17:43 +02:00
Helge 31c94424a9 Json name adaption + test config 2022-10-04 17:39:06 +02:00
Helge 5998fe856a added code recommendations
and reduce functionality to the most necessary
2022-10-04 15:48:27 +02:00
Helge c15d974b44 add new driver to support qmc5883L 2022-10-02 21:41:51 +02:00
Stephan Hadinger b4aca5a3f3 Zigbee friendly names per endpoint 2022-10-02 20:54:49 +02:00
md5sum-as c5777fcb52 Add support alias for ds18x20 sensors 2022-09-25 14:45:35 +03:00
Stephan Hadinger dff9274cb6 Zigbee basic support for Green Power 2022-09-19 22:28:38 +02:00
Theo Arends c7e6aabf2c
Merge pull request #16341 from FunJp/support_for_sgp40
Add support for SGP40 sensor
2022-08-26 19:22:04 +02:00
Theo Arends 91875f20a5 Add balanced energy values
Add balanced energy values (#16346)
2022-08-26 14:35:52 +02:00
Jean-Pierre Deschamps 214f4bbdfd Add support for SGP40 sensor 2022-08-25 15:51:51 -04:00
Theo Arends 103808ce44 Add command ``StatusRetain``
Add command ``StatusRetain`` (#11109)
2022-08-19 14:24:55 +02:00
Stephan Hadinger ff07d0608b Zigbee device plugin mechanism with commands ``ZbLoad``, ``ZbUnload`` and ``ZbLoadDump`` 2022-08-18 19:23:11 +02:00
Stephan Hadinger f18091c53b Zigbee include "BatteryPercentage" in all messages 2022-08-06 14:27:58 +02:00
Adrian Scillato de84f6781f
Add new commands definitions (WifiScan, WifiTest) 2022-08-02 22:28:59 -07:00
Stephan Hadinger 9f29e7c40d Support for multiple `IRsend` GPIOs 2022-08-02 22:52:35 +02:00
Theo Arends cefe015c68 Bump version to v12.0.2.2
- Add commands to better control global temperature, humidity and pressure
- Command ``GlobalTemp2 1..250`` to select Global Temperature source indexed from teleperiod occurance data (#15834)
- Command ``GlobalHum2 1..250`` to select Global Humidity source indexed from teleperiod occurance data (#15834)
- Command ``GlobalPress2 1..250`` to select Global Pressure source indexed from teleperiod occurance data (#15834)
2022-06-22 23:45:25 +02:00
Theo Arends c988ba1645 Add user control over DNS timeout reducing blocking
Add command ``DnsTimeout 100..20000`` to change default DNS timeout from 1000 msec blocking if no DNS server found
2022-06-19 17:57:43 +02:00