Tracked the error was coming?from the Flex radio Flow not running ver 3 right now because of another issue? I'll give you a call in a few minutes Bret WX7Y
toggle quoted message
Show quoted text
On Sat, Jul 18, 2020 at 10:12 PM David De Coons wo2x < RocketNJ@...> wrote: If you click on the error it should highlight the node where the error is located. Cannot reas subsrt of undefined sounds like the node is not receiving data.
Bret, i¡¯m hitting the bed. Call me tomorrow whenever u have time. I can go over my process for debugging. I will also merge Alan¡¯s changes with the W2 flow I have in the file section.?
73 Dave wo2x ? 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".
<Screen Shot 2020-07-18 at 10.00.01 PM.png>
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:
<Screen Shot 2020-07-18 at 9.49.38 PM.png>
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.
<Screen Shot 2020-07-18 at 8.54.06 PM.png>
Reboot Pi
Power Cycle W2.
Done
Alan
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?
Thanks guys Bret WX7Y
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
Dave wo2x 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.?
Alan ? 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?? Thanks a lot Alan? Ill give a try here in a bit on the Node Red server again after dinner
73's Bret WX7Y
Bret- Re-boot the Pi, then if nothing, power cycle the W2 (unplug, plug back in).
Alan WA9WUD
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? Thanks a lot Bret WX7Y
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.
Mike va3mw
On Tue, Jul 14, 2020 at 11:19 PM Santiago Mejia via <hi8smx= [email protected]> wrote:
Actually I don¡¯t have any at the moment.
Yes, I¡¯m getting my way around. Currently I¡¯m adapting some of our flows to my set up and combining them. And just started reading about Node Red and APC UPS.
Santiago ____________ 73 de HI8SMX? hi8smx.online HI8SMX on Twitter, Instagram and YouTube
On Tuesday, July 14, 2020, 11:16 PM, David De Coons wo2x <RocketNJ@...> wrote: Hi Santiago,
Hope you are progressing with Node Red.
What wattmeter do you use now? Does it have connectivity either via serial or USB?
Dave wo2x ?
Darn...I should add a W2 to the equipment wish list.
73,
Santiago HI8SMX? KB8SMX? ____________ 73 de HI8SMX? hi8smx.online HI8SMX on Twitter, Instagram and YouTube
On Tuesday, July 14, 2020, 11:04 PM, David De Coons wo2x <RocketNJ@...> wrote: Hi all,
I have finished the display portion of the W2 wattmeter flow.
What control functionality would you like to see? Forward power meter in auto range or manually set? (I personally like auto range).
Sensor auto scan or manually selectable? Or a choice between the two?
What other controls?
Once I get some feedback I will be able to have a flow publicly available to test.
73
Dave wo2x
-- ______________ 73 de Santiago HI8SMX web:? YouTube: HI8SMX? Twitter: @hi8smx Instagram: hi8smx
-- ______________ 73 de Santiago HI8SMX web:? YouTube: HI8SMX? Twitter: @hi8smx Instagram: hi8smx
|