Commit Graph
527 Commits
Author SHA1 Message Date
1technophile 87c85eabe0 if wifi is lost the ESP was blocked on a "MQTT connection loop"
To avoid that check the status of wifi connection before trying to connect to mqtt
Add of traces
2019-07-26 10:55:17 +02:00
1technophile e0c8d93802 don't remove basic pub functions when no simplepublishing 2019-07-26 10:49:16 +02:00
1technophile b938dd3052 Correct mac adress displaying partialy
due to not enough buffer size
2019-07-25 20:52:59 +02:00
1technophile fd90d26873 Enable trace of IP 2019-07-25 14:52:41 +02:00
1technophile 131a731730 Uncomment default gateways to enable to set them per env in platformio.ini 2019-07-25 11:22:28 +02:00
1technophile ddaf734797 CI: Trace activation depending on platform 2019-07-25 10:55:52 +02:00
1technophile 9184c00b9d Add ip and mac for esp
and ip for arduino
2019-07-25 10:42:51 +02:00
1technophile 1a5d808de9 Code size reduction for UNO 2019-07-25 10:41:21 +02:00
1technophile c1242f7c91 Enable to change Gateway name in platformio ini file
by setting the build_flag
  '-DGateway_Name="OpenMQTTGateway_ESP32"'

for example
2019-07-25 06:50:11 +02:00
Florian d30adc2340 Add page hits 2019-07-23 14:50:44 +02:00
Rotzbua 798b987941 fix preprocessor error (#428)
error: macro names must be identifiers
2019-07-22 15:32:43 +02:00
1technophile 74939f63ed correct non pertinent call to BTtoMQTT when using ESP32
BTtoMQTT is handled as a task whit ESP32
2019-07-20 21:04:13 +02:00
Florian 8471585d3d Platformio integration (#424)
* adaptation of structure to platformio

* also remove zgatewayRF315 (not usefull)

* replace boolean by bool

#155
2019-07-18 22:45:45 +02:00
1technophile 811054c904 when using ESPWifiManualSetup a build error appear 2019-07-13 14:36:10 +02:00
Florian 24bcdbc97c Update IRRemote ESP8266 to 2.6.2 and add ESP32 support 2019-07-08 22:21:02 +02:00
Florian 2ee18320be replace the use of calculate buffer by a constant buffer size for json size 2019-06-29 14:46:24 +02:00
Florian 618f8d6087 Enable publishing of BLE data even if there is no service data for BLE device 2019-06-23 08:42:49 +02:00
Florian 9f397504e4 recover BTtoMQTT function with HM10 2019-06-23 08:41:01 +02:00
Florian feb489633b add wifi manager esp32 (#414)
* add wifi manager esp32
2019-06-22 13:43:54 +02:00
Florian 1a0dacaf3f Remove mono core option for ESP32 BLE
this options is no longer used as now the ESP32 is a stable board with multicore option activated
2019-06-21 23:03:37 +02:00
Florian 6996867e53 increase identifier array sizes
#409
2019-06-21 22:34:25 +02:00
Florian bc847684f9 correct LYWSD02 not displayed with HM10
#412
2019-06-21 21:51:31 +02:00
Florian de93fd0da0 Avoid publishing of home presence data for HASS when WL or BL are set 2019-06-21 20:22:11 +02:00
Florian 1ef8fff99e Init white and black list to avoid random values
enable to prevent the gateway for filtering not black listed sernsor (this bug apply only with HASS autodiscovery)
2019-06-15 20:54:53 +02:00
Florian 03eba41084 Integrate cleargrass temp and humidity indoor sensor
ESP32, HM10 and discovery with HASS
2019-06-11 21:44:20 +02:00
Florian 4ba27481b5 add of Xiaomi Mijia BT4.0 clock temperature and humidity sensor (LYWSD02)
and enable multiple services data readings for Mijia standard device. Indeed the new version seems to publish several service data compared to old ones.
Please note that I'have update the library with the work of @fguiet
see: https://github.com/nkolban/ESP32_BLE_Arduino/pull/24
2019-05-30 13:37:23 +02:00
Florian a11e336215 correct RF2 keys
https://community.openmqttgateway.com/t/kaku-acd-1000-and-flamingo-sf-501p-switch-dont-respond-on-omg-rf2-sent-signal/438/7?u=1technophile
2019-05-27 22:46:46 +02:00
Florian 650d0877ab Enable auto reconnection to the broker if connection is lost more than 30s
#378
#398
by reseting the board instead of going to setup function
2019-05-27 22:45:44 +02:00
Marcin Domański f80d7f4581 Add is_defined filter to the value_template (#403)
Without the is_defined filter home assistant will reset the value to an empty string every time a topic is posted without the value template ie when `home/OpenMQTTGateway/BTtoMQTT/--SNIP-- {"moi":2}` is posted - all other sensor with associated topic `home/OpenMQTTGateway/BTtoMQTT/--SNIP--` will get `""` as their value
2019-05-19 13:13:38 +02:00
1technophile d3f345f944 HA mqtt discovery corrections
#393
add value template definition when missing and correct wrong payloads
2019-05-04 21:52:17 +02:00
Petar Kozul 255ac7ddde Use safeDelayMicroseconds() for guard delay to avoid wdt resets 2019-05-03 19:39:27 +02:00
Petar Kozul 32602ac5e7 Added protocol for Mertik Maxitrol G6R-H4T1 2019-05-01 09:29:00 +02:00
Florian 159376b819 correct PilighttoMQTT json format
#387
2019-04-30 20:50:16 +02:00
1technophile e364b37173 add repeat function to LORA through mqtt 2019-04-28 16:24:36 +02:00
1technophile ae43783fd2 update config files
and increase the test scope for receiving
2019-04-28 16:01:50 +02:00
1technophile decb77899a add IRutils for hexadecimal reading of IR results for ESP8266 2019-04-28 15:38:06 +02:00
1technophile df05d6c374 correct sending with RFM69
#376
2019-04-28 15:07:17 +02:00
1technophile 56bfef8e9c set BLE scans interval per mqtt and on demand BLE scans
#373
to change the BLE scan interval publish a payload {"interval":66666} in
ms to "home/OpenMQTTGateway/commands/MQTTtoBT/set"
to generate a scan publish a 0 interval payload {"interval":0}
2019-04-28 15:06:23 +02:00
1technophile 8aad413ce3 add hexadecimal publication to IRtoMQTT with ESP8266 2019-04-27 14:13:55 +02:00
Legion2 8b0e3eb8b4 added IR json datastring HEX decoding
this breaks current datastring usage
2019-04-22 20:56:33 +02:00
Florian 4b8d28179b Add LORA to functions schema 2019-04-15 22:37:52 +02:00
Florian 43cea28eb3 Update CONTRIBUTING.md (#381) 2019-04-14 18:27:49 +02:00
Florian 0b66ba0b59 Prepare 0.9.1 release 2019-04-14 18:25:55 +02:00
Florian b46b5afeb6 add comment for sonoff pin 2019-04-14 15:56:13 +02:00
Florian 1fb2aaa29a change default input gpio pin 2019-04-14 15:05:41 +02:00
Florian 072fa2cc4d change actuator default assignment 2019-04-14 15:03:04 +02:00
Florian 61a17db456 correct wrong json object name 2019-04-14 15:01:46 +02:00
Florian 255c93dd75 revert thigh and tlow for sonoff rf bridge SRFBtoMQTT
#366
2019-04-14 15:01:28 +02:00
Florian 9926c12f52 correct isue with using a different receiver with RFM69 than the default and ack issue
#376 #375
2019-04-13 12:58:31 +02:00
Florian 9eb632001c add message if wrong pubsubclient library used 2019-04-13 12:56:41 +02:00