Commit Graph
15 Commits
Author SHA1 Message Date
animavitis a74eb76931 fix ESP32 ble (#304)
* remove redundant code for home presence

* hopefully fix ESP32 BLE hangs

* basic support for duplicate detection when JSON publishing is active
2018-11-09 22:19:02 +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
animavitis f77df7347f Add Home Assistant MQTT room presence support (ESP32 only) (#294)
* Add Home Assistant MQTT room presence support

ESP32 only
2018-11-02 08:30:33 +01:00
f-reiling f7eb0b1921 Added decode for battery level and combined temperature/humidity (#265) 2018-09-09 21:54:21 +02:00
Florian e0fe3b721b add MQTT publishing of service data from BLE devices (#264)
* add MQTT publishing of service data from BLE devices

* add service data publishing to HM1X setups
2018-09-09 10:45:07 +02:00
Florian 6204e7caa1 per fedault publish rssi into mac topic
#201
and comment the mac + rssi behaviour
will be put per default on next version
2018-06-08 20:34:53 +02:00
Florian ec7cee8f3e publish rssi value to a dedicated mqtt subject
#201 and put defines for other sub subject names
2018-05-12 15:25:57 +02:00
Florian 7b56335a31 change default value of scanning time
The goal is to not be at a round value so as to avoid to "fall" at the same frequency of mi flora service data exposition and by the way retrieving always the same kind of value
2018-04-29 21:23:07 +02:00
Florian a7d61f0590 put home as a #define and add gateway name to all topics
#160
2018-04-04 23:57:18 +02:00
Florian 7c6e0ccf61 Esp32 compatibility (#145)
* esp32 init

* RF gateway ok with ESP32

* correct IR gateway compilation errors and test RF2 ok

* divide config per board type

* update test file according user_config

* differentiate variable type following IR libraries aka platforms

* implement BLE beacons detection with ESP32

* Implement multitasking on BLE gateway

* Library add and change core assignement

* change core assignement for BLE

* add mi flora value readings with ESP32

* adding some traces and removing unecessary comment

* correct compilation error due to pin assignement

* correct temperature float value and wrong mac adress rssi publishing

* add esp32 to CI

* correct esp32 ide retrieving

* correcting paths

* CI: correct architecture
* libraries update (irremote) and overwrite ble library files
2018-01-01 18:50:45 +01:00
1technophile 1158161a8d put per default the new code with mi flora integration
#100
2017-11-24 23:24:54 +01:00
1technophile d094ff3b74 code factoring and improvments
-code factoring by structure use
-present temperature without division per 10 need
-upper case for the mac adress
-correct rssi value
2017-11-10 23:56:09 +01:00
1technophile 26ecec3d86 Integration of mi flora sensor
#100 mi flora beta integration
not integrated per default, so as to enable mi flora reading you must
comment ZgatewayBT_stable into config_BT.h
2017-10-27 00:47:35 +02:00
1technophile 17a7294c94 moves some parameters to config files 2017-09-06 22:14:36 +02:00
Florian 441ab1c0b7 User config division (#97)
* some minor correction after coadcy checks

* Put serial communication speed as a parameter in user_config.h

* complete gateway file

receiving ok
sending ko
#32

* add rfm69 to CI

* change receiver key and minor improvments

#32

now ok on receiving and sending with RFM69

* add schema and tested pinout for RFM69/RF/IR wiring

#32

* RFM69 library add

* Implement newremoteswitchlibrary for KlikAanKlikUit / ClickOnClickOff protocol

#3

* add dependency for CI and link to the library

* compilation error for arduino correction

* Sketch size decrease

* remove nano from CI

* Divide user_config into one file per gateway/sensor for lisibility
2017-09-01 00:41:29 +02:00