Florian
1fb2aaa29a
change default input gpio pin
2019-04-14 15:05:41 +02:00
Florian
072fa2cc4d
change actuator default assignment
2019-04-14 15:03:04 +02:00
Florian
61a17db456
correct wrong json object name
2019-04-14 15:01:46 +02:00
Florian
255c93dd75
revert thigh and tlow for sonoff rf bridge SRFBtoMQTT
...
#366
2019-04-14 15:01:28 +02:00
Florian
9926c12f52
correct isue with using a different receiver with RFM69 than the default and ack issue
...
#376 #375
2019-04-13 12:58:31 +02:00
Florian
9eb632001c
add message if wrong pubsubclient library used
2019-04-13 12:56:41 +02:00
Florian
5bc0d4d532
Correct return always false when using HM10 and return number instead of char array for sensors values
2019-04-01 22:30:47 +02:00
Florian
4dafcd3779
correct deduplication issue with SRFB and improve OMG performance
...
by reducing the receivingMQTT call numbers
https://community.openmqttgateway.com/t/seeing-duplicated-messages/398/7
2019-04-01 22:07:28 +02:00
Florian
54d95158c7
Separate list of contributors for main file reading improvment
...
add also missing contributors
2019-03-27 20:29:49 +01:00
Florian
0a31a471e1
add comment for sonoff rf bridge IR add
2019-03-27 20:22:49 +01:00
Florian
1206877fd9
Add pilight repeater function
...
#369
set
#define repeatPilightwMQTT true
into config_RF.h to activate it
2019-03-27 20:22:20 +01:00
Florian
e1c9e0fcef
correct switch between modes raw versus message + protocol and add raw error codes ( #374 )
...
has been discussed here:
https://github.com/puuu/ESPiLight/issues/39
2019-03-19 22:32:08 +01:00
Florian
e6191915e3
correct json buffer size optimizations
2019-03-19 21:47:29 +01:00
Florian
bbb4dd3065
remove optimistic and retain flag from auto discovery
...
#361
and add some json buffer size to avoid identifier lost
2019-03-19 21:38:40 +01:00
Florian
60f68d00f4
publish discovery for sensors BLE once per run, add ble white and black list
...
Avoid publishing auto discovery on a time basis
publish auto discovery only one time per BLE sensor
add BLE white and black list implementation
set black list
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/set -m '{"black-list":["012314551615","4C6577889C79","edfrgtyjulik"]}'
set white list
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/set -m '{"white-list":["012314551615","4C65A5553C79","edfrgtyjulik"]}'
2019-03-18 23:29:47 +01:00
Florian
7a39bba272
update irremote ESP8266 to 2.5.6
2019-03-16 13:16:54 +01:00
Florian
1abd939125
update pubsubclient release to 2.7
2019-03-15 19:05:36 +01:00
Florian
498bea872e
no need of going >67 as the code can handle only unsigned long at this time
2019-03-10 13:35:11 +01:00
Florian
98066b0694
Update README.md
2019-03-10 13:04:19 +01:00
Florian
da859cc6ae
Some memory optimization for Arduino UNO following this thread:
...
https://community.openmqttgateway.com/t/arduino-uno-ethernet-shield-reboots-on-receiving-rf-signal-on-v-0-9/346/22
Rework led management to avoid use of global variables
and specify special JSON_MSG_BUFFER for arduino UNO
led can now be used for all the boards
generalize use of F macro
for memory optimization
change jsonbuffer calculation method
reduce pubsubclient max packet size for uno and nano
2019-03-09 17:28:54 +01:00
Florian
a34d476f04
add LORA gateway auto discovery
2019-03-04 22:29:39 +01:00
Florian
97e8217380
a first try for mi flora and mi jia auto discovery on hass
...
#361
2019-03-01 23:50:30 +01:00
Florian
7eb231c41e
add LORA gateway parameters
...
following lora api library def
https://github.com/sandeepmistry/arduino-LoRa/blob/master/API.md
2019-02-28 20:12:33 +01:00
Florian
325437a72a
Update README.md
2019-02-26 20:05:31 +01:00
Florian
0d5515269c
Update README.md
2019-02-26 20:01:35 +01:00
Florian
1ab21b3c37
Add LORA gateway
...
first implementation of a lora gateway integration, tested on ttgo heltec boards with embedded lora module #356
Sending and receiving working
2019-02-21 19:53:31 +01:00
Florian
3b17625b25
change default pin for rf receiver on ESP32
...
13 seems to don't work
2019-02-21 08:04:01 +01:00
Florian
4f90ea375f
add log output through mqtt
...
#135
//#define subjectTRACEtoMQTT Base_Topic Gateway_Name "/log" //uncomment if you want to see traces on /log topic
2019-02-15 21:34:07 +01:00
Florian
c37a1d28ee
Enable to switch HM1X led by a macro
...
#357
if //#define HM_BLUE_LED_STOP true uncommented
the HM1X led is off
2019-02-15 20:58:40 +01:00
Florian
ef431f6409
Update ESPilight library to 0.16.0
...
tfa protocol
kerui protocol
2019-02-15 20:25:53 +01:00
Florian
f0305236db
Update IRRemoteESP8266 version to 2.5.5
...
factorize IR send signal function between the 2 types of receiving
Add new IRRemoteESP8266 protocols
replace pins on mega according schema
remove unecessaries spaces
2019-02-08 16:50:37 +01:00
Florian
0180a0dbd5
put RF EMITTER PIN according to doc
2019-01-31 22:55:56 +01:00
Florian
e4e7319372
Update OpenMQTTGateway.ino
2019-01-31 22:10:58 +01:00
Florian
3156332b93
enable the link between OMG status and its components
...
enable to have the link between OMG status and its sensors/gateways on the same place for HASS
https://community.openmqttgateway.com/t/v0-9beta-testers-needed/242/2?u=1technophile
2019-01-31 20:57:17 +01:00
Florian
238bb4740f
traces improvements, and code refactoring (RF315)
2019-01-31 20:43:45 +01:00
Florian
a587d9dd2f
add specific pinout for RF on arduino mega
2019-01-31 20:42:26 +01:00
Florian
efadb696b9
add wifimanager config portal timeout
...
#350 in case of power outage so as to avoid to pop up the web page before the mqtt server restart
2019-01-30 20:52:44 +01:00
Florian
091b317660
add some image ressources
2019-01-26 16:19:43 +01:00
Florian
d169778a4f
remove cleanFS macro and correct reseting when mqtt fail at start
...
clean FS now available from Arduino IDE tools menu (erase flash)
2019-01-26 16:19:29 +01:00
Florian
d578c6751a
differentiate ON OFF pin depending on board
2019-01-25 00:05:42 +01:00
Florian
e89bce406d
set default protocol with to IR NEC when no protocol is set on json
2019-01-25 00:05:19 +01:00
Florian
448a20a2cf
add per default Irremote protocol for arduino mega
...
as the mega can handle the list without memory issue (contrary to the uno)
set default mega pinout
2019-01-25 00:04:50 +01:00
Florian
27fa38ec45
Storevalue after pub to avoid duplicates publishing in slow environment
2019-01-17 22:55:08 +01:00
Florian
68352f10e6
differentiate receiving and publishing mqtt for the new json option in user_config.h
...
#318 so as to avoid user with non modified controllers to have regression on receiving (per default receiving is activated for both json and simple and prioritary analysed for json)
2019-01-09 21:01:38 +01:00
Florian
c7fe43eb97
code cleanup and improvment ( #339 )
...
* replace string by char array comparison
* take mac adress from user_config for arduino ethernet shield
* remove code for managing HM10 with version < v6xx
* add sys measure call for arduino mega
* code size decrease and optim
2019-01-05 18:11:30 +01:00
Florian
4727e328f4
fix typo mistake
...
#324
2018-12-16 17:32:33 +01:00
Florian
133e9cd33a
Mqtt discovery for ha ( #323 )
...
* MQTT discovery factoring
* add DHT discovery
* BME topic macro change
* add sensors to ha discovery
* correct a comment typo #327
* let the possibility at buildtime to don't publish service data
* reduce string usage
* change MQTT ONOFF actuator to ON OFF commands instead of true false
* add ZactuatorONOFF discovery
* add simple publishing for GPIO input
* Add RF switch and gateway discovery
2018-12-16 17:05:30 +01:00
Florian
ed44418a7f
wdt tip add and presence detection improvments
...
-improve distance measurement
-add wdt prevent tip
-add conditional macro haroompresence
2018-12-10 21:19:21 +01:00
Florian
62b16f8f66
per default deactivate mqtt ha discovery
2018-12-03 21:44:19 +01:00
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
Florian
469bb48d52
correct sonoff rf bridge issue not communicating with RF module
...
#310
2018-11-14 07:27:57 +01:00
Florian
ae3bbb7321
correct double variable declaration and use arduino json implicit cast
2018-11-09 22:40:53 +01:00
Florian
ba829e643e
correct duplicate comments and code
2018-11-09 21:54:00 +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
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