RFlink console through RasPi

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
cybermaus
Normal user
Posts: 16
Joined: 24 Nov 2016, 11:15

RFlink console through RasPi

#1 Post by cybermaus » 27 Nov 2016, 09:28

Hi

I am trying to find a method to directly link a console to the RFlink, while it is connected to the Rasberry Pi.
The reason for this is when troubleshooting I do not need to unhook the RFlink and move it to the PC. And thus I can leave it in the utility closet

The obvious method is SSH into the RasPi, kill domoticz (to release the /dev/ttyACM0) and hook op a CLI terminal.
But I tried both minicom and cu, both connect, both show the RFlink output, but no working input.

When I type, I see the Mega's com led flash, but I get no responce.
When I press a 433MHz remote, its output is shown.

Code: Select all

Welcome to minicom 2.7

OPTIONS: I18n
Compiled on Jan 12 2014, 05:42:53.
Port /dev/ttyACM0, 08:59:20

Press CTRL-A Z for help on special keys

20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R44;
20;01;Debug;RTS P1;814a0e45481f0ac42c8e;
20;02;RTS;ID=481f0a;SWITCH=01;CMD=DOWN;
20;03;Debug;RTS P2;814a0e45481f0a842c8a;
20;04;RTS;ID=481f0a;SWITCH=01;CMD=DOWN;
20;05;Debug;RTS P3;;


# During the above, I typed several 10;PING<enter> commands (local echo off)
I did play with flow-control on or off.
Also added LF (Ctrl-A Z A) and CR (Ctrl-A Z U)

I wonder if the reason is the minicom sends character based, not entire lines, but I am not sure.
Any helpfull suggestions on what to do in minicom, or what other SSH runnable terminal to use?

Thanks

chrille
Normal user
Posts: 88
Joined: 26 Aug 2015, 15:11
Location: Horsens, Denmark

Re: RFlink console through RasPi

#2 Post by chrille » 27 Nov 2016, 20:30

cybermaus wrote: I wonder if the reason is the minicom sends character based, not entire lines, but I am not sure.
Any helpfull suggestions on what to do in minicom, or what other SSH runnable terminal to use?
Try <ctrl><j> in minicom - another alternative is using screen (the terminal multiplexer - it supports serial as well)

If your goal is remote access to RFLink I highly recommend ESP-link (https://github.com/jeelabs/esp-link) - it uses an ESP8266 to bridge wlan to a serial port. It even allows multiple connections, so you can telnet to the module and issues commands (for instance turn rfdebug on/off) while domoticz is also connected. There's also a web based serial console - it's great for verifying that domoticz is talking to RFlink since you can monitor the PONG replies

- Jan
Jan Chrillesen, Denmark

cybermaus
Normal user
Posts: 16
Joined: 24 Nov 2016, 11:15

Re: RFlink console through RasPi

#3 Post by cybermaus » 27 Nov 2016, 22:53

Ctrl-J in stead of enter works in minicom

thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests