No frame when I debug socketcan out

I'm working on a project that uses the socketcan out, to visualize frames coming from a BMS (Battery Management System). So far when I debugged the socketcan out I was able to see the frames, but due to a problem I don't know I'm not getting any frames when I debug.

Has anyone had this problem before?
Thanks for your help

Hi @David321

What version of socketcan are you using? Is it node-red-contrib-socketcan?

Are the messages sent to the bus at all? We currently do have some issues with NMT messages. For example 000#8101 (reset node 1) does not work at all.

In terminal: cansend can0 000#8101 on the other hand works.

Edit: Oddly, if I create a new simple flow, everything works as expected

[{"id":"470bf6c40827a238","type":"tab","label":"Flow 2","disabled":false,"info":"","env":[]},{"id":"a8d97ceef7904699","type":"socketcan-in","z":"470bf6c40827a238","name":"socketcan-in","config":"da20a8f.2a06d58","x":370,"y":60,"wires":[]},{"id":"691c0675a67d32d8","type":"inject","z":"470bf6c40827a238","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"000#8101","payloadType":"str","x":140,"y":60,"wires":[["a8d97ceef7904699"]]},{"id":"a117d78ba48c5774","type":"socketcan-out","z":"470bf6c40827a238","name":"socketcan-out","config":"da20a8f.2a06d58","x":130,"y":140,"wires":[["c2da61d5c457fb66"]]},{"id":"c2da61d5c457fb66","type":"debug","z":"470bf6c40827a238","name":"debug 5","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":340,"y":140,"wires":[]},{"id":"da20a8f.2a06d58","type":"socketcan-config","interface":"can0"}]

Okay, found the problem thanks to you :wink: The wire to the socket-in was not connected.
Looks good, right?

But if I move the node a bit (oops):

Anyway .. if you share some bits of your flow, we can have a look.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.