Commit Graph
100 Commits
Author SHA1 Message Date
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 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
Florian 55dc048384 Update README.md 2017-12-02 14:34:27 +01:00
Florian 9c1bad0578 Update README.md 2017-12-02 14:30:48 +01:00
Florian 95a0c36199 Update README.md 2017-12-02 14:29:50 +01:00
Florian e13b512229 Update README.md 2017-12-02 14:28:37 +01:00
Florian adafb26a17 Update README.md 2017-12-02 14:26:35 +01:00
Florian 9c96526d92 Update README.md 2017-12-02 14:23:07 +01:00
Florian 9127ae8964 Rename README to README.md 2017-12-02 14:21:35 +01:00
Florian 2dd9301745 Create README 2017-12-02 14:21:02 +01:00
Florian 21c4a094cc Set theme jekyll-theme-cayman 2017-12-02 11:42:28 +01:00
Florian dd384cbf4f Set theme jekyll-theme-slate 2017-12-02 11:39:34 +01:00
Florian d603cf1634 Set theme jekyll-theme-cayman 2017-12-02 11:28:00 +01:00
Florian 3c2267d2f0 Update README.md 2017-11-26 11:26:52 +01:00
Florian af5e4e8ec9 Zgateway srfb (#143)
* compatibility with sonoff rf bridge

#81

* update extract_char call
2017-11-24 23:00:21 +01:00
Florian 340dcb0ac4 add ina226 sensor (#123)
* add ina226 sensor

#116

* add sensor into the CI
2017-11-03 07:15:13 +01:00
Florian 9185bb51c3 Update OpenMQTTGateway.ino 2017-10-09 20:58:00 +02:00
Florian 3cfb6aba0e update contributors 2017-10-08 20:51:21 +02:00
Florian e5bcf7290c V220 IRRemote ESP8266 library compatibility #120 (#127)
* V220 IRRemote ESP8266 library compatibility #120

* change CI lib version

#120

* correct arduino compilation error

#120
2017-10-05 22:42:18 +02:00
Florian a87756a2c5 add license badge 2017-10-04 21:19:14 +02:00
Florian fa792aa77d Update ISSUE_TEMPLATE.md 2017-09-30 14:42:57 +02:00
Florian 8935324e0e Create ISSUE_TEMPLATE.md 2017-09-30 14:41:30 +02:00
Florian ed014b3a0b remove limitation sentence 2017-09-28 23:07:06 +02:00
Florian ae408f62fd Add HC SR501 PIR sensor support (#107) 2017-09-28 22:46:13 +02:00
Florian c915ddfa48 ADC pin reading (#106)
* ADC pin reading

#95

* arduino and always flag correction

* optimize sram use and remove adc sensor option per default

* integrate a threshold
2017-09-28 22:43:12 +02:00
Florian 505671e736 Set theme jekyll-theme-cayman 2017-09-28 21:53:27 +02:00
Florian 415fa99a46 Update README.md 2017-09-10 01:40:48 +02:00
Florian f93052e6b1 Update README.md 2017-09-02 22:08:06 +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
Florian f8ede4aa94 Zgateway rf2 (#94)
* 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
2017-09-01 00:35:26 +02:00
Florian ba51e340d2 Zgateway rfm69 (#88)
* 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
2017-09-01 00:31:49 +02:00
Florian 96167743c0 some minor correction after codacy checks (#82)
need to merge it before RFM69 pull request
2017-08-19 00:50:17 +02:00
Florian b0907acc6c Update README.md 2017-08-14 22:20:48 +02:00
Florian b382fccd68 add codacy badge fo source code quality check 2017-07-12 21:44:02 +02:00
Florian 97a68a247e integrate V2.X.X of irremote esp8266 library (#72)
* Compatibility with IRRemoteESP8266 V2
2017-07-11 20:38:30 +02:00
Florian 916f46c34d Update CONTRIBUTING.md 2017-07-10 21:24:51 +02:00
Florian 0a93d2df35 Create CONTRIBUTING.md 2017-07-01 22:29:09 +02:00
Florian b5ee85bde0 Create CODE_OF_CONDUCT.md 2017-07-01 22:17:29 +02:00
Florian 56057690a5 Pr/61 add I2C sensors BME280 and BH1750 (#64)
* changed user config

* added lightsensor module

* changed Pin Adresses

* Added I2C Lightsensor

Added the I2C Lightsensor and Switchted most Pins

* removed some debug to serial

removed some debug stuff was send to serial console

* Merge with Master

* Too much things for arduino uno

per default remove sensors for it

* Adding I2C Module function

Opens the Door on OpenMQTTGateway for "i2c Bus Modules/Sensors"

* Fixing BH1750 detection

Fixing the detection for a missing BH1750 Module

* Add libraries and define sensors depending on wiring type #63
2017-06-14 23:42:11 +02:00
Florian 7b39844d2f add dht libraries 2017-06-09 23:20:47 +02:00
Florian 7f5a6da8cc change to GPL 3
#51
2017-06-02 22:11:14 +02:00
Florian 58f888fbf6 Update README.md 2017-06-02 21:48:25 +02:00
Florian b735d74329 Update README.md 2017-05-20 09:41:04 +02:00
Florian 9e8f846e48 add gitter chat room link 2017-05-20 09:26:43 +02:00
Florian b37e6efb0c Update README.md 2017-05-01 18:26:51 +02:00
Florian 7f659ecdff BLE add 2017-05-01 18:22:42 +02:00
Florian 6dc1bc3b18 Add files via upload 2017-05-01 16:58:56 +02:00
Florian 3b5c9355ea Add files via upload 2017-05-01 16:58:02 +02:00
Florian ad2f2dc7dc add ble 2017-05-01 16:57:01 +02:00
Florian 01b6b787af Delete OpenMQTTGateway.png 2017-05-01 16:55:00 +02:00
Florian 400fb441cb add ble 2017-05-01 16:54:38 +02:00
Florian 5a9f5e115f Merge pull request #39 from 1technophile/adding-bluetooth
Adding bluetooth BLE gateway
2017-05-01 16:42:35 +02:00
Florian 0f8c9c0974 anticipating change of distri for travis 2017-04-29 13:16:55 +02:00
Florian 1a18f27673 Merge pull request #37 from 1technophile/Code-divide
Split code into several Zgateway files to add new gateway to the program more easily, preparing add of bluetooth and rfm69 gateway
2017-04-24 18:55:20 +02:00