For the next enhancements of OpenMQTTGateway I would like to have your advices, here is a poll that will take 30 seconds to fill and that will give us usefull insights:
Is there a tutorial for dummies on this Iāve got a nodemcu set up on a prototyping board with RF and IR receiver and transmitter according to the schematic. Iāve got it connected to the mqtt broker and set up the gateway connectivity in home assistant, which works. The serial monitor in Arduino IDE shows the IR codes. But it doesnāt show anything when Iāve tried with RF remotes (Nexa and Cotech). Also it doesnāt seem to respond to the switch Iāve set up in Home Assistant with the IR code. Iām having trouble finding out whatās wrong. Anyone else who have struggled with this?
Hello to all,
IĀ“m implementing a arduino rf 433mhs receiver and transmitter to control my switches. I was able with the sketch bellow to push the buttons through serial monitor and itĀ“s working fine all switches are responding to the commands.
My big question is, is it possible to integrate this with hassio? I was looking into your project but IĀ“m no programmer and very noobie in all of this so my skill is very low.
IĀ“m running hassio in a rpi , and my arduino itĀ“s a uno with rf transmitter and receiver, I also have a spare nodemcu but I didnĀ“t test the sketch.
Here bellow find the sketch IĀ“m using. Apreaciate any help:
#include <livolo.h>
byte trport =8; // port of 433-transmitter
Livolo livolo(trport); // transmitter connected to pin trport
int onoff = 10; // data from Serial
unsigned int ID = 6400; // ID of Remote - type your own ID/ f.e. 6400; 19303; 10550; 8500; 7400
unsigned int IDB = 0; // Number of remote's button #1: 0, #2: 96, #3: 120, #4: 24, #5: 80, #6: 48, #7: 108, #8: 12, #9: 72; #10: 40, #OFF: 106
unsigned int SCENE1 = 90; // Number of scene (available 90, 114, 10, 18)
void setup() {
Serial.begin(9600); // serial init
}
void loop() {
// Serial reading
//
if (Serial.available() > 0)
{
onoff = Serial.read()-48;
Serial.println(onoff);
}
if (onoff == 1)
{
livolo.sendButton(ID, IDB);
Serial.println("Button");
delay (1000);
}
if (onoff == 2)
{
livolo.sendButton(ID, SCENE1);
Serial.println("Scene");
delay (1000);
}
if (onoff == 0)
{
livolo.sendButton(ID, 106);
Serial.println("off");
delay (1000);
}
}
To integrate with Home assistant one possibility is to use MQTT, this is where OpenMQTTGateway comes and can answer your need.
Nevertheless I see on your sketch that you use livolo switches and I donāt know if they are compatible with the RF libraries used by OpenMQTTGateway. Maybe some other users already tested that?
Tks for the reply, it seems that someone have already made something here: Livolo RF433 Switches . Quick question for the rpi with hassio comunicate to arduino should I connect them via usb cable? Or should I have transmitters 433mhz and receivers in both? I couldnt understand in the documents.
You donāt need an arduino, just connect your receiver and emitter to raspberry pi and use something like pilight.
Nevertheless I suggest you to go to a dedicated thread related to this solution as this is not related to OpenMQTTGateway
I am using wemos nodemcu V3 and for RF 433 generic transmitter and receiver,
I would like to get some suggestion.
Is it ok to use generic RF 433 transmitter and receiver, which is not working.
I am trying to get codes from geekcreit 12v 4ch relay module, but got no success.
Do you suggest any other RF 433 transmitter and receiver to get it work with Geekcreit 12v 4ch module relay?
Hello. Did you add antenna to your emitter and receiver ?
If you checked the troubleshooting section , what are your results from it ?
We need more infos about what is working and what is not working.
When I subscribed to home/OpenMQTTGateway on my mosquito,
It does shows me online,
But when I publish message to home/OpenMQTTGateway I canāt see anything on my nodemcu connected on serial port,
I have led attached to my receiver which blinks faster/reacts when I press button of my remote,
Donāt understand where am I wrong.