Keyboard Shortcuts
Likes
- Nodered-Hamradio
- Messages
Search
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
¿ªÔÆÌåÓýHi Greg, ? Ultimately having a way to emulate the HRD server so Logbook can communicate to the emulated server would be preferable. ? Object is to run HRD Logbook and use the cluster in it to set radio frequency and mode, then I will use JTAlert to have WSJT-X contacts sent to the logbook (that works now) I¡¯ve been using N3FJP AC Log which I like for its functionality and fairly simple. It talks to the Flex via the radio¡¯s API. ? Someone had written a utility called Mini Deluxe which used one of the Flex Com ports and then acted as a TCP server for logbook. Problem is it hasn¡¯t been maintained and there was a period where the HRD programmers were changing the main TCP server to logbook communications and as a result the mode on the radio was not being set correctly when clicking on a spot. ? I could get Wireshark set up to capture communications between HRD and HRD Logbook, then do the emulation in Node Red. ? 73 Dave wo2x ? ? From: [email protected] <[email protected]> On Behalf Of ve9gfi@...
Sent: Tuesday, June 7, 2022 12:01 PM To: [email protected] Subject: Re: [nodered-hamradio] File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated #file-notice ? Hi Dave,
#2 I'm not sure how a system talks to the frontend of LogBook. #3 uses a OBDC connection (I think).?? ? Node Red has a OBDC node, so that is good. ? Question:? ?Where do you see the operators name, notes, etc. that you might want to add to Logbook come from? I'll look to see what I can see. Greg |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
Michael Black
Yes..returned data is agnostic -- some rigs will give error reports when things aren't implemented though. get_freq for example is not available on all rigs. Mike W9MDB
On Tuesday, June 7, 2022, 11:54:35 AM CDT, ve9gfi@... <ve9gfi@...> wrote:
Excellent!?? ? I really do think that the parsing of the returned data is agnostic to the connected radio,? but perhaps there are additional set/get commands that I have not found since I only have the FT-847 connected to HRD.? ? ? That said, I've made it easy to add more set/get commands.? ?They all go into the "Carousel of Query Types" node.? ? If you go and change the getQueries array on line 9, and add each an every number from 1 to 25 , you will see all the queries that I have found.? ? The answers will all appear in the context flow section.? ?? ? After doing all that, all I needed for my amplifier was the frequency, and band.? ?But the mode, etc. is available to you. I'll review the capture tonight and see if there are any additional commands that I can add. Thanks, Greg VE9GFI |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
Excellent!?? ? I really do think that the parsing of the returned data is agnostic to the connected radio,? but perhaps there are additional set/get commands that I have not found since I only have the FT-847 connected to HRD.? ? ? That said, I've made it easy to add more set/get commands.? ?They all go into the "Carousel of Query Types" node.? ? If you go and change the getQueries array on line 9, and add each an every number from 1 to 25 , you will see all the queries that I have found.? ? The answers will all appear in the context flow section.? ?? ? After doing all that, all I needed for my amplifier was the frequency, and band.? ?But the mode, etc. is available to you. I'll review the capture tonight and see if there are any additional commands that I can add. Thanks, Greg VE9GFI |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
Hi Dave,
#2 I'm not sure how a system talks to the frontend of LogBook. #3 uses a OBDC connection (I think).?? ? Node Red has a OBDC node, so that is good. ? Question:? ?Where do you see the operators name, notes, etc. that you might want to add to Logbook come from? I'll look to see what I can see. Greg |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
¿ªÔÆÌåÓýHi Greg, ? Have a ¡°mission¡± for you. Create a simple (yeah right) ¡°connector¡± between Node Red and HRD Logbook, similar to what Mini Deluxe and DDUtil do. I¡¯m looking for a simple way to connect either the Flex or Node Red to HRD Logbook. I do not need to run two GUIs to run my radio. ? In other words, replace the main HRD program with a simple connector to get and send frequency and mode to and from the radio for logbook. Let me know what you think. ? 73 Dave wo2x ? ? From: [email protected] <[email protected]> On Behalf Of ve9gfi@...
Sent: Tuesday, June 7, 2022 10:56 AM To: [email protected] Subject: Re: [nodered-hamradio] File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated #file-notice ? Hi Adrian, ? OK - I have not tested this with an older version of HRD.? ?That said, I can make this work, but I will need your help.? ?My thoughts right now are that the HRD v5 does not send the buffer as the v6 currently does. The mission, if you accept, is to capture the data between DM780 and HRD v5, and then email me the data.? ?I'll review it and edit my flow accordingly. ? You will require Wireshark and this will be run on the same PC as HRD and DM780 are installed. Prerequisites: install Wireshark Steps using Wireshark, HRD, and DM780:
I'll study the differences and use the "get version" response to automatically select the method used to parse the payload. ? Greg VE9GFI? ? ? ? ? |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
Hi Adrian, ? OK - I have not tested this with an older version of HRD.? ?That said, I can make this work, but I will need your help.? ?My thoughts right now are that the HRD v5 does not send the buffer as the v6 currently does. The mission, if you accept, is to capture the data between DM780 and HRD v5, and then email me the data.? ?I'll review it and edit my flow accordingly. ? You will require Wireshark and this will be run on the same PC as HRD and DM780 are installed. Prerequisites: install Wireshark Steps using Wireshark, HRD, and DM780:
I'll study the differences and use the "get version" response to automatically select the method used to parse the payload. ? Greg VE9GFI? ? ? ? ? |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
¿ªÔÆÌåÓýI believe 6.2 and older then 6.3 and newer have a different connection scheme. That is probably your issue. ? Try downloading the free 30 day trial of 6.8 ? Dave wo2x ? ? From: [email protected] <[email protected]> On Behalf Of Adrian Fewster
Sent: Tuesday, June 7, 2022 10:19 AM To: [email protected] Subject: Re: [nodered-hamradio] File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated #file-notice ? 5.24 Greg, an old version, but supports the FT-897 well, before HRD removed the flash ram agc cmds etc |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
What version of HRD are you running?? ? Did you try to connect to the "Demo-Matic" radio in HRD?
? Greg ? ? Greg |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
Hi Adrian, ? Yes, your HRD is properly setup.? ?In the Context Flow view, your HRD Context is "93", which means that NodeRed was able to query and obtain that value from HRD.?? To level the playing field, can you change your HRD radio to the "Demo-Matic" version.? ?This emulates the FT-2000 radio. Ideally, you would see this.... ? The contextflow variables should be populated....? ? ? And, if you turn on the debug node called "HRD Result", your debug should display this data.? ? Can you expand the payload section?? ?You should see this sort of data.? ? If the display works with the DemoMatic, then I'd like to see the returned payload from your FT897 radio, and I'll make adjustments. ? Also, please edit the node "Carousel of Query Types".? There is an array called "getQueries".? ?Please edit line 9 to be?const getQueries=[16,21,17 ,25];? This will add the "get id" and "get version" query and this will be displayed in the context flow variable screen.? ? ?As you see, I am using HRD version? v6.7.0.357.b357.?? ? ?
? |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
no... the context variables are what has been polled and stored... it's not a configuration parameter. I'm in a meeting but afterwards I will go and change my HRD configuration to use the "test" TS-2000 radio. |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
Adrian
Here is a link for a description of Context Variables. Alan. WA9WUD https://nodered.org/docs/user-guide/context |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
Adrian. Click the flow context refresh button to the right of the word "Flow", 2 circular arrow button. Ron WB2WGH? On Tue, Jun 7, 2022, 8:16 AM Adrian Fewster <vk4tux@...> wrote:
|
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
Also, can you take a look at the context flow variable tab.? ? Yours and mine should look like this: ? |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
Hi Adrian, ? I am connecting to the HRD IP Server, and note that the checkbox "Same PC connections only" is unchecked.? ?This allows the Linux server with NodeRed to connect to the other PC running HRD. ? Greg VE9GFI |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
Adrian - Link to Mosquetto?install. Alan. WA9WUD On Tue, Jun 7, 2022 at 6:57 AM Adrian Fewster <vk4tux@...> wrote: On Tue, Jun 7, 2022 at 03:53 AM, <ve9gfi@...> wrote: |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
whoops .... "this site" means ....?https://mosquitto.org/download/
|
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
Hi Adrian, Please install MQTT.? ? I am using Eclipse Mosquitto MQTT in a docker container, but this site has the installation instructions for a bare metal install too. I'll look through my backups to see if I have a pre-mqtt HRD flow that I can also share.? ?That said, if you install MQTT, it will make future projects easier.? ? This HRD flow is part of an amplifier project and none of the systems are running on the same server.? ? ?MQTT and NodeRed are in docker on a linux server.? ?The amplifier has ESP32 MCUs that read voltages and publish to MQTT, and my desktop runs HRD.? ? ? When it's properly installed, all the MQTT symbols will display as "connected".? ? ? |
Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated
#file-notice
¿ªÔÆÌåÓýHi AdrianI haven¡¯t tried the new HRD flow yet but just thinking¡. Check HRD TCP server settings. There is a checkbox for same PC only connections. That needs to be unchecked for connections from Node Red or other computers. Again, thinking outside the box. I do want to try HRD again. Currently using N3FJP AC Log. 73 Dave wo2x On Jun 6, 2022, at 11:29 PM, Adrian Fewster <vk4tux@...> wrote:
|