Giter Site home page Giter Site logo

1technophile / openmqttgateway Goto Github PK

View Code? Open in Web Editor NEW
3.4K 155.0 755.0 1.09 GB

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.

Home Page: https://docs.openmqttgateway.com

License: GNU General Public License v3.0

C 15.92% C++ 82.30% Shell 0.08% Python 1.69%
mqtt gateway openhab2 home-automation home-assistant wemos-d1 rcswitch arduino bridge nodemcu

openmqttgateway's Introduction

Community forum

Build Check Code Format

OpenMQTTGateway capabilities

OpenMQTTGateway aims to unify various technologies and protocols into a single firmware. This reduces the need for multiple physical bridges and streamlines diverse technologies under the widely-used MQTT protocol.

Sponsors

Documentation

The documentation is here

The reference sheet, with the list of all functions, pinouts is here

Upload

Upload OpenMQTTGateway directly from the upload page (no additional software required) or build your own configuration with PlatformIO.

Using OpenMQTTGateway ?

Support open-source development through sponsorship and gain exclusive access to our private forum. Your questions, issues, and feature requests will receive priority attention, plus you'll gain insider access to our roadmap.

Products powered by OpenMQTTGateway

Theengs Bridge, Bluetooth gateway (BLE) with external antenna

Theengs bridge is a powerfull BLE to MQTT gateway for over 100 sensors. Equipped with an Ethernet port, and external antenna, ensuring an enhanced range for your BLE sensors. It supports also WiFi connectivity.

Theengs bridge view

Theengs Plug, Bluetooth gateway (BLE) gateway and Smart Plug

Theengs plug brings the following features:

  • BLE to MQTT gateway, tens of Bluetooth devices supported thanks to Theengs Decoder library. The plug uses an ESP32 acting as a BLE to Wifi gateway to scan, decode and forward the data of the nearby sensors,
  • Smart plug that can be controlled remotely,
  • Energy consumption monitoring,
  • Device tracker,
  • Presence detection (beta),
  • Local connectivity first.

Theengs plug view

Support the project by purchasing the Theengs bridge or the Theengs plug

Compatible items

Running on a computer If you want to use the BLE decoding capabilities of OpenMQTTGateway with a Raspberry Pi, Windows or Unix PC you can now leverage Theengs Gateway.

Compatible controllers, saas or software

Contributors ✨

Thanks goes to these wonderful people who helped OpenMQTTGateway on Github and to the users contributions into the community.

Support

For Questions or Support please don't open an issue, first go to the docs and if you don't find your answer there, you can post your question in the community forum

Help

If you like the project and/or used it please consider supporting it! It can be done in different ways:

Media

Theengs Plug

Theengs Plug video ElektroMaker

433Mhz and BLE

433Mhz and BLE gateway video by Andreas Spiess

BLE

BLE gateway video by Andreas Spiess

433Mhz

RTL_433 video by TECH MIND

LORA

LORA video by Priceless Toolkit

openmqttgateway's People

Contributors

1technophile avatar anarchking avatar animavitis avatar badwolf42 avatar blacksmith avatar crankyoldgit avatar csiki2 avatar dependabot[bot] avatar diepeterpan avatar digih avatar flo-x avatar h2zero avatar hallard avatar hannesdi avatar hugokernel avatar ianmtaylor1 avatar ilgrank avatar jmw6773 avatar kabili207 avatar legion2 avatar melyux avatar mpember avatar northernman54 avatar odyno avatar qistoph avatar rds76 avatar rickybrent avatar ssalonen avatar steadramon avatar xopr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openmqttgateway's Issues

Add to your code if you like

I have added a DHT11 sensor and ldr sensor to you code and it is working well. Add if you like.

The DHT.h library needs to be version 0.1.13. Doesnt compile right with latest

LDR is wired to A0 with a voltage divider....I used a variable resistor to tweak and did most of my testing on an uno to get max voltage below 1v. This Works very well surprisingly very sensitive. In a dark room i get 0 and the glow from laptop screen is picked up.

DHT11 is going to D6 GPIO12

//Extra Sensors Setup
//Light Reading**********************************************
unsigned long previousLightMillis = 0;
const int lightInterval = 120000;
//Temp Sensor************************************************
#include <dht.h>
dht DHT;
#define DHT11_PIN 12
int inPin = 12;

//Start Extra Sensors in main loop
extraSensor();

//More Sensors

void extraSensor() {

if (millis() - previousLightMillis >= lightInterval) {

//Read Analog Light Sensor
int sensorValue = analogRead(A0);
Serial.println(sensorValue);
previousLightMillis = millis();
String lighttopic = "home/Light";
sendMQTT(lighttopic,String(sensorValue));
//Read DHT Sensor
int chk = DHT.read11(DHT11_PIN);
float temp = DHT.temperature;
Serial.print("Temperature = ");
Serial.println(1.8temp+32);
Serial.print("Humidity = ");
Serial.println(DHT.humidity);
String temptopic = "home/DHT/temp";
sendMQTT(temptopic,String(1.8
temp+32));
String humiditytopic = "home/DHT/humidity";
sendMQTT(humiditytopic,String(DHT.humidity));
}

}

json payload

instead of passing parameters into the MQTT subject use json

Problems with Sony IR

I had to change the following code in "ZGatewayIR.ino" from
if (strstr(topicOri, "IR_Sony") != NULL){ irsend.sendSony(data, 12); signalSent = true;

to

if (strstr(topicOri, "IR_Sony") != NULL){ irsend.sendSony(data, 15, 3); signalSent = true;

Because my Sony AVR relies on having IR signals repeated 3 times (this is the last parameter...) and uses 15bit signals...

Maybe you could generalize the function a bit more, or is there a way to tell how many repetitions and which bit-length to use via MQTT?

other ethernet module/library support

Wiki says

W5100 shield (tested) or other ethernet module

I have enc28j60 ethernet module and trying to adapt the sketch to use UIPEthernet library. Hope I'm doing things right...
So, I'm only getting the following:

client mqtt not connected, trying to connect
Attempting MQTT connection...

Will it be possible to provide the sketch for such hardware, even untested? I will be more than happy to test and share results. Thanks!

can't compile code with arduino IDE 1.8.3

Simply cloned with submodules and tried to compile.
Error:

/Users/robert/devzone/Arduino/OpenMQTTGateway/OpenMQTTGateway.ino: In function 'boolean reconnect()':
OpenMQTTGateway:82: error: invalid conversion from 'const char*' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
       client.publish(will_Topic,Gateway_AnnouncementMsg,will_Retain);
                                                                    ^
In file included from /Users/robert/devzone/Arduino/OpenMQTTGateway/OpenMQTTGateway.ino:42:0:
/Users/robert/devzone/Arduino/libraries/PubSubClient/PubSubClient.h:70:12: error:   initializing argument 2 of 'boolean PubSubClient::publish(char*, uint8_t*, unsigned int)' [-fpermissive]
    boolean publish(char *, uint8_t *, unsigned int);
            ^
OpenMQTTGateway:89: error: 'class PubSubClient' has no member named 'state'
       trc(String(client.state()));
                         ^
exit status 1
invalid conversion from 'const char*' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

DHT Enable

Hi,

i have tried to Compile with the option use of DHT but i run in some problems...

first Missing the DHT.h so i installed the "DHT_sensor_libray" from Adafruit
then there was missing the Adafruit_Sensor.h so i installed "Adafruit_Unified_Sensor"

But now i am Ending in:

ZsensorDHT:38: error: redefinition of 'long unsigned int time1'
unsigned long time1 = 0;
^
ZgatewayBT:36: error: 'long unsigned int time1' previously defined here
unsigned long time1 = 0;
^
exit status 1
redefinition of 'long unsigned int time1'

Probally using the Adafruit Libs is wrong and i must Install other ones ?

Sorry i have started a short time ago with all the Arduino things...
And dont have such a good knowlegde in debugging scripts

At all i think it would be a good Idea to Expand the instructions for Adding the DHT libs like it was described for the iremote and pubsubclient ;-)

Best Regards
Hannes

Standing Fan IR Code drives me Crazy

First of all, thank you for doing this great project.

I am new with all this stuff and started with Arduino 2 Weeks ago... let a led blinking and thinked.. ok that was easy so look for some cool stuff and here we go....

I think i made all as you have described including "#define MQTT_MAX_PACKET_SIZE 256"
all codes working fine expect the RAW Code....

I cannot find a Global Caché Code for my Fan
so i have started make my own small code for detecting and sending the codes and endet up with this...

#include <IRremote.h>

IRsend irsend;

// Power On/Off
unsigned int raw2[100] = {8950,4400,600,1650,600,600,550,600,550,550,600,550,550,600,550,600,550,600,550,550,600,1700,550,1650,600,1650,600,1650,600,1650,600,1650,600,1700,550,1700,550,1700,550,600,550,600,550,600,550,550,600,550,550,600,550,600,550,600,550,1650,600,1650,600,1650,600,1650,600,1700,550,1700,550,1700,600,1650,600,550,550,600,550,600,550,600,550,550,600,550,600,550,550,600,550,1650,600,1650,600,1700,550,1700,550,1700,600,1650,600,};

//Speed
unsigned int raw3[100] = {8950,4450,550,1700,550,550,600,600,550,600,550,550,600,550,550,600,550,550,600,550,600,1650,600,1650,600,1650,600,1700,550,1700,550,1700,550,1700,600,1650,600,1650,600,1650,600,550,600,550,600,550,550,550,600,550,600,600,550,550,600,550,550,1700,550,1700,550,1700,550,1700,600,1650,600,1650,600,1650,600,1650,600,600,550,550,600,550,550,600,550,600,550,550,600,600,550,550,600,1650,600,1650,600,1650,600,1650,600,1650,600,};

// Rotate
unsigned int raw4[100] = {8950,4450,550,1700,600,550,550,600,550,600,550,600,550,550,600,550,550,600,550,600,550,1650,600,1650,600,1650,600,1650,600,1700,550,1700,550,1700,550,1700,600,1650,600,550,550,600,550,1650,600,600,550,600,550,550,600,550,550,600,550,1700,550,1700,550,600,550,1650,600,1650,600,1700,550,1700,550,1700,550,600,550,600,550,1650,600,600,550,550,600,550,550,600,550,600,550,1650,600,1650,600,600,550,1650,600,1650,600,1650,600,};

void setup()
{
Serial.begin(9600);
}

void loop() {
if (Serial.read() != -1) {
for (int i = 0; i < 1; i++) {
irsend.sendRaw(raw2,100,38); // Power On/Off
delay(1000);
irsend.sendRaw(raw3,100,38); // Speed
delay(1000);
irsend.sendRaw(raw4,100,38); // Rotate
delay(1000);
}
}
}

Works fine... only Problem, its not a Global Caché Code....
So i have look around and found a Program called: IrScrutinizer / HARCToolbox this is able to convert different Codes to other format

http://www.harctoolbox.org
https://github.com/bengtmartensson/harctoolboxbundle/releases

and endet up with this:
IrScrutinizer captured signal:
0000 006D 0032 0000 0154 00A7 0016 003F 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 0002

+8941 -4391 +579 -1657 +579 -579 +579 -579 +579 -579 +579 -579 +579 -579 +579 -579 +579 -579 +579 -579 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -579 +579 -579 +579 -579 +579 -579 +579 -579 +579 -579 +579 -579 +579 -579 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -579 +579 -579 +579 -579 +579 -579 +579 -579 +579 -579 +579 -579 +579 -579 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -1657 +579 -53

00 00 2D 00 D2 04 11 76 08 93 01 21 03 3C 01 21 01 21 01 21 00 1A 32 01 22 22 22 22 11 11 11 11 12 22 22 22 21 11 11 11 12 22 22 22 21 11 11 13

sendir,1:1,1,38029,1,101,340,167,22,63,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,63,22,63,22,63,22,63,22,63,22,63,22,63,22,63,22,63,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,63,22,63,22,63,22,63,22,63,22,63,22,63,22,63,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,63,22,63,22,63,22,63,22,63,22,63,22,2

so the last entry should it be... so i cutted out to:

mosquitto_pub -t home/commands/IR_GC -m "38029,1,101,340,167,22,63,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,63,22,63,22,63,22,63,22,63,22,63,22,63,22,63,22,63,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,63,22,63,22,63,22,63,22,63,22,63,22,63,22,63,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,63,22,63,22,63,22,63,22,63,22,63,22,2"

but nothing happens...

looks like there is something wrong... the LED on the NodeMCU is not flashing when send this..
instead when i use:

mosquitto_pub -t home/commands/IR_NEC -m 551494365
for my LG TV, the Led is flashing at send

hope anybody can help me what i doing wrong...

Best Regards
Hannes

memory fault

I think in function callback: shouldn't it be
byte* p = (byte*)malloc(length+1);
because later you do
p[length] = '\0';

Turn on and off RF trasmitter

Hi,
Is the 433MHZ Tx always transmitting carrier signal even if i'm not trasmitting data?
Is it better to connect TX VCC to a GPIO and turn it on/off?
ESP8266 GPIOs carry 12mA, that should be ok for powering the TX unit.

Light Sensor Addon is finished

i hope all of you understand my bad english ;-)

sorry for the chaos and unstructured work but this is the first contribution
for a project in my life... i started 3 month ago with the arduino stuff
and have no clue i have understand the git system correct how to merge code..

So here we go....

https://github.com/HannesDi/OpenMQTTGateway/tree/addon-lightsensor

I have opened the Door on OpenMQTTGateway for "i2c Bus Modules/Sensors"
but this has required to complete restructure the Pin Connections
on the NodeMCU

Why?
2 Reasons

First:
As most of us know and and 1technophile has allready written
we run out of usable pins for different boards.
So i have made some research and found out that many pins
could switched its function...
like d0 - gpio16 and d5 - gpio14
d0 could not be used for receive because it has no interrupt as i have understand
so why not use it for Sending IR ? ;-)
the d5 is free and usable for other stuff.

Second:
To Use I2C there a 2 possible ways...

  1. complete re-invent the i2c software for the Board
  2. use the Wire.h that exists and work great...
    But Wire.h has a small problem.. it explicit wants D1 and D2 on the ESP8266
    and so i have freeded and switched the other pins..

Ended up in this:

D0 - GPIO16 # as Send Pin for IR (because IR need no interrupt)
D1 - GPIO5 # as SCL (I2C Bus) for BH1750 Light Sensor
D2 - GPIO4 # as SDA (I2C Bus) for BH1750 Light Sensor
D3 - GPIO00 # as Receive Pin for 433mhz
D5 - GPIO14 # as Receive Pin for DHT22
D8 - GPIO15 # as Send Pin for 433mhz

And all is Working ;-)

There is a another benefit for using this...
I await the next 2 Days a another i2c bus module the "BME280" a "I2C or SPI Temperature, Humidity and Pressure Sensor"

for all they dont know what this means...
the I2C bus can handle up to 8 modules on 2 wires in parallel (no more worries about free pins)
and... for thoose they have allready a DHT11 or DHT22 you can unplug it then and
we have again pin D5 free for other things ;-)

i hope you an first of all 1technophile like my work

Best Regards Synologix / HannesDi

esp8266 open wifi network

The esp8266 is visible as an open wifi network with a SSID like ESP_12345. It is possible to connect to it and get an ip-number.

To avoid this, you can set the esp8266 in station mode:
In OpenMQTTTGateway.ino add, after line 146 delay(10) :

WiFi.mode(WIFI_STA);

Arduino Duemilanove woes

I've been attempting to use the gateway with an Arduino Duemilanove using a 433mhz RF transmitter/receiver, yet have been having quite a fair amount of difficulty in getting it to work. It seems that whenever I send an RF command, my RF transmitter will only send gibberish to the receiver. This transmitter/receiver pair has been working fine with my Raspberry Pi, so the transmitters do indeed work. The transmitter is connected to pin D4.

The console debug log: https://gist.github.com/IronWolfMC/c0afb79a549ab70cf66458b97755f1ae

RF Receiver output log (the code I sent was 5330227, instead the receiver is getting a single random digit): https://gist.github.com/IronWolfMC/271948abb980b2efcd95b47f6ce2437f

The Arduino is also receiving 'phantom IR transmissions' based on the console log, of which I cannot figure out what is going on. I do not have a receiver connected.

Thank you for any help.

OpenMQTTGateway.ini - user defined parameters not working

User defined parameters get trounced by the following two lines of code in OpenMQTTGateway.ino:

if (valuePLSL != 0) valuePRT = 1;
if (valuePRT != 0) valuePLSL = 350;

Everything works as expected if these two lines are removed and recompiled.

e.g. send MQTT command with RF Pulse Length: 180 and RF Protocol number: 1
mosquitto_pub -d -u user -P password -t home/commands/MQTTto433/PLSL_180/433_1 -m 5321996

Openhab users warning

It took me three weeks to find the solution why the IR send function did not work in my Openhab2 configuration. The space character between "{mqtt=">[broker:" and "home/commands/IR_......" is essential.
No space char = not working...

Avoid duplicate of RF signals for multiple gateway installations

Goal is to removes duplicate signal received when several gateway are used, for instance if one sensor emit and the code is listened by two gateway they will previously send two code by MQTT. With this modification it should not be the case anymore.
The first gateway that listened the code send the code to the other gateways by MQTT, these gateways store the code into their ReceivedSignal array to check against this array when the code is received by RF.

Add RFM69 gateway

Hi, your work is AWSOME! But did you consider adding other RF transmitters?
Like for example nRF905 transceiver?
I could not find anything about connecting it to a Esp8266, but maybe you know more about this

Homie convention

Hi, first of all let me congratulate for such good project. I love it and I'm investing quite time on testing what you explain, so thanks a lot.

I just want to ask if you considered on following the [Homie convention](https://github.com/marvinroger/homie) on top of the MQTT layer? I used to use OpenHAB and now I'm migrating to Home Assistant and in all devices that I integrate using MQTT I follow that convention, I think it's very useful.

Regards and thanks your opinion about it.

Oriol Rius

Only uns RFtoMQTTtoRF

Hi,

i can't figure out if it is possible remove the IR Suppprt for the OpenGateway. Unfortunately i can't find something in the wiki if it is possible?

Any Help on that

Thanks

BR

Lukas

Duplicate

Hey fantastic job on this but I was wondering if you could implement a simple change to remove duplicates. My sensors send duplicate codes to ensure that it is received. Can you implement duplicate removal code? I have changed the code to basically do this but only checks the last code that was sent. This fails if one of the codes sent is not read properly or if 2 sensors fire at the same time. I am using a toggle feature in home assistant so makes it difficult and i will sometimes get 2 toggles.

I used the time feature now() and imported.

Add RF and IR repeater function

The goal is when a signal is received tfrom RF or IR to repeat it with the emitter, taking into account loop issues (if multiple gateway don't loop the signal)

Change to GPL V3 license

As I have to use part of examples that are GPL V3 licensed I need to change the license. Moreover some libraries licensed GPL and not LGPL could be studied for integration like rfm69 from lowpowerlab

Adding DHT sensor

I have enabled the sensor in the User_config.h "#define ZsensorDHT" but I cannot see where the pins are enabled for the dht11 to be picked up from?

Cannot compile with error "avr/interrupt.h: No such file or directory"

Dear all,

I'm very new to this arduino environment and this is actually my first project to explore my smart home study. I have installed the Platformio software, imported the "OpenMQTTGateway" project folder and compiled the code. i quickly realised that i am also required to get all the related libraries and put into the lib folder to make use of the additional libraries.

i have got myselfe IRremote, IRremoteESP8266, pubsubclient, and rcswitch from the internet and put into the lib folder. my compiling process went further until i met the following situation which i cant proceed anymore:

`Compiling .pioenvs\nodemcuv2\lib\Ethernet\utility\w5100.o
Compiling .pioenvs\nodemcuv2\lib\rc-switch-master\RCSwitch.o
Compiling .pioenvs\nodemcuv2\lib\Arduino-IRremote-master\IRremote.o
lib\Arduino-IRremote-master\IRremote.cpp:21:27: fatal error: avr/interrupt.h: No such file or directory
#include <avr/interrupt.h>
^
compilation terminated.

*** [.pioenvs\nodemcuv2\lib\Arduino-IRremote-master\IRremote.o] Error 1
[ERROR] Took 17.75 seconds`

i realised this is a standard lib from the arduino suite and i went to install the arduino software, copied all the lib and put into Platformio global lib but i still cant get past this error.

Can anybody please help to enlighten me on this? thank you very much in advance.

Regards,
Kenny

esp8266 enable sendPanasonic and sendRCMM

You might want to include IR support for IR_PANASONIC and IR_RCMM. I managed both with a little update of your code.
Inside user_config.h after line 127 add

  #define IR_PANASONIC
  #define IR_RCMM

Inside ZgatewayIR.ino after line 240 add:

  #ifdef IR_PANASONIC
  if (strstr(topicOri, "IR_PANASONIC") != NULL){
    irsend.sendPanasonic(0x4004, data);
    signalSent = true;
  }
  #endif
  #ifdef IR_RCMM
  if (strstr(topicOri, "IR_RCMM") != NULL){
    if (valueBITS == 0) valueBITS = 32;
    irsend.sendRCMM(data, valueBITS);
    signalSent = true;
  }
  #endif

I also managed a "long power on" press for the Panasonic, however that needs some additional changes in IRremoteESP8266.h and IRremoteESP8266.cpp

Byron

Hi

I'm very new to this having been using the RFLink433 unit - someone pointed out this code - so - I put together an ESP8266 and the RF receiver... I am looking at the serial signal and with a little handset I have - the unit is picking it up no problem (other than reboots sometimes when setting up).

However it is totally ignoring my Byron SX35 doorbell pushes - should it know about these?

mqtt LWT Online / Offline fix

The announcement should be retained.
client.publish(will_Topic,Gateway_AnnouncementMsg,will_Retain);

This will fix online/offline weirdness to will Topic.

...sent from my phone...

Integration of 315 Mhz RF

It would be nice to integrate RF-Receiver and RF-Tranmitter for 315 Mhz.
Using Modules für 315 Mhz with the actual settings for 433 Mhz does not work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.