I loaded in your flow, changed the CI-V address to match my IC-7610 and ran it. I don't know why you are getting permission denied errors. That often implies that another program is attempting to access the serial port or has control of the serial port already. However, your Serial Node is not configured properly. It should look like the attached screenshot. You can ignore the Serial Port and Settings sections, those will be different than yours. What is important is the Input section. That should match what I have. Once I made that change, your flow started working for me.
I am using an FTDI USB to CI-V serial cable rather than the built-in Silicon Labs interface. That interface connects to my logging program directly. However, the Silabs interface will work the same once you fix the Input section.
From:[email protected] <[email protected]> On Behalf Of Frank N6OI Sent: Wednesday, January 4, 2023 7:33 PM To:[email protected] Subject: Re: [nodered-hamradio] File /K0VM Flows/LP-100A flows.json uploaded #file-notice
?
[Edited Message Follows] [Reason: Additional details on what is and isn't working.]
I attempted to install this flow today but I'm having a similar problem to Ed's in that the serial connection is there, but I have no data coming across.
I'm using a Prolific serial to USB adapter, and I believe I have the port configured correctly.? My LP-100A is running v1.3.3.9, so the serial port is set to 115200, 8, N, 1. And my update to the serial port string in the flow uses the ID (/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0: 115200-8N1).
I can see in Debug that the toLP100 node is polling every 100 ms, but there's no activity in the Debug window when I'm looking at the Msg 1: Valid node.
Anyone have any suggestions as to what else can I look at to fix this?
Louis, Following is link to json I wrote to interface with my ACOM 600S serial port.? This was less expensive than using the ACOM e-Box ethernet interface (for 600S, 700S, 1200S, ...) selling for US$599.? Take a look at the file posted in October.? I don't know if the 1200S and 600S have exactly the serial protocol.
If you hit a roadblock, you may want to consider using the HamLib and the HamLib Daemon next.
When you use HamLib, HamLib does all the communication with the radio for you and then you use HamLib commands in NodeRed to communicate with the Daemon.??
The advantage with doing it this way is that you can write a nodered?application that will then with?many many radios, not just the IC-7300.
I wrote a short flow for the IC-9700 for Amplifier keying, but by changing 1 word, it 'should' work with every other radio that HamLib supports.??
On Fri, Jan 6, 2023 at 9:15 AM Alex - G7KSE via <g7kse=[email protected]> wrote:
So a little more progress, only not using this flow
I wanted to make sure that there wasn't something missing with the rig so using rigctld I can set a session up on the RPi and can connect to it using a TCP node and can get the data I'm after from the rig. Perhaps this is the right way to go (Hamlib rather than direct connection). Not managed to find the time to 'set' the rig to do something using a button on the dashboard. I'll have to figure that out as I'll want several settings to be changed with one button. A bit like a macro I suppose.
As a none programmer I'm getting the hang of this, although some of the html / css & javascript is a bit tough going for now. Hopefully I'll get there, mainly doing it by trial and error and by hacking around with other people's flows
So a little more progress, only not using this flow
I wanted to make sure that there wasn't something missing with the rig so using rigctld I can set a session up on the RPi and can connect to it using a TCP node and can get the data I'm after from the rig. Perhaps this is the right way to go (Hamlib rather than direct connection). Not managed to find the time to 'set' the rig to do something using a button on the dashboard. I'll have to figure that out as I'll want several settings to be changed with one button. A bit like a macro I suppose.
As a none programmer I'm getting the hang of this, although some of the html / css & javascript is a bit tough going for now. Hopefully I'll get there, mainly doing it by trial and error and by hacking around with other people's flows
The IC7300 has a whole host of rig settings that work in one scenario and not in another. The setup for N1MM isn't happy with the Fldigi one for example. I'm not entirely convinced the rig setup is not 99% of the issue here. I wasn't getting any output on the serial in node until I changed something on the rig. Also when I changed the parse C-IV node RADIO_ADDR to 0x94to match the 94h in the 7300 it gives an error. Oddly enough I have a similar error on another unrelated flow.More investigation required there I think.
Anyway. Here's a couple of screen shots. First is the debug from CI-V Get Freq, Second shows the whole flow and output from Serial In. There is no output from the final debug which leads me to think that the outgoing serial message is ok but Icom magic is killing something
Next thing I need is a small fabless low power consumption Windows based PC. I want something we can run 24x7 running Windows as a “maintenance” PC on site. Electricity is costly there so we want to turn off equipment when not in use.?
You might take a look at?the Zimaboard?? ? They come with a Debian based Linux distro ()? installed with Docker.? ?I've only been playing with it running Node-Red in a Docker container.? However, you can hang an external SSD on it, blow out the OS, and put Windoze on it.? It runs on 12V too, without fans.
Can you post a screen shot of the Debug outputs showing the msg.payload going into and out of the Function node throwing the errors, and what is actually in that Function node?? You attached my sample with only one Function node.? If that is the function that is throwing errors, I would think it is due to the payload length is different than what my sample code was written for. (IC-706 / IC-725)?
I attempted to install this flow today but I'm having a similar problem to Ed's in that the serial connection is there, but I have no data coming across.
I'm using a Prolific serial to USB adapter, and I believe I have the port configured correctly.? My LP-100A is running v1.3.3.9, so the serial port is set to 115200, 8, N, 1. And my update to the serial port string in the flow uses the ID (/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0: 115200-8N1).
I can see in Debug that the toLP100 node is polling every 100 ms, but there's no activity in the Debug window when I'm looking at the Msg 1: Valid node.
Anyone have any suggestions as to what else can I look at to fix this?
On Wed, Jan 4, 2023 at 2:22 PM Dave wo2x <RocketNJ@...> wrote:
BTW, my Pi 400 shipped today from DigiKey’s MI warehouse. I should have it in a couple of days.?
They still had seven in stock after my purchase.?
They are quoting over 52 week lead time on a Pi 4B 4 GB.?
Crazy world!
Next thing I need is a small fabless low power consumption Windows based PC. I want something we can run 24x7 running Windows as a “maintenance” PC on site. Electricity is costly there so we want to turn off equipment when not in use.?
73
Dave wo2x
Sent from my waxed string and tin cans.?
On Jan 4, 2023, at 1:52 PM, Kyle K <kylekrieg@...> wrote:
?This is another option, but not a Raspberry Pi 4, which probably has better benchmarks, but will do in a pinch.? I think these are in stock.?