Commit Graph

45 Commits

Author SHA1 Message Date
Barbudor d4e28c3025 add mi32topic + overridables 2022-04-16 19:43:08 +02:00
Barbudor db9b95bbe7 refactor adding units to sensor message 2022-04-16 17:13:26 +02:00
Barbudor f0a393908f implement mi32option6 2 2022-04-16 17:07:00 +02:00
Theo Arends eeca6c708f Fix unsupported use of %f 2022-02-14 15:42:33 +01:00
Theo Arends 5dabb623bf
Merge pull request #13517 from dcoder42/development
Added support for Mi Scale V1
2022-02-13 11:08:25 +01:00
Jason2866 5a70ca1562
NimBLE v1.36 (#14744) 2022-02-12 20:01:12 +01:00
Milenko Mitrovic d13381f130 Send MQTT message when weight/impedance is stabilized or direct bridge mode is enabled.
Fixed impedance measurement on V2 scale.
2022-01-30 00:25:22 +01:00
barbudor e3e692de38 support fahrenheit and plublish temp unit 2022-01-28 23:27:20 +01:00
Milenko Mitrovic a0ba50d38d Added Weight and Impedance support to Home Assistant auto discovery 2021-12-19 11:59:49 +01:00
Milenko Mitrovic ecb3a07d2f Changed json property names to better match the other properties 2021-12-19 11:58:41 +01:00
Milenko Mitrovic dc1fa0e50d Added feature.impedance for V2 to separate impedance and impedance_stabilized value from V1 and changed stabilized/has_impedance to weight_stabilized/impedance_stabilized 2021-12-18 20:43:17 +01:00
Milenko Mitrovic 2a53f3ba1d Use only stabilized weight packets when directBridgeMode is disabled 2021-12-16 00:44:49 +01:00
dcoder42 ba1156ad7f
Merge branch 'arendst:development' into development 2021-12-15 23:34:34 +01:00
Barbudor 261338729c make mi32option23 compliant with full topic 2021-12-07 22:01:57 +01:00
Theo Arends 4ba9fe775a
Merge pull request #13507 from Lenbok/pvvx-reed-switch-status
Reflect PVVX firmware reed switch status
2021-11-13 11:48:15 +01:00
Theo Arends 128f7723d1 Enable MQTT retain (sigh)
Enable MQTT retain (sigh) (#12494)
2021-11-04 17:01:05 +01:00
Milenko Mitrovic 7ec0c417b3 Added support for Mi Scale V1 2021-10-30 11:19:44 +02:00
Lenbok 628c00f090 Reflect PVVX firmware reed switch status
The first bit of the flag field reflects reed switch status so this
device can additionally be used to monitor the status of a door.
2021-10-29 19:43:10 +13:00
Theo Arends 69f4fa932e Remove logging causing heap degradation (#13251) 2021-10-04 17:57:03 +02:00
Jason2866 d665bf10c1
Merge pull request #13082 from btsimonh/mikeyslinkchange
change link displayed in TAS for MI BLE sensors which need a key to p…
2021-09-07 15:55:32 +02:00
Simon Hailes 605f1f2d4b change link displayed in TAS for MI BLE sensors which need a key to point to the new repo https://github.com/tasmota/ble_key_extractor/blob/gh-pages/index.html 2021-09-06 22:23:03 +01:00
Simon Hailes 0183376555 use type SemaphoreHandle_t where TasAutoMutex is used to silence new compiler warnings 2021-09-06 18:52:20 +01:00
Jason2866 68e9e3dbc7 NimBLE 1.3.1 2021-08-22 15:52:00 +02:00
Theo Arends e5e8ef4736 Refactor access TasnotaGlobal.mqtt_data 2021-08-15 17:08:31 +02:00
Theo Arends 30c77a28c8 Fix MQTT retain when MI32Option6 is enabled (#12494) 2021-06-29 15:45:48 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends 749093a697 Prep mqtt_data from char to String (prt.3) 2021-06-06 17:26:01 +02:00
Theo Arends aa64428c2f Prep mqtt_data from char to String (prt.1) 2021-06-06 16:08:01 +02:00
Theo Arends ebeb4ea7ff Remove AddLog_P in favour of AddLog
Remove AddLog_P in favour of AddLog switching log from stack to heap allowing longer log entries (up to approximate log buffer size)
2021-06-05 11:47:09 +02:00
Theo Arends cea58d66c8 Prep virtual mqtt_data prt3 2021-05-24 16:52:59 +02:00
Theo Arends 77760dc2cc Prep virtual mqtt_data prt2 2021-05-23 16:50:17 +02:00
Conrad Sachweh 887def801c feat: added units of mi flora sensors like shown in the ui to mqtt autodiscovery 2021-05-03 08:29:52 +02:00
Theo Arends 2f5c20a42f Add more rule triggers 2021-04-07 15:07:05 +02:00
Theo Arends 1829df6d56 Unify rules process call
Unify rules process call (#11572)
2021-04-04 12:04:36 +02:00
Simon Hailes 638a4c100e 1/ Extends MAC address storage to 7 bytes, last byte now type.
MAC may now be 112233445566 or 112233445566/n n=0..3 indicating type.
To CONNECT to a random address, you must specify the address type.
2/ Adds BLEDetails4 - details for aliased macs only.
3/ Adds more command explaination in the top.
2021-04-02 08:32:01 +01:00
Simon Hailes 3a3e77215b Align protocol interpretation with MI docs (16 bit payload type).
Add ref to MI docs.
Add light sense for DOOR.
Add HASS discovery for MOST sensor types.
2021-02-28 18:17:38 +00:00
Simon Hailes ec25cfb08c better bugfix for MI32Option6 bug 2021-02-19 13:46:35 +00:00
Simon Hailes cabfc4f699 Fix HASS discovery for MI sensors - workaround is to use 'mi32option6 1' 2021-02-19 13:35:39 +00:00
Simon Hailes e7ef60aa3d better responses for Mi32Optionx n 2021-02-17 10:52:02 +00:00
Simon Hailes 10ee56b9da change MQTT display of TRIGGERED sensors. 2021-02-17 10:47:34 +00:00
Simon Hailes 34216db1b4 MI sensors - updates to how it deciodes what to display, so that 'unknown' MI devices can display correct data. re-add 'pairing' button. 2021-02-17 09:27:41 +00:00
Robert Klauco be537285f5
Added Xiaomi Miija door/window bluetooth sensor
Sensor displays Button value.
Needs atc unlocking first.
2021-02-14 22:40:27 +01:00
Simon Hailes 0f2b018ae4 BLE_ESP32 (xdrv_79): Start scan as soon as we are connected to a device - saves missing a few adverts.
iBeacon (xdrv_52): Clean up BLE_ESP32 based driver; add commands and advert timing.  Remove HM10 code - it's in the other one.....
2021-02-04 23:15:58 +00:00
Theo Arends 13713dccc1 Prep ESP32S2 2021-02-02 17:55:45 +01:00
Simon Hailes 60094eb0ee rename + soime explaination 2021-01-27 10:16:30 +00:00