Keyboard Shortcuts
Likes
Search
K3NG arduino-based rotator interface via Pi4 with NodeRed?
开云体育Welcome to the group! ? You could export the flows from the cloud based server and install Node Red on a Raspberry Pi at the radio site. In the WiKi section of this site are some articles on setting up Node Red on a Pi as well as securing the Pi for remote access to the dashboard. ? The flows in the file section are available to download and modify to your specific use. ? 73 Dave wo2x ? ? From: [email protected] <[email protected]> On Behalf Of C Romocea
Sent: Sunday, November 20, 2022 12:12 PM To: [email protected] Subject: [nodered-hamradio] K3NG arduino-based rotator interface via Pi4 with NodeRed? ? Dave WO2X suggested I visited this forum with my query. ? I am currently controlling the Yaesu rotator and antenna switch via the Node Red flow attached. The Node Red is hosted temporarily by Remotetx.net. So here are my noob questions:? ? What are the steps if I wanted to migrate this flow from remotetx.net to another server? Does it have to be cloud-based and are there hosts you recommend??Assuming I upload the flow to a cloud-based server, how do I access it remotely via the Pi4?? ? I saw other NR controller flows for antenna switch, rotator and amp control on this forum, like Dave's below. |
I use K3ng rotor setup, and you can download my Flo w here at the group.
/g/nodered-hamradio/files/OZ1CT/oz1ct-k3ng-rotor-setup.zip Ben |
After the IP:1880, add a forward slash "ui" for the Dashboard. Alan On Sat, Dec 10, 2022 at 1:40 PM C Romocea <cromocea@...> wrote:
|
开云体育Hi Chris, ? Welcome! ? To access the Node Red editor you use the IP address of the Pi followed by :1880 Example 192.168.1.25:1880 ? The Node Red dashboard can be accessed by using the IP address of the Pi followed by :1880/ui Example 192.168.1.25:1880/ui ? In the editor, clicking the down arrow in upper right corner and selecting dashboard will allow you to edit the groups and main page for the flows. That will allow you to move dashboard nodes between groups and customize the dash to your liking. ? Maybe we can do a Zoom session some time for our new members to help go through the basics to get started. ? 73 Dave wo2x ? ? From: [email protected] <[email protected]> On Behalf Of C Romocea
Sent: Saturday, December 10, 2022 1:41 PM To: [email protected] Subject: Re: [nodered-hamradio] K3NG arduino-based rotator interface via Pi4 with NodeRed? ? Hi Dave ? Sorry for the noob question but I did what you suggested and I'm stuck. I used the Wiki section instructions to install Node Red on the Pi4 at the remote location via the PuTTY app, then installed the nodes recommended by your list (node-red-contrib-stoptimer3 gives errors and I couldn't install) and then imported a couple of flows which I used for controlling my antenna switch, rotator and KPA-500 on remotetx. However, I don't know where to go next. I read and re-read examples like 'create your first flow' and maybe I'm not used with the terminology, but how do I 'browse locally' these flows? Where do I find the address of the flow I deployed so I can access the panel and the automation process? I read about a :... but where do I find this specific address in the flow so I can browse to it? ? Thanks, ? Chris ? On Sun, 20 Nov 2022 at 21:16, Dave wo2x <RocketNJ@...> wrote:
|
开云体育On pain meds in hospital currently so if any typos in reply, I am sorry.?I would recommend all external equipment to be connected to the Node Red server.? Then Node Red server (PI4) be on same LAN as radio and other network equipment.? Now when you want to access and monitor the dashboard you have several ways. The most secure is to use a VPN to access the LAN IP of the Pi followed by:1880/ui? You can use a service such as TailScale which is free. TailScale allows only registered devices outside your LAN to access other registered devices on your LAN. You control the actual devices that have access via the TailScale VPN. So you can enable the Pi for TailScale and your remote laptop but not your home PC which may contain more secure information. Your decision.? Another way is to password protect Node Red editor and dashboard then poorer forward a non-standard port to the Pi’s LAN’s Ip and port 1880. Not as secure as a VPN.? Others can make decisions on various ways you can do it, then choose best method you would like.? 73 Dave wo2x Sent from my waxed string and tin cans.? On Dec 27, 2022, at 11:46 PM, C Romocea <cromocea@...> wrote:
|
Did you "authenticate" your Tailscale on the Raspberry Pi? ?If not, on the Pi, run this command:
sudo tailscale up You will get a URL for a web connection, plug that into a browser, and that will take to a page to authenticate the Raspberry Pi TailScale to your account. Now on the Windows side, in the bottom right tray, right-click on the Tail-scale Icon: You will see a "log in" line. ?Go to that and authenticate your Windows Tailscale. You connect devices by using the "Tailscale" IP address for the device. ?This will work from device to device via the Internet or on your LAN. To find the Tailscal IP address for the desired device, again, right-click on the Tailscale Icon in the lower right tray and to the "Admin Console." ?Here you will find a slit of your devices, their status, and their TailScale IP address. Alan |
From any PC, also running and logged into Tailscale:
In a web browser, enter the Raspberry Pi's Tailscalale address, port 1880. ?And a /ui at the end to go to the dashboard. Or, id you are local, with both PCs on the same subnet, just use the IP address of the Raspberry Pi. For example: 100.4.3.5:1880 ? goes to the Node Red Editor 100.4.3.5:1880/ui ? goes to the Node-Red Dashboard. Alan |
开云体育I don’t believe TailScale passes the broadcast packets from the radio.?73 Dave wo2x Sent from my waxed string and tin cans.? On Dec 28, 2022, at 5:22 PM, C Romocea <cromocea@...> wrote:
|