Commit Graph
501 Commits
Author SHA1 Message Date
Florian a11e336215 correct RF2 keys
https://community.openmqttgateway.com/t/kaku-acd-1000-and-flamingo-sf-501p-switch-dont-respond-on-omg-rf2-sent-signal/438/7?u=1technophile
2019-05-27 22:46:46 +02:00
Florian 650d0877ab Enable auto reconnection to the broker if connection is lost more than 30s
#378
#398
by reseting the board instead of going to setup function
2019-05-27 22:45:44 +02:00
Marcin Domański f80d7f4581 Add is_defined filter to the value_template (#403)
Without the is_defined filter home assistant will reset the value to an empty string every time a topic is posted without the value template ie when `home/OpenMQTTGateway/BTtoMQTT/--SNIP-- {"moi":2}` is posted - all other sensor with associated topic `home/OpenMQTTGateway/BTtoMQTT/--SNIP--` will get `""` as their value
2019-05-19 13:13:38 +02:00
1technophile d3f345f944 HA mqtt discovery corrections
#393
add value template definition when missing and correct wrong payloads
2019-05-04 21:52:17 +02:00
Petar Kozul 255ac7ddde Use safeDelayMicroseconds() for guard delay to avoid wdt resets 2019-05-03 19:39:27 +02:00
Petar Kozul 32602ac5e7 Added protocol for Mertik Maxitrol G6R-H4T1 2019-05-01 09:29:00 +02:00
Florian 159376b819 correct PilighttoMQTT json format
#387
2019-04-30 20:50:16 +02:00
1technophile e364b37173 add repeat function to LORA through mqtt 2019-04-28 16:24:36 +02:00
1technophile ae43783fd2 update config files
and increase the test scope for receiving
2019-04-28 16:01:50 +02:00
1technophile decb77899a add IRutils for hexadecimal reading of IR results for ESP8266 2019-04-28 15:38:06 +02:00
1technophile df05d6c374 correct sending with RFM69
#376
2019-04-28 15:07:17 +02:00
1technophile 56bfef8e9c set BLE scans interval per mqtt and on demand BLE scans
#373
to change the BLE scan interval publish a payload {"interval":66666} in
ms to "home/OpenMQTTGateway/commands/MQTTtoBT/set"
to generate a scan publish a 0 interval payload {"interval":0}
2019-04-28 15:06:23 +02:00
1technophile 8aad413ce3 add hexadecimal publication to IRtoMQTT with ESP8266 2019-04-27 14:13:55 +02:00
Legion2 8b0e3eb8b4 added IR json datastring HEX decoding
this breaks current datastring usage
2019-04-22 20:56:33 +02:00
Florian 4b8d28179b Add LORA to functions schema 2019-04-15 22:37:52 +02:00
Florian 43cea28eb3 Update CONTRIBUTING.md (#381) 2019-04-14 18:27:49 +02:00
Florian 0b66ba0b59 Prepare 0.9.1 release 2019-04-14 18:25:55 +02:00
Florian b46b5afeb6 add comment for sonoff pin 2019-04-14 15:56:13 +02:00
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
tjhowse f0d9a1e58e Add "repeat" field to RF JSON messages. (#372) 2019-03-15 18:53:47 +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