ZhuQI
(ZhuQI)
August 6, 2020, 1:31am
4
damvancuong:
yes, my node is in EU868 frequency band.
I don’t know to check that, can you explain this to me
yes i have added all information to ns
How to view the channel of a node, I think you need to contact your node provider, because the commands of each node provider are different.
From your screenshot, I can see that your node has been successfully joined.
Have you tried to send some data after the node joins successfully?
yes i have tried but we didn’t get any data from the sensor, just only that the node has been successfully joined… That’s the problem I’m asked to be helped.
below is what I did in node-red. it says “connected” but no data comes out
ZhuQI
(ZhuQI)
August 6, 2020, 10:02am
7
Hello @damvancuong , Maybe @velev will help U.
1 Like
nmcc
(Nick McCloud)
August 6, 2020, 10:04am
8
The Node-Red says connected because it is connected to the MQTT server - it doesn’t mean it is connected to the device.
You need to look at the gateway logs to see what it is receiving when you get your device to send.
This should be the same place that you saw the join happen.
if i manually send this data from gateway downlink panel, then live device data show downlink packet however this is not happening in node red. there is no data coming out
.
nmcc
(Nick McCloud)
August 6, 2020, 12:26pm
13
First, you can edit posts, it’s the little pencil underneath your post - saves on deleting and retyping.
I would wonder if your device is hearing the join response - because if it doesn’t, it won’t be able to send any downlinks.
What country are you in - it would be worth checking the settings for the gateway and the device all match up.
velev
(Todor Velev)
August 6, 2020, 3:46pm
14
Hi @damvancuong as @nmcc suggested, let’s check your connection between the node and the gateway. Can you check at what period your node sends the data? Also, can you show us the Properties of the MQTT IN connector in node-red?
1 Like
hi @velev
my node sends the data per 20 minutes.
the Properties of the MQTT IN connector in node-red is as below.
velev
(Todor Velev)
August 7, 2020, 8:13am
16
You do not have topic Data in the Gateway. The topics that you can subscribe or publish to are:
If you want to be subscribed to all topics you can use the wildcard character “#”. And it is better to use “a parsed JSON object” in the Output field.
thanks a lot,
something happened not like before it didn’t happen at all.
but an error occurred that
i have added the json node but it is still “failed to parse JSON String”
can you also tell me what should i enter when i only want to be subscribed to one topic for example the Status Topic?
velev
(Todor Velev)
August 7, 2020, 9:46am
19
For the error can you check your Gateway firmware version?
For topics, you need to change the data in the double curly brackets with your actual data.
For example for status topic, it will be: application/1/device/DEVICE_EUI/status
You need to change DEVICE_EUI with your real one.
my Gateway firmware version P01.005 RAK7258-03-142 868ME.
and in the Properties of the MQTT IN connector in node-red what should i enter instead of “#” for example for status topic?
velev
(Todor Velev)
August 7, 2020, 10:03am
21
Can you open the status page, and scroll down to System frame?
The correct topic is “application/1/device/DEVICE_EUI/status”
You need to change DEVICE_EUI with your real Devide EUI.
sorry this is my firmware version
velev
(Todor Velev)
August 7, 2020, 10:20am
23
Ok. Please update the firmware to the latest one RAK7285 Latest Firmware . Don’t forget to extract the bin file first.
Updating the firmware manual https://doc.rakwireless.com/quick-start/rak7258-micro-gateway/system Point 4.
And after that please check if the timestamp error persist in Node-Red.
it is still “Failed to parse JSON string”
it works. I just have to switch to J.payload
thank you so much for your help and your patience
@velev
thanks for recommend
@ZhuQI
velev
(Todor Velev)
August 7, 2020, 11:07am
26
@damvancuong I am glad that we can help This expression was something that I learn just now, so … good for me too
1 Like