Commit Graph
1007 Commits
Author SHA1 Message Date
DigiH d62083a788 Lora band define (#1231) 2022-06-29 12:14:18 -05:00
Florian 6efc90b19f Fix default env undecoded topic and doc changes (#1227)
* Fix default env undecoded topic

as BTtoMQTT is not automatically added

* Fix links and doc
2022-06-20 19:04:11 -05:00
Bad 77b022505c iBeacon: Flag to use UUID in topic or presence (and fixes) (#1226)
* Add useBeaconUuidForPresence flag (disabled by default)

* Change MQTTDecodeTopic to include only the sufixe

* Rename mac_address to topic and remove unnecessary variable mactopic

* Add useBeaconUuidForTopic flag (disabled by default)

* Fix jsonPublishing #ifdef -> #if

* Revert commit 02e2d03
2022-06-19 08:22:15 -05:00
h2zero 25b8123ff6 Add option to offload decoding to an external gateway over MQTT. (#1216)
* Add option to offload decoding to an external gateway over MQTT.

* Change decode topic and add to config_bt
2022-06-12 17:44:51 -05:00
steadramonandPaul 5b697e0306 Add Pilight limitProtocols support (#1223)
* Add ability to limit protocols

* Make serial feedback notice

Co-authored-by: Paul <steadramon@local>
2022-06-05 11:47:56 -05:00
dependabot[bot] 23351226ea Bump eventsource from 1.1.0 to 1.1.1 (#1222)
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: eventsource
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-05 10:04:24 -05:00
Florian 05a277cd2e Bump theengs decoder to v0.4.0 (#1218) 2022-05-24 16:31:53 -05:00
Riceball LEE 8bced299dd feat: upgrade to IRremoteESP8266@2.8.2 (#1214) 2022-05-13 14:56:02 -05:00
Florian bfed83bbc9 Update certificate in the examples for OTA (#1213)
update certificate to the root authority
2022-05-13 14:55:24 -05:00
Florian bf99823861 [DOCS] Add switchbot control 2022-05-04 06:15:17 -05:00
Florian f4700be523 Fix discovery entity id for DT24 and LYWSD03MMC (#1210) 2022-05-04 06:08:20 -05:00
Florian 1916f62895 Auto discovery: Recover MiFlora discovery and remove model if from entity id (#1209)
* Recovery MiFlora discovery

after https://github.com/theengs/decoder/pull/107

* BREAKING remove model_id from entity id
2022-05-03 19:45:28 -05:00
DigiH f8918c73ff NimBLE-Arduino version update (#1208)
NimBLE-Arduino version update
2022-05-03 16:08:46 -05:00
h2zero 8d6acbee12 Add Switchbot support and discovery. (#995)
* Use a task to process immediate BLE actions to prevent MQTT disconnection if the action takes too long to complete.

* Add state_on and state_off parameters to createDiscovery
2022-04-30 09:16:06 -05:00
dependabot[bot] a15a1c0851 Bump async from 2.6.3 to 2.6.4 (#1207)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-30 09:15:10 -05:00
Joseph Perry 4b872bebbe Add ability to specify pulse length in ZactuatorONOFF (#1200)
* Add ability to specify pulse length in ZactuatorONOFF

Add an additional parameter to the MQTT message to control the actuatorONOFF pulse length e.g. `mosquitto_pub -t home/OpenMQTTGateway_MEGA/commands/MQTTtoONOFF -m '{"gpio":15,"cmd":"high_pulse","pulse_length":25}'`

* Simplify initialization of pulselength
2022-04-20 02:55:14 -05:00
Northern Man 8d902962e5 Update ZgatewayPilight.ino (#1202) 2022-04-17 05:52:18 -05:00
Florian 141e33e7c6 Bump theengs decoder to 0.3.0 (#1201) 2022-04-16 18:01:16 -05:00
Florian c7034356a5 [DOC] Readme link fix 2022-04-16 16:41:34 -05:00
Florian 3fb34af2ce [DOC] Configure the favicon properly (#1195) 2022-04-04 17:36:03 -05:00
CY e43f7b3c15 Add Wifi BSSID as SYSdata (#1194)
* Add Wifi BSSID as SYSdata

Publish BSSID as a SYS sensor.
2022-03-30 23:56:34 -05:00
dependabot[bot] 4fc6273fd3 Bump minimist from 1.2.5 to 1.2.6 (#1193)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 16:18:01 -05:00
Florian a243b12397 Add links to Theengs gateway (#1190) 2022-03-20 10:14:39 -05:00
Florian fb56162c52 Remove servicedatauuid only when model is present (#1186)
keep it if we haven't decoded the message
2022-03-15 17:44:39 -05:00
Florian 3d2b15bd6c Remove auto discovery for Ibeacon, GAEN and MS CDP (#1183)
to avoid creating hundred of entities and devices in the controller due to their changing MAC addresses
2022-03-13 09:38:38 -05:00
kroman666 a1846faee9 Update platformio.ini (#1182)
typo in [env:esp32-wt32-eth01-ble-eth] #1181
2022-03-09 18:12:08 -06:00
Florian 08d8d108d2 Bump Theengs Decoder version (#1178)
New IBT-2X version
XMTZX04HM extension
XMTZX05HM extension
Add temperature decoding to JQJCY01M
Fix IBT 6XS
Replace lbs by lb
Add SOLIS 6 Probes BBQ
Add temp to JQJCY01M
Update XMTZC05HM to include XMTZC02HM
2022-03-06 16:26:45 -06:00
Amy Nagle 0e45f7cca0 Fix discovery of connectable devices (#1173) 2022-03-04 16:22:35 -06:00
dependabot[bot] 9059547d12 Bump url-parse from 1.5.7 to 1.5.10 (#1174)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-26 14:20:52 -06:00
dependabot[bot] d7f2246d49 Bump prismjs from 1.25.0 to 1.27.0 (#1172)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-26 14:18:25 -06:00
Florian e6c8b6763c Fix unit discovery for kg and kpa (#1171)
And improve the code
2022-02-25 05:51:59 -06:00
dependabot[bot] 8a75e85b60 Bump url-parse from 1.5.3 to 1.5.7 (#1169)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-23 19:02:15 -06:00
dependabot[bot] 7d49ce08d9 Bump follow-redirects from 1.14.7 to 1.14.8 (#1167)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 16:14:22 -06:00
aaddame f7d8714984 Update ZgatewayRF2.ino (#1164)
kaku devices don't have an OFF  payload
2022-02-14 16:14:10 -06:00
Amy Nagle 257b39da81 Add support for XMWSDJ04MMC (#1162) 2022-02-09 16:16:41 -06:00
Florian 5b42e024e2 HASS auto discovery - Separate unit filtering from class (#1159) 2022-02-07 18:42:37 -06:00
Florian 5eea3d45cc Bump theengs decoder version (#1158)
#1156
2022-02-05 12:41:14 -06:00
Florian 66c12d6e6b Add esp32-olimex-poe (#1157)
Add esp32-olimex-poe-iso
2022-02-05 11:02:59 -06:00
Amy Nagle 6dce04d65a Add TinyPICO board (#1154) 2022-02-04 14:46:00 -06:00
Amy Nagle 457a8f48a3 Fix OpenHAB discovery (#1153)
* Fix OpenHAB discovery

* Add test for OpenHAB discovery
2022-02-03 16:23:32 -06:00
h2zeroandFlorian 0a8458f156 Update decoder version. (#1151)
* Update decoder version.

* Add new devices and sort list

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2022-01-27 15:48:29 -06:00
Florian ef41546c94 ESP8266: Fix partial erase of connection settings (#1150)
* Fix partial erase of connection settings

#1149

* Update WM version and add disconnect
2022-01-27 15:47:55 -06:00
Florian a9342f743f Change unique id structure for HASS discovery (#1147)
Now:
"uniq_id":"882D777014C-pres"
before it was:
"uniq_id":"882D7770014C-CLEARGRASSTRHKPA-pres"
This will impact BLE and gateways entities
2022-01-27 15:47:29 -06:00
Northern Man 5c8fd626ec Version update for rtl_433_ESP (#1152)
Just some minor code cleanup

* Rework OOK Receiver sample and rename directory to OOK_Receiver
* Cleaned up diagnostic logging
* Added logging of device decoder return codes ( DEMOD_DEBUG & RTL_DEBUG=4 )
* Fixed some compiler warnings
2022-01-27 05:43:57 -06:00
Florian 5a3d912682 Differentiate WM version (#1148)
to avoid a bug that show only the SSID and the password field on the ESP8266 uC
2022-01-25 20:18:49 -06:00
h2zero f8b4b3ca21 Add "mac_type" parameter to BLE connection commands. (#1146)
This allows for connecting to devices that do not use the MAC address type 0.
This also adds the logging of the "mac_type" so it is visible to users trying to connect to broadcasting devices.

Additionally this will allow for future connectable devices using a MAC address type other than 0 to be automatically connected to
when support is added for them, similar to LYWSD03MMC etc..
2022-01-25 06:19:50 -06:00
h2zero e838d3cee0 Remove std::string as the model id and use decoder enum. (#1143)
* Remove std::string as the model id and use decoder enum.

* Update decoder version

* Check model id is in decoder range when launching discovery.

* Add BLEconnect enum MIN/MAX
2022-01-24 20:09:15 -06:00
h2zero 91ab8dcdf1 Fix some incorrect timeouts when taking semaphores. (#1145) 2022-01-24 05:50:14 -06:00
h2zero 5dac1a7035 Add immediate parameter to BLE connection commands. (#1137)
* Add immediate parameter to BLE connection commands.

When sending a command to read/write a characteristic on a BLE server this adds a new parameter to cause the action to be
performed immediately. This will stop the scan in progress to perform the actions queued.

Example use:
```
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{
  "ble_write_address":"AA:BB:CC:DD:EE:FF",
  "ble_write_service":"cba20d00-224d-11e6-9fb8-0002a5d5c51b",
  "ble_write_char":"cba20002-224d-11e6-9fb8-0002a5d5c51b",
  "ble_write_value":"TEST",
  "value_type":"STRING",
  "ttl":4,
  "immediate":true }'
```

Stop BLE processing when immeditate command sent.

* Use a shorter connection timeout.

* Update docs.

* Remove MQTT spam for connection retrys

* Prevent crashing when the normal connection process occurs at the same time as an immediate action.

* Use a semaphore to protect BLE device vector.
2022-01-23 19:47:17 -06:00
Florian 8d793a8b50 Add board configuration descrption (#1142) 2022-01-22 09:46:19 -06:00