Commit Graph

431 Commits

Author SHA1 Message Date
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
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
67dd7ac078 update esppilight lib
content of the library is not filtered on 433mhz only
2018-11-28 20:41:37 +01:00
Florian
a275e48ee1 add missing macro 2018-11-27 20:46:24 +01:00
Florian
1fbf3e6ef5 Add images 2018-11-23 20:28:57 +01:00
Florian
7493d64d05 Update contributor list 2018-11-16 22:16:39 +01:00
Florian
ace6d61619 more repeatSRFBwMQTT macro to pertinent config file
#295
2018-11-16 22:00:12 +01:00
animavitis
5d01071e43 update rc-switch (#313) 2018-11-15 19:51:10 +01:00
Florian
469bb48d52 correct sonoff rf bridge issue not communicating with RF module
#310
2018-11-14 07:27:57 +01:00
Aart
1fbee2440c Update ZgatewayRF2.ino (#309)
Small fix for dimming with JSON payload.
switchType 0 OFF
switchType 1 ON
switchType 2 DIM
{
"switchType": 2,
"adress": "26494598",
"unit": 10,
"dim": 8
}
2018-11-12 20:27:53 +01:00
Florian
ae3bbb7321 correct double variable declaration and use arduino json implicit cast 2018-11-09 22:40:53 +01:00
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
ba829e643e correct duplicate comments and code 2018-11-09 21:54:00 +01:00
animavitis
07445a278b remove redundant code for home presence (#303) 2018-11-08 21:26:57 +01:00
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
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
McGr3g0r
c2e55956e9 multi gpio input module (#278)
* GPIOKeyCode module added
2018-10-29 20:08:00 +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
8913ce4e24 Fixed typo and added a little formatting (#290) 2018-10-25 22:18:33 +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
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
1technophile
0a4255f58c replace the TRACE runtime condition by a buildtime one so as to decrease program size 2018-09-22 12:55:14 +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
Paul
d2c3373b8e Added ESPilight libs 2018-09-21 18:02:15 +01: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
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
v0.8
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
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
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:
89859f7f4c
as stated in the wiki
2018-09-02 10:25:55 +02: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
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