You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Being working on this now two months, i still cannot get the software to send a single rf signal via mqtt. I suspected the rf transmitter, but going now through the third different one i have doubts now on the fw.
I have tried the default release, as well as my own build binary. I have a couple of issues using the settings as changing the mqtt password, resulted in admin password defaulted so no RF. So i put all my passwords, topic, etc in settings.h
So far from reading the log i can see MQTT433gateway connects to the MQTT broker successfully, i can confirm this on the mosquitto server debug log seeing several messages from the device:
1530014897: Sending PINGRESP to rf434
1530014900: Received PINGREQ from DVES_375428
1530014900: Sending PINGRESP to DVES_375428
1530014900: Received PINGREQ from DVES_14C4FE
1530014900: Sending PINGRESP to DVES_14C4FE
1530014906: Received PUBLISH from DVES_375428 (d0, q0, r0, m0, 'sonoff/switch/lounge/tele/STATE', ... (156 bytes))
1530014906: Received PUBLISH from DVES_375428 (d0, q0, r0, m0, 'sonoff/switch/lounge/tele/SENSOR', ... (160 bytes))
1530014906: Sending PUBLISH to e9f3c689-6ac0-45de-aed5-cf41262004e8 (d0, q0, r0, m0, 'sonoff/switch/lounge/tele/SENSOR', ... (160 bytes))
1530014912: Received PINGREQ from milight-hub-1493872
1530014912: Sending PINGRESP to milight-hub-1493872
1530014912: Received PINGREQ from rf434
1530014912: Sending PINGRESP to rf434
1530014915: Received PINGREQ from DVES_375428
1530014915: Sending PINGRESP to DVES_375428
1530014915: Received PINGREQ from DVES_14C4FE
1530014915: Sending PINGRESP to DVES_14C4FE
1530014924: Received PINGREQ from mqtt_3672cb7d.1352a4
1530014924: Sending PINGRESP to mqtt_3672cb7d.1352a4
Now when i send any message via mqtt, the gateway doesn't log anything. Looking at others peoples issues here the received message should be something like:
Message arrived bla bla
rf send bla bla
This is a simple command made from the payloads from the wiki to test i use:
Message is published as i can see it my subscribe terminal. But yet the serial terminal or web console don't log anything at all. The second command topic without slash crashes the nodemcu as you can see in the serial log
The trailing / is too much. Also, for debugging it is not required to connect any transmitter/receiver on the esp. You should still see the debug messages.
Here is an example ("mqttReceiveTopic": "rf/recv/", "mqttSendTopic": "rf/send/", "serialLogLevel": "debug"):
New MQTT message: rf/send/impuls .. {"systemcode":24,"programcode":2,"on":1}
transmit rf signal {"systemcode":24,"programcode":2,"on":1} with protocol impuls
transmitted pulse train with 50 pulses
You can also connect rfReceiverPin with rfTransmitterPin via a wire. By enabling rfEchoMessages you should get:
New MQTT message: rf/send/impuls .. {"systemcode":24,"programcode":2,"on":1}
transmit rf signal {"systemcode":24,"programcode":2,"on":1} with protocol impuls
transmitted pulse train with 50 pulses
rf signal received: {"systemcode":24,"programcode":2,"state":"on"} protocol=impuls status=0 repeats=1 deviceID=
rf signal received: {"systemcode":24,"programcode":2,"state":"on"} with protocol impuls
Publish MQTT message: rf/recv/impuls retain=0 .. {"systemcode":24,"programcode":2,"state":"on"}
rf signal received: {"systemcode":24,"programcode":2,"state":"on"} protocol=impuls status=3 repeats=103 deviceID=
rf signal received: {"systemcode":24,"programcode":2,"state":"on"} protocol=impuls status=3 repeats=104 deviceID=
rf signal received: {"systemcode":24,"programcode":2,"state":"on"} protocol=impuls status=3 repeats=105 deviceID=
rf signal received: {"systemcode":24,"programcode":2,"state":"on"} protocol=impuls status=3 repeats=106 deviceID=
rf signal received: {"systemcode":24,"programcode":2,"state":"on"} protocol=impuls status=3 repeats=107 deviceID=
rf signal received: {"systemcode":24,"programcode":2,"state":"on"} protocol=impuls status=3 repeats=108 deviceID=
If your esp crashes during processing a MQTT message, please check your power supply.
Being working on this now two months, i still cannot get the software to send a single rf signal via mqtt. I suspected the rf transmitter, but going now through the third different one i have doubts now on the fw.
I have tried the default release, as well as my own build binary. I have a couple of issues using the settings as changing the mqtt password, resulted in admin password defaulted so no RF. So i put all my passwords, topic, etc in settings.h
So far from reading the log i can see MQTT433gateway connects to the MQTT broker successfully, i can confirm this on the mosquitto server debug log seeing several messages from the device:
Now when i send any message via mqtt, the gateway doesn't log anything. Looking at others peoples issues here the received message should be something like:
Message arrived bla bla
rf send bla bla
This is a simple command made from the payloads from the wiki to test i use:
or
Message is published as i can see it my subscribe terminal. But yet the serial terminal or web console don't log anything at all. The second command topic without slash crashes the nodemcu as you can see in the serial log
So clearly the second command should be the correct one as the gw seems to receive it, but something is not working.
Can you clarify if not even having the transmitter connected to the gw should still try send the code right and of course log it right?
The text was updated successfully, but these errors were encountered: