Commit Graph
1136 Commits
Author SHA1 Message Date
Florian a64acab7c8 [BT] Regular BLE system parameter pub (#1422)
Publish BT config parameter at start so as to update the switch statuses in the controller
Also publish regularly in case of controller restart
Also move btqsum, btqsnd and btqavg to BTtoMQTT topic instead of SYStoMQTT as they are more relevant here
2023-01-26 08:18:44 -06:00
Northern Man 150603555c Update to ZdisplaySSD1306 to reduce overall resource usage, and enable message queuing (#1417) 2023-01-26 08:17:53 -06:00
Merijn 6e3e8c3330 [RS232] add JSON parsing and hardware serial support to RS232 gateway (#1409)
* add JSON parse option to RS232 gateway

* add hardware UART support to RS232 gateway

* changed default RS232toMQTTmode to raw (instead of JSON)

* removed reference to Arduino Mega in RS232 gateway config

* update RS232 gateway doc
2023-01-25 16:43:53 -06:00
Florian c1afc02ffe [CI] Point development to decoder development (#1421)
So as to have nightly builds based on the decoder development branch
2023-01-25 13:58:01 -06:00
Florian 660271a8ee [CI] Update actions versions (#1420) 2023-01-25 11:53:09 -06:00
Northern Man dcb4d5551e Add device_class to MQTT Discovery for rtl_433_ESP (#1419)
* Add device_class to rtl_433_ESP discovery
2023-01-25 09:58:18 -06:00
Florian 9bdfeca2f7 [DOCS] Add Theengs Plug links (#1416)
* [DOCS] Add Theengs Plug links
2023-01-23 13:45:15 -06:00
Florian bacc2250ba [CI] Run development portal building every night (#1415)
Added to manual dispatch
2023-01-23 11:40:55 -06:00
Die Peter Pan 9687f605c8 Added board ESP32 DOIT DevKit V1 with SX1278 module Ai-Thinker Ra01 (#1411)
* Added board ESP32 DOIT DevKit V1 with SX1278 module Ai-Thinker Ra01

Gateway using RTL_433_ESP library, need SX1278
ESP32 DOIT DevKit V1 & external Ai Thinker Ra01 Loraboard SX1278 on VPSI and (DIO0=15, DIO1=4, DIO2=16 and RST=17)
2023-01-23 11:40:27 -06:00
Northern Man 44a4e963f2 Update platformio.ini (#1413) 2023-01-23 10:32:03 -06:00
Florian f9d1d0ad6a [CI] Change environments ini name (#1414)
Remove unecessary macros,
modify datatest environment to be continuous
change scan duration to 3s for continuous scan environments
2023-01-23 10:31:21 -06:00
Florian a3603c6a78 [BLE] Simplify the publication of advertisement data (#1408)
With only one control that enables the publication of all the advertisement data, default: false
Note that if the sensor is not recognized, we will no longer publish its advertisement data unless the control is true. This is for the sake of traffic reduction.
2023-01-20 14:30:11 -06:00
Florian 27b568e4f9 [DOCS] Update vuepress (#1407) 2023-01-20 09:43:53 -06:00
Florian a43f0605ed [CI] Enable sub workflow call (#1406)
Remove duplicates of actions for documentation
2023-01-20 09:42:55 -06:00
Florian 5297dff7bb [DOCS] - Generate board documentation automaticaly from platformio.ini (#1405)
* [DOCS] - Generate board documentation automaticaly from platformio.ini

To reduce maintenance effort

* [CI] Differentiate boards from platformio.ini

So that only one line can be commented to use customs environments
2023-01-20 09:04:18 -06:00
Florian b4003d4ea1 Fix actuator manual control with button press and overheat protection (#1403)
Manual control with a button press triggered the relay but 2 times (when pressing and releasing), fixing this.

Check that we have two consecutive readings of temperature above the threshold to trigger the actuator to OFF
And remove it by default to the shelly, as I see unjustified jumps of temperature above 80C.
2023-01-18 18:10:54 -06:00
Florian 76724240f4 Add a check on device id before concatenating it to the device name (#1398)
to avoid concatenating an unknown array
2023-01-16 10:17:59 -06:00
Florian cc81b0ba44 [DOCS] Add warning for Shelly Plus 1 (#1392)
This board firmware is for testing only, not for production use
2023-01-12 18:11:26 -06:00
Florian 76b5e9269f Fix internal temperature reading on ESP32 (#1391)
The previous macro used SENS_SAR_MEAS_WAIT2_REG to identify if we have the reading capability was not working, so replacing it by a fresh one NO_INT_TEMP_READING, defined as a negation due to the fact that most of the ESP32 supports internal temperature reading.
2023-01-12 18:05:40 -06:00
Florian ad97e9a677 [DOCS] Small fixes (#1388)
Remove HM10 mention
2023-01-12 16:24:56 -06:00
Florian c1ea227501 Bump decoder to v1.0.0 (#1387)
* Bump decoder to v1.0.0

* Fix tempo disc model
2023-01-12 10:49:07 -06:00
Florian 4678783db5 Enable connection with encryption without certificate validation (#1386)
* Enable connection with encryption without certificate validation
* Add the cert validation for AWS env
2023-01-12 10:35:42 -06:00
Northern Man 9d6f7a0764 ssd1306 display of module messages (#1383)
* ssd1306 display of module messages

Supported Modules Include
- rtl_433
- bme280

* Switch to use convertTemp_CtoF
2023-01-11 20:31:12 -06:00
Dattel 5fcf02af5a Small fix on BME280 Config & CC1101-TXPower Throttle (#1382)
* https://github.com/1technophile/OpenMQTTGateway/issues/1380
CC1101 TXPower selection

* Creates the possability the define SDA/SCL Pins correct through a compiler switch from the platformio.ini
Sample:
  '-DBME280_PIN_SDA=0'
  '-DBME280_PIN_SCL=2'
2023-01-10 20:13:06 +01:00
Florian c1cedcf333 Add ESP32 internal temperature measurement and automatic Actuator switch Off (#1384)
* Add automatic stop of relay following ESP32 temperature

To avoid overheating when too much current goes through the device.

Add internal temperature reporting to SYStoMQTT

This function is not available with ESP32 S3 and C3

* Temp update and error log

Update of the temperature to get closer to the datasheet of the ESP32 -40 +85C
and add the module name to the error log
2023-01-10 11:32:56 -06:00
Florian 31ffdf1e2b Add SHELLY PLUS 1 board with support of relay, switch, BT gateway (#1349)
So that you know, the overtemperature protection is not implemented in the firmware.
2023-01-10 07:18:59 -06:00
DigiH 8a767cf4b8 Typo fixes (#1381) 2023-01-08 07:43:15 -06:00
FlorianandNorthernMan54 16815f51da Add RTL_433 discovery with Home Assistant convention inspired from rtl_433_mqtt_hass.py (#1379)
This also changes the topic structure when using the macro valueAsATopic=true, it adds as sub-topics the `type, subtype, and channel` when they exist.
The id is the last subtopic to facilitate filtering, as it may change when replacing the batteries.

Co-authored-by: NorthernMan54 <19808920+NorthernMan54@users.noreply.github.com>
2023-01-07 20:34:43 -06:00
Florian ba70d364b1 [CI and DOC] Add LilyGO RTL 433 (#1373)
board to documentation and web upload script
2022-12-26 13:56:24 -06:00
Northern Man 2e0d1708c3 Update to rtl_433_ESP 0.1.5 and support for LILYGO® LoRa32 V2.1_1.6.1 433 Mhz (#1371)
* Update to rtl_433_ESP 0.1.5

Includes support for LILYGO® LoRa32 V2.1_1.6.1 433 Mhz

* Fix lint issue

* Fix build and lint issues

* Add lilygo-rtl_433 to build.yml
2022-12-26 13:48:08 -06:00
Florian 85a4fd6e15 Remove auto discovery switch (#1365)
I don't think there is usage for such a switch into HA, if you see it, auto discovery was already activated and all the entities created, so you will have to go to the mqtt client to remove the retained messages.
If you don't want auto discovery as an HA user you would have to go to the mqtt client to send the discovery message deactivation.
So either way as a HA user you have to go to a client.
And as people not wanting to use auto discovery with HA are the people that are not using HA this switch as a little value.
2022-12-19 08:51:36 -06:00
Florian 25d921580d [HA discovery] Save the BLE settings and change switch to optimistic false (#1364)
The current way of saving settings is through the retain flag of the MQTT commands, unfortunately if several commands are issues they may overwrite each other. So as to prevent it, we now leverage the memory saving introduced earlier to store the BLE settings.
Also leverage the config status publication to show the state through the button position (optimistic false)
2022-12-19 08:44:14 -06:00
Charles 5d3ea0d3ec Added tinypico RGB LED (#1370)
* Added tinypico RGB LED

* added fastled lib
2022-12-17 11:07:51 -06:00
Charles edb8d1a591 Added Thingpulse ESP32 gateways (#1369)
* added thingspulse gateways

* added thingspulse gateways, RGB  LED for tinypico

* Added some LED and Birghtness options

* Requested Changes

* fixed format
2022-12-16 21:38:13 -06:00
Florian 827724f079 [DOCS] Fix bootloader and boot app bin link (#1367) 2022-12-15 19:59:18 -06:00
Florian d73696e68d [CI] Fix bootloader and partition links (#1366)
Currently not available in the master so point to the last version
2022-12-15 15:29:04 -06:00
Florian 74265977c9 [DOCS] Update package lock (#1361) 2022-12-14 17:10:00 -06:00
Florian 8dde777fb7 [BLE] Add dynamic active scan runtime setting (#1360)
This commit add the capability to set passive scanning during runtime, versus buildtime before, so as to improve energy consumption of sensors when they don't require active scanning
2022-12-14 17:03:34 -06:00
DigiH 807c668489 Small typo fixes (#1359)
A few small typo fixes
2022-12-12 22:58:51 +01:00
Florian 2490ba75ab Add the possibility to set LOG_LEVEL_LCD and LOG_TO_LCD for M5 boards from PIO (#1358) 2022-12-12 15:41:48 -06:00
Florian 31403d8623 HA auto discovery - Add numbers for interval and scans netween connects (#1357)
To be able to set those values directly through the HA interface
2022-12-12 15:41:30 -06:00
Florian 1aabfb8cb8 HA auto discovery - Transform switch discovery to button when relevant (#1356)
BLE force scan, restart and erase of the gateway can be triggered with a button instead of a switch
2022-12-12 14:35:14 -06:00
Florian a85a98c43f [DOCS] Update firmware_build dev path (#1355)
So as to link properly to the manifest

Make the website name more explicit

so as to avoid confusion with the production one
2022-12-09 13:40:23 -06:00
Florian f5ef267d02 [DOCS] Move base outside of ThemeConfig (#1354) 2022-12-09 09:15:20 -06:00
Florian 0e76170a55 [DOCS] Add base directory (#1353) 2022-12-08 15:31:50 -06:00
Florian 448b1445d3 [CI] Update sha retrieval (#1352) 2022-12-08 13:20:50 -06:00
Florian 818a091e14 Add capability to build docs to a dev folder (#1351)
To enable the web upload from dev versions
2022-12-08 12:59:13 -06:00
FlorianandFlorian 47108d8b58 Remove unnecessary macro (#1348)
This macro is not necessary to add per environment as it is present into com-esp as a global macro for all ESP, also modifying nodemcuv2-mqtt-fw-test env to test self signed only. Removing env:esp32dev-mqtt-fw-test as self signed cert are already tested into env:esp32dev-ble-aws.

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2022-12-07 11:25:23 -06:00
FlorianandFlorian 4e6993824e [CI] Upload binaries and lib as Artifacts on PR/branches (#1347)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2022-12-07 11:06:55 -06:00
dependabot[bot] 73406c7eb6 Bump decode-uri-component from 0.2.0 to 0.2.2 (#1345)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 08:38:28 -06:00