ESP8266 RF sending problem


#1

Hello!
I have ESP8266 NodeMCU with cheap china RF emitter and receiver

Receiving works and i can get values in serial monitor and in mosquitto/Openhab2

But sending stays here… The last line appears and nothing else

Libraries installed via ArduinoIDE, but checked versions correctly, i think :slight_smile:

BlockquoteAdv data RFtoMQTT
Pub json into:
home/OpenMQTTGateway/433toMQTT
{“value”:3232247,“protocol”:2,“length”:24,“delay”:705}
Hey I got a callback
Storing signal
Creating Json buffer
Min ind:
3
store code :
3232247/2180278
Col: val/timestamp
0:3732679/440818
1:3379175/449701
2:3635159/554813
3:3232247/2180278
4:0/0
5:0/0
6:0/0
7:0/0
8:0/0
9:0/0
10:0/0
11:0/0
Data from JSON stored
Creating RF buffer
Rcv. RF
LED MNG
isAduplicate?
–don’t pub. duplicate–
Hey I got a callback

Blockquote


#2

Hello,

Could you post the mqtt command sent to your broker ?


#3

home/OpenMQTTGateway/SYStoMQTT {“uptime”:83880,“freeMem”:40048,“rssi”:-44,“SSID”:“jtapio 2”,“modules”:“RF”}
home/OpenMQTTGateway/commands/MQTTto433 3635159
home/OpenMQTTGateway/SYStoMQTT {“uptime”:84000,“freeMem”:40048,“rssi”:-42,“SSID”:“jtapio 2”,“modules”:“RF”}
home/OpenMQTTGateway/433toMQTT {“value”:3732679,“protocol”:2,“length”:24,“delay”:703}
home/OpenMQTTGateway/commands/MQTTto433 3635159

MQTT Broker verbose

jtapio 2
Activated modules
RF
Creating RF buffer
Rcv. RF
LED MNG
isAduplicate?
Adv data RFtoMQTT
Pub json into:
home/OpenMQTTGateway/433toMQTT
{“value”:3732679,“protocol”:2,“length”:24,“delay”:703}
Hey I got a callback
Storing signal
Creating Json buffer
Min ind:
4
store code :
3732679/84004278
Col: val/timestamp
0:3732679/440818
1:3379175/449701
2:3635159/554813
3:3232247/2180278
4:3732679/84004278
5:0/0
6:0/0
7:0/0
8:0/0
9:0/0
10:0/0
11:0/0
Data from JSON stored
Creating RF buffer
Rcv. RF
LED MNG
isAduplicate?
–don’t pub. duplicate–
Hey I got a callback

Arduino Serial Monitor

That should continue from “i got a callback” line but it wont


#4

Your issue Should be due to the use of v0.9beta wich has jsonpublishing activated per default with a command sent with a simple publishing.

V0.9beta is still not released and no documented. May I advise you to go to the v0.8 path or if you want to stay with v0.9beta just uncomment simplePublishing in user_config.h