Commit Graph

132 Commits

Author SHA1 Message Date
Florian
bce9bf3e00 Minor readme update (#1025)
* readme and BLE update
2021-07-16 20:09:47 -05:00
Florian
ebe17c8899 Setmqtt setting optional (#1021)
* Define MQTTsetMQTT for configuring MQTT over MQTT

* Enable MQTTsetMQTT per default on all ESP except RFBridge

Co-authored-by: Dave <d.kneisz@gmail.com>
2021-07-14 17:25:09 -05:00
Florian
7564cf082b Docs improvements/corrections (#1018) 2021-07-13 17:27:04 -05:00
h2zero
e244decbed Set BLE_FILTER_CONNECTABLE default to 0. (#1017) 2021-07-11 20:20:48 -05:00
h2zero
3f13984f44 Bugfix: switching brokers with self signed certs. (#1007)
* Fixes BLE scanning being disabled after switching server fails.

* Fixes crash caused by BLE scan results arriving while switching servers.

* Adds documentation to use the server switching command.
2021-07-05 19:40:40 -05:00
h2zero
76f880dc15 Add support for Mokosmart beacons. (#1003) 2021-06-30 22:16:29 -05:00
Gabriel M. Schuyler
8cbd1984af Fix a couple typos (#999) 2021-06-27 14:26:32 -05:00
Florian
90f42990df Add miflora battery (#992) 2021-06-24 20:11:50 -05:00
h2zero
7cfbd3d050 Ble read/write characteristics over MQTT. (#988)
* EXPERIMENTAL: Ble read/write characteristics over MQTT.

Uses #979

This allows reading and writing BLE characteristics from an MQTT message.

Example format:
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", "ttl":4 }'
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{"ble_read_address":"30:AE:A4:7C:3C:A6", "ble_read_service":"cba20d00-224d-11e6-9fb8-0002a5d5c51b", "ble_read_char":"cba20002-224d-11e6-9fb8-0002a5d5c51b", "ttl": 2 }'
The ttl parameter is the number of calls to connect (defaults to 1), which occur after the BLE scan completes.

A response is provided over MQTT in the format:
write : {"id":"30:AE:A4:7C:3C:A6","service":"cba20d00-224d-11e6-9fb8-0002a5d5c51b","characteristic":"cba20002-224d-11e6-9fb8-0002a5d5c51b","write":"TEST","success":true}
read : {"id":"30:AE:A4:7C:3C:A6","service":"cba20d00-224d-11e6-9fb8-0002a5d5c51b","characteristic":"cba20002-224d-11e6-9fb8-0002a5d5c51b","read":"TEST","success":true}

* Add generic BLE connect class and read data as hex.

* Add value_type parameter and document usage

* Add note to docs
2021-06-21 20:27:06 -05:00
Northern Man
bdaf097c04 Resolve incorrect wiring instructions (#984)
As identified in this forum post (
https://community.openmqttgateway.com/t/rtl-433-esp32-bme280-but-what-ra
dio/1563) , the default builds have incorrect connections for the
RTL_433 module.  This fixes the default build configuration and
crispness the documentation.

Co-authored-by: Northern Man <sgracey@Heisenberg.local>
2021-06-11 20:33:10 -04:00
Florian
2737a4cbf7 Add Eddystone TLM BLE protocol (#972)
supporting battery, temperature, count and time from start in s
2021-06-08 17:53:58 -05:00
Florian
db2d2712a4 Add DCO (#978)
Add developer certificate of origin
2021-06-08 16:51:06 -05:00
Northern Man
6bb65ca12a DT24 bluetooth Voltmeter (#975)
* DT24 bluetooth Voltmeter

* Initial checkin of Home Assistant Discovery

Co-authored-by: Northern Man <sgracey@Heisenberg.local>
2021-06-08 16:50:39 -05:00
h2zero
b8b99c6d5d Add Wifi and mqtt broker configuration over MQTT commands (#971)
- Adds MQTT command to change the WiFi access point.
- Adds MQTT command to change the MQTT broker and update username and password.

This will test the connection changes first and, if unsuccessful, fallback to the current connection.
If successful the new configuration will be saved in non-volatile memory.
2021-06-05 16:52:30 -05:00
h2zero
31efcb32ee Remove Secure Connection macro and add the config to wifimanager. (#961)
This adds the ability to specify if the MQTT broker connection is secure via a checkbox on the config page of WiFiManager.
Also added to the WiFiManager config page is a text box to enter the brokers TLS certificate.

In the case of using manual configuration a new macro is created MQTT_SECURE_DEFAULT.
When defined as true a secure connection will be requested and the certificate defined in user_config.h will be used.
2021-06-02 21:10:38 -06:00
Leon Kiefer
18c8524ae0 added somfy repeat option (#957)
update somfy dependency to fix bug with multiple somfy remotes
2021-05-24 15:09:18 -05:00
h2zero
295d39bc27 Trigger firmware update via MQTT (ESP Only). (#953)
If enabled in user_config.h this will trigger the OMG to update it's firmware from the link
provided in the MQTT message.

Example message:
{\"version\":\"test\",\"password\":\"OMGPASSWORD\",\"url\":\"https://github.com/1technophile/OpenMQTTGateway/releases/download/v0.9.6/esp32dev-ble-cont-firmware.bin\"}

If the firmware version in the message is not the same as the current OMG version the device will self update using the link in the url of the message.
2021-05-23 16:38:52 -05:00
Florian
8ef3a61e75 Add INKBIRD IBBQ IBT-4XS (#955)
* Add INKBIRD IBBQ IBT-4XS

BBQ temperature sensor with 4 probes
2021-05-23 14:45:57 -05:00
Northern Man
f69906861d Active Receiver Switching (#936)
* PR #934

* Active Receiver Switching

Switching of the active receiver module is available between the RF,
RF2, RTL_433 and Pilight Gateway modules, allowing for changing of
signal decoders without redploying the openMQTTGateway package.
Sending a JSON message to the command topic of the desired receiver
will change the active receiver module.

Other minor adjustments/improvements

1 - Improved startup serial logging that includes
- OpenMQTTGateway Version
- OpenMQTTGateway Modules

2 - Trace logging of full Gateway module command topic
 - Enabled in RF, RF2, PiLight and RTL_433

3 - Updated RTL_433 Documentation to only include enabled ASK/OOK
device decoders

4 - Trace logging of MQTT Callback topic

* Regression testing

* Adding valueAsASubject support to rtl_433_ESP
- model and id keys are appended to message topic

* Increased memory size for receiver switching in blocking build all

Co-authored-by: Northern Man <sgracey@Heisenberg.local>
2021-05-10 19:36:25 -05:00
Florian
9fb3d90da9 Add BLE WS02 SensorBlue beacon (#932)
https://github.com/h2zero/NimBLE-Arduino/issues/215
2021-05-08 17:59:32 -05:00
melyux
1de93d3f1d Enable the BME280 options to be settable using PlatformIO build flags, add and organize documentation (#942)
* Allow BME280 options to be build flaggable

* Update and clarify documentation for configurations and builds
2021-05-07 05:50:55 -05:00
Brian Lough
e7b964ef5b Updating link to bootloader address (#929)
Fix for #928
2021-04-18 07:35:44 -05:00
DigiH
ac41f95cfc Typo fix (#924)
Type in sending status command to MQTTtoRTL_433. "-1" should be "1" as it produces an error otherwise.
2021-04-14 20:02:48 -05:00
Florian
e1aef48296 [Breaking] Deactivate Home Assistant presence per default (#915)
And enable to activate it by MQTT
2021-04-04 19:34:36 -05:00
Florian
adc5f157cd Add hass auto discovery gif and img (#916)
and update M5Stack docs
2021-04-04 14:53:00 -05:00
Florian
45bc08832a PVVX LYWSD03MMC Add doc information (#912) 2021-03-30 19:20:16 -05:00
Florian
cd55f0dfd5 Add CGPR1 Qingping PIR and luminance sensor (#905) 2021-03-25 19:40:35 -05:00
Florian
b22870c620 [DOC] Replace transparent background by white
better display with github dark mode
2021-03-19 05:49:05 -05:00
Florian
ad72211d71 Add CGH1 Qingping Cleargrass window and door sensor (#899) 2021-03-16 19:24:35 -05:00
Florian
8afb1c5223 Enable deactivation of BLE connect (#895)
Useful if you want to scan continuously for BLE device, in this case you should deactivate the BLE connect to avoid concurrency between scan and connect
2021-03-14 12:53:26 -05:00
Northern Man
57bc108da4 Initial pull request for rtl_433 support (#886)
* Initial pull request for rtl_433 support

Co-authored-by: NorthernMan54 <sgracey@Bart.local>
2021-03-11 12:43:05 -06:00
Florian
244dc903b0 Add CGDK2 BLE temperature and humidity BLE sensor (#884)
* Add CGDK2 BLE temperature and humidity BLE sensor

and remove batt from CGD1 (this sensor does not advertise battery value)
2021-03-04 19:26:50 -06:00
Florian
a6fb17595e [BREAKING] remove tem key (#883)
* [BREAKING] remove tem key

we rely now on tempc and tempf only
2021-03-03 18:38:37 -06:00
Stephen Littman
2693f291a8 added room presence yaml to docs (#869)
* added room presence yaml to docs

Found how to set this up in the issues, so I figured I'd add it to the docs because it works great for me
2021-02-13 12:16:12 -06:00
Stephen Littman
67823d22af Update readme for better understanding in English (#861)
Not sure if these changes affect other translations... But I made a few corrections for better understanding in english
2021-02-05 21:05:30 -06:00
Florian
557cf340db Improve low power mode (#859)
-add switch on HASS
-avoid issue when using ESPWifiManualSetup
-Correct issue on gateway discovery on first connect
-stop processing during discovery
2021-02-05 15:19:43 -06:00
Florian
2d377a1c3f Auto discovery deactivation at runtime by MQTT command (#856)
and switch automatic creation for it in HASS (by autodiscovery :-)
2021-01-31 13:41:22 -06:00
Florian
e8b4c63c6c Increase TimeLedON to 1s (#857)
#534
2021-01-30 16:29:09 -06:00
Florian
39568d8288 [DOC] Tip correction 2021-01-29 17:23:29 -06:00
Northern Man
25ea909c08 Support for changing CC1101 Receive and Transmit Frequency (#847)
* Support for changing CC1101 Receive and Transmit Frequency

* Docs

* Resolve feedback

* Update Somfy module to use Global receiveMhz

ELECHOUSE_cc1101.SpiStrobe(CC1101_SIDLE); // Idle receiver prior to
setting a new frequency
2021-01-22 05:53:39 -06:00
Florian
1c18e83c98 [DOCS] Document valueAsASubject option
#833
2021-01-02 15:55:16 -06:00
Florian
90a7646508 [DOCS] Add title to support 2021-01-02 15:42:59 -06:00
Leon Kiefer
a83f725bad Npm docs setup (#834)
* added vuepress to package json
* use vuepress from package json
2020-12-13 12:49:13 -06:00
Leon Kiefer
a7575b2c3a added ZactuatorSomfy (#816)
* added ZactuatorSomfy
* added Somfy RTS docs
2020-12-13 12:46:10 -06:00
Florian
4d03aa441b [DOCS] Add Home Assistant user creation note (#831)
#793
2020-12-11 16:18:33 -06:00
Florian
6ae09d8bb6 Add board M5Stickc Plus (#828) 2020-12-06 12:06:50 -06:00
Florian
8b34fbb904 [DOCS] - integration switch (#817)
Use json insteal of simplePublishing / receiving
2020-11-29 17:40:43 -06:00
melyux
fd2d25bf31 Add ability to specify repeats for raw Pilight strings (#803)
* Add ability to specify repeats for raw Pilight strings

* Updated RF Pilight doc to add raw transmission tut

Added information about transmitting raw messages using the MQTTtoPilight topic, including using the new repeats functionality. Fixed some scattered English mistakes.
2020-11-24 21:58:03 -05:00
tiagofreire-pt
a184355f9b Xiaomi Mi Scale V2 BLE (XMTZC05HM) configuration (#796)
Xiaomi Mi Scale V2 BLE (XMTZC05HM) yaml configuration for Home Assistant
2020-11-08 06:30:09 -06:00
Florian
9a66c9ef09 HASS gateway Discovery improvements (#792)
* MQTT discovery improvements

-remove gatewayBT
-remove device class formaldehyde (not existing in HASS)
-add SYStoMQTT new parameters
-attach connectivity parameter to the device
-add BT gateway infos and switches
-refactor modules storage and publication
2020-11-04 11:53:55 -06:00