ramonmata / node-red-contrib-xbee

Node-RED module for the XBee radio modules
MIT License
0 stars 4 forks source link

Extract Sensor data #6

Closed MartinSokolov15 closed 4 years ago

MartinSokolov15 commented 4 years ago

Hi, i use XBee module with board, that use breadboard, on which we can attach simple sensors. I use this nodehttps://flows.nodered.org/node/node-red-contrib-xbee , to ''listening'' for data and I tried to extract sensor data via xbee api node and function node with msg.payload, but in the debug node i don't receive anythin. Any help?

ramonmata commented 4 years ago

It could be many things, here are 2 that I think could help:

best regards!

martin9115 commented 4 years ago

I checked the connections via XCTU software I don't use RPI i connect it directly to PC

ramonmata commented 4 years ago

Ok, let's try this, with XCTU should be able to debug that XBees are reading and transmiting sensor data.

Could you try this? If all of this looks correct, then it may be a configuration thing to check with the NodeRed nodes, specifically the configuration nodes where you specify the COM port, etc for the RX and TX nodes.

Also you may need to send a command to the XBee to enable reading the sensor, or it can be configured to make it automatically. But with the XCTU you may check that.

Best regards!

El Mié, 25 nov 2020 07:54, martin9115 notifications@github.com escribió:

I checked the connections via XCTU software I don't use RPI i connect it directly to PC

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ramonmata/node-red-contrib-xbee/issues/6#issuecomment-733719819, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIU5MQCLRRBT57GE2VPNITSRUD7PANCNFSM4T7Q37BQ .

ramonmata commented 4 years ago

Also, Node-RED has a very useful command to debug what's happening within the flow Try the node-red-log command line utility (should included in your Node-RED installation) and look for any error messages.

There are more logging options in this link that may help to understand what's happening in Node-RED: https://nodered.org/docs/user-guide/runtime/logging

Best regards!

ramonmata commented 4 years ago

Closing for now, feel free to reopen if you find an issue with the library

best regards!

martin9115 commented 3 years ago

I try this, but in the video not all configs are visible, so i could't repeat them. Can anyone please help me? https://www.youtube.com/watch?v=K-jov9Cvxcw&t=46s

martin9115 commented 3 years ago

Hi, i try this example, but i can't see the message ''Hello'', that supposed to come up and i've got this in the debug node. Where can be my mistake?

107935345-f1a11300-6f89-11eb-8a1d-62609c6c066b 107935357-f6fe5d80-6f89-11eb-84ae-0d11e0da767b

107935378-fcf43e80-6f89-11eb-9abd-5a141081610f

114191291-ec8e8d80-9954-11eb-9de8-19101f112aef