jtapio
December 25, 2018, 6:00pm
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
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
Hello,
Could you post the mqtt command sent to your broker ?
jtapio
December 26, 2018, 4:48pm
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
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
szaboi
January 30, 2019, 9:18pm
5
In the serial monitor I got this message too:
“Hey I got a callback
22:12:19.088 -> Storing signal
22:12:19.088 -> Creating Json buffer”
#define simplePublishing true is uncommented.
My openmqttgateway version is 0.9 beta. How can I use the 0.8?
Just download it from the release page :
MQTT gateway for ESP8266, ESP32, Sonoff RF Bridge or Arduino with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03M...