Keyboard Shortcuts
Likes
- Nodered-Hamradio
- Messages
Search
Re: FRStack Errors
开云体育Look at your settings json file logging levels.{ ? "Logging": { ? ? "LogLevel": { ? ? ? "Default": "Warning", ? ? ? "Microsoft": "Warning", ? ? ? "Microsoft.Hosting.Lifetime": "Information", ? ? ? "Flex.Smoothlake": "Warning", ? ? ? "FRStackWebApi.Controllers": "Warning" ? ? ? } ? ? }, Mark On Jul 30, 2021, at 6:34 AM, Mick - W8BE <w8bea2b2c2@...> wrote:
?Dave, I upgraded to dotnet 5.0.8 this morning.? ?Same results.? ?So I did a quick test.? ?I don't think the issue has anything to do with Node-RED.? ?I stopped the Node-Red process and then restarted the FRStackWebApi.? ?Now with no Node-Red running and my radio on here is what I see in the log: pi@raspberrypi:/usr/local/frstack $ sudo systemctl restart FRStackWebApi
pi@raspberrypi:/usr/local/frstack $ journalctl --unit FRStackWebApi --follow
-- Logs begin at Thu 2021-07-29 16:24:31 EDT. --
Jul 30 06:29:34 raspberrypi dotnet[19756]: Radio Meter LEVEL Signal strength of signals in the filter passband - NO Data Ready handler
Jul 30 06:29:34 raspberrypi dotnet[19756]: Radio Meter AGC+ Signal strength after AGC - NO Data Ready handler
Jul 30 06:29:34 raspberrypi dotnet[19756]: Radio Meter AM Signal strength after AM - NO Data Ready handler
Jul 30 06:29:34 raspberrypi dotnet[19756]: Waterfall::StatusUpdate: Key not parsed (band_zoom=0)
Jul 30 06:29:34 raspberrypi dotnet[19756]: Waterfall::StatusUpdate: Key not parsed (segment_zoom=0)
Jul 30 06:29:34 raspberrypi dotnet[19756]: Waterfall::StatusUpdate: Key not parsed (daxiq_channel=0)
Jul 30 06:29:34 raspberrypi dotnet[19756]: Slice::StatusUpdate: Key not parsed (sample_rate=24000)
Jul 30 06:29:34 raspberrypi dotnet[19756]: RXRemoteAudioStream::StatusUpdate: Invalid key/value pair ()
Jul 30 06:29:34 raspberrypi dotnet[19756]: RXRemoteAudioStream::StatusUpdate: Key not parsed (ip=10.0.0.55)
Jul 30 06:29:34 raspberrypi dotnet[19756]: ParseInterlockStatus: Error - Invalid reason (OUT_OF_PA_RANGE)
I wanted to post this test as Mark will eventually see it and advise.? Upgrading to dotnet 5.0.8 was a worthwhile endeavor.? It gave me the idea to test the FRStackWebApi with no conflicting processes.?? Regards |
Re: FRStack Errors
Dave,
I upgraded to dotnet 5.0.8 this morning.? ?Same results.? ?So I did a quick test.? ?I don't think the issue has anything to do with Node-RED.? ?I stopped the Node-Red process and then restarted the FRStackWebApi.? ?Now with no Node-Red running and my radio on here is what I see in the log: pi@raspberrypi:/usr/local/frstack $ sudo systemctl restart FRStackWebApi
pi@raspberrypi:/usr/local/frstack $ journalctl --unit FRStackWebApi --follow
-- Logs begin at Thu 2021-07-29 16:24:31 EDT. --
Jul 30 06:29:34 raspberrypi dotnet[19756]: Radio Meter LEVEL Signal strength of signals in the filter passband - NO Data Ready handler
Jul 30 06:29:34 raspberrypi dotnet[19756]: Radio Meter AGC+ Signal strength after AGC - NO Data Ready handler
Jul 30 06:29:34 raspberrypi dotnet[19756]: Radio Meter AM Signal strength after AM - NO Data Ready handler
Jul 30 06:29:34 raspberrypi dotnet[19756]: Waterfall::StatusUpdate: Key not parsed (band_zoom=0)
Jul 30 06:29:34 raspberrypi dotnet[19756]: Waterfall::StatusUpdate: Key not parsed (segment_zoom=0)
Jul 30 06:29:34 raspberrypi dotnet[19756]: Waterfall::StatusUpdate: Key not parsed (daxiq_channel=0)
Jul 30 06:29:34 raspberrypi dotnet[19756]: Slice::StatusUpdate: Key not parsed (sample_rate=24000)
Jul 30 06:29:34 raspberrypi dotnet[19756]: RXRemoteAudioStream::StatusUpdate: Invalid key/value pair ()
Jul 30 06:29:34 raspberrypi dotnet[19756]: RXRemoteAudioStream::StatusUpdate: Key not parsed (ip=10.0.0.55)
Jul 30 06:29:34 raspberrypi dotnet[19756]: ParseInterlockStatus: Error - Invalid reason (OUT_OF_PA_RANGE)
I wanted to post this test as Mark will eventually see it and advise.? Upgrading to dotnet 5.0.8 was a worthwhile endeavor.? It gave me the idea to test the FRStackWebApi with no conflicting processes.?? Regards |
Re: FRStack Errors
Alan I posted the flows under W8BE flows... If you see anything that can be made more efficient / cleaner please advise.??
Regards |
Re: FRStack Errors
Mick I would be interested in looking at your "in the header" flow.? Could you post it to the files? OK, another "clean-up"?trick. Are you using Node-Red Projects?? If so, using the multiple select key combination, "option-click" for my Mac, on the Node-Red editor, select the tabs you absolutely?use for your "production" dashboard. ?"Export" these tabs to the clipboard.? Open a new project, import the essential tabs to the new project from the clipboard.? You will now have a "clean" set of ?"essential" flows. If you do not use Node-Red Projects, export two versions of your flows.? Essential?tabs and everything flows, to?json files. ?? Go to the hidden ".Node-Red" directory, "/home/pi/.node-red". ? Delete or rename the "/home/pi/.node-red/flows_raspberrypi.json" file.? This will wipe your editor "clean". Restart Node-Red.? Open up the Node-Red editor.? It should be empty.? Import your "essential" copy of flows. You now have a "clean" Node-Red, and you are not running non-essential flows.? Now, focus on correcting each source of error messages. Alan |
Re: FRStack Errors
Alan,? |
Re: FRStack Errors
Mick Another Node-Red "clean up" task is to go to the list of "configuration nodes" on the hamburger pull down.? Select the "unused" tab.? Select each unused configuration and hit "delete" on the keyboard. oh....also, on the Dashboard tool, look for empty groups and tabs.? Choose "edit" and then delete. Regarding the time in header flow.? I am not the original code writer.? I found the "time in header" flow on the forum and knew that others in our group were looking for the same.? I was in error to not credit the source. Alan. WA9WUD |
Re: FRStack Errors
Thanks Dave / Alan.? I will give the debug node a shot.? I have had debug on alot in the last few days and don't see any those errors.? They are being written to /var/log files.
Alan i was looking at your clock code and I must say your write very clean code.? I was impressed.? I changed the way had my code to use <p> instead of <span>.? I was able to eliminate alot of extra code with that.? I added solar data to the toolbar.?? Regards |
Re: FRStack Errors
Mick I cannot help with your specific log alarms. I start by going to the Pallet?tool and finding any nodes that need to be updated.? I update each. Re-Boot. Then, I open a debug node on each Node-Red tab, looking for error messages.? Then, I click on the message to find the offending Node. Then, I try to fix whatever is upsetting the node. Repeat for each Node-Red editor tab. Alan. WA9WUD |
Re: FRStack Errors
开云体育The WiKi was updated to show how to load .Net 5.0.8.Don’t know if that will help. My Green Heron RT21 just arrived and will be wiring that up. When done I wanted to build a new Pi4 using 32 bit OS. Right now using 64 bit with Node Red 1.3.5 73 Dave wo2x On Jul 29, 2021, at 5:05 PM, Mick - W8BE <w8bea2b2c2@...> wrote:
|
FRStack Errors
I recently upgraded to Node-RED 2.03 and? dotnet 5.0.5.? ?I noticed I am getting error msgs like below:
Jul 29 16:55:44 raspberrypi dotnet: Radio Meter AM Signal strength after AM - NO Data Ready handler
Jul 29 16:55:44 raspberrypi dotnet: Waterfall::StatusUpdate: Key not parsed (band_zoom=0)
Jul 29 16:55:44 raspberrypi dotnet: Waterfall::StatusUpdate: Key not parsed (segment_zoom=0)
Jul 29 16:55:44 raspberrypi dotnet: Waterfall::StatusUpdate: Key not parsed (daxiq_channel=0)
Jul 29 16:55:44 raspberrypi dotnet: Slice::StatusUpdate: Key not parsed (sample_rate=24000)
Jul 29 16:55:44 raspberrypi dotnet: RXRemoteAudioStream::StatusUpdate: Invalid key/value pair ()
Jul 29 16:55:44 raspberrypi dotnet: RXRemoteAudioStream::StatusUpdate: Key not parsed (ip=10.0.0.55)
Jul 29 16:55:44 raspberrypi dotnet: ParseInterlockStatus: Error - Invalid reason (OUT_OF_PA_RANGE)
Jul 29 16:56:10 raspberrypi dotnet: ParseInterlockStatus: Error - Invalid reason (OUT_OF_PA_RANGE)
I loaded up a new pi with dotnet 5.0.3 and the latest Node-Red / FRStack and still see the errors.? I then loaded Mark's json to test and? see if something in my flow could be the issue but I see the same errors using the Mark's json.? ? ?I am curious if anyone has notice this.? ?I have not lost any functionality, I just don't like to see errors eating up cpu ticks to post a message to /var/log.? ? Regards, Mick ? |
Re: File /wo2x flows/Kenwood CAT to relay example.json uploaded
#file-notice
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.
toggle quoted message
Show quoted text
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: |
Re: File /wo2x flows/Kenwood CAT to relay example.json uploaded
#file-notice
David
toggle quoted message
Show quoted text
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:
-- Dave Manuals@... www.ArtekManuals.com --
This email has been checked for viruses by Avast antivirus software. |
Re: File Notifications
#file-notice
I just looked at all the tools on Github...Looks like it's SmartSDR for linux...Have you run flexclient and all the other tools on a linux device?? I am thinking this can't run on a pi effectively.??
Regards Mick |
File Notifications
#file-notice
[email protected] Notification
The following files have been uploaded to the Files area of the [email protected] group. By: Alan Blind, WA9WUD <a.alan.blind@...> Description: The following files have been uploaded to the Files area of the [email protected] group. By: Alan Blind, WA9WUD <a.alan.blind@...> Description: |
File //Node-Red DAX and CAT/nDAX nCAT.json updated
#file-notice
[email protected] Notification
The following files have been updated in the Files area of the [email protected] group. By: Alan Blind, WA9WUD <a.alan.blind@...> Description: |
File /wo2x flows/Kenwood CAT to relay example.json uploaded
#file-notice
[email protected] Notification
The following files have been uploaded to the Files area of the [email protected] group. By: David De Coons wo2x <RocketNJ@...> Description: |
Kenwood frequency to relay example flow
开云体育Hi All,
? Here is an example of how to take KenWood CAT, convert it to band, then send a different number for each band. To test this I created a CAT TCP port in SmartSDR CAT so you will see an Inject node set to send a string of IF; when clicked. This goes into a TCP request node set to the IP of the PC running SmartSDR CAT and the port for CAT. These would be replaced with a serial in node for the connection to the Kenwood radio. When adding the serial in, change the baud rate to match your radio and set the timeout to 500 ms. ? The output is a number from 1 to 11 starting at 160 meters and going up through 6 meters. This includes 60, 30, 17, and 12 meter WARC bands. ? Again, this is something I whipped up this morning to give you an idea on how to accomplish driving relays from CAT frequency. You would use the number out to then do something like a function node to send the proper formatted payload to set the appropriate relays for that band. Don’t forget to “unset” all relays before setting the active relays. ? You can copy contents below and import to Node Red. ? 73 Dave wo2x ? ? ? [ ??? { ??????? "id": "747e5501.ce75cc", ??????? "type": "tab", ??????? "label": "Kenwood CAT to relay", ??????? "disabled": false, ??????? "info": "" ??? }, ??? { ??????? "id": "b31c58f5.f5bae8", ??????? "type": "tcp request", ??????? "z": "747e5501.ce75cc", ??????? "server": "10.0.0.119", ??????? "port": "60000", ??????? "out": "sit", ??????? "splitc": " ", ??????? "name": "", ??????? "x": 420, ??????? "y": 120, ??????? "wires": [ ??????????? [ ??????????????? "76a0b654.199db8" ??????????? ] ??????? ] ??? }, ??? { ??????? "id": "41b546bf.3798c8", ??????? "type": "debug", ??????? "z": "747e5501.ce75cc", ??????? "name": "", ??????? "active": true, ??????? "tosidebar": true, ??????? "console": false, ??????? "tostatus": false, ??????? "complete": "payload", ??????? "targetType": "msg", ??????? "statusVal": "", ??????? "statusType": "auto", ??????? "x": 770, ??????? "y": 300, ??????? "wires": [] ??? }, ??? { ??????? "id": "16d8cf90.c273b", ??????? "type": "inject", ??????? "z": "747e5501.ce75cc", ??????? "name": "", ??????? "props": [ ??????????? { ??????????????? "p": "payload" ??????????? } ??????? ], ??????? "repeat": "", ??????? "crontab": "", ??????? "once": false, ??????? "onceDelay": 0.1, ??????? "topic": "", ??????? "payload": "IF;", ??????? "payloadType": "str", ??????? "x": 210, ??????? "y": 120, ??????? "wires": [ ??????????? [ ??????????????? "b31c58f5.f5bae8" ??????????? ] ??????? ] ??? }, ??? { ??????? "id": "76a0b654.199db8", ??????? "type": "function", ??????? "z": "747e5501.ce75cc", ??????? "name": "Hex to String", ??????? "func": "msg.payload = msg.payload.toString('utf8');\nmsg.payload = (parseInt(msg.payload.substr(5,5)))/1000;\nmsg.payload = parseFloat(msg.payload).toFixed(3);\nreturn msg;", ??????? "outputs": 1, ??????? "noerr": 0, ??????? "initialize": "", ??????? "finalize": "", ??????? "libs": [], ??????? "x": 650, ??????? "y": 120, ??????? "wires": [ ??????????? [ ??????????????? "4e299156.7471a8" ??????????? ] ??????? ] ??? }, ??? { ??????? "id": "4e299156.7471a8", ??????? "type": "function", ??????? "z": "747e5501.ce75cc", ??????? "name": "Frequency to Band to relay", ??????? "func": "var frequency=parseFloat(msg.payload) * 1000;\nvar band=\"\";\n\nswitch (true) {\n??????? \n??? case (frequency >=? 1800 && frequency <=? 2000): band=\"160M\"; break;\n??? case (frequency >=? 3500 && frequency <=? 4000): band=\"80M\"; break;\n??? case (frequency >=? 5330 && frequency <=? 5405): band=\"60M\"; break;\n??? case (frequency >=? 7000 && frequency <=? 7300): band=\"40M\"; break;\n??? case (frequency >= 10100 && frequency <= 10150): band=\"30M\"; break;\n??? case (frequency >= 14000 && frequency <= 14350): band=\"20M\"; break;\n??? case (frequency >= 18068 && frequency <= 18168): band=\"17M\"; break;\n??? case (frequency >= 21000 && frequency <= 21450): band=\"15M\"; break;\n??? case (frequency >= 24890 && frequency <= 24990): band=\"12M\"; break;\n??? case (frequency >= 28000 && frequency <= 29700): band=\"10M\"; break;\n??? case (frequency >= 50000 && frequency <= 54000): band=\"6M\"; break;\n??? \n??? default: band=\" GEN\";\n }\n \nvar relay = '';\nswitch(band) {\ncase \"160M\":\n??? relay = 1;\nbreak;\ncase \"80M\":\n??? relay = 2;\nbreak;\ncase \"60M\":\n??? relay = 3;\nbreak;\ncase \"40M\":\n??? relay = 4;\nbreak;\ncase \"30M\":\n??? relay = 5;\nbreak;\ncase \"20M\":\n??? relay = 6;\nbreak;\ncase \"17M\":\n??? relay = 7;\nbreak;\ncase \"15M\":\n??? relay = 8;\nbreak;\ncase \"12M\":\n??? relay = 9;\nbreak;\ncase \"10M\":\n??? relay = 10;\nbreak;\ncase \"6M\":\n??? relay = 11;\n}\n\nmsg.payload = relay\nreturn msg;", ??????? "outputs": 1, ??????? "noerr": 0, ??????? "initialize": "", ??????? "finalize": "", ??????? "libs": [], ??????? "x": 400, ??????? "y": 300, ??????? "wires": [ ??????????? [ ??????????????? "41b546bf.3798c8" ??????????? ] ??????? ] ??? } ] ? ? |
Re: KMTRONIC FLOW
You can use the EXEC node to run batch files on a Windows install as a work around. 73, Marty WD9GYM
On Thursday, July 29, 2021, 08:58:57 AM CDT, Nick M via groups.io <w7nik@...> wrote:
The 8 relay switch I have is a Lan connection, UDP , I also run PstrotatorAz for automatic antenna switching based on band choice . Dave still working great ?thank you for all the work you do . W7nik On Jul 29, 2021, at 5:16 AM, g0ggg via groups.io <g0ggg@...> wrote:
--
Nick W7NIK? |
Re: KMTRONIC FLOW
开云体育The 8 relay switch I have is a Lan connection, UDP , I also run PstrotatorAz for automatic antenna switching based on band choice . Dave still working great ?thank you for all the work you do . W7nik On Jul 29, 2021, at 5:16 AM, g0ggg via groups.io <g0ggg@...> wrote:
-- Nick W7NIK? |
Re: File /nDAX nCAT.json uploaded
#file-notice
Provides a Dashboard interface to setup and use the KC2G nDAX and nCAT for Linux machines. ?I am using it to provide DAX and CAT for WSJT-X running on my Raspberry Pi.
Must be used with Flex Firmware v3.XXX. ? Works with multiplexed Clients. nDAX and nCAT install and configure instructions are included on the flow "Setup" notes. Normally, by default, the KC2G apps use the VITA49 UDP for discovery, however, I found our use of the same on other Node-Red flows caused the default discovery for nDAX and nCAT to ?not work. ?You will see my Node-Red flow uses the Flex VITA49 UDP broadcast to make a list of possible Clients and uses a pull down selector to choose which multiplex client will send audio and be the controlling device for nDAX and nCAT. nDAX will provide RX audio (flex.sliceA.rx and TX audio (flex.sliceAtx). ?The names will be adjusted to show the Slice you have selected from the Dashboard "Slice Selector". nCAT loads "hamlib" for controlling the Flex via CAT. ?So, on WSJT-X, use the "hamlib NET rigctl" rig and port 4532 Alan. WA9WUD |