Dave
Having used a W2 until last week (but for about 10 years previous) I found that I needed to hit 'scan' more than once.
Changing scales requires you to do math on the reported values.
BTW, for Scan, I think it requires a special firmware from Elecraft, but you would need to confirm they actually made the firmware public.
Mike va3mw
toggle quoted message
Show quoted text
On Tue, Jul 14, 2020 at 11:19 PM Santiago Mejia via <hi8smx= [email protected]> wrote:
Actually I don¡¯t have any at the moment.
Yes, I¡¯m getting my way around. Currently I¡¯m adapting some of our flows to my set up and combining them. And just started reading about Node Red and APC UPS.
Santiago ____________ 73 de HI8SMX? hi8smx.online HI8SMX on Twitter, Instagram and YouTube
On Tuesday, July 14, 2020, 11:16 PM, David De Coons wo2x <RocketNJ@...> wrote: Hi Santiago,
Hope you are progressing with Node Red.
What wattmeter do you use now? Does it have connectivity either via serial or USB?
Dave wo2x ?
Darn...I should add a W2 to the equipment wish list.
73,
Santiago HI8SMX? KB8SMX? ____________ 73 de HI8SMX? hi8smx.online HI8SMX on Twitter, Instagram and YouTube
On Tuesday, July 14, 2020, 11:04 PM, David De Coons wo2x <RocketNJ@...> wrote: Hi all,
I have finished the display portion of the W2 wattmeter flow.
What control functionality would you like to see? Forward power meter in auto range or manually set? (I personally like auto range).
Sensor auto scan or manually selectable? Or a choice between the two?
What other controls?
Once I get some feedback I will be able to have a flow publicly available to test.
73
Dave wo2x
-- ______________ 73 de Santiago HI8SMX web:? YouTube: HI8SMX? Twitter: @hi8smx Instagram: hi8smx
-- ______________ 73 de Santiago HI8SMX web:? YouTube: HI8SMX? Twitter: @hi8smx Instagram: hi8smx
|
Actually I don¡¯t have any at the moment.
Yes, I¡¯m getting my way around. Currently I¡¯m adapting some of our flows to my set up and combining them. And just started reading about Node Red and APC UPS.
Santiago ____________ 73 de HI8SMX? hi8smx.online HI8SMX on Twitter, Instagram and YouTube
toggle quoted message
Show quoted text
On Tuesday, July 14, 2020, 11:16 PM, David De Coons wo2x <RocketNJ@...> wrote: Hi Santiago,
Hope you are progressing with Node Red.
What wattmeter do you use now? Does it have connectivity either via serial or USB?
Dave wo2x On Jul 14, 2020, at 11:07 PM, Santiago Mejia via groups.io <hi8smx@...> wrote:
?
Darn...I should add a W2 to the equipment wish list.
73,
Santiago HI8SMX? KB8SMX? ____________ 73 de HI8SMX? hi8smx.online HI8SMX on Twitter, Instagram and YouTube
On Tuesday, July 14, 2020, 11:04 PM, David De Coons wo2x <RocketNJ@...> wrote: Hi all,
I have finished the display portion of the W2 wattmeter flow.
What control functionality would you like to see? Forward power meter in auto range or manually set? (I personally like auto range).
Sensor auto scan or manually selectable? Or a choice between the two?
What other controls?
Once I get some feedback I will be able to have a flow publicly available to test.
73
Dave wo2x
-- ______________ 73 de Santiago HI8SMX web:? YouTube: HI8SMX? Twitter: @hi8smx Instagram: hi8smx
-- ______________ 73 de Santiago HI8SMX web:? YouTube: HI8SMX? Twitter: @hi8smx Instagram: hi8smx
|
Hi Santiago,
Hope you are progressing with Node Red.
What wattmeter do you use now? Does it have connectivity either via serial or USB?
toggle quoted message
Show quoted text
On Jul 14, 2020, at 11:07 PM, Santiago Mejia via groups.io <hi8smx@...> wrote:
?
Darn...I should add a W2 to the equipment wish list.
73,
Santiago HI8SMX? KB8SMX? ____________ 73 de HI8SMX? hi8smx.online HI8SMX on Twitter, Instagram and YouTube
On Tuesday, July 14, 2020, 11:04 PM, David De Coons wo2x <RocketNJ@...> wrote: Hi all,
I have finished the display portion of the W2 wattmeter flow.
What control functionality would you like to see? Forward power meter in auto range or manually set? (I personally like auto range).
Sensor auto scan or manually selectable? Or a choice between the two?
What other controls?
Once I get some feedback I will be able to have a flow publicly available to test.
73
Dave wo2x
-- ______________ 73 de Santiago HI8SMX web:? YouTube: HI8SMX? Twitter: @hi8smx Instagram: hi8smx
|
Darn...I should add a W2 to the equipment wish list.
73,
Santiago HI8SMX? KB8SMX? ____________ 73 de HI8SMX? hi8smx.online HI8SMX on Twitter, Instagram and YouTube
toggle quoted message
Show quoted text
On Tuesday, July 14, 2020, 11:04 PM, David De Coons wo2x <RocketNJ@...> wrote: Hi all,
I have finished the display portion of the W2 wattmeter flow.
What control functionality would you like to see? Forward power meter in auto range or manually set? (I personally like auto range).
Sensor auto scan or manually selectable? Or a choice between the two?
What other controls?
Once I get some feedback I will be able to have a flow publicly available to test.
73
Dave wo2x
-- ______________ 73 de Santiago HI8SMX web:? YouTube: HI8SMX? Twitter: @hi8smx Instagram: hi8smx
|
Hi all,
I have finished the display portion of the W2 wattmeter flow.
What control functionality would you like to see? Forward power meter in auto range or manually set? (I personally like auto range).
Sensor auto scan or manually selectable? Or a choice between the two?
What other controls?
Once I get some feedback I will be able to have a flow publicly available to test.
73 Dave wo2x
|
toggle quoted message
Show quoted text
On Jul 14, 2020, at 10:45 PM, randy nelson <rlnou812@...> wrote:
?Great idea Mike. Followed the link you posted on the FB group and added this group. Enjoying hearing you on the ham radio workbench and your you tube videos. Randy WB0VHB
|
Great idea Mike. Followed the link you posted on the FB group and added this group. Enjoying hearing you on the ham radio workbench and your you tube videos. Randy WB0VHB
|
More hardware support by Node Red
Hi all,
If anyone is looking for assistance in incorporating Node Red to any hardware, contact me and I will try to help. Several flows were written for hardware I do not have.
73 Dave wo2x
|
Re: Two radios on the same network
Oh yeah, the Flex Radio flow I created has a change node which is used to send TX freq to the HF Auto/GHE flow. Only one of the two Flex Radio flows should have that, depending on which radio is using the HF Auto.
My flows are written for a singlevradio, amp, and tuner but they can be adapted to multi-station environment.
Dave wo2x
toggle quoted message
Show quoted text
On Jul 14, 2020, at 3:47 PM, Bret Mills <bret.wx7y@...> wrote:
|
Doug,
From a command line on the Pi type sudo raspi-config and hit enter Arrow down to Advanced Options and hit Enter
It is the first choice Expand Filesystem
Once completed and you exit the configuration tool it will want to reboot the Pi for changes to take effect.
If you do not see that choice then from the main screen select Update to update the configuration tool.
These are bssed on latest Raspberry Pi Buster OS. Raspbian is now know as Raspberry Pi OS and Buster is the latest version.
73 Dave wo2x
toggle quoted message
Show quoted text
On Jul 14, 2020, at 3:47 PM, Douglas Shock <dshockk0zu@...> wrote:
?There is no resize partition option under advanced options
|
toggle quoted message
Show quoted text
On Jul 14, 2020, at 3:39 PM, William Arcand <w1wra@...> wrote:
? Yikes, sent that email too quick.
When creating a unique user for switch control, I changed the password and the account got locked out.
Therein lies why I saw my errors. Once that was squared away everything was good to go.
Relabled things to match my switch and that part is complete. I wanted to start with remote power control. Now on to other things.
73, W1WRA
Dave,
Not to hijack this thread but I have a question related. I am trying to use your DLI Webswitch Pro flow. I have edited both curl elements, but it still fails. If I try to curl on the commandline , I get a redirected url page. When I look at the switch, I am getting login errors. ? So the question is: Which version of the firmware do you have installed on your switch? I am running
1.8.13.0. The curl line is simple, I have also seen the suggestions in the curl API help file for the switch, but does not seem to be working. Since you played around with it I do not know if this sounds familiar or if you have any insights.
73, Bill
On Mon, Jul 13, 2020 at 6:02 PM David De Coons wo2x < RocketNJ@...> wrote: Great! Log onto the terminal window on the Pi and run the command sudo raspi-config Go to advanced and choose to resize the partitions. It will expand the partitions to use the full 8 GB. ? If you are going to import any of my flows read the readme file first. There are additional nodes needed to be installed before importing flows. Once done reboot the Pi. ? Dave wo2x ? ? From: [email protected] <[email protected]> On Behalf Of Douglas Shock Sent: Monday, July 13, 2020 5:58 PM To: [email protected] Subject: [nodered-hamradio] Here we Gooooo ? Okay raspberry Pi up and running (got the 8gb of mem model). node-red installed and running. no to start importing.
|
Re: Two radios on the same network
I will try that when I get home from work tonight Thanks OH here is what I tried the other day? ? ? "FlexRadio" and how would I bind them to the individual?radios Michael's flow doesn't work for the HF Auto
[{"id":"daabecfb.89faa","type":"tab","label":"FlexRadio","disabled":true,"info":""},{"id":"bb722a1f.bbedc8","type":"split","z":"daabecfb.89faa","name":"","splt":" ","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":630,"y":140,"wires":[["844f5b99.c0ee28"]]},{"id":"f5d8a7d6.40fca8","type":"ui_text","z":"daabecfb.89faa","group":"6359ddf3.afd594","order":5,"width":"6","height":"1","name":"TX VFO","label":"F6700 TX VFO","format":"{{msg.payload}}","layout":"row-center","x":680,"y":300,"wires":[]},{"id":"e7771353.d3fcd","type":"ui_level","z":"daabecfb.89faa","group":"6359ddf3.afd594","order":6,"width":"6","height":"1","name":"TX Power","label":"F6700 TX Power","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":100,"segWarn":"50","segHigh":"80","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":2,"colorschema":"fixed","textoptions":"default","colorText":"#000000","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"textAnimations":false,"hideValue":false,"tickmode":"off","peakmode":false,"peaktime":"3000","x":680,"y":240,"wires":[]},{"id":"fb9b63b.1c5dea","type":"tcp request","z":"daabecfb.89faa","server":"192.168.23.7","port":"4992","out":"sit","splitc":" ","name":"","x":560,"y":60,"wires":[["8be653ed.7eabf"]]},{"id":"be6896ad.8e26a8","type":"inject","z":"daabecfb.89faa","name":"Flex 6700","topic":"","payload":"","payloadType":"date","repeat":"5","crontab":"","once":false,"onceDelay":0.1,"x":110,"y":60,"wires":[["c30bb2e5.f289b"]]},{"id":"c30bb2e5.f289b","type":"function","z":"daabecfb.89faa","name":"C173|sub tx all","func":"msg.payload = \"C173|sub tx all\\r\\n\"\nreturn msg;","outputs":1,"noerr":0,"x":320,"y":60,"wires":[["fb9b63b.1c5dea"]]},{"id":"8be653ed.7eabf","type":"function","z":"daabecfb.89faa","name":"Hex to String","func":"msg.payload = msg.payload.toString('utf8');\nreturn msg;","outputs":1,"noerr":0,"x":180,"y":140,"wires":[["bd091365.8330b"]]},{"id":"844f5b99.c0ee28","type":"switch","z":"daabecfb.89faa","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"rfpower=","vt":"str"},{"t":"cont","v":"freq=","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":110,"y":260,"wires":[["fdb070d5.214f9"],["2a36a827.b7c1f8"]]},{"id":"bd091365.8330b","type":"change","z":"daabecfb.89faa","name":"Change cal_freq to cal_f","rules":[{"t":"change","p":"payload","pt":"msg","from":"cal_freq","fromt":"str","to":"cal_f","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":420,"y":140,"wires":[["bb722a1f.bbedc8"]]},{"id":"2a36a827.b7c1f8","type":"function","z":"daabecfb.89faa","name":"Parse TX VFO","func":"msg.payload = parseFloat(msg.payload.substr(5,7));\nmsg.payload = msg.payload.toFixed(6);\n\n\nreturn msg;","outputs":1,"noerr":0,"x":400,"y":300,"wires":[["f5d8a7d6.40fca8","8efd42b3.68e63"]]},{"id":"fdb070d5.214f9","type":"function","z":"daabecfb.89faa","name":"Parse TX VFO","func":"msg.payload = parseInt(msg.payload.substr(8,3));\n\nreturn msg;","outputs":1,"noerr":0,"x":400,"y":240,"wires":[["e7771353.d3fcd"]]},{"id":"8efd42b3.68e63","type":"change","z":"daabecfb.89faa","name":"","rules":[{"t":"set","p":"TXFreq","pt":"global","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":670,"y":360,"wires":[[]]},{"id":"1aea633b.5e42dd","type":"tcp request","z":"daabecfb.89faa","server":"192.168.23.188","port":"4992","out":"sit","splitc":" ","name":"","x":580,"y":460,"wires":[["fc845609.4e1a38"]]},{"id":"fc845609.4e1a38","type":"function","z":"daabecfb.89faa","name":"Hex to String","func":"msg.payload = msg.payload.toString('utf8');\nreturn msg;","outputs":1,"noerr":0,"x":130,"y":580,"wires":[["384ee8e8.134098"]]},{"id":"384ee8e8.134098","type":"change","z":"daabecfb.89faa","name":"Change cal_freq to cal_f","rules":[{"t":"change","p":"payload","pt":"msg","from":"cal_freq","fromt":"str","to":"cal_f","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":350,"y":580,"wires":[["a70e87b9.072f28"]]},{"id":"a70e87b9.072f28","type":"split","z":"daabecfb.89faa","name":"","splt":" ","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":530,"y":580,"wires":[["e5de3660.d2d4a8"]]},{"id":"e5de3660.d2d4a8","type":"switch","z":"daabecfb.89faa","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"rfpower=","vt":"str"},{"t":"cont","v":"freq=","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":110,"y":680,"wires":[["1f13e6fc.b42859"],["6596a087.364be"]]},{"id":"1f13e6fc.b42859","type":"function","z":"daabecfb.89faa","name":"Parse TX VFO","func":"msg.payload = parseInt(msg.payload.substr(8,3));\n\nreturn msg;","outputs":1,"noerr":0,"x":340,"y":680,"wires":[["ba435d39.e9074"]]},{"id":"6596a087.364be","type":"function","z":"daabecfb.89faa","name":"Parse TX VFO","func":"msg.payload = parseFloat(msg.payload.substr(5,7));\nmsg.payload = msg.payload.toFixed(6);\n\n\nreturn msg;","outputs":1,"noerr":0,"x":340,"y":740,"wires":[["e1901183.730e1","37a43316.6bac6c"]]},{"id":"ba435d39.e9074","type":"ui_level","z":"daabecfb.89faa","group":"6359ddf3.afd594","order":8,"width":"6","height":"1","name":"TX Power","label":"F6600M TX Power","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":100,"segWarn":"50","segHigh":"80","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":2,"colorschema":"fixed","textoptions":"default","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"textAnimations":false,"hideValue":false,"tickmode":"off","peakmode":false,"peaktime":3000,"x":580,"y":680,"wires":[]},{"id":"e1901183.730e1","type":"ui_text","z":"daabecfb.89faa","group":"6359ddf3.afd594","order":9,"width":"6","height":"1","name":"TX VFO","label":"F6600M TX VFO","format":"{{msg.payload}}","layout":"row-center","x":580,"y":720,"wires":[]},{"id":"37a43316.6bac6c","type":"change","z":"daabecfb.89faa","name":"","rules":[{"t":"set","p":"TXFreq","pt":"global","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":760,"wires":[[]]},{"id":"9d014d72.7eafb","type":"function","z":"daabecfb.89faa","name":"C173|sub tx all","func":"msg.payload = \"C173|sub tx all\\r\\n\"\nreturn msg;","outputs":1,"noerr":0,"x":300,"y":460,"wires":[["1aea633b.5e42dd"]]},{"id":"ce5f17ec.fc21a8","type":"inject","z":"daabecfb.89faa","name":"Flex 6600M","topic":"","payload":"","payloadType":"date","repeat":"5","crontab":"","once":false,"onceDelay":0.1,"x":110,"y":460,"wires":[["9d014d72.7eafb"]]},{"id":"6359ddf3.afd594","type":"ui_group","z":"","name":"Flex Radio","tab":"50d4d989.a32b38","order":2,"disp":true,"width":"6","collapse":false},{"id":"50d4d989.a32b38","type":"ui_tab","z":"","name":"WX7Y Flex Radio interface","icon":"dashboard","order":5,"disabled":false,"hidden":false}]
73 Bret
toggle quoted message
Show quoted text
On Tue, Jul 14, 2020 at 1:34 PM David De Coons wo2x < RocketNJ@...> wrote: I have been thinking about the two radio support. Probably easiest way is to just copy your Flex Radio flow and make a second one. Change the TCP request node to the IP of the second radio. Change the ¡°C3|client udpport 4991¡± to another unused UDP port such as 4995 for meter data. You will need to change the UDP listener to the port you choose for the second radio. It is OK for both to send their broadcast on 4992. The TCP can both be on 4992 since it is going to two different IP addresses.?
Check out my FlexRadioV2.txt in the files section. Just make sure of the bind client command that each flow is binding to the client you want. We may need to add some code to be able to choose which client you want to bind to but for experimentation you can enter the client_ID manually into each flow for now.?
Dave wo2x Sent from my waxed string and tin cans.? On Jul 14, 2020, at 3:09 PM, Michael Walker <va3mw@...> wrote:
? Give this a try.? Feel free to hack around at it.? Don't trust it to be 100% correct.? :). I hack around in here a lot.??
I also think it has some really sloppy code.? :)
Mike va3mw
[{"id":"a5a6f35f.a0a62","type":"tab","label":"FlexRadio","disabled":false,"info":""},{"id":"5332910e.2f411","type":"tcp in","z":"a5a6f35f.a0a62","name":"","server":"client","host":"192.168.110.76","port":"4992","datamode":"stream","datatype":"utf8","newline":"\\n","topic":"","base64":false,"x":203.01953125,"y":158.00390625,"wires":[["32af30a0.da29c","784db465.9bedfc","21676014.64315","4bb65a81.899f44"]]},{"id":"9f0dc4f.232cd38","type":"tcp out","z":"a5a6f35f.a0a62","host":"","port":"","beserver":"reply","base64":false,"end":false,"name":"","x":1003.01953125,"y":198.00390625,"wires":[]},{"id":"167dc49a.68cbab","type":"split","z":"a5a6f35f.a0a62","name":"","splt":" ","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":323.01953125,"y":418.00390625,"wires":[["66b580f3.0a7a4"]]},{"id":"66b580f3.0a7a4","type":"switch","z":"a5a6f35f.a0a62","name":"","property":"payload","propertyType":"msg","rules":[{"t":"regex","v":"^freq=","vt":"str","case":false}],"checkall":"true","repair":false,"outputs":1,"x":463.01953125,"y":418.00390625,"wires":[["8d5baf1.32b805"]]},{"id":"8d5baf1.32b805","type":"function","z":"a5a6f35f.a0a62","name":"Parse FlexTXFreq","func":"\nmsg.payload= msg.payload.split('=')[1]*100000;\n\nflow.set(\"FlexTXFreq\",msg.payload);\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":670,"y":420,"wires":[["b4944ad5.44dbd8"]]},{"id":"d63d2770.e41758","type":"mqtt out","z":"a5a6f35f.a0a62","name":"","topic":"FlexStatus","qos":"","retain":"","broker":"201e7171.0af3ee","x":1110,"y":500,"wires":[]},{"id":"b4944ad5.44dbd8","type":"function","z":"a5a6f35f.a0a62","name":"Devide Frequency by 100","func":"var Frequency=msg.payload/100;\n\n\n\nmsg.payload= parseFloat(Frequency).toFixed(2);\nreturn msg;","outputs":1,"noerr":0,"x":890,"y":420,"wires":[["d63d2770.e41758","b2a55269.8a30c","59f3c5b7.c2fbec"]]},{"id":"32af30a0.da29c","type":"trigger","z":"a5a6f35f.a0a62","op1":"C172|sub tx all","op2":"C172|sub tx all","op1type":"str","op2type":"str","duration":"60","extend":true,"units":"min","reset":"","bytopic":"all","name":"","x":490,"y":160,"wires":[["5039d92.c1ba328","5868bc45.056d54","12af30a0.75d09f","163c43e3.a5302c"]]},{"id":"b2a55269.8a30c","type":"trigger","z":"a5a6f35f.a0a62","op1":"","op2":"","op1type":"nul","op2type":"payl","duration":"10","extend":false,"units":"s","reset":"","name":"","x":730,"y":500,"wires":[["d63d2770.e41758"]]},{"id":"5039d92.c1ba328","type":"function","z":"a5a6f35f.a0a62","name":"SUB SLICE ALL","func":"// C172|sub slice all\nmsg.payload = \"C172|sub slice all\\r\"; \nreturn msg;","outputs":1,"noerr":0,"x":793.01953125,"y":178.00390625,"wires":[["9f0dc4f.232cd38"]]},{"id":"5868bc45.056d54","type":"function","z":"a5a6f35f.a0a62","name":"SUB CLIENT ALL","func":"// C172|sub slice all\nmsg.payload = \"C173|sub client all\\r\"; \nreturn msg;","outputs":1,"noerr":0,"x":803.01953125,"y":218.00390625,"wires":[["9f0dc4f.232cd38"]]},{"id":"12af30a0.75d09f","type":"function","z":"a5a6f35f.a0a62","name":"SUB TX ALL","func":"// C172|sub slice all\nmsg.payload = \"C202|sub tx all\\r\"; \nreturn msg;","outputs":1,"noerr":0,"x":783.01953125,"y":138.00390625,"wires":[["9f0dc4f.232cd38"]]},{"id":"784db465.9bedfc","type":"switch","z":"a5a6f35f.a0a62","name":"transmit","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"|transmit","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":173.01953125,"y":418.00390625,"wires":[["167dc49a.68cbab"]]},{"id":"163c43e3.a5302c","type":"function","z":"a5a6f35f.a0a62","name":"SUB RADIO ALL","func":"// C172|sub slice all\nmsg.payload = \"C73|sub radio all\\r\"; \nreturn msg;","outputs":1,"noerr":0,"x":810,"y":260,"wires":[["9f0dc4f.232cd38"]]},{"id":"2cdb975d.660f78","type":"inject","z":"a5a6f35f.a0a62","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":410.51171875,"y":58.94921875,"wires":[["12af30a0.75d09f"]]},{"id":"59f3c5b7.c2fbec","type":"ui_text","z":"a5a6f35f.a0a62","group":"147ec7a6.61a838","order":10,"width":0,"height":0,"name":"","label":"6600 Freq","format":"{{msg.payload}}","layout":"row-spread","x":1130,"y":420,"wires":[]},{"id":"21676014.64315","type":"switch","z":"a5a6f35f.a0a62","name":"rfpower","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"|transmit","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":180,"y":560,"wires":[["35cc47b5.351a98"]]},{"id":"35cc47b5.351a98","type":"split","z":"a5a6f35f.a0a62","name":"","splt":" ","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":350,"y":560,"wires":[["e7e8db4.377d128"]]},{"id":"e7e8db4.377d128","type":"switch","z":"a5a6f35f.a0a62","name":"","property":"payload","propertyType":"msg","rules":[{"t":"regex","v":"^rfpower=","vt":"str","case":false}],"checkall":"true","repair":false,"outputs":1,"x":490,"y":560,"wires":[["edb3c81.600ee38"]]},{"id":"edb3c81.600ee38","type":"function","z":"a5a6f35f.a0a62","name":"ParsePWR","func":"\nmsg.payload= msg.payload.split('=')[1];\n\nflow.set(\"FlexTXPWR\",msg.payload);\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":710,"y":560,"wires":[["6e9b14da.a6563c"]]},{"id":"6e9b14da.a6563c","type":"ui_text","z":"a5a6f35f.a0a62","group":"147ec7a6.61a838","order":11,"width":0,"height":0,"name":"","label":"TX Power","format":"{{msg.payload}}","layout":"row-spread","x":1140,"y":560,"wires":[]},{"id":"4d6cb5be.c9a64c","type":"comment","z":"a5a6f35f.a0a62","name":"","info":" state=TRANSMITTING\n ?state=READY","x":1620,"y":200,"wires":[]},{"id":"4bb65a81.899f44","type":"switch","z":"a5a6f35f.a0a62","name":"TX/RX State","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"state","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":170,"y":660,"wires":[["50ad74fe.67e61c"]]},{"id":"50ad74fe.67e61c","type":"split","z":"a5a6f35f.a0a62","name":"","splt":" ","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":310,"y":660,"wires":[["3b771b3c.5215e4"]]},{"id":"3b771b3c.5215e4","type":"switch","z":"a5a6f35f.a0a62","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"TRANSMITTING","vt":"str"},{"t":"cont","v":"READY","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":430,"y":660,"wires":[["7d3c7d0d.97c674"],["ae295af8.9e4b38"]],"inputLabels":["i/p"],"outputLabels":["PTT Requested","UnKey"]},{"id":"7d3c7d0d.97c674","type":"change","z":"a5a6f35f.a0a62","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"close","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":640,"wires":[["74bc71a6.a2d9e"]],"info":"The msg.payload is set to open or closed and\nsent to MQTT so that the Steppir controller\nwill know to open or close the gate.\n\nWhen Closed, the Steppir code will not send commands\nto the controller and hopefully not cause the \nSteppir to actually move while in TX"},{"id":"ae295af8.9e4b38","type":"change","z":"a5a6f35f.a0a62","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"open","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":680,"wires":[["74bc71a6.a2d9e"]],"info":"The msg.payload is set to open or closed and\nsent to MQTT so that the Steppir controller\nwill know to open or close the gate.\n\nWhen Closed, the Steppir code will not send commands\nto the controller and hopefully not cause the \nSteppir to actually move while in TX"},{"id":"74bc71a6.a2d9e","type":"mqtt out","z":"a5a6f35f.a0a62","name":"To Steppir Control","topic":"control","qos":"","retain":"","broker":"201e7171.0af3ee","x":1010,"y":660,"wires":[],"info":"To Steppir Code"},{"id":"201e7171.0af3ee","type":"mqtt-broker","z":"","name":"","broker":"192.168.110.111","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"147ec7a6.61a838","type":"ui_group","z":"","name":"Steppir","tab":"d6ba9a2a.f3f0d8","order":4,"disp":true,"width":"4","collapse":true},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
On Tue, Jul 14, 2020 at 12:51 PM Bret Mills < bret.wx7y@...> wrote: Hi Michael,? What flow are you using, Maybe I'm using a old version? Thanks Bret WX7Y
On Tue, Jul 14, 2020 at 10:18 AM Michael Walker < va3mw@...> wrote: This is what it looks like
Bret
I have?not seen the same problem, but then I make sure that I listen to the IP address of the radio I want as the source.
Would that work for you?
Mike
On Sat, Jul 11, 2020 at 4:33 PM Bret Mills < bret.wx7y@...> wrote: I have seen issues with certain devices using two flex radio's on the same network because?both radios are stuck using port 4992, This causes the Flow's using UDP port 4992 to toggle between the two radio's frequency and band's This happens on Green Heron, HF-Auto and the VITA49 flows and I'm sure others, I being?very much a NEW_BEE to?Node-Red? have dabbled with trying to change these FLows to work with the CAT TCP port numbers instead that we can set how we want and not stuck on 4992 so maybe some of you guys who are seasoned?Node-RED code writers can figure how to change these so we CAN use these flows with two radio's on the same network.? Thanks?guys and have a great day?
Bret WX7Y
|
There is no resize partition option under advanced options
|
Yikes, sent that email too quick.
When creating a unique user for switch control, I changed the password and the account got locked out.
Therein lies why I saw my errors. Once that was squared away everything was good to go.
Relabled things to match my switch and that part is complete. I wanted to start with remote power control. Now on to other things.
73, W1WRA
toggle quoted message
Show quoted text
Dave,
Not to hijack this thread but I have a question related. I am trying to use your DLI Webswitch Pro flow. I have edited both curl elements, but it still fails. If I try to curl on the commandline , I get a redirected url page. When I look at the switch, I am getting login errors. ? So the question is: Which version of the firmware do you have installed on your switch? I am running
1.8.13.0. The curl line is simple, I have also seen the suggestions in the curl API help file for the switch, but does not seem to be working. Since you played around with it I do not know if this sounds familiar or if you have any insights.
73, Bill
On Mon, Jul 13, 2020 at 6:02 PM David De Coons wo2x < RocketNJ@...> wrote: Great! Log onto the terminal window on the Pi and run the command sudo raspi-config Go to advanced and choose to resize the partitions. It will expand the partitions to use the full 8 GB. ? If you are going to import any of my flows read the readme file first. There are additional nodes needed to be installed before importing flows. Once done reboot the Pi. ? Dave wo2x ? ? From: [email protected] <[email protected]> On Behalf Of Douglas Shock Sent: Monday, July 13, 2020 5:58 PM To: [email protected] Subject: [nodered-hamradio] Here we Gooooo ? Okay raspberry Pi up and running (got the 8gb of mem model). node-red installed and running. no to start importing.
|
Dave,
Not to hijack this thread but I have a question related. I am trying to use your DLI Webswitch Pro flow. I have edited both curl elements, but it still fails. If I try to curl on the commandline , I get a redirected url page. When I look at the switch, I am getting login errors. ? So the question is: Which version of the firmware do you have installed on your switch? I am running
1.8.13.0. The curl line is simple, I have also seen the suggestions in the curl API help file for the switch, but does not seem to be working. Since you played around with it I do not know if this sounds familiar or if you have any insights.
73, Bill
toggle quoted message
Show quoted text
On Mon, Jul 13, 2020 at 6:02 PM David De Coons wo2x < RocketNJ@...> wrote: Great! Log onto the terminal window on the Pi and run the command sudo raspi-config Go to advanced and choose to resize the partitions. It will expand the partitions to use the full 8 GB. ? If you are going to import any of my flows read the readme file first. There are additional nodes needed to be installed before importing flows. Once done reboot the Pi. ? Dave wo2x ? ? From: [email protected] <[email protected]> On Behalf Of Douglas Shock Sent: Monday, July 13, 2020 5:58 PM To: [email protected] Subject: [nodered-hamradio] Here we Gooooo ? Okay raspberry Pi up and running (got the 8gb of mem model). node-red installed and running. no to start importing.
|
Re: Two radios on the same network
I have been thinking about the two radio support. Probably easiest way is to just copy your Flex Radio flow and make a second one. Change the TCP request node to the IP of the second radio. Change the ¡°C3|client udpport 4991¡± to another unused UDP port such as 4995 for meter data. You will need to change the UDP listener to the port you choose for the second radio. It is OK for both to send their broadcast on 4992. The TCP can both be on 4992 since it is going to two different IP addresses.?
Check out my FlexRadioV2.txt in the files section. Just make sure of the bind client command that each flow is binding to the client you want. We may need to add some code to be able to choose which client you want to bind to but for experimentation you can enter the client_ID manually into each flow for now.?
Dave wo2x Sent from my waxed string and tin cans.?
toggle quoted message
Show quoted text
On Jul 14, 2020, at 3:09 PM, Michael Walker <va3mw@...> wrote:
? Give this a try.? Feel free to hack around at it.? Don't trust it to be 100% correct.? :). I hack around in here a lot.??
I also think it has some really sloppy code.? :)
Mike va3mw
[{"id":"a5a6f35f.a0a62","type":"tab","label":"FlexRadio","disabled":false,"info":""},{"id":"5332910e.2f411","type":"tcp in","z":"a5a6f35f.a0a62","name":"","server":"client","host":"192.168.110.76","port":"4992","datamode":"stream","datatype":"utf8","newline":"\\n","topic":"","base64":false,"x":203.01953125,"y":158.00390625,"wires":[["32af30a0.da29c","784db465.9bedfc","21676014.64315","4bb65a81.899f44"]]},{"id":"9f0dc4f.232cd38","type":"tcp out","z":"a5a6f35f.a0a62","host":"","port":"","beserver":"reply","base64":false,"end":false,"name":"","x":1003.01953125,"y":198.00390625,"wires":[]},{"id":"167dc49a.68cbab","type":"split","z":"a5a6f35f.a0a62","name":"","splt":" ","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":323.01953125,"y":418.00390625,"wires":[["66b580f3.0a7a4"]]},{"id":"66b580f3.0a7a4","type":"switch","z":"a5a6f35f.a0a62","name":"","property":"payload","propertyType":"msg","rules":[{"t":"regex","v":"^freq=","vt":"str","case":false}],"checkall":"true","repair":false,"outputs":1,"x":463.01953125,"y":418.00390625,"wires":[["8d5baf1.32b805"]]},{"id":"8d5baf1.32b805","type":"function","z":"a5a6f35f.a0a62","name":"Parse FlexTXFreq","func":"\nmsg.payload= msg.payload.split('=')[1]*100000;\n\nflow.set(\"FlexTXFreq\",msg.payload);\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":670,"y":420,"wires":[["b4944ad5.44dbd8"]]},{"id":"d63d2770.e41758","type":"mqtt out","z":"a5a6f35f.a0a62","name":"","topic":"FlexStatus","qos":"","retain":"","broker":"201e7171.0af3ee","x":1110,"y":500,"wires":[]},{"id":"b4944ad5.44dbd8","type":"function","z":"a5a6f35f.a0a62","name":"Devide Frequency by 100","func":"var Frequency=msg.payload/100;\n\n\n\nmsg.payload= parseFloat(Frequency).toFixed(2);\nreturn msg;","outputs":1,"noerr":0,"x":890,"y":420,"wires":[["d63d2770.e41758","b2a55269.8a30c","59f3c5b7.c2fbec"]]},{"id":"32af30a0.da29c","type":"trigger","z":"a5a6f35f.a0a62","op1":"C172|sub tx all","op2":"C172|sub tx all","op1type":"str","op2type":"str","duration":"60","extend":true,"units":"min","reset":"","bytopic":"all","name":"","x":490,"y":160,"wires":[["5039d92.c1ba328","5868bc45.056d54","12af30a0.75d09f","163c43e3.a5302c"]]},{"id":"b2a55269.8a30c","type":"trigger","z":"a5a6f35f.a0a62","op1":"","op2":"","op1type":"nul","op2type":"payl","duration":"10","extend":false,"units":"s","reset":"","name":"","x":730,"y":500,"wires":[["d63d2770.e41758"]]},{"id":"5039d92.c1ba328","type":"function","z":"a5a6f35f.a0a62","name":"SUB SLICE ALL","func":"// C172|sub slice all\nmsg.payload = \"C172|sub slice all\\r\"; \nreturn msg;","outputs":1,"noerr":0,"x":793.01953125,"y":178.00390625,"wires":[["9f0dc4f.232cd38"]]},{"id":"5868bc45.056d54","type":"function","z":"a5a6f35f.a0a62","name":"SUB CLIENT ALL","func":"// C172|sub slice all\nmsg.payload = \"C173|sub client all\\r\"; \nreturn msg;","outputs":1,"noerr":0,"x":803.01953125,"y":218.00390625,"wires":[["9f0dc4f.232cd38"]]},{"id":"12af30a0.75d09f","type":"function","z":"a5a6f35f.a0a62","name":"SUB TX ALL","func":"// C172|sub slice all\nmsg.payload = \"C202|sub tx all\\r\"; \nreturn msg;","outputs":1,"noerr":0,"x":783.01953125,"y":138.00390625,"wires":[["9f0dc4f.232cd38"]]},{"id":"784db465.9bedfc","type":"switch","z":"a5a6f35f.a0a62","name":"transmit","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"|transmit","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":173.01953125,"y":418.00390625,"wires":[["167dc49a.68cbab"]]},{"id":"163c43e3.a5302c","type":"function","z":"a5a6f35f.a0a62","name":"SUB RADIO ALL","func":"// C172|sub slice all\nmsg.payload = \"C73|sub radio all\\r\"; \nreturn msg;","outputs":1,"noerr":0,"x":810,"y":260,"wires":[["9f0dc4f.232cd38"]]},{"id":"2cdb975d.660f78","type":"inject","z":"a5a6f35f.a0a62","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":410.51171875,"y":58.94921875,"wires":[["12af30a0.75d09f"]]},{"id":"59f3c5b7.c2fbec","type":"ui_text","z":"a5a6f35f.a0a62","group":"147ec7a6.61a838","order":10,"width":0,"height":0,"name":"","label":"6600 Freq","format":"{{msg.payload}}","layout":"row-spread","x":1130,"y":420,"wires":[]},{"id":"21676014.64315","type":"switch","z":"a5a6f35f.a0a62","name":"rfpower","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"|transmit","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":180,"y":560,"wires":[["35cc47b5.351a98"]]},{"id":"35cc47b5.351a98","type":"split","z":"a5a6f35f.a0a62","name":"","splt":" ","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":350,"y":560,"wires":[["e7e8db4.377d128"]]},{"id":"e7e8db4.377d128","type":"switch","z":"a5a6f35f.a0a62","name":"","property":"payload","propertyType":"msg","rules":[{"t":"regex","v":"^rfpower=","vt":"str","case":false}],"checkall":"true","repair":false,"outputs":1,"x":490,"y":560,"wires":[["edb3c81.600ee38"]]},{"id":"edb3c81.600ee38","type":"function","z":"a5a6f35f.a0a62","name":"ParsePWR","func":"\nmsg.payload= msg.payload.split('=')[1];\n\nflow.set(\"FlexTXPWR\",msg.payload);\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":710,"y":560,"wires":[["6e9b14da.a6563c"]]},{"id":"6e9b14da.a6563c","type":"ui_text","z":"a5a6f35f.a0a62","group":"147ec7a6.61a838","order":11,"width":0,"height":0,"name":"","label":"TX Power","format":"{{msg.payload}}","layout":"row-spread","x":1140,"y":560,"wires":[]},{"id":"4d6cb5be.c9a64c","type":"comment","z":"a5a6f35f.a0a62","name":"","info":" state=TRANSMITTING\n ?state=READY","x":1620,"y":200,"wires":[]},{"id":"4bb65a81.899f44","type":"switch","z":"a5a6f35f.a0a62","name":"TX/RX State","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"state","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":170,"y":660,"wires":[["50ad74fe.67e61c"]]},{"id":"50ad74fe.67e61c","type":"split","z":"a5a6f35f.a0a62","name":"","splt":" ","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":310,"y":660,"wires":[["3b771b3c.5215e4"]]},{"id":"3b771b3c.5215e4","type":"switch","z":"a5a6f35f.a0a62","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"TRANSMITTING","vt":"str"},{"t":"cont","v":"READY","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":430,"y":660,"wires":[["7d3c7d0d.97c674"],["ae295af8.9e4b38"]],"inputLabels":["i/p"],"outputLabels":["PTT Requested","UnKey"]},{"id":"7d3c7d0d.97c674","type":"change","z":"a5a6f35f.a0a62","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"close","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":640,"wires":[["74bc71a6.a2d9e"]],"info":"The msg.payload is set to open or closed and\nsent to MQTT so that the Steppir controller\nwill know to open or close the gate.\n\nWhen Closed, the Steppir code will not send commands\nto the controller and hopefully not cause the \nSteppir to actually move while in TX"},{"id":"ae295af8.9e4b38","type":"change","z":"a5a6f35f.a0a62","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"open","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":680,"wires":[["74bc71a6.a2d9e"]],"info":"The msg.payload is set to open or closed and\nsent to MQTT so that the Steppir controller\nwill know to open or close the gate.\n\nWhen Closed, the Steppir code will not send commands\nto the controller and hopefully not cause the \nSteppir to actually move while in TX"},{"id":"74bc71a6.a2d9e","type":"mqtt out","z":"a5a6f35f.a0a62","name":"To Steppir Control","topic":"control","qos":"","retain":"","broker":"201e7171.0af3ee","x":1010,"y":660,"wires":[],"info":"To Steppir Code"},{"id":"201e7171.0af3ee","type":"mqtt-broker","z":"","name":"","broker":"192.168.110.111","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"147ec7a6.61a838","type":"ui_group","z":"","name":"Steppir","tab":"d6ba9a2a.f3f0d8","order":4,"disp":true,"width":"4","collapse":true},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
On Tue, Jul 14, 2020 at 12:51 PM Bret Mills < bret.wx7y@...> wrote: Hi Michael,? What flow are you using, Maybe I'm using a old version? Thanks Bret WX7Y
On Tue, Jul 14, 2020 at 10:18 AM Michael Walker < va3mw@...> wrote: This is what it looks like
Bret
I have?not seen the same problem, but then I make sure that I listen to the IP address of the radio I want as the source.
Would that work for you?
Mike
On Sat, Jul 11, 2020 at 4:33 PM Bret Mills < bret.wx7y@...> wrote: I have seen issues with certain devices using two flex radio's on the same network because?both radios are stuck using port 4992, This causes the Flow's using UDP port 4992 to toggle between the two radio's frequency and band's This happens on Green Heron, HF-Auto and the VITA49 flows and I'm sure others, I being?very much a NEW_BEE to?Node-Red? have dabbled with trying to change these FLows to work with the CAT TCP port numbers instead that we can set how we want and not stuck on 4992 so maybe some of you guys who are seasoned?Node-RED code writers can figure how to change these so we CAN use these flows with two radio's on the same network.? Thanks?guys and have a great day?
Bret WX7Y
|
Re: Two radios on the same network
Give this a try.? Feel free to hack around at it.? Don't trust it to be 100% correct.? :). I hack around in here a lot.??
I also think it has some really sloppy code.? :)
Mike va3mw

[{"id":"a5a6f35f.a0a62","type":"tab","label":"FlexRadio","disabled":false,"info":""},{"id":"5332910e.2f411","type":"tcp in","z":"a5a6f35f.a0a62","name":"","server":"client","host":"192.168.110.76","port":"4992","datamode":"stream","datatype":"utf8","newline":"\\n","topic":"","base64":false,"x":203.01953125,"y":158.00390625,"wires":[["32af30a0.da29c","784db465.9bedfc","21676014.64315","4bb65a81.899f44"]]},{"id":"9f0dc4f.232cd38","type":"tcp out","z":"a5a6f35f.a0a62","host":"","port":"","beserver":"reply","base64":false,"end":false,"name":"","x":1003.01953125,"y":198.00390625,"wires":[]},{"id":"167dc49a.68cbab","type":"split","z":"a5a6f35f.a0a62","name":"","splt":" ","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":323.01953125,"y":418.00390625,"wires":[["66b580f3.0a7a4"]]},{"id":"66b580f3.0a7a4","type":"switch","z":"a5a6f35f.a0a62","name":"","property":"payload","propertyType":"msg","rules":[{"t":"regex","v":"^freq=","vt":"str","case":false}],"checkall":"true","repair":false,"outputs":1,"x":463.01953125,"y":418.00390625,"wires":[["8d5baf1.32b805"]]},{"id":"8d5baf1.32b805","type":"function","z":"a5a6f35f.a0a62","name":"Parse FlexTXFreq","func":"\nmsg.payload= msg.payload.split('=')[1]*100000;\n\nflow.set(\"FlexTXFreq\",msg.payload);\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":670,"y":420,"wires":[["b4944ad5.44dbd8"]]},{"id":"d63d2770.e41758","type":"mqtt out","z":"a5a6f35f.a0a62","name":"","topic":"FlexStatus","qos":"","retain":"","broker":"201e7171.0af3ee","x":1110,"y":500,"wires":[]},{"id":"b4944ad5.44dbd8","type":"function","z":"a5a6f35f.a0a62","name":"Devide Frequency by 100","func":"var Frequency=msg.payload/100;\n\n\n\nmsg.payload= parseFloat(Frequency).toFixed(2);\nreturn msg;","outputs":1,"noerr":0,"x":890,"y":420,"wires":[["d63d2770.e41758","b2a55269.8a30c","59f3c5b7.c2fbec"]]},{"id":"32af30a0.da29c","type":"trigger","z":"a5a6f35f.a0a62","op1":"C172|sub tx all","op2":"C172|sub tx all","op1type":"str","op2type":"str","duration":"60","extend":true,"units":"min","reset":"","bytopic":"all","name":"","x":490,"y":160,"wires":[["5039d92.c1ba328","5868bc45.056d54","12af30a0.75d09f","163c43e3.a5302c"]]},{"id":"b2a55269.8a30c","type":"trigger","z":"a5a6f35f.a0a62","op1":"","op2":"","op1type":"nul","op2type":"payl","duration":"10","extend":false,"units":"s","reset":"","name":"","x":730,"y":500,"wires":[["d63d2770.e41758"]]},{"id":"5039d92.c1ba328","type":"function","z":"a5a6f35f.a0a62","name":"SUB SLICE ALL","func":"// C172|sub slice all\nmsg.payload = \"C172|sub slice all\\r\"; \nreturn msg;","outputs":1,"noerr":0,"x":793.01953125,"y":178.00390625,"wires":[["9f0dc4f.232cd38"]]},{"id":"5868bc45.056d54","type":"function","z":"a5a6f35f.a0a62","name":"SUB CLIENT ALL","func":"// C172|sub slice all\nmsg.payload = \"C173|sub client all\\r\"; \nreturn msg;","outputs":1,"noerr":0,"x":803.01953125,"y":218.00390625,"wires":[["9f0dc4f.232cd38"]]},{"id":"12af30a0.75d09f","type":"function","z":"a5a6f35f.a0a62","name":"SUB TX ALL","func":"// C172|sub slice all\nmsg.payload = \"C202|sub tx all\\r\"; \nreturn msg;","outputs":1,"noerr":0,"x":783.01953125,"y":138.00390625,"wires":[["9f0dc4f.232cd38"]]},{"id":"784db465.9bedfc","type":"switch","z":"a5a6f35f.a0a62","name":"transmit","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"|transmit","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":173.01953125,"y":418.00390625,"wires":[["167dc49a.68cbab"]]},{"id":"163c43e3.a5302c","type":"function","z":"a5a6f35f.a0a62","name":"SUB RADIO ALL","func":"// C172|sub slice all\nmsg.payload = \"C73|sub radio all\\r\"; \nreturn msg;","outputs":1,"noerr":0,"x":810,"y":260,"wires":[["9f0dc4f.232cd38"]]},{"id":"2cdb975d.660f78","type":"inject","z":"a5a6f35f.a0a62","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":410.51171875,"y":58.94921875,"wires":[["12af30a0.75d09f"]]},{"id":"59f3c5b7.c2fbec","type":"ui_text","z":"a5a6f35f.a0a62","group":"147ec7a6.61a838","order":10,"width":0,"height":0,"name":"","label":"6600 Freq","format":"{{msg.payload}}","layout":"row-spread","x":1130,"y":420,"wires":[]},{"id":"21676014.64315","type":"switch","z":"a5a6f35f.a0a62","name":"rfpower","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"|transmit","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":180,"y":560,"wires":[["35cc47b5.351a98"]]},{"id":"35cc47b5.351a98","type":"split","z":"a5a6f35f.a0a62","name":"","splt":" ","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":350,"y":560,"wires":[["e7e8db4.377d128"]]},{"id":"e7e8db4.377d128","type":"switch","z":"a5a6f35f.a0a62","name":"","property":"payload","propertyType":"msg","rules":[{"t":"regex","v":"^rfpower=","vt":"str","case":false}],"checkall":"true","repair":false,"outputs":1,"x":490,"y":560,"wires":[["edb3c81.600ee38"]]},{"id":"edb3c81.600ee38","type":"function","z":"a5a6f35f.a0a62","name":"ParsePWR","func":"\nmsg.payload= msg.payload.split('=')[1];\n\nflow.set(\"FlexTXPWR\",msg.payload);\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":710,"y":560,"wires":[["6e9b14da.a6563c"]]},{"id":"6e9b14da.a6563c","type":"ui_text","z":"a5a6f35f.a0a62","group":"147ec7a6.61a838","order":11,"width":0,"height":0,"name":"","label":"TX Power","format":"{{msg.payload}}","layout":"row-spread","x":1140,"y":560,"wires":[]},{"id":"4d6cb5be.c9a64c","type":"comment","z":"a5a6f35f.a0a62","name":"","info":" state=TRANSMITTING\n ?state=READY","x":1620,"y":200,"wires":[]},{"id":"4bb65a81.899f44","type":"switch","z":"a5a6f35f.a0a62","name":"TX/RX State","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"state","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":170,"y":660,"wires":[["50ad74fe.67e61c"]]},{"id":"50ad74fe.67e61c","type":"split","z":"a5a6f35f.a0a62","name":"","splt":" ","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":310,"y":660,"wires":[["3b771b3c.5215e4"]]},{"id":"3b771b3c.5215e4","type":"switch","z":"a5a6f35f.a0a62","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"TRANSMITTING","vt":"str"},{"t":"cont","v":"READY","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":430,"y":660,"wires":[["7d3c7d0d.97c674"],["ae295af8.9e4b38"]],"inputLabels":["i/p"],"outputLabels":["PTT Requested","UnKey"]},{"id":"7d3c7d0d.97c674","type":"change","z":"a5a6f35f.a0a62","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"close","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":640,"wires":[["74bc71a6.a2d9e"]],"info":"The msg.payload is set to open or closed and\nsent to MQTT so that the Steppir controller\nwill know to open or close the gate.\n\nWhen Closed, the Steppir code will not send commands\nto the controller and hopefully not cause the \nSteppir to actually move while in TX"},{"id":"ae295af8.9e4b38","type":"change","z":"a5a6f35f.a0a62","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"open","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":680,"wires":[["74bc71a6.a2d9e"]],"info":"The msg.payload is set to open or closed and\nsent to MQTT so that the Steppir controller\nwill know to open or close the gate.\n\nWhen Closed, the Steppir code will not send commands\nto the controller and hopefully not cause the \nSteppir to actually move while in TX"},{"id":"74bc71a6.a2d9e","type":"mqtt out","z":"a5a6f35f.a0a62","name":"To Steppir Control","topic":"control","qos":"","retain":"","broker":"201e7171.0af3ee","x":1010,"y":660,"wires":[],"info":"To Steppir Code"},{"id":"201e7171.0af3ee","type":"mqtt-broker","z":"","name":"","broker":"192.168.110.111","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"147ec7a6.61a838","type":"ui_group","z":"","name":"Steppir","tab":"d6ba9a2a.f3f0d8","order":4,"disp":true,"width":"4","collapse":true},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
toggle quoted message
Show quoted text
On Tue, Jul 14, 2020 at 12:51 PM Bret Mills < bret.wx7y@...> wrote: Hi Michael,? What flow are you using, Maybe I'm using a old version? Thanks Bret WX7Y
On Tue, Jul 14, 2020 at 10:18 AM Michael Walker < va3mw@...> wrote: This is what it looks like
Bret
I have?not seen the same problem, but then I make sure that I listen to the IP address of the radio I want as the source.
Would that work for you?
Mike
On Sat, Jul 11, 2020 at 4:33 PM Bret Mills < bret.wx7y@...> wrote: I have seen issues with certain devices using two flex radio's on the same network because?both radios are stuck using port 4992, This causes the Flow's using UDP port 4992 to toggle between the two radio's frequency and band's This happens on Green Heron, HF-Auto and the VITA49 flows and I'm sure others, I being?very much a NEW_BEE to?Node-Red? have dabbled with trying to change these FLows to work with the CAT TCP port numbers instead that we can set how we want and not stuck on 4992 so maybe some of you guys who are seasoned?Node-RED code writers can figure how to change these so we CAN use these flows with two radio's on the same network.? Thanks?guys and have a great day?
Bret WX7Y
|
Re: Two radios on the same network
Hi Michael,? What flow are you using, Maybe I'm using a old version? Thanks Bret WX7Y
toggle quoted message
Show quoted text
On Tue, Jul 14, 2020 at 10:18 AM Michael Walker < va3mw@...> wrote: This is what it looks like
Bret
I have?not seen the same problem, but then I make sure that I listen to the IP address of the radio I want as the source.
Would that work for you?
Mike
On Sat, Jul 11, 2020 at 4:33 PM Bret Mills < bret.wx7y@...> wrote: I have seen issues with certain devices using two flex radio's on the same network because?both radios are stuck using port 4992, This causes the Flow's using UDP port 4992 to toggle between the two radio's frequency and band's This happens on Green Heron, HF-Auto and the VITA49 flows and I'm sure others, I being?very much a NEW_BEE to?Node-Red? have dabbled with trying to change these FLows to work with the CAT TCP port numbers instead that we can set how we want and not stuck on 4992 so maybe some of you guys who are seasoned?Node-RED code writers can figure how to change these so we CAN use these flows with two radio's on the same network.? Thanks?guys and have a great day?
Bret WX7Y
|
Re: Two radios on the same network
This is what it looks like
toggle quoted message
Show quoted text
Bret
I have?not seen the same problem, but then I make sure that I listen to the IP address of the radio I want as the source.
Would that work for you?
Mike
On Sat, Jul 11, 2020 at 4:33 PM Bret Mills < bret.wx7y@...> wrote: I have seen issues with certain devices using two flex radio's on the same network because?both radios are stuck using port 4992, This causes the Flow's using UDP port 4992 to toggle between the two radio's frequency and band's This happens on Green Heron, HF-Auto and the VITA49 flows and I'm sure others, I being?very much a NEW_BEE to?Node-Red? have dabbled with trying to change these FLows to work with the CAT TCP port numbers instead that we can set how we want and not stuck on 4992 so maybe some of you guys who are seasoned?Node-RED code writers can figure how to change these so we CAN use these flows with two radio's on the same network.? Thanks?guys and have a great day?
Bret WX7Y
|
Re: Two radios on the same network
Bret
I have?not seen the same problem, but then I make sure that I listen to the IP address of the radio I want as the source.
Would that work for you?
Mike
toggle quoted message
Show quoted text
On Sat, Jul 11, 2020 at 4:33 PM Bret Mills < bret.wx7y@...> wrote: I have seen issues with certain devices using two flex radio's on the same network because?both radios are stuck using port 4992, This causes the Flow's using UDP port 4992 to toggle between the two radio's frequency and band's This happens on Green Heron, HF-Auto and the VITA49 flows and I'm sure others, I being?very much a NEW_BEE to?Node-Red? have dabbled with trying to change these FLows to work with the CAT TCP port numbers instead that we can set how we want and not stuck on 4992 so maybe some of you guys who are seasoned?Node-RED code writers can figure how to change these so we CAN use these flows with two radio's on the same network.? Thanks?guys and have a great day?
Bret WX7Y
|