Commit Graph

34 Commits

Author SHA1 Message Date
Florian
eb5b8fa291 [SYS/BT] Semaphores and new BT Controller (#1819)
Add semaphore to the enqueue calls to avoid concurrency issues
Add new BT controller to avoid scan evt timeout bug
2023-12-01 07:15:07 -06: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
Florian
24bcdbc97c Update IRRemote ESP8266 to 2.6.2 and add ESP32 support 2019-07-08 22:21:02 +02:00
Florian
feb489633b add wifi manager esp32 (#414)
* add wifi manager esp32
2019-06-22 13:43:54 +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
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
60f68d00f4 publish discovery for sensors BLE once per run, add ble white and black list
Avoid publishing auto discovery on a time basis
publish auto discovery only one time per BLE sensor
add BLE white and black list implementation
set black list
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/set -m '{"black-list":["012314551615","4C6577889C79","edfrgtyjulik"]}'
set white list
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/set -m '{"white-list":["012314551615","4C65A5553C79","edfrgtyjulik"]}'
2019-03-18 23:29:47 +01:00
Florian
7a39bba272 update irremote ESP8266 to 2.5.6 2019-03-16 13:16:54 +01:00
Florian
1abd939125 update pubsubclient release to 2.7 2019-03-15 19:05:36 +01:00
Florian
498bea872e no need of going >67 as the code can handle only unsigned long at this time 2019-03-10 13:35:11 +01:00
Florian
da859cc6ae Some memory optimization for Arduino UNO following this thread:
https://community.openmqttgateway.com/t/arduino-uno-ethernet-shield-reboots-on-receiving-rf-signal-on-v-0-9/346/22
Rework led management to avoid use of global variables
and specify special JSON_MSG_BUFFER for arduino UNO
led can now be used for all the boards

generalize use of F macro
for memory optimization
change jsonbuffer calculation method
reduce pubsubclient max packet size for uno and nano
2019-03-09 17:28:54 +01:00
Florian
1ab21b3c37 Add LORA gateway
first implementation of a lora gateway integration, tested on ttgo heltec boards with embedded lora module #356
Sending and receiving working
2019-02-21 19:53:31 +01:00
Florian
ef431f6409 Update ESPilight library to 0.16.0
tfa protocol
kerui protocol
2019-02-15 20:25:53 +01:00
Florian
f0305236db Update IRRemoteESP8266 version to 2.5.5
factorize IR send signal function between the 2 types of receiving
Add new IRRemoteESP8266 protocols
replace pins on mega according schema
remove unecessaries spaces
2019-02-08 16:50:37 +01:00
Johno Crawford
3d459e0582 Fix compile error (#330) on rcswitch
Introduced with https://github.com/1technophile/OpenMQTTGateway/pull/313
2018-12-17 20:32:58 +01:00
Florian
74a02fdc81 move MQTT_MAX_PACKET_SIZE to pubsubclient library 2018-12-01 11:56:32 +01:00
Florian
82824b30d6 remove unecessaries files from pilight lib 2018-11-28 21:34:00 +01:00
Florian
67dd7ac078 update esppilight lib
content of the library is not filtered on 433mhz only
2018-11-28 20:41:37 +01:00
animavitis
5d01071e43 update rc-switch (#313) 2018-11-15 19:51:10 +01:00
Florian
d8dba15a81 Publish refactoring (#298)
* factoring of the publishing function
* integration of json publishing to MQTT
* receiving and transcode json messages from mqtt
* replace the TRACE runtime condition by a buildtime one so as to decrease program size
* remove retainFlag parameter not necessary for the moment
* Increase the scope of tests for arduino mega and esp32
* Update arduinojson library to 5.13.3
* add macros to choose between simple or json publishing or both
* differentiate build test for ATmega2560
* correct wrong sprintf definition
* change IDE version for continuous integration
* let default warning level in arduino ide
* correct pins for ESP32
* reorganize user_config
2018-11-05 22:02:27 +01:00
Paul
d2c3373b8e Added ESPilight libs 2018-09-21 18:02:15 +01:00
Florian
751c479e59 update BLE ESP32 lib to last version
note this version of library is compatible with this rev:
89859f7f4c
as stated in the wiki
2018-09-02 10:25:55 +02:00
Florian
f0c0607919 Update wifimanager to 0.14 (#252) 2018-08-19 15:36:06 +02:00
Florian
b12ee19979 Ir esp8266 lib update and code impacts (#235)
* integrate new IRremoteESP8266 lib 2.4.2 and add new protocols

IR_RC6
IR_MITSUBISHI
IR_GICABLE
IR_MITSUBISHI2
IR_LASERTAG
IR_CARRIER_AC
IR_MIDEA
IR_NIKAI
IR_SHERWOOD
IR_DENON
IR_AIWA_RC_T501
IR_JVC
2018-07-22 16:44:10 +02:00
Florian
b602e406ef correct version of BLE libraries
last working version of this library with the ESP32 env revision pointed in the wiki
2018-07-04 22:39:33 +02:00
Florian
42be3fe0f2 update BLE library for ESP32 env compatibility
with the last version of ESP32 arduino env it is not possible to compile on ESP32, we get "missing gatt_api.h" ERROR. So as to avoid that we need to use the last version of the nkolban library for BLE 0.4.16
2018-06-30 15:24:47 +02:00
Florian
513d71c544 A6 A7 gateway (GSM GPRS) (#195)
* init 2G gateway with SMS sending and receiving

* A6lib add

* add 2Ggateway call from setup and loop

* add schematic and image
2018-04-21 19:22:36 +02:00
Florian
75deae6846 add missing lib 2018-03-20 20:35:40 +01:00
Florian
be5d61993d Revert "Merge branch 'master' of https://github.com/1technophile/OpenMQTTGateway"
This reverts commit a70c33a68e, reversing
changes made to f515f9c03a.
2018-03-19 21:26:21 +01:00
1technophile
0d9ad7e74f add adafruit lib 2018-03-07 21:52:57 +01:00
1technophile
fdc5e3dacc add missing libraries and update CI according lib folders and not library donwload from github 2018-03-07 21:41:19 +01:00
1technophile
3b4c9d2d98 add arduino json lib
#182
2018-03-07 20:52:36 +01:00
1technophile
f0546fab8c publish libraries to avoid users to have to download them one by one 2018-03-04 13:47:37 +01:00