OK. I have finished the tweaks to the W2 wattmeter flow and the FlexRadio flow that is required to match it. I have added some parsing of current band TX power slider, tune power slider, and current mode. ? Here¡¯s a screenshot of my dash with everything on one screen. I will move some items off the main screen, like the W2 since I do not own one. ? The Antenna Genius display is a work in progress. Just starting adding the buttons. I am going to have it for informational display only as I have the antennas selected automatically by band. ? 73 Dave Wo2x ? ? 
? I will upload both flows
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Bret Mills Sent: Sunday, July 19, 2020 5:17 PM To: [email protected] Subject: Re: [nodered-hamradio] W2 wattmeter support ? This is GREAT info and thanks for the Info ? That is an MQTT Broker Out node. ? ?The MQTT out node allows the flow to send the Flex TX status to a different Raspberry Pil Not?applicable?to you unless you have a second Pi you want to receive the Flex TX Status. ? On Sun, Jul 19, 2020 at 5:00 PM Bret Mills <bret.wx7y@...> wrote: I have a question on a Nodes, in the NEW "FLEXRADIO" Flow it uses the IP and Port number of "" and always says "connecting", If I put my FLEX Radio IP in here it still says? "connecting"? QUESTION is What should this be connecting to ??? ? Your welcome.? Glad to help I know Dave is close to releasing an update for the W2 that will further?improve its reliability and functions. ? On Sun, Jul 19, 2020 at 3:35 PM Bret Mills <bret.wx7y@...> wrote: ? Hi Dave, Just wanted to comment on things thus far and Thank you so very much for your help and debugging and Building the Flows!!! Between you and Alan have built my whole automation for my remote station here. The W2 Wattmeter Flow "Beta 8" is as far as?I can tell so far working great?on my HF station with the PGXL, the 6700, HF-Auto?and W2 Watt Meter, you made tons of headway?on the W2 this morning and thanks again. I'll keep testing and let you know if I find anything and if there is something you want to test further after knowing my station as you do please let me know.? A few things I would still like to figure out and maybe ask you some questions about but that is another can of worms. ? Hi Alan and thanks for the above that is what I have been doing and I am connected it looks like, I get this error in Debug mode ? 7/18/2020, 9:38:12 PMfunction : (error) "TypeError: Cannot read property 'substr' of undefined" On the control panel in Node-Red the buttons are green for the one that should be but see no meter Movement or Auto Change changes resolution
Thanks a lotBretWX7Y
? Bret - This is what worked for me: Step one - Use the Serial Request Node.? Remove Serial out node, wire inputs to Serial Request Node out. ? Same for "in". Step 2 - Select USB port; ?The status on the serial node should show "connected" or OK, when you select the correct port. ? Should be the same as I have in mine, if you have only one USB cable: Click as shown, to adjust settings. ? Also, on this setup page you can also enter the Serial Port name as Andreas has suggested.? I have not done this, yet, for mine, because I have only one USB connection so far and the USB0 port is working for me.? Should for you too. ? On Sat, Jul 18, 2020 at 9:42 PM Bret Mills <bret.wx7y@...> wrote: That is the same Cable as I am using, and the latest Flow from Daves Group.io I have several COM ports listed not after playing around with the WN2 Watt Meter and making sure the FTDI driver worked with the FTDI that works in the FLEX radio's USB ports so I may have to figure out how to get rid of the ones I'm not using or figure out how to set the Node-Red COM port by the actual Cable name.? All this?is really new to me so just learn as I go? ? I no longer use the serial to TCP converter.? If I were I would use the TCP in and out nodes.? I am now hard wired from the W2 to the Pi as described above Using Elecraft serial to USB FTDI cable.? The Serial Request node seems to coordinate in/out more to the W2¡¯s liking.? I never was able to get the two separate serial in and out nodes to talk with the W2. Alan ?Works for me using serial to USB FTDI cable.?
On Jul 18, 2020, at 9:21 PM, David De Coons wo2x <RocketNJ@...> wrote:
?Actually I believe he will want to use serial on and out. I do not believe I have seen a serial request node. He is not using a serial to IP adapter.? Baud rate should be 9600,8n,1 ? Sent from my waxed string and tin cans.? ?You say the usb cable shows as connected. ? Good Linux found the USB port.? Use the same USB port with ?the settings I sent you, and use the TCP Request node instead of the two TCP in and TCP out nodes.? Be sure to remove the unused TCP nodes.? Then reboot pi, reboot W2.? ? ? Yep tried that I am now testing on the bench using the Windows App and all work A-OK, Just wondering do I have to set the COM port serial?number in Linux anywhere? also what baud rate does the W2 take?? looking at the Flow and seeing what COM Port is available it shows 11520 and 9600 the windows Device manager uses 9600 Baud?? Ill give a try here in a bit on the Node Red server again after dinner ? Bret- Re-boot the Pi, then if nothing, power cycle the W2 (unplug, plug back in). ? On Sat, Jul 18, 2020 at 7:09 PM Bret Mills <bret.wx7y@...> wrote: Hi Dave, Hay got the Elecraft W2 Wattmeter today and got it plugged in with the included USB serial cable BUT I am not getting anything coming?out of the W2 to the FLow wonder when you have a minute you could poke around here and see what I have wrong that catch's your eye. The USB serial cable shows connected in the flow and nothing popping?out looking at the Debug for that Flow? ? Phone number here is 4357499012? ? On Tue, Jul 14, 2020 at 10:03 PM David De Coons wo2x <RocketNJ@...> wrote: My display flow for the wattmeter is based on the decimal spacing returned from the F command, F00125D2; would be 1.25 watts. And if the third place in the information string is 1 then meter scaling is set for 0 to 2 watts. I was able to do some pretty cool stuff. I just need guidance on what people want for control of the meter. I use the metering in the KPA1500. I kept monitoring and control simple, to what I need for remote operation. But the nice thing with Node Red is any avalable command or info returned can be displayed. It is just how crazy you want to go. For the people new to Node Red, install it and load some flows to look at the different nodes ?nodes to see how we manipulate the data. Looking at examples helps to learn. As always, ask questions here. Pretty much any equipment with serial, USB, or IP can be added.? ?
On Jul 14, 2020, at 11:28 PM, Michael Walker <va3mw@...> wrote:
? Dave Having used a W2 until last week (but for about 10 years previous) I found that I needed to hit 'scan' more than once. Changing scales requires you to do math on the reported values. BTW, for Scan, I think it requires a special firmware from Elecraft, but you would need to confirm they actually made the firmware public. ? On Tue, Jul 14, 2020 at 11:19 PM Santiago Mejia via <hi8smx=[email protected]> wrote: Actually I don¡¯t have any at the moment. Yes, I¡¯m getting my way around. Currently I¡¯m adapting some of our flows to my set up and combining them. And just started reading about Node Red and APC UPS. ? HI8SMX on Twitter, Instagram and YouTube ? On Tuesday, July 14, 2020, 11:16 PM, David De Coons wo2x <RocketNJ@...> wrote: Hi Santiago, Hope you are progressing with Node Red. What wattmeter do you use now? Does it have connectivity either via serial or USB? Dave wo2x ? Darn...I should add a W2 to the equipment wish list. ? HI8SMX on Twitter, Instagram and YouTube ? On Tuesday, July 14, 2020, 11:04 PM, David De Coons wo2x <RocketNJ@...> wrote: I have finished the display portion of the W2 wattmeter flow. What control functionality would you like to see? Forward power meter in auto range or manually set? (I personally like auto range). Sensor auto scan or manually selectable? Or a choice between the two? Once I get some feedback I will be able to have a flow publicly available to test.
-- ______________ 73 de Santiago HI8SMX web:? YouTube: HI8SMX? Twitter: @hi8smx Instagram: hi8smx
-- ______________ 73 de Santiago HI8SMX web:? YouTube: HI8SMX? Twitter: @hi8smx Instagram: hi8smx
|