Re: Kenwood CAT to relay example.json..... PROGRESS
Sorry I was out on a fairly long road trip today and then crashed and burned on the couch for three hours. Now with somewhat fresh mind....
OK, jogging my memory and Dave's experimenting around here is what should solve it to get the input from the Kenwood intact so you can then pass along to parse.
On the Serial In (or Serial Request), double click it to open then click on the pencil to edit. Change Split Input to On Character and the ; (semi colon) character. Each response from Kenwood is terminated with a ; That should get the data flowing and you should see the FA responses. Then try the example flow I gave you and it should show the frequency.
For others having Serial In issues, look at the protocol for whatever device you are trying to connect to. For example, the DUC-1/Hygain rotor protocol uses a terminator of ; (just like Kenwood) and you need to set that as the split input character in the Serial node.
73 Dave wo2x
toggle quoted message
Show quoted text
-----Original Message----- From: [email protected] < [email protected]> On Behalf Of Dave / NR1DX Sent: Thursday, August 12, 2021 8:29 PM To: [email protected]Subject: Re: [nodered-hamradio]Kenwood CAT to relay example.json..... PROGRESS A break through of sorts late this afternoon In the port setup is a group of boxes under INPUT. The second row down is a line SPLIT INPUT with two boxes which default to [On the character]and [\n] Changing the [\n] to "A" ( one of the characters in the serial string we are looking for) allowed information to start coming out of the serial port into the rest of the flow. I am sure that "A" is not likely correct it certainly screws up the serial message parsing for the later logic to act on But it points as to where to start looking further ....... Is "\n" supposed to be a number or \(number) maybe? Can anyone point me to a complete set of DOCUMENTATION that defines what all the choices under INPUT are and how to choose appropriately? Dave WO2X and Alan thanks again for all your suggestions earlier. Dave a video call tomorrow at this point is not necessary. Pointers to real documentation if it exists appreciated though. Until that surfaces I will likely play the "monkey at the typewriter" till I figure out what goes in all those boxes and why. Tomorrow I will point the output of the Serial node to Msg-Payload in DEBUG mode and see what the data string really looks like Dave NR1DX On 8/12/2021 1:00 PM, Dave / NR1DX wrote: Dave & Alan
OK Dave's cleanup and reinstall routine was 98% accurate and I was able to fill in the holes. I now have the all the other USB COM ports cleaned out and the FTDI port listed and connected... That is the good news ...the bad news is still no data coming out of the SERAIL-IN node. I bypassed all the other stuff and routed the output of the SERIAL-IN directly MSG_payload to see what if anything we were getting...nothing.
My thinking is correct (verify) that if the SERIAL NODE is now "connected", and my serial dongle RXD node is blinking when I change FREQ we should see some kind of string coming out of that node ( ASCII I suspect)
I will continue to plug away at this but if I don't solve it today tomorrow at your convenience is fine
Dave NR1DX
On 8/12/2021 12:08 PM, David De Coons wo2x wrote:
To delete all the old references to serial ports in the serial node, double click the serial node. Click the pencil to edit. Upper left of that window select delete.
Use pull down to select next serial device. Use pencil to edit. Delete. Repeat for any remaining serial cables.
Then it will prompt to create new. When you were in the /dev/serial folder, highlight the serial cable in the serial by ID folder. Right click and select copy path.
Back in Node Red when you open the serial node and create new. Paste the path you copied for the usb to serial adapter. Set baud rate. Set timeout to something like 500 ms. It defaults to 10000 ms. This is important!
Sorry if I am not 100% accurate with description. Doing it from memory while out having lunch.
Again let me know and I can help tomorrow.
Dave wo2x
Sent from my waxed string and tin cans.
On Aug 12, 2021, at 11:44 AM, Alan Blind, WA9WUD <a.alan.blind@...> wrote:
-- Dave Manuals@... www.ArtekManuals.com -- This email has been checked for viruses by Avast antivirus software.
|
Re: Kenwood CAT to relay example.json..... PROGRESS
I think \n (ASCII char 10 is new line feed and is different than \r (ASCII char 13) which is carriage return. It would be \r\n for both, or at least that was how I remember it from my days at staring at an HP serial protocol analyzer. ? ? 73 Dave wo2x ? ?
toggle quoted message
Show quoted text
From: [email protected] < [email protected]> On Behalf Of Warren Merkel Sent: Thursday, August 12, 2021 8:38 PM To: [email protected]Subject: Re: [nodered-hamradio]Kenwood CAT to relay example.json..... PROGRESS ? \n ( new line) means look for the carriage return and line feed characters, together. .? ?Char(13) Char(10) If your string only has one or the other,.it won't match. ? On Thu, Aug 12, 2021, 8:29 PM Dave / NR1DX <manuals@...> wrote: A break through of sorts late this afternoon
In the port setup is a group of boxes under INPUT. The second row down is a line? SPLIT INPUT with two boxes which default to [On the character]and [\n]
Changing the [\n] to "A"? ( one of the characters in the serial string we are looking for) allowed information to start coming out of the serial port into the rest of the flow.
??I am sure that "A" is not likely correct it certainly screws up the serial message parsing for the later logic to act on But it points as to where to start looking further ....... Is "\n" supposed to be a number or \(number)? maybe?
Can anyone point me to a complete set of DOCUMENTATION? that defines what all the choices under INPUT are and how to choose appropriately?
Dave WO2X and Alan thanks again for all your suggestions earlier. Dave a video call tomorrow at this point is not necessary. Pointers to real documentation if it exists appreciated though. Until that surfaces I will likely play the "monkey at the typewriter" till I figure out what goes in all those boxes and why.
Tomorrow I will point the output of the Serial node to Msg-Payload in DEBUG mode and see what the data string really looks like
Dave NR1DX
On 8/12/2021 1:00 PM, Dave / NR1DX wrote: > Dave & Alan > > OK Dave's cleanup and reinstall routine was 98% accurate and I was > able to fill in the holes. I now have the all the other USB COM ports > cleaned out and the FTDI port listed and connected... That is the good > news ...the bad news is still no data coming out of the SERAIL-IN > node. I bypassed all the other stuff and routed the output of the > SERIAL-IN? directly MSG_payload to see what if anything we were > getting...nothing. > > My thinking is correct (verify) that if the SERIAL NODE is now > "connected", and my serial dongle RXD node is blinking when I change > FREQ we should see some kind of string coming out of that node ( ASCII > I suspect) > > I will continue to plug away at this but if I don't solve it today > tomorrow at your convenience is fine > > Dave > NR1DX > > On 8/12/2021 12:08 PM, David De Coons wo2x wrote: >> To delete all the old references to serial ports in the serial node, >> double click the serial node. Click the pencil to edit. Upper left of >> that window select delete. >> >> Use pull down to select next serial device. Use pencil to edit. >> Delete. Repeat for any remaining serial cables. >> >> Then it will prompt to create new. When you were in the /dev/serial >> folder, highlight the serial cable in the serial by ID folder. Right >> click and select copy path. >> >> Back in Node Red when you open the serial node and create new. Paste >> the path you copied for the usb to serial adapter. Set baud rate. Set >> timeout to something like 500 ms. It defaults to 10000 ms. This is >> important! >> >> Sorry if I am not 100% accurate with description. Doing it from >> memory while out having lunch. >> >> Again let me know and I can help tomorrow. >> >> Dave wo2x >> >> Sent from my waxed string and tin cans. >> >>> On Aug 12, 2021, at 11:44 AM, Alan Blind, WA9WUD >>> <a.alan.blind@...> wrote: >>> >> >> >> >> >
-- Dave Manuals@...
-- This email has been checked for viruses by Avast antivirus software.
|
Ed
These devices are designed to be switched from a GPIO pin. ?I have several.
They safely control 120VAC loads, with overload and surge protection. ?You could in turn use it to switch a 240 VAC load on/off through a two pole contractor, with 120VAC coil.
Alan
|
Re: Kenwood CAT to relay example.json..... PROGRESS
\n ( new line) means look for the carriage return and line feed characters, together. .? ?Char(13) Char(10)
If your string only has one or the other,.it won't match.
toggle quoted message
Show quoted text
On Thu, Aug 12, 2021, 8:29 PM Dave / NR1DX < manuals@...> wrote: A break through of sorts late this afternoon
In the port setup is a group of boxes under INPUT.
The second row down is a line? SPLIT INPUT with two boxes which default
to [On the character]and [\n]
Changing the [\n] to "A"? ( one of the characters in the serial string
we are looking for) allowed information to start coming out of the
serial port into the rest of the flow.
??I am sure that "A" is not likely correct it certainly screws up the
serial message parsing for the later logic to act on
But it points as to where to start looking further ....... Is "\n"
supposed to be a number or \(number)? maybe?
Can anyone point me to a complete set of DOCUMENTATION? that defines
what all the choices under INPUT are and how to choose appropriately?
Dave WO2X and Alan thanks again for all your suggestions earlier. Dave a
video call tomorrow at this point is not necessary. Pointers to real
documentation if it exists appreciated though. Until that surfaces I
will likely play the "monkey at the typewriter" till I figure out what
goes in all those boxes and why.
Tomorrow I will point the output of the Serial node to Msg-Payload in
DEBUG mode and see what the data string really looks like
Dave
NR1DX
On 8/12/2021 1:00 PM, Dave / NR1DX wrote:
> Dave & Alan
>
> OK Dave's cleanup and reinstall routine was 98% accurate and I was
> able to fill in the holes. I now have the all the other USB COM ports
> cleaned out and the FTDI port listed and connected... That is the good
> news ...the bad news is still no data coming out of the SERAIL-IN
> node. I bypassed all the other stuff and routed the output of the
> SERIAL-IN? directly MSG_payload to see what if anything we were
> getting...nothing.
>
> My thinking is correct (verify) that if the SERIAL NODE is now
> "connected", and my serial dongle RXD node is blinking when I change
> FREQ we should see some kind of string coming out of that node ( ASCII
> I suspect)
>
> I will continue to plug away at this but if I don't solve it today
> tomorrow at your convenience is fine
>
> Dave
> NR1DX
>
> On 8/12/2021 12:08 PM, David De Coons wo2x wrote:
>> To delete all the old references to serial ports in the serial node,
>> double click the serial node. Click the pencil to edit. Upper left of
>> that window select delete.
>>
>> Use pull down to select next serial device. Use pencil to edit.
>> Delete. Repeat for any remaining serial cables.
>>
>> Then it will prompt to create new. When you were in the /dev/serial
>> folder, highlight the serial cable in the serial by ID folder. Right
>> click and select copy path.
>>
>> Back in Node Red when you open the serial node and create new. Paste
>> the path you copied for the usb to serial adapter. Set baud rate. Set
>> timeout to something like 500 ms. It defaults to 10000 ms. This is
>> important!
>>
>> Sorry if I am not 100% accurate with description. Doing it from
>> memory while out having lunch.
>>
>> Again let me know and I can help tomorrow.
>>
>> Dave wo2x
>>
>> Sent from my waxed string and tin cans.
>>
>>> On Aug 12, 2021, at 11:44 AM, Alan Blind, WA9WUD
>>> <a.alan.blind@...> wrote:
>>>
>>
>>
>>
>>
>
--
Dave Manuals@...
--
This email has been checked for viruses by Avast antivirus software.
|
Re: Kenwood CAT to relay example.json..... PROGRESS
A break through of sorts late this afternoon
In the port setup is a group of boxes under INPUT. The second row down is a line? SPLIT INPUT with two boxes which default to [On the character]and [\n]
Changing the [\n] to "A"? ( one of the characters in the serial string we are looking for) allowed information to start coming out of the serial port into the rest of the flow.
?I am sure that "A" is not likely correct it certainly screws up the serial message parsing for the later logic to act on But it points as to where to start looking further ....... Is "\n" supposed to be a number or \(number)? maybe?
Can anyone point me to a complete set of DOCUMENTATION? that defines what all the choices under INPUT are and how to choose appropriately?
Dave WO2X and Alan thanks again for all your suggestions earlier. Dave a video call tomorrow at this point is not necessary. Pointers to real documentation if it exists appreciated though. Until that surfaces I will likely play the "monkey at the typewriter" till I figure out what goes in all those boxes and why.
Tomorrow I will point the output of the Serial node to Msg-Payload in DEBUG mode and see what the data string really looks like
Dave NR1DX
toggle quoted message
Show quoted text
On 8/12/2021 1:00 PM, Dave / NR1DX wrote: Dave & Alan
OK Dave's cleanup and reinstall routine was 98% accurate and I was able to fill in the holes. I now have the all the other USB COM ports cleaned out and the FTDI port listed and connected... That is the good news ...the bad news is still no data coming out of the SERAIL-IN node. I bypassed all the other stuff and routed the output of the SERIAL-IN? directly MSG_payload to see what if anything we were getting...nothing.
My thinking is correct (verify) that if the SERIAL NODE is now "connected", and my serial dongle RXD node is blinking when I change FREQ we should see some kind of string coming out of that node ( ASCII I suspect)
I will continue to plug away at this but if I don't solve it today tomorrow at your convenience is fine
Dave NR1DX
On 8/12/2021 12:08 PM, David De Coons wo2x wrote:
To delete all the old references to serial ports in the serial node, double click the serial node. Click the pencil to edit. Upper left of that window select delete.
Use pull down to select next serial device. Use pencil to edit. Delete. Repeat for any remaining serial cables.
Then it will prompt to create new. When you were in the /dev/serial folder, highlight the serial cable in the serial by ID folder. Right click and select copy path.
Back in Node Red when you open the serial node and create new. Paste the path you copied for the usb to serial adapter. Set baud rate. Set timeout to something like 500 ms. It defaults to 10000 ms. This is important!
Sorry if I am not 100% accurate with description. Doing it from memory while out having lunch.
Again let me know and I can help tomorrow.
Dave wo2x
Sent from my waxed string and tin cans.
On Aug 12, 2021, at 11:44 AM, Alan Blind, WA9WUD <a.alan.blind@...> wrote:
-- Dave Manuals@... www.ArtekManuals.com
-- This email has been checked for viruses by Avast antivirus software.
|
I want to trigger this from my RPi with 3.3vdc. I am not envisioning this. Anybody got a circuit in their head?
-- 73, Ed KA9EES
|
I did a quick search of the files and internet looking a flow for my StationPro II and didn't find anything.? Has anyone done this?? I would need 8 relays to parallel the panel switches and an on screen interface.? Not complicated but before re-inventing the wheel I thought I would check. 73, George W2GS
|
Re: File /wo2x flows/Kenwood CAT to relay example.json
Dave
I have a little experience with using the Kenwood protocol.? So just a guess here.
Switch to using the Node-Red Serial Request Node.? Set it up as you did the receive Node.? In fact, your cable should now be stored as a configuration and show up in the serial request node's pull down com selector.
Put an "inject" Node on the Input of the Serial Request Node.? On the inject node, set it to inject a string, "FA;".? Inject and watch the output of the Serial Request Node.?
"FA;" tells the radio to send the VFO frequency, and it should reply with the frequency.
Alan
toggle quoted message
Show quoted text
On Thu, Aug 12, 2021 at 1:00 PM Dave / NR1DX < manuals@...> wrote: Dave & Alan
OK Dave's cleanup and reinstall routine was 98% accurate and I was able
to fill in the holes. I now have the all the other USB COM ports cleaned
out and the FTDI port listed and connected... That is the good news
...the bad news is still no data coming out of the SERAIL-IN node. I
bypassed all the other stuff and routed the output of the SERIAL-IN?
directly MSG_payload to see what if anything we were getting...nothing.
My thinking is correct (verify) that if the SERIAL NODE is now
"connected", and my serial dongle RXD node is blinking when I change
FREQ we should see some kind of string coming out of that node ( ASCII I
suspect)
I will continue to plug away at this but if I don't solve it today
tomorrow at your convenience is fine
Dave
NR1DX
On 8/12/2021 12:08 PM, David De Coons wo2x wrote:
> To delete all the old references to serial ports in the serial node, double click the serial node. Click the pencil to edit. Upper left of that window select delete.
>
> Use pull down to select next serial device. Use pencil to edit. Delete. Repeat for any remaining serial cables.
>
> Then it will prompt to create new. When you were in the /dev/serial folder, highlight the serial cable in the serial by ID folder. Right click and select copy path.
>
> Back in Node Red when you open the serial node and create new. Paste the path you copied for the usb to serial adapter. Set baud rate. Set timeout to something like 500 ms. It defaults to 10000 ms. This is important!
>
> Sorry if I am not 100% accurate with description. Doing it from memory while out having lunch.
>
> Again let me know and I can help tomorrow.
>
> Dave wo2x
>
> Sent from my waxed string and tin cans.
>
>> On Aug 12, 2021, at 11:44 AM, Alan Blind, WA9WUD <a.alan.blind@...> wrote:
>>
>
>
>
>
--
Dave Manuals@...
--
This email has been checked for viruses by Avast antivirus software.
|
Re: File /wo2x flows/Kenwood CAT to relay example.json
Dave & Alan
OK Dave's cleanup and reinstall routine was 98% accurate and I was able to fill in the holes. I now have the all the other USB COM ports cleaned out and the FTDI port listed and connected... That is the good news ...the bad news is still no data coming out of the SERAIL-IN node. I bypassed all the other stuff and routed the output of the SERIAL-IN? directly MSG_payload to see what if anything we were getting...nothing.
My thinking is correct (verify) that if the SERIAL NODE is now "connected", and my serial dongle RXD node is blinking when I change FREQ we should see some kind of string coming out of that node ( ASCII I suspect)
I will continue to plug away at this but if I don't solve it today tomorrow at your convenience is fine
Dave NR1DX
toggle quoted message
Show quoted text
On 8/12/2021 12:08 PM, David De Coons wo2x wrote: To delete all the old references to serial ports in the serial node, double click the serial node. Click the pencil to edit. Upper left of that window select delete.
Use pull down to select next serial device. Use pencil to edit. Delete. Repeat for any remaining serial cables.
Then it will prompt to create new. When you were in the /dev/serial folder, highlight the serial cable in the serial by ID folder. Right click and select copy path.
Back in Node Red when you open the serial node and create new. Paste the path you copied for the usb to serial adapter. Set baud rate. Set timeout to something like 500 ms. It defaults to 10000 ms. This is important!
Sorry if I am not 100% accurate with description. Doing it from memory while out having lunch.
Again let me know and I can help tomorrow.
Dave wo2x
Sent from my waxed string and tin cans.
On Aug 12, 2021, at 11:44 AM, Alan Blind, WA9WUD <a.alan.blind@...> wrote:
-- Dave Manuals@... www.ArtekManuals.com
-- This email has been checked for viruses by Avast antivirus software.
|
Re: File /wo2x flows/Kenwood CAT to relay example.json
Suggest you take up Dave's, WO2X, offer to do a Team View, tomorrow.
I am not able to do the same for a few days.
Alan
toggle quoted message
Show quoted text
On Thu, Aug 12, 2021 at 12:14 PM Dave / NR1DX < manuals@...> wrote: Alan
The full name did not show up with the spy glass
Copy and pasting is not getting me to heaven either.. The? port is
apparently there now but wont connect???
Since this is early in the game I may just start from scratch, clean off
the pi and reinstall everything ... Who knows what I did wrong early on
stumbling around in the dark the first time. Can you point me at a
detailed step by step install procedure for adding a USB serial port to
the PI and I'll get out of your hair
Dave
NR1DX
On 8/12/2021 11:41 AM, Alan Blind, WA9WUD wrote:
>
> [Edited Message Follows]
>
> yes.
> Did you click on the spyglass?? Doing so will search for all available
> cables,?and should show the?cables in the "serial" "by-id" directory.
> The ports shown in your screenshot are the default ports.
> This, at least partially, explains why your device is not working.
> Another method, if the spyglass does not find the cable.
> In the "/serial/by-name" directory, select the full name then "copy".?
> Now in the Node-Red Serial Node, port selector, click on the pencil,
> then paste in the cable name.? Save.
> or, if this doesn't work. do the same, except in the "/serial/by-path"
> directory, RIGHT click, select copy path.? Paste this into the
> Node-Red serial port name.
> Alan
>
> On Thu, Aug 12, 2021 at 11:29 AM Dave / NR1DX
> <manuals@... <mailto:manuals@...>> wrote:
>
>
>? ? ?Alan
>
>? ? ?I get
>
>? ? ?/Dev/ttyUSB0
>? ? ?/DEV/tty AMA0
>
>? ? ?Are you saying I should see USB_FTDL_FT232R_USB-UART_ ( NUMBERS) ?
>? ? ?If so
>? ? ?not there
>
>
>? ? ?Dave
>
>
>? ? ?On 8/12/2021 11:07 AM, Alan Blind, WA9WUD wrote:
>? ? ?> On the Node-Red Serial node, on the serial port, click on the
>? ? ?pencil.
>? ? ?> ?Then click on the "spy glass"
>? ? ?>
>? ? ?> In the pulldown selector, select the cable with the exact cable
>? ? ?number
>? ? ?> as you noted in the "serial" directory, when you plugged the
>? ? ?cable in.
>? ? ?>
>? ? ?> yes, the "default" cable numbers remain in the Node-Red
>? ? ?selector, even
>? ? ?> if the cable is removed.
>? ? ?>
>? ? ?> Alan
>? ? ?>
>? ? ?>
>
>? ? ?--
>? ? ?Dave Manuals@...
>? ? ?<>
>
>? ? ?--
>? ? ?This email has been checked for viruses by Avast antivirus software.
>? ? ? <>
>
>
>
>
>
>
>
--
Dave Manuals@...
|
Re: File /wo2x flows/Kenwood CAT to relay example.json
Alan
The full name did not show up with the spy glass
Copy and pasting is not getting me to heaven either.. The? port is apparently there now but wont connect???
Since this is early in the game I may just start from scratch, clean off the pi and reinstall everything ... Who knows what I did wrong early on stumbling around in the dark the first time. Can you point me at a detailed step by step install procedure for adding a USB serial port to the PI and I'll get out of your hair
Dave NR1DX
toggle quoted message
Show quoted text
On 8/12/2021 11:41 AM, Alan Blind, WA9WUD wrote: [Edited Message Follows]
yes. Did you click on the spyglass?? Doing so will search for all available cables,?and should show the?cables in the "serial" "by-id" directory. The ports shown in your screenshot are the default ports. This, at least partially, explains why your device is not working. Another method, if the spyglass does not find the cable. In the "/serial/by-name" directory, select the full name then "copy".? Now in the Node-Red Serial Node, port selector, click on the pencil, then paste in the cable name.? Save. or, if this doesn't work. do the same, except in the "/serial/by-path" directory, RIGHT click, select copy path.? Paste this into the Node-Red serial port name. Alan
On Thu, Aug 12, 2021 at 11:29 AM Dave / NR1DX <manuals@... <mailto:manuals@...>> wrote:
Alan
I get
/Dev/ttyUSB0 /DEV/tty AMA0
Are you saying I should see USB_FTDL_FT232R_USB-UART_ ( NUMBERS) ? If so not there
Dave
On 8/12/2021 11:07 AM, Alan Blind, WA9WUD wrote: > On the Node-Red Serial node, on the serial port, click on the pencil. > ?Then click on the "spy glass" > > In the pulldown selector, select the cable with the exact cable number > as you noted in the "serial" directory, when you plugged the cable in. > > yes, the "default" cable numbers remain in the Node-Red selector, even > if the cable is removed. > > Alan > >
-- Dave Manuals@... www.ArtekManuals.com <>
-- This email has been checked for viruses by Avast antivirus software. <>
-- Dave Manuals@... www.ArtekManuals.com
|
Re: File /wo2x flows/Kenwood CAT to relay example.json
To delete all the old references to serial ports in the serial node, double click the serial node. Click the pencil to edit. Upper left of that window select delete.
Use pull down to select next serial device. Use pencil to edit. Delete. Repeat for any remaining serial cables.
Then it will prompt to create new. When you were in the /dev/serial folder, highlight the serial cable in the serial by ID folder. Right click and select copy path.
Back in Node Red when you open the serial node and create new. Paste the path you copied for the usb to serial adapter. Set baud rate. Set timeout to something like 500 ms. It defaults to 10000 ms. This is important!
Sorry if I am not 100% accurate with description. Doing it from memory while out having lunch.
Again let me know and I can help tomorrow.
Dave wo2x
Sent from my waxed string and tin cans.
toggle quoted message
Show quoted text
On Aug 12, 2021, at 11:44 AM, Alan Blind, WA9WUD <a.alan.blind@...> wrote:
|
Re: File /wo2x flows/Kenwood CAT to relay example.json
yes.
?
Did you click on the spyglass?? Doing so will search for all available cables,?and should show the?cables in the "serial" "by-id" directory.
?
The ports shown in your screenshot are the default ports.
?
This, at least partially, explains why your device is not working.
?
Another method, if the spyglass does not find the cable.
?
In the "/serial/by-name" directory, select the full name then "copy".? Now in the Node-Red Serial Node, port selector, click on the pencil, then paste in the cable name.? Save.
?
or, if this doesn't work. do the same, except in the "/serial/by-path" directory, RIGHT click, select copy path.? Paste this into the Node-Red serial port name.
?
Alan
?
On Thu, Aug 12, 2021 at 11:29 AM Dave / NR1DX < manuals@...> wrote:
toggle quoted message
Show quoted text
Alan
I get
/Dev/ttyUSB0 /DEV/tty AMA0
Are you saying I should see USB_FTDL_FT232R_USB-UART_ ( NUMBERS) ? If so not there
Dave
On 8/12/2021 11:07 AM, Alan Blind, WA9WUD wrote: > On the Node-Red Serial node, on the serial port, click on the pencil. > ?Then click on the "spy glass" > > In the pulldown selector, select the cable with the exact cable number > as you noted in the "serial" directory, when you plugged the cable in. > > yes, the "default" cable numbers remain in the Node-Red selector, even > if the cable is removed. > > Alan > >
-- Dave Manuals@...
-- This email has been checked for viruses by Avast antivirus software.
|
Re: File /wo2x flows/Kenwood CAT to relay example.json
Been to the one in Rochester quite a bit when I had to do a service call at Eastman Kodak.
Good food!
Dave wo2x
Sent from my waxed string and tin cans.
toggle quoted message
Show quoted text
On Aug 12, 2021, at 10:59 AM, Dave / NR1DX <manuals@...> wrote:
?If we cant figure it out today I can do teamview or zoom or what ever tomorrow... possible I installed it wrong somehow..later today Will try and get the PI to forget it ever saw dongle and start over
On 8/12/2021 10:46 AM, David De Coons wo2x wrote: I am out on a road trip today in search of good pulled pork. (We actually have a place we go to about 1 1/2 hrs from home).
I am available tomorrow if you need help via TeamViewer.
73 Dave wo2x
Sent from my waxed string and tin cans.
On Aug 12, 2021, at 10:38 AM, Dave / NR1DX <manuals@...> wrote: ?Nope The step IR takes the null modem as well (tried with and without though just to be sure)
Dave NR1DX
On 8/12/2021 9:52 AM, David De Coons wo2x wrote: The SteppIR controller is most likely a DTE com port while the Pi is a DCE. You will probably need a null modem adapter.
73 Dave wo2x
Sent from my waxed string and tin cans.
On Aug 12, 2021, at 9:41 AM, Dave / NR1DX <manuals@...> wrote: ?More content free data
I rebooted the PI and started Node Red again , I notice the I get an error on boot up that it "can not lock port ttyDEV0", Yet it shows connected in the node-red flow ????? Dave NR1DX
On 8/12/2021 8:56 AM, Dave / NR1DX wrote: Dave, WO2X
OK
I removed the TCP Request Node and routed the Inject Node to the HEX to string Converter node. Test that with a simulated KENWOOD serial frequency command string <FA00007150000> and it outputs the desired relay command. in the DEBUG window...So far so good
Next I replace the INJECT node with a Serial-In Node. After the proper baud rates(4800-N-8-1), etc the node registers "Connected". I take the serial cable from a known working connection ( Radio to Stepp-IR controller) and attach it to the USB serial connection on the R-PI. My USB/Serial dongle has a series of LED's in it that allow to me monitor activity. When the frequency is changed the RXD line flickers with activity so I am pretty sure traffic is flowing in to the serial in node but apparently nothing coming out to the HEX/String converter
What did I miss??
Dave NR1DX
On 7/29/2021 3:04 PM, David De Coons wo2x wrote: Read the comment node for info on replacing the inject and TCP Request nodes with a USB request node for your usb to serial adapter (Kenwood radio CAT needs to connect to the Pi.) If you need to share Kenwood CAT with other programs then you can take the Kenwood CAT payload and send back to a PC. T Think of Node Red as a flow chart. Input data, pass it to next node, do something with dat, pass it along, do something, etc.
Do Google searches for example Node Red flows, especially for Home Automation. They will give you an idea on how Node Red works. It is very easy once you start playing around. There are plenty of flows in the file section which will give ideas on how to accomplish a number of things.
73 Dave wo2x
On Jul 29, 2021, at 2:52 PM, Dave / NR1DX <manuals@...> wrote:
?David
thanks ...... I'll send another thankyou once I figure out how to load this into my node-red library and what it all means ... 8^)
I finally found a good beginners tutorial <Workshops.opto22.com> which helped me a lot. Though I usually dislike U-Boob videos this kid's Midwest accent was flat enough and his voice had enough bass for my 160M static damaged ears to understand
Thanks again as this sounds exactly what I was going to try and do
Cheers Dave
On 7/29/2021 11:41 AM, [email protected] Notification wrote:
The following files have been uploaded to the Files area of the [email protected] group.
* /wo2x flows/Kenwood CAT to relay example.json </g/nodered-hamradio/files/wo2x flows/Kenwood CAT to relay example.json>
*By:* David De Coons wo2x <RocketNJ@...>
*Description:* Read the Comment node for information. An example of how to take Kenwood CAT and give a numerical output for each band that can be used to drive relays (GPIO, external relay module, etc)
-- Dave Manuals@... www.ArtekManuals.com
-- This email has been checked for viruses by Avast antivirus software.
-- Dave Manuals@... www.ArtekManuals.com
-- Dave Manuals@... www.ArtekManuals.com
-- Dave Manuals@... www.ArtekManuals.com
|
Re: File /wo2x flows/Kenwood CAT to relay example.json
Alan
I get
/Dev/ttyUSB0 /DEV/tty AMA0
Are you saying I should see USB_FTDL_FT232R_USB-UART_ ( NUMBERS) ? If so not there
Dave
toggle quoted message
Show quoted text
On 8/12/2021 11:07 AM, Alan Blind, WA9WUD wrote: On the Node-Red Serial node, on the serial port, click on the pencil. ?Then click on the "spy glass"
In the pulldown selector, select the cable with the exact cable number as you noted in the "serial" directory, when you plugged the cable in.
yes, the "default" cable numbers remain in the Node-Red selector, even if the cable is removed.
Alan
-- Dave Manuals@... www.ArtekManuals.com
-- This email has been checked for viruses by Avast antivirus software.
|
Re: File /wo2x flows/Kenwood CAT to relay example.json
On the Node-Red Serial node, on the serial port, click on the pencil. ?Then click on the "spy glass" In the pulldown selector, select the cable with the exact cable number as you noted in the "serial" directory, when you plugged the cable in. yes, the "default" cable numbers remain in the Node-Red selector, even if the cable is removed. Alan 
|
Re: File /wo2x flows/Kenwood CAT to relay example.json
If we cant figure it out today? I can do teamview or zoom or what ever tomorrow... possible I installed it wrong somehow..later today Will try and get the PI to forget it ever saw dongle and start over
toggle quoted message
Show quoted text
On 8/12/2021 10:46 AM, David De Coons wo2x wrote: I am out on a road trip today in search of good pulled pork. (We actually have a place we go to about 1 1/2 hrs from home).
I am available tomorrow if you need help via TeamViewer.
73 Dave wo2x
Sent from my waxed string and tin cans.
On Aug 12, 2021, at 10:38 AM, Dave / NR1DX <manuals@...> wrote:
?Nope The step IR takes the null modem as well (tried with and without though just to be sure)
Dave NR1DX
On 8/12/2021 9:52 AM, David De Coons wo2x wrote: The SteppIR controller is most likely a DTE com port while the Pi is a DCE. You will probably need a null modem adapter.
73 Dave wo2x
Sent from my waxed string and tin cans.
On Aug 12, 2021, at 9:41 AM, Dave / NR1DX <manuals@...> wrote: ?More content free data
I rebooted the PI and started Node Red again , I notice the I get an error on boot up that it "can not lock port ttyDEV0", Yet it shows connected in the node-red flow ????? Dave NR1DX
On 8/12/2021 8:56 AM, Dave / NR1DX wrote: Dave, WO2X
OK
I removed the TCP Request Node and routed the Inject Node to the HEX to string Converter node. Test that with a simulated KENWOOD serial frequency command string <FA00007150000> and it outputs the desired relay command. in the DEBUG window...So far so good
Next I replace the INJECT node with a Serial-In Node. After the proper baud rates(4800-N-8-1), etc the node registers "Connected". I take the serial cable from a known working connection ( Radio to Stepp-IR controller) and attach it to the USB serial connection on the R-PI. My USB/Serial dongle has a series of LED's in it that allow to me monitor activity. When the frequency is changed the RXD line flickers with activity so I am pretty sure traffic is flowing in to the serial in node but apparently nothing coming out to the HEX/String converter
What did I miss??
Dave NR1DX
On 7/29/2021 3:04 PM, David De Coons wo2x wrote: Read the comment node for info on replacing the inject and TCP Request nodes with a USB request node for your usb to serial adapter (Kenwood radio CAT needs to connect to the Pi.) If you need to share Kenwood CAT with other programs then you can take the Kenwood CAT payload and send back to a PC. T Think of Node Red as a flow chart. Input data, pass it to next node, do something with dat, pass it along, do something, etc.
Do Google searches for example Node Red flows, especially for Home Automation. They will give you an idea on how Node Red works. It is very easy once you start playing around. There are plenty of flows in the file section which will give ideas on how to accomplish a number of things.
73 Dave wo2x
On Jul 29, 2021, at 2:52 PM, Dave / NR1DX <manuals@...> wrote:
?David
thanks ...... I'll send another thankyou once I figure out how to load this into my node-red library and what it all means ... 8^)
I finally found a good beginners tutorial <Workshops.opto22.com> which helped me a lot. Though I usually dislike U-Boob videos this kid's Midwest accent was flat enough and his voice had enough bass for my 160M static damaged ears to understand
Thanks again as this sounds exactly what I was going to try and do
Cheers Dave
On 7/29/2021 11:41 AM, [email protected] Notification wrote:
The following files have been uploaded to the Files area of the [email protected] group.
* /wo2x flows/Kenwood CAT to relay example.json </g/nodered-hamradio/files/wo2x flows/Kenwood CAT to relay example.json>
*By:* David De Coons wo2x <RocketNJ@...>
*Description:* Read the Comment node for information. An example of how to take Kenwood CAT and give a numerical output for each band that can be used to drive relays (GPIO, external relay module, etc)
-- Dave Manuals@... www.ArtekManuals.com
-- This email has been checked for viruses by Avast antivirus software.
-- Dave Manuals@... www.ArtekManuals.com
-- Dave Manuals@... www.ArtekManuals.com
-- Dave Manuals@... www.ArtekManuals.com
|
Re: File /wo2x flows/Kenwood CAT to relay example.json
Alan
/Dev/sersial/By-id" the device comes and goes with the plugging and unplugging "USb_ftdi_ft232r_usb_uart_( lots of numbers)"
Under the "Dev/USB".... ttyUSB0 does not move if that makes a difference
I have used this dongle many time on my windows machine , like I say it is a treat to have the clear case on the DB-9 serial end with all the little lights and RXD is definitely getting traffic ( hook it up with out the null modem adapter and no RXD traffic light) as further verifiaction
Dave NR1DX
toggle quoted message
Show quoted text
On 8/12/2021 10:35 AM, Alan Blind, WA9WUD wrote: Dave
Suggest your next step is to ensure the cable you have selected in the Node-Red serial node is the same cable as you plugged in.
On your Raspberry Pi, using the file explorer, go to the "/dev/serial/by-id". ?Un-plug the cable. ?The entire "serial" directory will disappear, if this is the only cable. ?Otherwise, note the cable names in the "by-id" directory.
Plug the cable back in. ?Note the cable should now appear in the "by-name" directory with a name.
Ensure this cable name is the same as you have selected in the Node-Red Serial Node. ?If not, change the cable name accordingly.
Alan. WA9WUD
-- Dave Manuals@... www.ArtekManuals.com
-- This email has been checked for viruses by Avast antivirus software.
|
Re: File /wo2x flows/Kenwood CAT to relay example.json
Dave, Dinosaur BBQ.?
If you decide on Syracuse, let me know and I will join you. My treat!
Ron WB2WGH?
toggle quoted message
Show quoted text
On Thu, Aug 12, 2021, 10:46 AM David De Coons wo2x < RocketNJ@...> wrote: I am out on a road trip today in search of good pulled pork. (We actually have a place we go to about 1 1/2 hrs from home).
I am available tomorrow if you need help via TeamViewer.
73
Dave wo2x
Sent from my waxed string and tin cans.
> On Aug 12, 2021, at 10:38 AM, Dave / NR1DX <manuals@...> wrote:
>
> ?Nope The step IR takes the null modem as well (tried with and without though just to be sure)
>
> Dave
> NR1DX
>
>> On 8/12/2021 9:52 AM, David De Coons wo2x wrote:
>> The SteppIR controller is most likely a DTE com port while the Pi is a DCE. You will probably need a null modem adapter.
>>
>> 73
>> Dave wo2x
>>
>> Sent from my waxed string and tin cans.
>>
>>>> On Aug 12, 2021, at 9:41 AM, Dave / NR1DX <manuals@...> wrote:
>>>
>>> ?More content free data
>>>
>>> I rebooted the PI and started Node Red again , I notice the I get an error on boot up that it "can not lock port ttyDEV0", Yet it shows connected in the node-red flow ?????
>>> Dave
>>> NR1DX
>>>
>>>
>>>> On 8/12/2021 8:56 AM, Dave / NR1DX wrote:
>>>> Dave, WO2X
>>>>
>>>> OK
>>>>
>>>> I removed the TCP Request Node and routed the Inject Node to the HEX to string Converter node. Test that with a simulated KENWOOD serial frequency command string <FA00007150000> and it outputs the desired relay command. in the DEBUG window...So far so good
>>>>
>>>> Next I replace the INJECT node with a Serial-In Node. After the proper baud rates(4800-N-8-1), etc the node registers "Connected". I take the serial cable from a known working connection ( Radio to Stepp-IR controller) and attach it to the USB serial connection on the R-PI. My USB/Serial dongle has a series of LED's in it that allow to me monitor activity. When the frequency is changed the RXD line flickers with activity so I am pretty sure traffic is flowing in to the serial in node but apparently nothing coming out to the HEX/String converter
>>>>
>>>> What did I miss??
>>>>
>>>> Dave
>>>> NR1DX
>>>>
>>>>> On 7/29/2021 3:04 PM, David De Coons wo2x wrote:
>>>>> Read the comment node for info on replacing the inject and TCP Request nodes with a USB request node for your usb to serial adapter (Kenwood radio CAT needs to connect to the Pi.) If you need to share Kenwood CAT with other programs then you can take the Kenwood CAT payload and send back to a PC.? T
>>>>> Think of Node Red as a flow chart. Input data, pass it to next node, do something with dat, pass it along, do something, etc.
>>>>>
>>>>> Do Google searches for example Node Red flows, especially for Home Automation. They will give you an idea on how Node Red works. It is very easy once you start playing around. There are plenty of flows in the file section which will give ideas on how to accomplish a number of things.
>>>>>
>>>>> 73
>>>>> Dave wo2x
>>>>>> On Jul 29, 2021, at 2:52 PM, Dave / NR1DX <manuals@...> wrote:
>>>>>>
>>>>>> ?David
>>>>>>
>>>>>> thanks ...... I'll send another thankyou once I figure out how to load this into my node-red library and what it all means ... 8^)
>>>>>>
>>>>>> I finally found a good beginners tutorial <> which helped me a lot.? Though I usually dislike U-Boob videos this kid's Midwest accent was flat enough and his voice had enough bass for my 160M static damaged ears to understand
>>>>>>
>>>>>> Thanks again as this sounds exactly what I was going to try and do
>>>>>>
>>>>>> Cheers
>>>>>> Dave
>>>>>>
>>>>>>> On 7/29/2021 11:41 AM, [email protected] Notification wrote:
>>>>>>>
>>>>>>> The following files have been uploaded to the Files area of the [email protected] group.
>>>>>>>
>>>>>>>? ?* /wo2x flows/Kenwood CAT to relay example.json
>>>>>>>? ? ?</g/nodered-hamradio/files/wo2x flows/Kenwood CAT
>>>>>>>? ? ?to relay example.json>
>>>>>>>
>>>>>>> *By:* David De Coons wo2x <RocketNJ@...>
>>>>>>>
>>>>>>> *Description:*
>>>>>>> Read the Comment node for information. An example of how to take Kenwood CAT and give a numerical output for each band that can be used to drive relays (GPIO, external relay module, etc)
>>>>>>>
>>>>>> --
>>>>>> Dave Manuals@...
>>>>>>
>>>>>> --
>>>>>> This email has been checked for viruses by Avast antivirus software.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>> --
>>> Dave Manuals@...
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>
> --
> Dave Manuals@...
>
>
>
>
>
|
Re: File /wo2x flows/Kenwood CAT to relay example.json
I am out on a road trip today in search of good pulled pork. (We actually have a place we go to about 1 1/2 hrs from home).
I am available tomorrow if you need help via TeamViewer.
73 Dave wo2x
Sent from my waxed string and tin cans.
toggle quoted message
Show quoted text
On Aug 12, 2021, at 10:38 AM, Dave / NR1DX <manuals@...> wrote:
?Nope The step IR takes the null modem as well (tried with and without though just to be sure)
Dave NR1DX
On 8/12/2021 9:52 AM, David De Coons wo2x wrote: The SteppIR controller is most likely a DTE com port while the Pi is a DCE. You will probably need a null modem adapter.
73 Dave wo2x
Sent from my waxed string and tin cans.
On Aug 12, 2021, at 9:41 AM, Dave / NR1DX <manuals@...> wrote: ?More content free data
I rebooted the PI and started Node Red again , I notice the I get an error on boot up that it "can not lock port ttyDEV0", Yet it shows connected in the node-red flow ????? Dave NR1DX
On 8/12/2021 8:56 AM, Dave / NR1DX wrote: Dave, WO2X
OK
I removed the TCP Request Node and routed the Inject Node to the HEX to string Converter node. Test that with a simulated KENWOOD serial frequency command string <FA00007150000> and it outputs the desired relay command. in the DEBUG window...So far so good
Next I replace the INJECT node with a Serial-In Node. After the proper baud rates(4800-N-8-1), etc the node registers "Connected". I take the serial cable from a known working connection ( Radio to Stepp-IR controller) and attach it to the USB serial connection on the R-PI. My USB/Serial dongle has a series of LED's in it that allow to me monitor activity. When the frequency is changed the RXD line flickers with activity so I am pretty sure traffic is flowing in to the serial in node but apparently nothing coming out to the HEX/String converter
What did I miss??
Dave NR1DX
On 7/29/2021 3:04 PM, David De Coons wo2x wrote: Read the comment node for info on replacing the inject and TCP Request nodes with a USB request node for your usb to serial adapter (Kenwood radio CAT needs to connect to the Pi.) If you need to share Kenwood CAT with other programs then you can take the Kenwood CAT payload and send back to a PC. T Think of Node Red as a flow chart. Input data, pass it to next node, do something with dat, pass it along, do something, etc.
Do Google searches for example Node Red flows, especially for Home Automation. They will give you an idea on how Node Red works. It is very easy once you start playing around. There are plenty of flows in the file section which will give ideas on how to accomplish a number of things.
73 Dave wo2x
On Jul 29, 2021, at 2:52 PM, Dave / NR1DX <manuals@...> wrote:
?David
thanks ...... I'll send another thankyou once I figure out how to load this into my node-red library and what it all means ... 8^)
I finally found a good beginners tutorial <Workshops.opto22.com> which helped me a lot. Though I usually dislike U-Boob videos this kid's Midwest accent was flat enough and his voice had enough bass for my 160M static damaged ears to understand
Thanks again as this sounds exactly what I was going to try and do
Cheers Dave
On 7/29/2021 11:41 AM, [email protected] Notification wrote:
The following files have been uploaded to the Files area of the [email protected] group.
* /wo2x flows/Kenwood CAT to relay example.json </g/nodered-hamradio/files/wo2x flows/Kenwood CAT to relay example.json>
*By:* David De Coons wo2x <RocketNJ@...>
*Description:* Read the Comment node for information. An example of how to take Kenwood CAT and give a numerical output for each band that can be used to drive relays (GPIO, external relay module, etc)
-- Dave Manuals@... www.ArtekManuals.com
-- This email has been checked for viruses by Avast antivirus software.
-- Dave Manuals@... www.ArtekManuals.com
-- Dave Manuals@... www.ArtekManuals.com
|