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
|
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 ? ?
toggle quoted message
Show quoted text
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.
|
Okay raspberry Pi up and running (got the 8gb of mem model). node-red installed and running. no to start importing.
|
I looked and could not find where it mentioned using the serial number of the cable. I do not use any serial ports on my configuration although I may want to use one in the future. ? I do not have the W2 but use the meter built in the KPA1500 which I believe is similar to the W2. Bret, give me a call when you have time and I¡¯d like to connect to your computer with TeamViewer and see what is coming out of the serial port using a debug node. If it uses same commands as the KPA1500 metering then I can probably adapt my flow. ? 73 Dave wo2x ? ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Michael Walker Sent: Sunday, July 12, 2020 10:27 AM To: [email protected] Subject: [nodered-hamradio] W2 configuration ? This worked 3 days ago before I pulled out the W2 and replaced it with the LP100A. oh, wait... maybe not as this looks like the LP100A settings now.? You might have to revert to Dave's notes. ? Good thought about using the full name of the FTDI cable.? Here is a screenshot with the Rasberry?Pi DEV file on the left, and the Node-Red Serial In node on the right.? Node-Red found the DEV file, so that seemed like good news. However, the W2 Wattmeter does not respond to Node-Red.? I am using?the "official" Elecraft serial to USB FTDI cable.? Node-Red appears to see and like the cable. Dave and Mike, you each use the W2. ? Could you send me screenshots of your serial in/out "advance" configurations,?for the W2? ? On Sat, Jul 11, 2020 at 9:43 PM David De Coons wo2x <RocketNJ@...> wrote: In my hours of research I remember reading some USB toserial adapters would go ¡°stupid¡± if addressing them by the port number. It was recommended to address them by the serial number of the cable which is unique with real FTDI chipset cables. I believe that is also how Flex keeps track of the cables plugged directly into the radio. Dave wo2x ? I will continue to try different settings. ? On Sat, Jul 11, 2020 at 7:09 PM Michael Walker <va3mw@...> wrote: Hi Alan You might have to play in this area, edit serial port node. The LP100A starts with a ; that I use to start the listening process. However, I have found a bug on my USB ports that they don't listen at times until I change the Split Input time (or something) that caused the something to get reloaded it seams. ? I see you are using Node-Red serial in and out nodes.? With cables? ? I am having problems doing the same here.? I have had success with serial to IP converters for remoting the?ports.? I am now trying to co-locate the Raspberry Pi and use cables for the serial connection. However, when I use a Serial to USB FTDI cable, my Node-Red sees the cable connected to the USB port, ?Node-Red says it is connected to the port, but will not pass data thru?? All of the basic serial settings are per the device's instructions. My current instance is with the W2 Wattmeter.? I am using the Elecraft supplied serial to USB FTDI cable plugged into the Raspberry Pi USB2 port. Are you using FTDI Serial to USB cables?? I know you have previously used the Serial to IP convertors?which I too have used successfuly.? Did you find any other settings or drivers necessary?to make the cable work on a Raspberry Pi? ? On Fri, Jul 10, 2020 at 10:02 AM Michael Walker <va3mw@...> wrote: I'm still working on it.? The key was making sure I don't corrupt the read of the initial data.? I'm adding more display info. I took out the Gate since the LP100A handles clearing the display nicely. I'm reading every 100ms to try to catch a nice Peak value, but I am checking with Telepost to see if I actually need to do that or if the LP100A actually holds peak from the last x-milliseconds.?? Still a play in progress!? :) ? [{"id":"6bf0f43f.f0ad1c","type":"tab","label":"LP-100A","disabled":false,"info":""},{"id":"98aa4756.b21c48","type":"serial in","z":"6bf0f43f.f0ad1c","name":"LP100A In","serial":"8c8041f4.047d2","x":200,"y":340,"wires":[["ada0955c.a21b08","1bbc73c5.a5115c","8b20a0ee.cc4e2"]],"info":"Under normal operating conditions, if the W2 is sent either an \"I\" or an \"i\", it returns a string of information about the state of\nthe Sensors, the Range settings, some internal settings, and which Sensor is active. If, however, the W2 is in the high SWR\nalarm mode (all SWR LED's flashing), sending the \"I\" command returns only \"A!;\"\n\nByte Property\n1 \"I\" or \"i\" (echoes back what you sent).\n2 Active Sensor (1 or 2) matching the \"S1/S2\" LED lit.\n3 Range Level (1=2W, 2=20W, 3=200W, 4=2KW) of the Active Sensor.\n4 AutoRange status (0=off, 1=on) for Active Sensor.\n5 Sensor type (0=200W, 1=2KW, 2=VHF) of Active Sensor.\n6 Sensor's internal attenuator status (0=off, 1=on) of Active Sensor.\n7 W2 LED display state (0=off, 1=on).\n8 Active Sensor (0=none, 1=S1, 2=S2).\n9 Sensor1 Range Control (0=manual, 1=auto).\n10 Sensor1 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\n11 Sensor2 Range Control (0=manual, 1=auto).\n12 Sensor2 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\nE l e c r a f t ? w w w . e l e c r a f t . c o m ? 8 3 1 - 7 6 3 - 4 2 1 1\nW"},{"id":"5587be3.fbbef4","type":"serial out","z":"6bf0f43f.f0ad1c","name":"LP100A Out","serial":"8c8041f4.047d2","x":850,"y":180,"wires":[]},{"id":"20b9631f.1a792c","type":"inject","z":"6bf0f43f.f0ad1c","name":"P Send","topic":"","payload":"P","payloadType":"str","repeat":".2","crontab":"","once":true,"onceDelay":".2","x":220,"y":240,"wires":[["5587be3.fbbef4"]]},{"id":"94416a4b.df81d8","type":"comment","z":"6bf0f43f.f0ad1c","name":"Notes for LP100A RS232","info":"* Range: Allows switching the maximum power range of the display. Choices are 25, 250, 2500W and Auto for autoranging.\n* \n* Alarm: Sets the SWR Alarm set point. Choices are Off,1.5,2.0,2.5,3.0. If the alarm on the LP-100A trips, the Alarm button turns red.\n* \n* Peak/Avg/Tune: Switches between normal and peak-hold modes. The current mode is displayed under the power reading.\n\nremote telnet facility to make a remote connection between the LP-100A and the VCP. In addition to the LP-100A VCP, you can communicate with the\nLP-100A with a terminal program or your own software using the following commands¡\nA Increments Alarm Set Point selection\nM Increments Mode selection\nF Toggles Power Peak/Avg/Tune selection\n\n****P Poll for data. Example of response¡ ;1457.00,49.3,005.0,2,N8LP ,0,2,61.6,1.02\n****\n\nFrom left to right, the comma separated values represent¡\nPower, Z, Phase, SWR Alarm Set Point: 0=off, 1=1.5, 2=2.0, 3=2.5, 4=3.0, Callsign (6 digits with space padding), Power range: 0=High, 1=Mid, 2=Low,\nPeak Hold Mode: 0=Average, 1= Peak Hold, dBm, SWR","x":1410,"y":220,"wires":[]},{"id":"ada0955c.a21b08","type":"string","z":"6bf0f43f.f0ad1c","name":"Power","methods":[{"name":"between","params":[{"type":"str","value":";"},{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":320,"wires":[["862ae213.4de36","f6c3ba1e.2d34a8"]]},{"id":"1bbc73c5.a5115c","type":"string","z":"6bf0f43f.f0ad1c","name":"SWR","methods":[{"name":"getRightMost","params":[{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":380,"wires":[["70fe226e.476f7c"]]},{"id":"862ae213.4de36","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":3,"width":"5","height":"2","name":"LP100A RF PWR","label":"PGXL RF","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"2000","segWarn":"100","segHigh":"1500","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"1","colorschema":"fixed","textoptions":"default","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":850,"y":320,"wires":[]},{"id":"e22fa6e9.3c5738","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":8,"width":"5","height":"2","name":"LP100A SWR","label":"SWR","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":"1","max":"4","segWarn":"2.5","segHigh":"","unit":"","layout":"sh","channelA":"","channelB":"","decimals":"1","animations":"reactive","shape":"1","colorschema":"fixed","textoptions":"custom","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":840,"y":380,"wires":[]},{"id":"8b20a0ee.cc4e2","type":"csv","z":"6bf0f43f.f0ad1c","name":"","sep":",","hdrin":"","hdrout":"","multi":"mult","ret":"\\n","temp":"","skip":"0","strings":true,"x":470,"y":440,"wires":[[]]},{"id":"f6c3ba1e.2d34a8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"RF Power","group":"2dbe67ac.f10de8","order":2,"width":0,"height":0,"gtype":"gage","title":"RF Power","label":"units","format":"Watts","min":0,"max":"2000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":830,"y":280,"wires":[]},{"id":"70fe226e.476f7c","type":"rbe","z":"6bf0f43f.f0ad1c","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":640,"y":380,"wires":[["e22fa6e9.3c5738","65700f93.91d01","3b1bf053.04fc8"]]},{"id":"65700f93.91d01","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"SWR","group":"2dbe67ac.f10de8","order":7,"width":0,"height":0,"gtype":"gage","title":"SWR","label":"units","format":"","min":"1","max":"5","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":810,"y":420,"wires":[]},{"id":"3b1bf053.04fc8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":840,"y":520,"wires":[]},{"id":"8c8041f4.047d2","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"50","bin":"false","out":"time","addchar":"","responsetimeout":"100"},{"id":"2dbe67ac.f10de8","type":"ui_group","z":"","name":"RF Info","tab":"d6ba9a2a.f3f0d8","order":2,"disp":true,"width":"4","collapse":false},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}] ? On Fri, Jul 10, 2020 at 7:09 AM David De Coons <RocketNJ@...> wrote: Interesting.? I have to Look at the WaveNode manual. This might be a good starting point for Bret and his meter. I¡¯ll check it today. Mike, can you post the code? I have seen the internal meter info from the radio jump to incorrect values on the dashboard (internal voltage and PA temp). I fixed it by rounding off to one decimal place. Dave wo2x
On Jul 9, 2020, at 4:42 PM, Michael Walker <va3mw@...> wrote:
? I'm not sure if it is being simple or lazy. ? I like your simplicity.....not one of my skill sets. ? On Thu, Jul 9, 2020 at 4:22 PM Michael Walker <va3mw@...> wrote: I blows me away when I have to add new code for a new device. Here is the flow for the LP100A and I even found the STRING node that made this so simple The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.
|
I changed the subject
This worked 3 days ago before I pulled out the W2 and replaced it with the LP100A.
oh, wait... maybe not as this looks like the LP100A settings now.? You might have to revert to Dave's notes.
73
toggle quoted message
Show quoted text
Dave and the?group
Good thought about using the full name of the FTDI cable.? Here is a screenshot with the Rasberry?Pi DEV file on the left, and the Node-Red Serial In node on the right.? Node-Red found the DEV file, so that seemed like good news.
However, the W2 Wattmeter does not respond to Node-Red.? I am using?the "official" Elecraft serial to USB FTDI cable.? Node-Red appears to see and like the cable.
Dave and Mike, you each use the W2. ? Could you send me screenshots of your serial in/out "advance" configurations,?for the W2?
Alan WA9WUD
On Sat, Jul 11, 2020 at 9:43 PM David De Coons wo2x < RocketNJ@...> wrote: In my hours of research I remember reading some USB toserial adapters would go ¡°stupid¡± if addressing them by the port number. It was recommended to address them by the serial number of the cable which is unique with real FTDI chipset cables.
I believe that is also how Flex keeps track of the cables plugged directly into the radio.
Dave wo2x ? Thanks, Mike.?
I will continue to try different settings.
Alan On Sat, Jul 11, 2020 at 7:09 PM Michael Walker < va3mw@...> wrote: Hi Alan
You might have to play in this area, edit serial port node.
The LP100A starts with a ; that I use to start the listening process.
However, I have found a bug on my USB ports that they don't listen at times until I change the Split Input time (or something) that caused the something to get reloaded it seams.
Mike?
Mike
I see you are using Node-Red serial in and out nodes.? With cables? ?
I am having problems doing the same here.? I have had success with serial to IP converters for remoting the?ports.? I am now trying to co-locate the Raspberry Pi and use cables for the serial connection.
However, when I use a Serial to USB FTDI cable, my Node-Red sees the cable connected to the USB port, ?Node-Red says it is connected to the port, but will not pass data thru?? All of the basic serial settings are per the device's instructions.
My current instance is with the W2 Wattmeter.? I am using the Elecraft supplied serial to USB FTDI cable plugged into the Raspberry Pi USB2 port.
Are you using FTDI Serial to USB cables?? I know you have previously used the Serial to IP convertors?which I too have used successfuly.? Did you find any other settings or drivers necessary?to make the cable work on a Raspberry Pi?
Alan WA9WUD
On Fri, Jul 10, 2020 at 10:02 AM Michael Walker < va3mw@...> wrote: I'm still working on it.? The key was making sure I don't corrupt the read of the initial data.? I'm adding more display info.
I took out the Gate since the LP100A handles clearing the display nicely.
I'm reading every 100ms to try to catch a nice Peak value, but I am checking with Telepost to see if I actually need to do that or if the LP100A actually holds peak from the last x-milliseconds.??
Still a play in progress!? :)
Mike
[{"id":"6bf0f43f.f0ad1c","type":"tab","label":"LP-100A","disabled":false,"info":""},{"id":"98aa4756.b21c48","type":"serial in","z":"6bf0f43f.f0ad1c","name":"LP100A In","serial":"8c8041f4.047d2","x":200,"y":340,"wires":[["ada0955c.a21b08","1bbc73c5.a5115c","8b20a0ee.cc4e2"]],"info":"Under normal operating conditions, if the W2 is sent either an \"I\" or an \"i\", it returns a string of information about the state of\nthe Sensors, the Range settings, some internal settings, and which Sensor is active. If, however, the W2 is in the high SWR\nalarm mode (all SWR LED's flashing), sending the \"I\" command returns only \"A!;\"\n\nByte Property\n1 \"I\" or \"i\" (echoes back what you sent).\n2 Active Sensor (1 or 2) matching the \"S1/S2\" LED lit.\n3 Range Level (1=2W, 2=20W, 3=200W, 4=2KW) of the Active Sensor.\n4 AutoRange status (0=off, 1=on) for Active Sensor.\n5 Sensor type (0=200W, 1=2KW, 2=VHF) of Active Sensor.\n6 Sensor's internal attenuator status (0=off, 1=on) of Active Sensor.\n7 W2 LED display state (0=off, 1=on).\n8 Active Sensor (0=none, 1=S1, 2=S2).\n9 Sensor1 Range Control (0=manual, 1=auto).\n10 Sensor1 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\n11 Sensor2 Range Control (0=manual, 1=auto).\n12 Sensor2 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\nE l e c r a f t ? w w w . e l e c r a f t . c o m ? 8 3 1 - 7 6 3 - 4 2 1 1\nW"},{"id":"5587be3.fbbef4","type":"serial out","z":"6bf0f43f.f0ad1c","name":"LP100A Out","serial":"8c8041f4.047d2","x":850,"y":180,"wires":[]},{"id":"20b9631f.1a792c","type":"inject","z":"6bf0f43f.f0ad1c","name":"P Send","topic":"","payload":"P","payloadType":"str","repeat":".2","crontab":"","once":true,"onceDelay":".2","x":220,"y":240,"wires":[["5587be3.fbbef4"]]},{"id":"94416a4b.df81d8","type":"comment","z":"6bf0f43f.f0ad1c","name":"Notes for LP100A RS232","info":"* Range: Allows switching the maximum power range of the display. Choices are 25, 250, 2500W and Auto for autoranging.\n* \n* Alarm: Sets the SWR Alarm set point. Choices are Off,1.5,2.0,2.5,3.0. If the alarm on the LP-100A trips, the Alarm button turns red.\n* \n* Peak/Avg/Tune: Switches between normal and peak-hold modes. The current mode is displayed under the power reading.\n\nremote telnet facility to make a remote connection between the LP-100A and the VCP. In addition to the LP-100A VCP, you can communicate with the\nLP-100A with a terminal program or your own software using the following commands¡\nA Increments Alarm Set Point selection\nM Increments Mode selection\nF Toggles Power Peak/Avg/Tune selection\n\n****P Poll for data. Example of response¡ ;1457.00,49.3,005.0,2,N8LP ,0,2,61.6,1.02\n****\n\nFrom left to right, the comma separated values represent¡\nPower, Z, Phase, SWR Alarm Set Point: 0=off, 1=1.5, 2=2.0, 3=2.5, 4=3.0, Callsign (6 digits with space padding), Power range: 0=High, 1=Mid, 2=Low,\nPeak Hold Mode: 0=Average, 1= Peak Hold, dBm, SWR","x":1410,"y":220,"wires":[]},{"id":"ada0955c.a21b08","type":"string","z":"6bf0f43f.f0ad1c","name":"Power","methods":[{"name":"between","params":[{"type":"str","value":";"},{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":320,"wires":[["862ae213.4de36","f6c3ba1e.2d34a8"]]},{"id":"1bbc73c5.a5115c","type":"string","z":"6bf0f43f.f0ad1c","name":"SWR","methods":[{"name":"getRightMost","params":[{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":380,"wires":[["70fe226e.476f7c"]]},{"id":"862ae213.4de36","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":3,"width":"5","height":"2","name":"LP100A RF PWR","label":"PGXL RF","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"2000","segWarn":"100","segHigh":"1500","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"1","colorschema":"fixed","textoptions":"default","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":850,"y":320,"wires":[]},{"id":"e22fa6e9.3c5738","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":8,"width":"5","height":"2","name":"LP100A SWR","label":"SWR","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":"1","max":"4","segWarn":"2.5","segHigh":"","unit":"","layout":"sh","channelA":"","channelB":"","decimals":"1","animations":"reactive","shape":"1","colorschema":"fixed","textoptions":"custom","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":840,"y":380,"wires":[]},{"id":"8b20a0ee.cc4e2","type":"csv","z":"6bf0f43f.f0ad1c","name":"","sep":",","hdrin":"","hdrout":"","multi":"mult","ret":"\\n","temp":"","skip":"0","strings":true,"x":470,"y":440,"wires":[[]]},{"id":"f6c3ba1e.2d34a8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"RF Power","group":"2dbe67ac.f10de8","order":2,"width":0,"height":0,"gtype":"gage","title":"RF Power","label":"units","format":"Watts","min":0,"max":"2000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":830,"y":280,"wires":[]},{"id":"70fe226e.476f7c","type":"rbe","z":"6bf0f43f.f0ad1c","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":640,"y":380,"wires":[["e22fa6e9.3c5738","65700f93.91d01","3b1bf053.04fc8"]]},{"id":"65700f93.91d01","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"SWR","group":"2dbe67ac.f10de8","order":7,"width":0,"height":0,"gtype":"gage","title":"SWR","label":"units","format":"","min":"1","max":"5","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":810,"y":420,"wires":[]},{"id":"3b1bf053.04fc8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":840,"y":520,"wires":[]},{"id":"8c8041f4.047d2","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"50","bin":"false","out":"time","addchar":"","responsetimeout":"100"},{"id":"2dbe67ac.f10de8","type":"ui_group","z":"","name":"RF Info","tab":"d6ba9a2a.f3f0d8","order":2,"disp":true,"width":"4","collapse":false},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
On Fri, Jul 10, 2020 at 7:09 AM David De Coons < RocketNJ@...> wrote: Interesting.?
I have to Look at the WaveNode manual. This might be a good starting point for Bret and his meter. I¡¯ll check it today.
Mike, can you post the code?
I have seen the internal meter info from the radio jump to incorrect values on the dashboard (internal voltage and PA temp). I fixed it by rounding off to one decimal place.
Dave wo2x On Jul 9, 2020, at 4:42 PM, Michael Walker <va3mw@...> wrote:
? I'm not sure if it is being simple or lazy.
Mike
Mike; Nice.
I like your simplicity.....not one of my skill sets.
Alan WA9WUD
On Thu, Jul 9, 2020 at 4:22 PM Michael Walker < va3mw@...> wrote: I blows me away when I have to add new code for a new device.
Here is the flow for the LP100A and I even found the STRING node that made this so simple
The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.
Mike va3mw
|
Dave and the?group
Good thought about using the full name of the FTDI cable.? Here is a screenshot with the Rasberry?Pi DEV file on the left, and the Node-Red Serial In node on the right.? Node-Red found the DEV file, so that seemed like good news.
However, the W2 Wattmeter does not respond to Node-Red.? I am using?the "official" Elecraft serial to USB FTDI cable.? Node-Red appears to see and like the cable.
Dave and Mike, you each use the W2. ? Could you send me screenshots of your serial in/out "advance" configurations,?for the W2?
Alan WA9WUD
toggle quoted message
Show quoted text
On Sat, Jul 11, 2020 at 9:43 PM David De Coons wo2x < RocketNJ@...> wrote: In my hours of research I remember reading some USB toserial adapters would go ¡°stupid¡± if addressing them by the port number. It was recommended to address them by the serial number of the cable which is unique with real FTDI chipset cables.
I believe that is also how Flex keeps track of the cables plugged directly into the radio.
Dave wo2x ? Thanks, Mike.?
I will continue to try different settings.
Alan On Sat, Jul 11, 2020 at 7:09 PM Michael Walker < va3mw@...> wrote: Hi Alan
You might have to play in this area, edit serial port node.
The LP100A starts with a ; that I use to start the listening process.
However, I have found a bug on my USB ports that they don't listen at times until I change the Split Input time (or something) that caused the something to get reloaded it seams.
Mike?
Mike
I see you are using Node-Red serial in and out nodes.? With cables? ?
I am having problems doing the same here.? I have had success with serial to IP converters for remoting the?ports.? I am now trying to co-locate the Raspberry Pi and use cables for the serial connection.
However, when I use a Serial to USB FTDI cable, my Node-Red sees the cable connected to the USB port, ?Node-Red says it is connected to the port, but will not pass data thru?? All of the basic serial settings are per the device's instructions.
My current instance is with the W2 Wattmeter.? I am using the Elecraft supplied serial to USB FTDI cable plugged into the Raspberry Pi USB2 port.
Are you using FTDI Serial to USB cables?? I know you have previously used the Serial to IP convertors?which I too have used successfuly.? Did you find any other settings or drivers necessary?to make the cable work on a Raspberry Pi?
Alan WA9WUD
On Fri, Jul 10, 2020 at 10:02 AM Michael Walker < va3mw@...> wrote: I'm still working on it.? The key was making sure I don't corrupt the read of the initial data.? I'm adding more display info.
I took out the Gate since the LP100A handles clearing the display nicely.
I'm reading every 100ms to try to catch a nice Peak value, but I am checking with Telepost to see if I actually need to do that or if the LP100A actually holds peak from the last x-milliseconds.??
Still a play in progress!? :)
Mike
[{"id":"6bf0f43f.f0ad1c","type":"tab","label":"LP-100A","disabled":false,"info":""},{"id":"98aa4756.b21c48","type":"serial in","z":"6bf0f43f.f0ad1c","name":"LP100A In","serial":"8c8041f4.047d2","x":200,"y":340,"wires":[["ada0955c.a21b08","1bbc73c5.a5115c","8b20a0ee.cc4e2"]],"info":"Under normal operating conditions, if the W2 is sent either an \"I\" or an \"i\", it returns a string of information about the state of\nthe Sensors, the Range settings, some internal settings, and which Sensor is active. If, however, the W2 is in the high SWR\nalarm mode (all SWR LED's flashing), sending the \"I\" command returns only \"A!;\"\n\nByte Property\n1 \"I\" or \"i\" (echoes back what you sent).\n2 Active Sensor (1 or 2) matching the \"S1/S2\" LED lit.\n3 Range Level (1=2W, 2=20W, 3=200W, 4=2KW) of the Active Sensor.\n4 AutoRange status (0=off, 1=on) for Active Sensor.\n5 Sensor type (0=200W, 1=2KW, 2=VHF) of Active Sensor.\n6 Sensor's internal attenuator status (0=off, 1=on) of Active Sensor.\n7 W2 LED display state (0=off, 1=on).\n8 Active Sensor (0=none, 1=S1, 2=S2).\n9 Sensor1 Range Control (0=manual, 1=auto).\n10 Sensor1 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\n11 Sensor2 Range Control (0=manual, 1=auto).\n12 Sensor2 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\nE l e c r a f t ? w w w . e l e c r a f t . c o m ? 8 3 1 - 7 6 3 - 4 2 1 1\nW"},{"id":"5587be3.fbbef4","type":"serial out","z":"6bf0f43f.f0ad1c","name":"LP100A Out","serial":"8c8041f4.047d2","x":850,"y":180,"wires":[]},{"id":"20b9631f.1a792c","type":"inject","z":"6bf0f43f.f0ad1c","name":"P Send","topic":"","payload":"P","payloadType":"str","repeat":".2","crontab":"","once":true,"onceDelay":".2","x":220,"y":240,"wires":[["5587be3.fbbef4"]]},{"id":"94416a4b.df81d8","type":"comment","z":"6bf0f43f.f0ad1c","name":"Notes for LP100A RS232","info":"* Range: Allows switching the maximum power range of the display. Choices are 25, 250, 2500W and Auto for autoranging.\n* \n* Alarm: Sets the SWR Alarm set point. Choices are Off,1.5,2.0,2.5,3.0. If the alarm on the LP-100A trips, the Alarm button turns red.\n* \n* Peak/Avg/Tune: Switches between normal and peak-hold modes. The current mode is displayed under the power reading.\n\nremote telnet facility to make a remote connection between the LP-100A and the VCP. In addition to the LP-100A VCP, you can communicate with the\nLP-100A with a terminal program or your own software using the following commands¡\nA Increments Alarm Set Point selection\nM Increments Mode selection\nF Toggles Power Peak/Avg/Tune selection\n\n****P Poll for data. Example of response¡ ;1457.00,49.3,005.0,2,N8LP ,0,2,61.6,1.02\n****\n\nFrom left to right, the comma separated values represent¡\nPower, Z, Phase, SWR Alarm Set Point: 0=off, 1=1.5, 2=2.0, 3=2.5, 4=3.0, Callsign (6 digits with space padding), Power range: 0=High, 1=Mid, 2=Low,\nPeak Hold Mode: 0=Average, 1= Peak Hold, dBm, SWR","x":1410,"y":220,"wires":[]},{"id":"ada0955c.a21b08","type":"string","z":"6bf0f43f.f0ad1c","name":"Power","methods":[{"name":"between","params":[{"type":"str","value":";"},{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":320,"wires":[["862ae213.4de36","f6c3ba1e.2d34a8"]]},{"id":"1bbc73c5.a5115c","type":"string","z":"6bf0f43f.f0ad1c","name":"SWR","methods":[{"name":"getRightMost","params":[{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":380,"wires":[["70fe226e.476f7c"]]},{"id":"862ae213.4de36","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":3,"width":"5","height":"2","name":"LP100A RF PWR","label":"PGXL RF","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"2000","segWarn":"100","segHigh":"1500","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"1","colorschema":"fixed","textoptions":"default","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":850,"y":320,"wires":[]},{"id":"e22fa6e9.3c5738","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":8,"width":"5","height":"2","name":"LP100A SWR","label":"SWR","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":"1","max":"4","segWarn":"2.5","segHigh":"","unit":"","layout":"sh","channelA":"","channelB":"","decimals":"1","animations":"reactive","shape":"1","colorschema":"fixed","textoptions":"custom","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":840,"y":380,"wires":[]},{"id":"8b20a0ee.cc4e2","type":"csv","z":"6bf0f43f.f0ad1c","name":"","sep":",","hdrin":"","hdrout":"","multi":"mult","ret":"\\n","temp":"","skip":"0","strings":true,"x":470,"y":440,"wires":[[]]},{"id":"f6c3ba1e.2d34a8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"RF Power","group":"2dbe67ac.f10de8","order":2,"width":0,"height":0,"gtype":"gage","title":"RF Power","label":"units","format":"Watts","min":0,"max":"2000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":830,"y":280,"wires":[]},{"id":"70fe226e.476f7c","type":"rbe","z":"6bf0f43f.f0ad1c","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":640,"y":380,"wires":[["e22fa6e9.3c5738","65700f93.91d01","3b1bf053.04fc8"]]},{"id":"65700f93.91d01","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"SWR","group":"2dbe67ac.f10de8","order":7,"width":0,"height":0,"gtype":"gage","title":"SWR","label":"units","format":"","min":"1","max":"5","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":810,"y":420,"wires":[]},{"id":"3b1bf053.04fc8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":840,"y":520,"wires":[]},{"id":"8c8041f4.047d2","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"50","bin":"false","out":"time","addchar":"","responsetimeout":"100"},{"id":"2dbe67ac.f10de8","type":"ui_group","z":"","name":"RF Info","tab":"d6ba9a2a.f3f0d8","order":2,"disp":true,"width":"4","collapse":false},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
On Fri, Jul 10, 2020 at 7:09 AM David De Coons < RocketNJ@...> wrote: Interesting.?
I have to Look at the WaveNode manual. This might be a good starting point for Bret and his meter. I¡¯ll check it today.
Mike, can you post the code?
I have seen the internal meter info from the radio jump to incorrect values on the dashboard (internal voltage and PA temp). I fixed it by rounding off to one decimal place.
Dave wo2x On Jul 9, 2020, at 4:42 PM, Michael Walker <va3mw@...> wrote:
? I'm not sure if it is being simple or lazy.
Mike
Mike; Nice.
I like your simplicity.....not one of my skill sets.
Alan WA9WUD
On Thu, Jul 9, 2020 at 4:22 PM Michael Walker < va3mw@...> wrote: I blows me away when I have to add new code for a new device.
Here is the flow for the LP100A and I even found the STRING node that made this so simple
The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.
Mike va3mw
|
In my hours of research I remember reading some USB toserial adapters would go ¡°stupid¡± if addressing them by the port number. It was recommended to address them by the serial number of the cable which is unique with real FTDI chipset cables.
I believe that is also how Flex keeps track of the cables plugged directly into the radio.
toggle quoted message
Show quoted text
On Jul 11, 2020, at 9:15 PM, Alan Blind <a.alan.blind@...> wrote:
? Thanks, Mike.?
I will continue to try different settings.
Alan On Sat, Jul 11, 2020 at 7:09 PM Michael Walker < va3mw@...> wrote: Hi Alan
You might have to play in this area, edit serial port node.
The LP100A starts with a ; that I use to start the listening process.
However, I have found a bug on my USB ports that they don't listen at times until I change the Split Input time (or something) that caused the something to get reloaded it seams.
Mike?
Mike
I see you are using Node-Red serial in and out nodes.? With cables? ?
I am having problems doing the same here.? I have had success with serial to IP converters for remoting the?ports.? I am now trying to co-locate the Raspberry Pi and use cables for the serial connection.
However, when I use a Serial to USB FTDI cable, my Node-Red sees the cable connected to the USB port, ?Node-Red says it is connected to the port, but will not pass data thru?? All of the basic serial settings are per the device's instructions.
My current instance is with the W2 Wattmeter.? I am using the Elecraft supplied serial to USB FTDI cable plugged into the Raspberry Pi USB2 port.
Are you using FTDI Serial to USB cables?? I know you have previously used the Serial to IP convertors?which I too have used successfuly.? Did you find any other settings or drivers necessary?to make the cable work on a Raspberry Pi?
Alan WA9WUD
On Fri, Jul 10, 2020 at 10:02 AM Michael Walker < va3mw@...> wrote: I'm still working on it.? The key was making sure I don't corrupt the read of the initial data.? I'm adding more display info.
I took out the Gate since the LP100A handles clearing the display nicely.
I'm reading every 100ms to try to catch a nice Peak value, but I am checking with Telepost to see if I actually need to do that or if the LP100A actually holds peak from the last x-milliseconds.??
Still a play in progress!? :)
Mike
[{"id":"6bf0f43f.f0ad1c","type":"tab","label":"LP-100A","disabled":false,"info":""},{"id":"98aa4756.b21c48","type":"serial in","z":"6bf0f43f.f0ad1c","name":"LP100A In","serial":"8c8041f4.047d2","x":200,"y":340,"wires":[["ada0955c.a21b08","1bbc73c5.a5115c","8b20a0ee.cc4e2"]],"info":"Under normal operating conditions, if the W2 is sent either an \"I\" or an \"i\", it returns a string of information about the state of\nthe Sensors, the Range settings, some internal settings, and which Sensor is active. If, however, the W2 is in the high SWR\nalarm mode (all SWR LED's flashing), sending the \"I\" command returns only \"A!;\"\n\nByte Property\n1 \"I\" or \"i\" (echoes back what you sent).\n2 Active Sensor (1 or 2) matching the \"S1/S2\" LED lit.\n3 Range Level (1=2W, 2=20W, 3=200W, 4=2KW) of the Active Sensor.\n4 AutoRange status (0=off, 1=on) for Active Sensor.\n5 Sensor type (0=200W, 1=2KW, 2=VHF) of Active Sensor.\n6 Sensor's internal attenuator status (0=off, 1=on) of Active Sensor.\n7 W2 LED display state (0=off, 1=on).\n8 Active Sensor (0=none, 1=S1, 2=S2).\n9 Sensor1 Range Control (0=manual, 1=auto).\n10 Sensor1 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\n11 Sensor2 Range Control (0=manual, 1=auto).\n12 Sensor2 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\nE l e c r a f t ? w w w . e l e c r a f t . c o m ? 8 3 1 - 7 6 3 - 4 2 1 1\nW"},{"id":"5587be3.fbbef4","type":"serial out","z":"6bf0f43f.f0ad1c","name":"LP100A Out","serial":"8c8041f4.047d2","x":850,"y":180,"wires":[]},{"id":"20b9631f.1a792c","type":"inject","z":"6bf0f43f.f0ad1c","name":"P Send","topic":"","payload":"P","payloadType":"str","repeat":".2","crontab":"","once":true,"onceDelay":".2","x":220,"y":240,"wires":[["5587be3.fbbef4"]]},{"id":"94416a4b.df81d8","type":"comment","z":"6bf0f43f.f0ad1c","name":"Notes for LP100A RS232","info":"* Range: Allows switching the maximum power range of the display. Choices are 25, 250, 2500W and Auto for autoranging.\n* \n* Alarm: Sets the SWR Alarm set point. Choices are Off,1.5,2.0,2.5,3.0. If the alarm on the LP-100A trips, the Alarm button turns red.\n* \n* Peak/Avg/Tune: Switches between normal and peak-hold modes. The current mode is displayed under the power reading.\n\nremote telnet facility to make a remote connection between the LP-100A and the VCP. In addition to the LP-100A VCP, you can communicate with the\nLP-100A with a terminal program or your own software using the following commands¡\nA Increments Alarm Set Point selection\nM Increments Mode selection\nF Toggles Power Peak/Avg/Tune selection\n\n****P Poll for data. Example of response¡ ;1457.00,49.3,005.0,2,N8LP ,0,2,61.6,1.02\n****\n\nFrom left to right, the comma separated values represent¡\nPower, Z, Phase, SWR Alarm Set Point: 0=off, 1=1.5, 2=2.0, 3=2.5, 4=3.0, Callsign (6 digits with space padding), Power range: 0=High, 1=Mid, 2=Low,\nPeak Hold Mode: 0=Average, 1= Peak Hold, dBm, SWR","x":1410,"y":220,"wires":[]},{"id":"ada0955c.a21b08","type":"string","z":"6bf0f43f.f0ad1c","name":"Power","methods":[{"name":"between","params":[{"type":"str","value":";"},{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":320,"wires":[["862ae213.4de36","f6c3ba1e.2d34a8"]]},{"id":"1bbc73c5.a5115c","type":"string","z":"6bf0f43f.f0ad1c","name":"SWR","methods":[{"name":"getRightMost","params":[{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":380,"wires":[["70fe226e.476f7c"]]},{"id":"862ae213.4de36","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":3,"width":"5","height":"2","name":"LP100A RF PWR","label":"PGXL RF","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"2000","segWarn":"100","segHigh":"1500","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"1","colorschema":"fixed","textoptions":"default","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":850,"y":320,"wires":[]},{"id":"e22fa6e9.3c5738","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":8,"width":"5","height":"2","name":"LP100A SWR","label":"SWR","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":"1","max":"4","segWarn":"2.5","segHigh":"","unit":"","layout":"sh","channelA":"","channelB":"","decimals":"1","animations":"reactive","shape":"1","colorschema":"fixed","textoptions":"custom","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":840,"y":380,"wires":[]},{"id":"8b20a0ee.cc4e2","type":"csv","z":"6bf0f43f.f0ad1c","name":"","sep":",","hdrin":"","hdrout":"","multi":"mult","ret":"\\n","temp":"","skip":"0","strings":true,"x":470,"y":440,"wires":[[]]},{"id":"f6c3ba1e.2d34a8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"RF Power","group":"2dbe67ac.f10de8","order":2,"width":0,"height":0,"gtype":"gage","title":"RF Power","label":"units","format":"Watts","min":0,"max":"2000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":830,"y":280,"wires":[]},{"id":"70fe226e.476f7c","type":"rbe","z":"6bf0f43f.f0ad1c","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":640,"y":380,"wires":[["e22fa6e9.3c5738","65700f93.91d01","3b1bf053.04fc8"]]},{"id":"65700f93.91d01","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"SWR","group":"2dbe67ac.f10de8","order":7,"width":0,"height":0,"gtype":"gage","title":"SWR","label":"units","format":"","min":"1","max":"5","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":810,"y":420,"wires":[]},{"id":"3b1bf053.04fc8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":840,"y":520,"wires":[]},{"id":"8c8041f4.047d2","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"50","bin":"false","out":"time","addchar":"","responsetimeout":"100"},{"id":"2dbe67ac.f10de8","type":"ui_group","z":"","name":"RF Info","tab":"d6ba9a2a.f3f0d8","order":2,"disp":true,"width":"4","collapse":false},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
On Fri, Jul 10, 2020 at 7:09 AM David De Coons < RocketNJ@...> wrote: Interesting.?
I have to Look at the WaveNode manual. This might be a good starting point for Bret and his meter. I¡¯ll check it today.
Mike, can you post the code?
I have seen the internal meter info from the radio jump to incorrect values on the dashboard (internal voltage and PA temp). I fixed it by rounding off to one decimal place.
Dave wo2x On Jul 9, 2020, at 4:42 PM, Michael Walker <va3mw@...> wrote:
? I'm not sure if it is being simple or lazy.
Mike
Mike; Nice.
I like your simplicity.....not one of my skill sets.
Alan WA9WUD
On Thu, Jul 9, 2020 at 4:22 PM Michael Walker < va3mw@...> wrote: I blows me away when I have to add new code for a new device.
Here is the flow for the LP100A and I even found the STRING node that made this so simple
The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.
Mike va3mw
|
Thanks, Mike.?
I will continue to try different settings.
Alan
toggle quoted message
Show quoted text
On Sat, Jul 11, 2020 at 7:09 PM Michael Walker < va3mw@...> wrote: Hi Alan
You might have to play in this area, edit serial port node.
The LP100A starts with a ; that I use to start the listening process.
However, I have found a bug on my USB ports that they don't listen at times until I change the Split Input time (or something) that caused the something to get reloaded it seams.
Mike?
Mike
I see you are using Node-Red serial in and out nodes.? With cables? ?
I am having problems doing the same here.? I have had success with serial to IP converters for remoting the?ports.? I am now trying to co-locate the Raspberry Pi and use cables for the serial connection.
However, when I use a Serial to USB FTDI cable, my Node-Red sees the cable connected to the USB port, ?Node-Red says it is connected to the port, but will not pass data thru?? All of the basic serial settings are per the device's instructions.
My current instance is with the W2 Wattmeter.? I am using the Elecraft supplied serial to USB FTDI cable plugged into the Raspberry Pi USB2 port.
Are you using FTDI Serial to USB cables?? I know you have previously used the Serial to IP convertors?which I too have used successfuly.? Did you find any other settings or drivers necessary?to make the cable work on a Raspberry Pi?
Alan WA9WUD
On Fri, Jul 10, 2020 at 10:02 AM Michael Walker < va3mw@...> wrote: I'm still working on it.? The key was making sure I don't corrupt the read of the initial data.? I'm adding more display info.
I took out the Gate since the LP100A handles clearing the display nicely.
I'm reading every 100ms to try to catch a nice Peak value, but I am checking with Telepost to see if I actually need to do that or if the LP100A actually holds peak from the last x-milliseconds.??
Still a play in progress!? :)
Mike

[{"id":"6bf0f43f.f0ad1c","type":"tab","label":"LP-100A","disabled":false,"info":""},{"id":"98aa4756.b21c48","type":"serial in","z":"6bf0f43f.f0ad1c","name":"LP100A In","serial":"8c8041f4.047d2","x":200,"y":340,"wires":[["ada0955c.a21b08","1bbc73c5.a5115c","8b20a0ee.cc4e2"]],"info":"Under normal operating conditions, if the W2 is sent either an \"I\" or an \"i\", it returns a string of information about the state of\nthe Sensors, the Range settings, some internal settings, and which Sensor is active. If, however, the W2 is in the high SWR\nalarm mode (all SWR LED's flashing), sending the \"I\" command returns only \"A!;\"\n\nByte Property\n1 \"I\" or \"i\" (echoes back what you sent).\n2 Active Sensor (1 or 2) matching the \"S1/S2\" LED lit.\n3 Range Level (1=2W, 2=20W, 3=200W, 4=2KW) of the Active Sensor.\n4 AutoRange status (0=off, 1=on) for Active Sensor.\n5 Sensor type (0=200W, 1=2KW, 2=VHF) of Active Sensor.\n6 Sensor's internal attenuator status (0=off, 1=on) of Active Sensor.\n7 W2 LED display state (0=off, 1=on).\n8 Active Sensor (0=none, 1=S1, 2=S2).\n9 Sensor1 Range Control (0=manual, 1=auto).\n10 Sensor1 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\n11 Sensor2 Range Control (0=manual, 1=auto).\n12 Sensor2 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\nE l e c r a f t ? w w w . e l e c r a f t . c o m ? 8 3 1 - 7 6 3 - 4 2 1 1\nW"},{"id":"5587be3.fbbef4","type":"serial out","z":"6bf0f43f.f0ad1c","name":"LP100A Out","serial":"8c8041f4.047d2","x":850,"y":180,"wires":[]},{"id":"20b9631f.1a792c","type":"inject","z":"6bf0f43f.f0ad1c","name":"P Send","topic":"","payload":"P","payloadType":"str","repeat":".2","crontab":"","once":true,"onceDelay":".2","x":220,"y":240,"wires":[["5587be3.fbbef4"]]},{"id":"94416a4b.df81d8","type":"comment","z":"6bf0f43f.f0ad1c","name":"Notes for LP100A RS232","info":"* Range: Allows switching the maximum power range of the display. Choices are 25, 250, 2500W and Auto for autoranging.\n* \n* Alarm: Sets the SWR Alarm set point. Choices are Off,1.5,2.0,2.5,3.0. If the alarm on the LP-100A trips, the Alarm button turns red.\n* \n* Peak/Avg/Tune: Switches between normal and peak-hold modes. The current mode is displayed under the power reading.\n\nremote telnet facility to make a remote connection between the LP-100A and the VCP. In addition to the LP-100A VCP, you can communicate with the\nLP-100A with a terminal program or your own software using the following commands¡\nA Increments Alarm Set Point selection\nM Increments Mode selection\nF Toggles Power Peak/Avg/Tune selection\n\n****P Poll for data. Example of response¡ ;1457.00,49.3,005.0,2,N8LP ,0,2,61.6,1.02\n****\n\nFrom left to right, the comma separated values represent¡\nPower, Z, Phase, SWR Alarm Set Point: 0=off, 1=1.5, 2=2.0, 3=2.5, 4=3.0, Callsign (6 digits with space padding), Power range: 0=High, 1=Mid, 2=Low,\nPeak Hold Mode: 0=Average, 1= Peak Hold, dBm, SWR","x":1410,"y":220,"wires":[]},{"id":"ada0955c.a21b08","type":"string","z":"6bf0f43f.f0ad1c","name":"Power","methods":[{"name":"between","params":[{"type":"str","value":";"},{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":320,"wires":[["862ae213.4de36","f6c3ba1e.2d34a8"]]},{"id":"1bbc73c5.a5115c","type":"string","z":"6bf0f43f.f0ad1c","name":"SWR","methods":[{"name":"getRightMost","params":[{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":380,"wires":[["70fe226e.476f7c"]]},{"id":"862ae213.4de36","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":3,"width":"5","height":"2","name":"LP100A RF PWR","label":"PGXL RF","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"2000","segWarn":"100","segHigh":"1500","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"1","colorschema":"fixed","textoptions":"default","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":850,"y":320,"wires":[]},{"id":"e22fa6e9.3c5738","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":8,"width":"5","height":"2","name":"LP100A SWR","label":"SWR","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":"1","max":"4","segWarn":"2.5","segHigh":"","unit":"","layout":"sh","channelA":"","channelB":"","decimals":"1","animations":"reactive","shape":"1","colorschema":"fixed","textoptions":"custom","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":840,"y":380,"wires":[]},{"id":"8b20a0ee.cc4e2","type":"csv","z":"6bf0f43f.f0ad1c","name":"","sep":",","hdrin":"","hdrout":"","multi":"mult","ret":"\\n","temp":"","skip":"0","strings":true,"x":470,"y":440,"wires":[[]]},{"id":"f6c3ba1e.2d34a8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"RF Power","group":"2dbe67ac.f10de8","order":2,"width":0,"height":0,"gtype":"gage","title":"RF Power","label":"units","format":"Watts","min":0,"max":"2000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":830,"y":280,"wires":[]},{"id":"70fe226e.476f7c","type":"rbe","z":"6bf0f43f.f0ad1c","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":640,"y":380,"wires":[["e22fa6e9.3c5738","65700f93.91d01","3b1bf053.04fc8"]]},{"id":"65700f93.91d01","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"SWR","group":"2dbe67ac.f10de8","order":7,"width":0,"height":0,"gtype":"gage","title":"SWR","label":"units","format":"","min":"1","max":"5","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":810,"y":420,"wires":[]},{"id":"3b1bf053.04fc8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":840,"y":520,"wires":[]},{"id":"8c8041f4.047d2","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"50","bin":"false","out":"time","addchar":"","responsetimeout":"100"},{"id":"2dbe67ac.f10de8","type":"ui_group","z":"","name":"RF Info","tab":"d6ba9a2a.f3f0d8","order":2,"disp":true,"width":"4","collapse":false},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
On Fri, Jul 10, 2020 at 7:09 AM David De Coons < RocketNJ@...> wrote: Interesting.?
I have to Look at the WaveNode manual. This might be a good starting point for Bret and his meter. I¡¯ll check it today.
Mike, can you post the code?
I have seen the internal meter info from the radio jump to incorrect values on the dashboard (internal voltage and PA temp). I fixed it by rounding off to one decimal place.
Dave wo2x On Jul 9, 2020, at 4:42 PM, Michael Walker <va3mw@...> wrote:
? I'm not sure if it is being simple or lazy.
Mike
Mike; Nice.
I like your simplicity.....not one of my skill sets.
Alan WA9WUD
On Thu, Jul 9, 2020 at 4:22 PM Michael Walker < va3mw@...> wrote: I blows me away when I have to add new code for a new device.
Here is the flow for the LP100A and I even found the STRING node that made this so simple
The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.
Mike va3mw
|
Hi Alan
You might have to play in this area, edit serial port node.
The LP100A starts with a ; that I use to start the listening process.
However, I have found a bug on my USB ports that they don't listen at times until I change the Split Input time (or something) that caused the something to get reloaded it seams.
Mike?
toggle quoted message
Show quoted text
Mike
I see you are using Node-Red serial in and out nodes.? With cables? ?
I am having problems doing the same here.? I have had success with serial to IP converters for remoting the?ports.? I am now trying to co-locate the Raspberry Pi and use cables for the serial connection.
However, when I use a Serial to USB FTDI cable, my Node-Red sees the cable connected to the USB port, ?Node-Red says it is connected to the port, but will not pass data thru?? All of the basic serial settings are per the device's instructions.
My current instance is with the W2 Wattmeter.? I am using the Elecraft supplied serial to USB FTDI cable plugged into the Raspberry Pi USB2 port.
Are you using FTDI Serial to USB cables?? I know you have previously used the Serial to IP convertors?which I too have used successfuly.? Did you find any other settings or drivers necessary?to make the cable work on a Raspberry Pi?
Alan WA9WUD
On Fri, Jul 10, 2020 at 10:02 AM Michael Walker < va3mw@...> wrote: I'm still working on it.? The key was making sure I don't corrupt the read of the initial data.? I'm adding more display info.
I took out the Gate since the LP100A handles clearing the display nicely.
I'm reading every 100ms to try to catch a nice Peak value, but I am checking with Telepost to see if I actually need to do that or if the LP100A actually holds peak from the last x-milliseconds.??
Still a play in progress!? :)
Mike

[{"id":"6bf0f43f.f0ad1c","type":"tab","label":"LP-100A","disabled":false,"info":""},{"id":"98aa4756.b21c48","type":"serial in","z":"6bf0f43f.f0ad1c","name":"LP100A In","serial":"8c8041f4.047d2","x":200,"y":340,"wires":[["ada0955c.a21b08","1bbc73c5.a5115c","8b20a0ee.cc4e2"]],"info":"Under normal operating conditions, if the W2 is sent either an \"I\" or an \"i\", it returns a string of information about the state of\nthe Sensors, the Range settings, some internal settings, and which Sensor is active. If, however, the W2 is in the high SWR\nalarm mode (all SWR LED's flashing), sending the \"I\" command returns only \"A!;\"\n\nByte Property\n1 \"I\" or \"i\" (echoes back what you sent).\n2 Active Sensor (1 or 2) matching the \"S1/S2\" LED lit.\n3 Range Level (1=2W, 2=20W, 3=200W, 4=2KW) of the Active Sensor.\n4 AutoRange status (0=off, 1=on) for Active Sensor.\n5 Sensor type (0=200W, 1=2KW, 2=VHF) of Active Sensor.\n6 Sensor's internal attenuator status (0=off, 1=on) of Active Sensor.\n7 W2 LED display state (0=off, 1=on).\n8 Active Sensor (0=none, 1=S1, 2=S2).\n9 Sensor1 Range Control (0=manual, 1=auto).\n10 Sensor1 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\n11 Sensor2 Range Control (0=manual, 1=auto).\n12 Sensor2 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\nE l e c r a f t ? w w w . e l e c r a f t . c o m ? 8 3 1 - 7 6 3 - 4 2 1 1\nW"},{"id":"5587be3.fbbef4","type":"serial out","z":"6bf0f43f.f0ad1c","name":"LP100A Out","serial":"8c8041f4.047d2","x":850,"y":180,"wires":[]},{"id":"20b9631f.1a792c","type":"inject","z":"6bf0f43f.f0ad1c","name":"P Send","topic":"","payload":"P","payloadType":"str","repeat":".2","crontab":"","once":true,"onceDelay":".2","x":220,"y":240,"wires":[["5587be3.fbbef4"]]},{"id":"94416a4b.df81d8","type":"comment","z":"6bf0f43f.f0ad1c","name":"Notes for LP100A RS232","info":"* Range: Allows switching the maximum power range of the display. Choices are 25, 250, 2500W and Auto for autoranging.\n* \n* Alarm: Sets the SWR Alarm set point. Choices are Off,1.5,2.0,2.5,3.0. If the alarm on the LP-100A trips, the Alarm button turns red.\n* \n* Peak/Avg/Tune: Switches between normal and peak-hold modes. The current mode is displayed under the power reading.\n\nremote telnet facility to make a remote connection between the LP-100A and the VCP. In addition to the LP-100A VCP, you can communicate with the\nLP-100A with a terminal program or your own software using the following commands¡\nA Increments Alarm Set Point selection\nM Increments Mode selection\nF Toggles Power Peak/Avg/Tune selection\n\n****P Poll for data. Example of response¡ ;1457.00,49.3,005.0,2,N8LP ,0,2,61.6,1.02\n****\n\nFrom left to right, the comma separated values represent¡\nPower, Z, Phase, SWR Alarm Set Point: 0=off, 1=1.5, 2=2.0, 3=2.5, 4=3.0, Callsign (6 digits with space padding), Power range: 0=High, 1=Mid, 2=Low,\nPeak Hold Mode: 0=Average, 1= Peak Hold, dBm, SWR","x":1410,"y":220,"wires":[]},{"id":"ada0955c.a21b08","type":"string","z":"6bf0f43f.f0ad1c","name":"Power","methods":[{"name":"between","params":[{"type":"str","value":";"},{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":320,"wires":[["862ae213.4de36","f6c3ba1e.2d34a8"]]},{"id":"1bbc73c5.a5115c","type":"string","z":"6bf0f43f.f0ad1c","name":"SWR","methods":[{"name":"getRightMost","params":[{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":380,"wires":[["70fe226e.476f7c"]]},{"id":"862ae213.4de36","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":3,"width":"5","height":"2","name":"LP100A RF PWR","label":"PGXL RF","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"2000","segWarn":"100","segHigh":"1500","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"1","colorschema":"fixed","textoptions":"default","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":850,"y":320,"wires":[]},{"id":"e22fa6e9.3c5738","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":8,"width":"5","height":"2","name":"LP100A SWR","label":"SWR","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":"1","max":"4","segWarn":"2.5","segHigh":"","unit":"","layout":"sh","channelA":"","channelB":"","decimals":"1","animations":"reactive","shape":"1","colorschema":"fixed","textoptions":"custom","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":840,"y":380,"wires":[]},{"id":"8b20a0ee.cc4e2","type":"csv","z":"6bf0f43f.f0ad1c","name":"","sep":",","hdrin":"","hdrout":"","multi":"mult","ret":"\\n","temp":"","skip":"0","strings":true,"x":470,"y":440,"wires":[[]]},{"id":"f6c3ba1e.2d34a8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"RF Power","group":"2dbe67ac.f10de8","order":2,"width":0,"height":0,"gtype":"gage","title":"RF Power","label":"units","format":"Watts","min":0,"max":"2000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":830,"y":280,"wires":[]},{"id":"70fe226e.476f7c","type":"rbe","z":"6bf0f43f.f0ad1c","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":640,"y":380,"wires":[["e22fa6e9.3c5738","65700f93.91d01","3b1bf053.04fc8"]]},{"id":"65700f93.91d01","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"SWR","group":"2dbe67ac.f10de8","order":7,"width":0,"height":0,"gtype":"gage","title":"SWR","label":"units","format":"","min":"1","max":"5","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":810,"y":420,"wires":[]},{"id":"3b1bf053.04fc8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":840,"y":520,"wires":[]},{"id":"8c8041f4.047d2","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"50","bin":"false","out":"time","addchar":"","responsetimeout":"100"},{"id":"2dbe67ac.f10de8","type":"ui_group","z":"","name":"RF Info","tab":"d6ba9a2a.f3f0d8","order":2,"disp":true,"width":"4","collapse":false},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
On Fri, Jul 10, 2020 at 7:09 AM David De Coons < RocketNJ@...> wrote: Interesting.?
I have to Look at the WaveNode manual. This might be a good starting point for Bret and his meter. I¡¯ll check it today.
Mike, can you post the code?
I have seen the internal meter info from the radio jump to incorrect values on the dashboard (internal voltage and PA temp). I fixed it by rounding off to one decimal place.
Dave wo2x On Jul 9, 2020, at 4:42 PM, Michael Walker <va3mw@...> wrote:
? I'm not sure if it is being simple or lazy.
Mike
Mike; Nice.
I like your simplicity.....not one of my skill sets.
Alan WA9WUD
On Thu, Jul 9, 2020 at 4:22 PM Michael Walker < va3mw@...> wrote: I blows me away when I have to add new code for a new device.
Here is the flow for the LP100A and I even found the STRING node that made this so simple
The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.
Mike va3mw
|