Commit Graph

34 Commits

Author SHA1 Message Date
Florian
81c02c850e Mqtt discovery (#320)
* add mqtt discovery (compatibile with home assistant) with omg status binary sensor & bme280 sensor

* added mqtt discovery to Test_config.h for ESP32 (ESP8266 & other boards was not tested)

* include support for ESP8266 & arduino mega

* fix getting MAC for esp8266

* esp8266 fix

* make mqtt discovery functions functions more generic, readable and easy to use & extend

* make mqtt discovery functions functions more generic, readable and easy to use & extend PART 2

* remove the macro for each attribute and supposing that if there is a bme280 we expose all
2018-11-28 21:25:27 +01:00
Florian
a275e48ee1 add missing macro 2018-11-27 20:46:24 +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
Balazs Keresztury
a4f571e77e Introduced WifiManager_ssid variable and documented user_config.h (#289)
* Commented user_config.h to clarify usage of WifiManager

* Introduced WifiManager_ssid variable

* Added changes to Test_config.h too
2018-10-25 22:26:44 +02:00
Balazs Keresztury
d761f1d13a Increased size of mqtt_pass to char[30] (#288)
* Increased size of mqtt_pass to char[30]

* modified test_config.h too
2018-10-23 20:28:09 +02:00
steadramon
0e743a0e33 Merge branch 'master' into master 2018-09-21 17:56:30 +01:00
steadramon
7812532ba1 Update Test_config.h 2018-09-21 17:55:34 +01:00
QuagmireMan
0f118c2020 GPIOInput Third Time is a Charm! (#258)
* Added 2 files via upload

* Update OpenMQTTGateway.ino

* Update Test_config.h
2018-08-23 21:07:29 +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
76859e54fe add cleanFS into user config and correct missing rf315 subject subscribe 2018-06-07 20:20:11 +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
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
03254b9b82 align test config to user_config 2018-05-01 22:07:13 +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
George Vedamanickam
4b6b3992b2 Fixed Duplicate Network Settings and organized (#193)
* Fix repeated Wi-fi settings

Removed duplicate wi-fi setting, 
Moved and re-arranged related info into relevant section

* Change Comment header

NETWORK -> MQTT for relevant section

* Updated to reflect User_config.h

Updated to reflect User_config.h
2018-04-13 19:56:38 +02:00
Florian
b25eacdcbb config reorganization 2018-04-11 19:39:13 +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
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
1technophile
f525d937ef remove unecessary default sensor/gateway for esp32
#181
IRremote works only for receiving we remove it per default
2018-03-07 21:16:04 +01:00
1technophile
d41957fd26 condition memory test to ESP boards and add define to the test config
#173
2018-02-18 19:00:41 +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
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
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
8666
15cea6b222 Add support for presenting status with 3 LEDs (#147)
* Add suport for presenting status with 3 LEDs

* Add support for presenting status with 3 LEDs

* Update Test_config.h

* Update User_config.h

Better names for LED variables

* Change names for LED variables
2017-12-31 14:31:13 +01:00
Chris Broekema
d038ae078b Add support for TSL2561 based light intensity measurement (#150)
* Add support for TSL2561 based light intensity measurement

* replace Serial prints with trc, add TSL2561 code to test config

* add Adafruit TSL2561 lib to Travis config

* avoid multiple definitions and fix missing string constructor in trace
2017-12-30 00:38:19 +01:00
1technophile
450c892545 update test config according latest commits 2017-12-02 12:41:08 +01:00
1technophile
38665ecc2a arduino compatibility correction 2017-11-25 14:44: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
1technophile
90c5b76ef9 to simplify newbie user entry to the project
comment per default sensors and extras and add the config with all
sensors with travis
2017-11-01 14:38:58 +01:00