Northern Man
c570eead82
Delete main.ino.cpp ( #1289 )
2022-10-18 12:33:33 -05:00
Northern Man
c45181ef7e
Heltec SSD1306 Display Support ( #1283 )
...
My environment
[env:heltec-display] ; Heltec ESP32 Board with SSD1306 display
platform = ${com.esp32_platform}
board = heltec_wifi_lora_32_V2
build_type = debug
monitor_filters = esp32_exception_decoder
board_build.partitions = min_spiffs.csv
extra_scripts = pre:scripts/omg_firmware_version.py
lib_deps =
${com-esp.lib_deps}
${libraries.wifimanager32}
${libraries.heltec}
; ${libraries.m5stickcp}
build_flags =
${com-esp.build_flags}
${test_env.build_flags}
; *** OpenMQTTGateway Config ***
'-UZmqttDiscovery' ; disables MQTT Discovery
'-DvalueAsATopic=true'
'-DLOG_LEVEL=LOG_LEVEL_TRACE'
; *** OpenMQTTGateway Modules ***
'-DZboardHELTEC="HELTEC"'
; *** Heltec Board Options ***
'-DDEBUG_OLEDDISPLAY(...)=Serial.printf( __VA_ARGS__ )'
'-DLOG_TO_LCD=true' ; Enable log to LCD
'-DLED_ERROR=2'
'-DONBOARD_LED=25' ; Onboard LED is GPIO 25 on the Heltec Board
monitor_port = /dev/cu.SLAB_USBtoUART
monitor_speed = 921600
upload_port = /dev/cu.SLAB_USBtoUART
upload_speed = 921600
1 - Set default LCD log level to WARNING
2 - Implemented a macro based displayPrint function that will be usable across different displays
- Added logo display when idle
- Fixed log-lcd mqtt function
- Enable OLED Display on Heltec Boards
2022-10-13 21:17:25 -05:00
Florian
b0fc25bfe0
[DOCS] Remove HM10 ( #1284 )
2022-10-11 19:43:15 -05:00
Florian
bf38bb52f6
Remove HM10 support ( #1282 )
...
Removing HM10 support as announced in the forum
2022-10-10 20:34:12 -05:00
Florian
bbaabcc20d
Fix missing lowpowermode attribute ( #1281 )
...
LowPowerMode is not used outside of the BT gateway, removing it from discoveyr fixes #1267
2022-10-10 18:30:46 -05:00
Florian
aea3ac2577
Bump decoder to v0.9.0 ( #1280 )
...
* Bump decoder to v0.9.0
* Add parameters update
2022-10-10 13:54:19 -05:00
spinpwr
0ff3e98d91
Adding unique device names to HA dicovery ( #1270 )
...
* Adding unique device names to HA dicovery
Multiple devices of the same model got the same name in Home Assistant,
making the device list less informative when there are many of e.g. the
same sensor.
To over come this changed the function publishing discovery messages to
add the second half of the device mac address to the device name so it
becomes unique.
Issue: #1269
2022-10-10 13:10:33 -05:00
DigiH
8c7c1146f8
adding-protocols BLE clarification ( #1279 )
2022-10-10 15:22:02 +02:00
Florian
cd91f6d66b
Revert DHT library version ( #1276 )
...
due to Failed to read from DHT sensor error
2022-10-05 17:05:09 -05:00
Sami Salonen
e9449f567b
Re-publish discovery topics on re-connect (via cfg, disabled by default) ( #1274 )
...
Resolves https://github.com/1technophile/OpenMQTTGateway/issues/1273
Signed-off-by: Sami Salonen <ssalonen@gmail.com >
Signed-off-by: Sami Salonen <ssalonen@gmail.com >
2022-09-26 15:49:02 -05:00
DigiH
765ec8415b
Additional units from decoders ( #1271 )
2022-09-22 17:55:36 +02:00
Stephen Littman
a98a225ca3
Update home assistant.md ( #1264 )
...
There was a breaking change for those using Bluetooth it used to be the topic home_presence now it's presence.
2022-09-11 10:21:59 -05:00
DigiH
5c07e7ef9d
CGDN1 classes & units ( #1268 )
2022-09-10 16:25:54 -05:00
Florian
bb88f7e795
Add unit for Amphiro/Oras shower head ( #1265 )
2022-09-10 18:53:47 +02:00
Florian
b323f25fda
Bump Theengs Decoder ( #1262 )
...
to 0.8.0
2022-09-03 18:52:41 -05:00
DigiH
b16fbcbef2
valueAsASubject to valueAsATopic inconsistency fix ( #1260 )
2022-09-03 18:51:52 -05:00
Bad
312ef858c1
Modify new BT config using MQTT ( #1259 )
...
* Move BTConfig_default to ZgatewayBT.ino as BTConfig_init()
* Remove unused function declaration & typo
* Move bleconnect outside of ifdef ESP32
* Add new parameters to json payload on MQTTtoBT/config
And move them to function BTConfig_fromJson()
new parameters: [presenceEnable, presenceTopic, presenceUseBeaconUuid, extDecoderEnable,
extDecoderTopic, filterConnectable, pubKnownServiceData,
pubUnknownServiceData, pubKnownManufData, pubUnknownManufData,
pubServiceDataUUID, pubBeaconUuidForTopic]
* Add ignoreWBlist as new configuration parameter
* Keep hasspresence keyword (do not use presenceEnable)
* Documentation
* Typos & Optimizations arround RemoveJsonPropertyIf
* Template for BT config update
* Ensure BTConfig.minRssi sign does not matter
* Report configuration change on topic /commands/BTtoMQTT/config
# Conflicts:
# main/ZgatewayBT.ino
* Add BT config bool commands (init, load, erase & save) to persist config parameters
* Documentation
* Fix pre-compilation issue
* Fix Code Format
* Use Preference only for ESP32
* Update Doc
2022-09-03 15:08:07 -05:00
Bad and Florian
9120d06932
Mutate relevant compilation variables into config ( #1256 )
...
* Move minRssi in config_BT.h
Move var definitions next to compilation var definitions
* Introduce UseExtDecoder when is def MQTTDecodeTopic
Replace #ifdef MQTTDecodeTopic by #if UseExtDecoder
* Rename AttemptBLECOnnect to AttemptBLEConnect
* Create a struct (BTConfig_s) for BT configuration data
Create a default config for BTConfig_s (BTConfig_default) based on defines
Create a global variable (BTConfig) to hold live BT configuration data and initialize it
Move bleConnect to BTConfig
* Move BLEscanBeforeConnect in BTConfig
* Move BLEinterval in BTConfig
* Move PublishOnlySensors in BTConfig
* Move hassPresence in BTConfig
* Move minRssi into BTConfig
* Introduce presenceTopic into BTConfig
* Move MQTTDecodeTopic as extDecoderTopic into BTConfig
* Mutate UseExtDecoder as runtime var BTConfig.extDecoderTopic
* Remove ServicedataMinLength (unused)
Always declare AttemptBLEConnect & BLE_FILTER_CONNECTABLE
* Mutate BLE_FILTER_CONNECTABLE as runtime parameter BTConfig.filterConnectable
* Mutate pubKnownBLEServiceData as runtime var in BTConfig
Mutate pubUnknownBLEServiceData as runtime var in BTConfig
Mutate pubBLEManufacturerData as runtime var in BTConfig
Mutate pubUnknownBLEManufacturerData as runtime var in BTConfig
Mutate pubBLEServiceUUID as runtime var in BTConfig
* Mutate useBeaconUuidForTopic as runtime var in BTConfig
Mutate useBeaconUuidForPresence as runtime var in BTConfig
* Small optimization
* Formatting of config_BT
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2022-08-20 14:28:25 -05:00
Bad
8f9db357e9
Initial doc for Jeedom integration ( #1255 )
...
* Initial doc for Jeedom integration
* Fix Daemon-OK img name
2022-08-13 09:32:22 -05:00
Florian and DigiH
63e3dd9530
Add OpenHAB3 tutorial and BLE binary ( #1254 )
...
* Add OpenHAB3 tutorial and BLE binary
* Small text changes
Just a few small text changes, also writing out OMG as OpenMQTTGateway, probably clearer for new to OMG users.
Co-authored-by: DigiH <github@digih.net >
2022-08-13 08:57:08 -05:00
Amy Nagle
b17247c049
Add missing macType param to NO_DEVICE_FOUND ( #1253 )
...
* Add missing macType param to NO_DEVICE_FOUND
* Simplify MAC address initialization
2022-08-09 05:19:19 -05:00
DigiH
25029c7c85
Devices Clarification ( #1252 )
2022-08-08 23:01:53 +02:00
Florian and DigiH
fbab2427e4
Bump Theengs Decoder to v0.6.2 ( #1248 )
...
* Bump Theengs Decoder to v0.6.1
* Differentiate a FASTLed environment
* remove BT from the nodemcuv2-all-test env as it is already tested into nodemcuv2-ble
* Decoder 0.6.2
Co-authored-by: DigiH <github@digih.net >
2022-07-29 13:04:04 -05:00
Florian
9ea985cf55
Add Theengs links ( #1249 )
2022-07-28 16:48:41 -05:00
dependabot[bot]
8012854349
Bump terser from 4.8.0 to 4.8.1 ( #1246 )
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-24 18:06:12 -05:00
DigiH
3088d800e0
undecoded env renaming ( #1247 )
...
environment/binary build env:esp32dev-ble-mqtt-decode renamed to esp32dev-ble-mqtt-undecoded for clarification
2022-07-24 03:25:37 +02:00
DigiH
c4300a002f
MQTT-MAC-IP-mDNS ( #1245 )
2022-07-19 12:10:51 -05:00
DigiH
1c62d74e56
Typo-fixes ( #1244 )
2022-07-19 07:53:38 +02:00
Bad
612c3f6322
Fix wrong base topic if gateway_name is changed ( #1242 )
...
* Rectify and match parameters sizes.
Increase mqtt_topic_max_size from 100/50 to 150/75 bytes
* Faster and safer compare in cmpToMainTopic()
2022-07-19 07:52:46 +02:00
DigiH
0f57eddb01
typo fixes ( #1243 )
2022-07-18 11:30:37 -05:00
Bad
7f4e27a664
Fix presence topic ( #1238 )
2022-07-17 04:59:40 -05:00
DigiH
c04c62916f
ble-datatest-environment ( #1235 )
2022-07-15 04:37:04 -05:00
Grégoire Seux and Grégoire Seux
537583e505
Configure LoRA gateway parameters at startup ( #1234 )
...
Without this (and without sending an initial MQTT message to the gateway
to configure it) messages are not necessarily received if parameters are
different from firmware defaults.
This patch helped at least two users:
- https://community.home-assistant.io/t/awesome-lora-soil-sensor/304351/23
- https://community.home-assistant.io/t/awesome-lora-soil-sensor/304351/18
Change-Id: Ia65ee5780b56f81fc73662c8779b79083805009b
Co-authored-by: Grégoire Seux <grego_openmqttgateway@familleseux.net >
2022-07-13 23:49:31 +02:00
Bad
9154e6cc46
Typo in commands/MQTTtoSYS/config ( #1236 )
2022-07-13 23:47:06 +02:00
DigiH
0d4909d44d
Typo fixes ( #1233 )
2022-07-13 04:49:08 -05:00
DigiH
a388f14e75
Publishing/receiving inconsistencies fix ( #1229 )
...
* Publishing/receiving inconsistencies
* General platformio.ini changes
General platformio.ini changes to allow for publishing/receiving settings to be defined in User_cofig.h instead of them only working if defined in the environments. Kept separate so far for discussion.
2022-07-01 07:17:02 -05:00
spinpwr
3bd1d31fcc
Add command example to flash with esptool.py ( #1230 )
...
If you are on Linux and don't want to (or can't) install Chrome based browser to flash you can use the Python based flash tool from Espressif.
It took me some searching and reading the docs of esptool to get the commands to work, then I thought I can save this time for others by adding the relevant info to this how to.
2022-06-29 12:15:15 -05:00
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
steadramon and Paul
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