Commit Graph
100 Commits
Author SHA1 Message Date
Florian 1cb4011a87 Update README.md 2018-11-05 22:28:04 +01:00
Florian 0e97e8615f remove unecessary variable and PilighttoMQTT call 2018-11-05 22:20:34 +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
Florian c1e13c5d24 Merge pull request #242 from steadramon/master
ESPilight support
2018-10-14 07:40:43 +02:00
Florian 69e0428084 correct impossibility to read value with HM10
#281 and make the code more flexible (deduct an offset from a key value instead of fixed offset)
2018-10-13 21:44:23 +02:00
Florian 4b9ae94d05 change default DHT pin for ESP32
following user feedback pin 16 works and 35 doesn't works
2018-10-13 13:53:43 +02:00
Florian c1caf8f36e Update README.md 2018-09-30 15:58:54 +02:00
Florian f594612dde Comments improvment (#275)
* Comments improvment
2018-09-22 12:44:58 +02:00
Florian 6e3a52cbf3 increase the list of boards that have more memory available for buffer and max MQTT_MAX_PACKET_SIZE (#274) 2018-09-22 12:34:58 +02:00
Florian 7acd0df84a Merge branch 'master' of https://github.com/1technophile/OpenMQTTGateway 2018-09-16 20:20:07 +02:00
Florian 8170efc083 comment correction
#269 point to boarddefs.h instead of irremoteint.h for defining good timer
2018-09-16 20:20:00 +02:00
Florian 60c3b47fd1 total downloads display instead of latest 2018-09-14 21:33:38 +02:00
Florian 5d4c788e20 Arduino: Automatic set advanced network config
when first value of dns or gateway is filled
#268
2018-09-13 22:11:54 +02:00
Florian cd3a2a0499 adaptative MQTT MAX PACKET SIZE
change mqtt max packet size depending on the board and display the value on serial monitor
2018-09-13 22:10:18 +02:00
Florian ace5fe7161 add protocol bits definition for arduino
as they are defined only when using esp8266
2018-09-13 21:31:36 +02:00
Florian bf7e4f1240 change OMG version and some comments change 2018-09-13 21:11:39 +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 0b282fc553 add comment for LOLIN IR controller shield support
#234
2018-09-07 23:45:08 +02:00
Florian ce1094cdf8 integrate into CI the minimal spiffs partition scheme 2018-09-02 21:25:58 +02:00
Florian cd56c4a4e7 add wiki ressources for arduino esp32 install 2018-09-02 21:08:57 +02:00
Florian d5776c0c51 link CI to working esp32 env with ble library 2018-09-02 19:18:50 +02:00
Florian 751c479e59 update BLE ESP32 lib to last version
note this version of library is compatible with this rev:
https://github.com/espressif/arduino-esp32/tree/89859f7f4c07ce3e5d487a4b689dbda78f5d5c3a
as stated in the wiki
2018-09-02 10:25:55 +02:00
Florian 19c89d9dc8 Dump mode functionnality adding (#255)
Add a new definition of IRrecv with special parameters so as to enable to catch big IR codes
2018-08-22 21:23:48 +02:00
Florian 93c2c6eb56 convert ip to string
https://community.openmqttgateway.com/t/really-minor-improvement/92
2018-08-19 20:12:13 +02:00
Florian f0c0607919 Update wifimanager to 0.14 (#252) 2018-08-19 15:36:06 +02:00
Florian 0134f9ab0e Create stale.yml
enable auto closing of issues without activity
2018-08-11 16:45:05 +02:00
Florian 8b4dd5b263 Update README.md 2018-08-04 15:01:25 +02:00
Florian 98e2e3b642 Delete ISSUE_TEMPLATE.md 2018-07-28 18:21:20 +02:00
Florian 4728d5ec35 Update issue templates 2018-07-28 18:20:09 +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 9b258723a8 correct wrong subject call when using HM10 <6xx ZgatewayBT
#225
and some traces improvments
2018-07-14 14:20:48 +02:00
Florian f1651d67bf return to previous working esp32 env compatible with 0.4.9 ESP 32 BLE 2018-07-04 22:52:14 +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 9dd7b97b11 add minimal spiffs into CI test (#223) 2018-06-30 20:53:36 +02:00
Florian 33a0aa902f update CI with latest ESP32 arduino env 2018-06-30 16:54:16 +02:00
Florian 25312d354b Merge branch 'master' of https://github.com/1technophile/OpenMQTTGateway 2018-06-30 15:24:57 +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 1dd68ab078 Missing call for RF315
call for emitting RF from MQTT was not done before this commit
2018-06-26 22:45:33 +02:00
Florian 9a93ccd067 add download count 2018-06-26 21:40:20 +02:00
Florian 474e7ab70c When wifi is lost OMG is going to AP mode (#220)
* When wifi is lost OMG is going to AP mode

Avoid that except when OMG has never been connected to MQTT
2018-06-26 20:37:37 +02:00
Florian d8a8d1cb07 Update ISSUE_TEMPLATE.md 2018-06-19 20:55:45 +02:00
Florian 86d30f64b0 Update README.md 2018-06-19 20:55:10 +02:00
Florian 1e02d00623 Update README.md 2018-06-16 15:47:10 +02:00
Florian 14d8eef7cd add mini logo 2018-06-10 17:19:58 +02:00
Florian 82b2e267c4 increase logo size 2018-06-10 14:03:59 +02:00
Florian 69cf84bd46 increase logo size 2018-06-10 14:00:05 +02:00
Florian e52ca9e765 add logo 2018-06-10 13:57:02 +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 cbdd02d418 Merge branch 'master' of https://github.com/1technophile/OpenMQTTGateway 2018-06-07 20:21:45 +02:00
Florian 0f6020edfe correct potential crash of ESP when calling trc function
#211
2018-06-07 20:21:41 +02:00
Florian 76859e54fe add cleanFS into user config and correct missing rf315 subject subscribe 2018-06-07 20:20:11 +02:00
Florian eb15898228 Correct deduplicate of received RF and IR signals
Regression introduced when introducing the name of the gateway into the topic
2018-06-07 20:17:50 +02:00
Florian 89fca51188 Update README.md 2018-05-31 21:24:04 +02:00
Florian b568e7137c add 315mhz RF gateway (#209)
based on RF gateway add the same implementation for 315mhz to facilitate the integration for whom who wants to use 433 and 315
2018-05-30 21:49:46 +02:00
Florian 11e5bd3f00 use multicore per default on esp32 ble
#173
2018-05-24 23:03:16 +02:00
Florian 4ef82289e1 Publish gateway state (#207)
* add ssid, rssi and memory publishing to mqtt

for ESP boards 

* add activated modules and uptime
2018-05-24 23:01:31 +02:00
Florian d0820eb2db Update README.md 2018-05-21 19:08:15 +02:00
Florian 9f9d30528f Update README.md 2018-05-21 19:07:43 +02:00
Florian c0fca71619 remove string in trace call
so as to decrease sketch size
2018-05-16 21:56:29 +02:00
Florian 645c733910 rename user config version
to 0.8beta
2018-05-12 15:27:09 +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 d4ce6e4b64 add compatibility with mi jia (#199)
mi jia temperature and humidity measurement

https://1technophile.blogspot.fr/2018/05/openmqttgateway-now-reads-xiaomi-mijia.html
2018-05-03 22:44:16 +02:00
Florian 03254b9b82 align test config to user_config 2018-05-01 22:07:13 +02:00
Florian ccc704f1c5 remove / from gateway name
some router don't give an ip adress if there is a / in the host name (thanks @petricaM)
2018-05-01 22:04:09 +02:00
Florian 3c578a0813 multicore definition prevent hm10 to work
so as to avoid that condition it to the ESP32 boards
2018-05-01 22:00:10 +02:00
Florian 70b4ddc0a4 Update README.md 2018-04-29 23:59:18 +02:00
Florian cccfcba3ff add 2G gateway 2018-04-29 23:56:35 +02:00
Florian 06b8a7f162 Add default board parameters
so as to enable to upload with bigger program space and avoid issues with sketch too big at build time
2018-04-29 22:09:35 +02:00
Florian 1966075054 remove libraries as submodules
libraries are now directly integrated into the lib folder
2018-04-29 21:41:37 +02:00
Florian 79666d4713 minor correction on trace
replace serial.print by default trace system of OMG
2018-04-29 21:23:45 +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 23b1a6db9a changing images for 2G gateway 2018-04-29 21:22:05 +02:00
Florian 4c6777c0b0 Adding images and one pin definition removal
unnecessary pin definition removal
Adding images to illustrate 2G gateway
2018-04-24 21:56:22 +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 0412461d66 Add acknowledgement to ONOFF gateway
#192
Publish to another topic the payload received
2018-04-14 21:21:01 +02:00
Florian d28a1f40dd add missing include 2018-04-11 21:15:12 +02:00
Florian ea987ca945 wifi reconnection workaround on esp32
#173 , currently wifi autoreconnection on ESP32 doesn't work reliably. To bypass this issue I added a reconnection after a failure_number
2018-04-11 20:03:31 +02:00
Florian b25eacdcbb config reorganization 2018-04-11 19:39:13 +02:00
Florian 02970519b6 simplify module inclusion in config
#166
config files are now inluded in openmqttgateway.ino and doesn't need to be uncommented or commented in user_config.h
2018-04-11 19:37:11 +02:00
Florian 9dfb5f9b01 simplify user_config.h
as test_config.h represents now the modules we want to tests per board there is no need of keeping differenciation into user_config.h
2018-04-10 22:27:17 +02:00
Florian bdac0e1713 add actuator
Possibility to command a pin HIGH/LOW by MQTT #192
2018-04-10 22:18:35 +02:00
Florian c40bcfeda9 remove IR gateway during CI test
due to Arduino memory size constraint
2018-04-05 21:11:10 +02:00
Florian e14e078c46 align test_config with user_config
#160
2018-04-05 00:21:39 +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 c68714a434 correct compiler warnings
#189
2018-04-04 22:51:47 +02:00
Florian 566a43f2e8 using wrong compiler condition statement
#186
2018-03-21 22:19:27 +01:00
Florian 75deae6846 add missing lib 2018-03-20 20:35:40 +01:00
Florian 6318592a61 point to lib during the CI tests 2018-03-20 20:09:06 +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
Florian a70c33a68e Merge branch 'master' of https://github.com/1technophile/OpenMQTTGateway 2018-03-19 21:18:12 +01:00
Florian f515f9c03a per default deactivate multicore for BLE on ESP32
#173
2018-03-19 21:16:47 +01:00
Florian 3b33aa7841 Add wifi manager portal (#161)
* Add Wifi manager web portal for ESP8266

#15
#83

* represent web page if MQTT failures at start

* add arduinojson library on CI and repo

* add parameter in test config for CI and correct ifdef

* add wifi manager library

* add possibility to manual setup esp8266 wifi credential

* add mqtt user and password into wifimanager

* Add MinimumWifiSignalQuality parameter

Following @ctripodi suggestion to remove AP with low signal quality
2018-01-27 12:10:00 +01:00
Florian 1b9c7d0fba Update README.md 2018-01-07 13:18:20 +01:00
Florian ebf82fbb38 Add MDNS for ESP8266 (#153)
With ESP32 MDNS causes BLE to don't work properly
2018-01-06 09:42:27 +01:00
Florian d677e24745 Update README.md 2018-01-02 16:28:34 +01: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
Florian 4423f883c0 Update README.md 2017-12-04 21:13:09 +01:00
Florian 4bc95dc7a4 Update CONTRIBUTING.md 2017-12-04 19:23:07 +01:00
Florian 11a5ab3c56 Delete CNAME 2017-12-02 15:06:35 +01:00
Florian d34078cef5 Create CNAME 2017-12-02 14:34:59 +01:00