Hi there, I hope somone can help…
Problem: RF to MQTT only works when serial port is connected.
Compile and upload ok
connect to mqtt and broadcast version ok.
(I am not using and have not tested transmit)
To Reproduce
program D1 from Arduino studio 1.8.8
power D1 / OpenMQTTgateway from USB
open serial terminal (I use TeraTerm) 115200/N/8/1
Monitor MQTT broker (I use mqtt.fx)
Generate a compatible RF-signal (I have tried various different products)
Verify that the RF signal is received on the serial console AND on the mqtt broker.
Close the serial terminal
Generate a compatible RF-signal (I have tried various different products)
Verify that the RF-signal is not received in the mqtt broker.
Hardware: D1 mini (module is ESP-12N)
OpenMQTTgateway version: 0.8.1
RCSwitch library version: 2.6.2
Board package version: 2.5.0-beta2 (also tested with 2.4.0, 2.4.2 with same result)