¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: Node-Red Ui Header - Add Raspi Temp

 

?I have no direct knowledge of CSS Style Info, but this is a link to the Node-Red.org forum where the same que3stion was asked.



If that was not your question, try again.

Alan


Re: Node-Red Ui Header - Add Raspi Temp

 

Hi Alan,

Where can I find the CSS/Style info for Node-Red?

Gary


Re: Node-Red Ui Header - Add Raspi Temp

 

I sent you an e-mail with a flow for what you want to do.

Alan


Node-Red Ui Header - Add Raspi Temp

 

Hello,
I am trying to add the temp value for the Pi to the ui Header.? I found a flow 'node-red-contrib-ui-clock' that uses a function to add the clock to the header?


The function is:
<script id="titleScript" type="text/javascript">
?
$(function() {
? ? if($('.md-toolbar-tools').length != 0){
? ? ? ? loadClock();
? ? }else setTimeout(loadClock, 500)
});
?
function loadClock(){
? ? $('#clock').remove();
? ? var toolbar = $('.md-toolbar-tools');
? ??
? ? var div = $('<div/>');
? ? var p = $('<p/ id="clock">');
? ??
? ? div.append(p);
? ? div[0].style.margin = '5px 5px 5px auto';
? ? toolbar.append(div);
?
? ? function displayTitle(lh) {
? ? ? ? p.text(lh);?
? ? }
? ??
? ? function upTime() {
? ? ? ? var d = new Date();
? ? ? ? p.text(d.toLocaleString());
? ? }
?
? ? if(document.clockInterval){?
? ? ? ? ? ? clearInterval(document.clockInterval);
? ? ? ? ? ? document.clockInterval = null;
? ? }
? ? ? ??
? ? document.clockInterval = setInterval(upTime,1000);
}
?
</script>

I was hoping to modify it to use the following flow.


I can not get it to render in the header at all.? ?When I run debug I do see the temp? output:


Not sure if there is an easier way.? ?I modified?the function above to swap out the clock functions for the temp functions but this on is kicking my butt.

Any thoughts?on this are appreciated.??


Re: File /wo2x flows/KPA500.json uploaded #file-notice

 

Hi Dave,

Sounds good.?
Attached is?my first take at a KAT500 flow. It is working as is, just not my final version.

Gary


Gary Young
Systems Engineer / Project Manager
Telecommunications Engineering Associates
San Carlos, CA?


On Sun, Oct 4, 2020 at 9:14 PM David De Coons wo2x <RocketNJ@...> wrote:
Hi Gary,

I¡¯ll replace the KPA500 flow in my file directory with your copy and include credit for your enhancements in the file description. This way we know it is a working version.

73
Dave wo2x


On Oct 4, 2020, at 8:59 PM, K6HN Gary <gary@...> wrote:

?I just tried the Request Node and had the same results. I am now just prepending a ; to each command and things are working great. My KPA500 flow is in the files section under the "K6HN Flows" directory.

Thanks to all for the original flow and the assistance!

Gary
K6HN


Re: File /wo2x flows/KPA500.json uploaded #file-notice

 

¿ªÔÆÌåÓý

Hi Gary,

I¡¯ll replace the KPA500 flow in my file directory with your copy and include credit for your enhancements in the file description. This way we know it is a working version.

73
Dave wo2x


On Oct 4, 2020, at 8:59 PM, K6HN Gary <gary@...> wrote:

?I just tried the Request Node and had the same results. I am now just prepending a ; to each command and things are working great. My KPA500 flow is in the files section under the "K6HN Flows" directory.

Thanks to all for the original flow and the assistance!

Gary
K6HN


File //K6HN FRS Flows/KPA500.flow updated #file-notice

[email protected] Notification
 

The following files have been updated in the Files area of the [email protected] group.

By: K6HN Gary

Description:
Updated Flow to control KPA500. Cleaned up power control sequence.


Re: File /wo2x flows/KPA500.json uploaded #file-notice

 

¿ªÔÆÌåÓý

Great! I¡¯m glad you have it working and thanks for sharing your findings.

?

73

Dave wo2x

?

?

From: [email protected] <[email protected]> On Behalf Of K6HN Gary
Sent: Sunday, October 4, 2020 9:00 PM
To: [email protected]
Subject: Re: [nodered-hamradio] File /wo2x flows/KPA500.json uploaded #file-notice

?

I just tried the Request Node and had the same results. I am now just prepending a ; to each command and things are working great. My KPA500 flow is in the files section under the "K6HN Flows" directory.

Thanks to all for the original flow and the assistance!

Gary
K6HN


Re: File /wo2x flows/KPA500.json uploaded #file-notice

 

I just tried the Request Node and had the same results. I am now just prepending a ; to each command and things are working great. My KPA500 flow is in the files section under the "K6HN Flows" directory.

Thanks to all for the original flow and the assistance!

Gary
K6HN


Re: Node Red and Yaesu Quadra

 

That¡¯s what I thought.?

Santiago?


____________
73 de HI8SMX?
hi8smx.online
HI8SMX on Twitter, Instagram and YouTube


On Sunday, October 4, 2020, 8:47 PM, David De Coons wo2x <RocketNJ@...> wrote:

Hi Santiago,

?

There is no CAT interface to the Quadra so there is no way to get data out to Node Red.

?

73

Dave wo2x

?

?

From: [email protected] <[email protected]> On Behalf Of Santiago Mejia via groups.io
Sent: Sunday, October 4, 2020 8:23 PM
To: [email protected]
Subject: [nodered-hamradio] Node Red and Yaesu Quadra

?

Let me drop this challenge to the masters of this group. I¡¯m using a Yaesu Quadra with my 6300. As the Yaesu is old enough not to have any computer controlled feature or anything the only thing it uses is a band data cable (with tx and ptt) connected to the Flex v¨ªa USB to follow frequency.

is there any way to get any information out of the amp via node red for monitoring?

Who¡¯s up to the task?

santiago?
______________
73 de Santiago
HI8SMX - KB8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


--
______________
73 de Santiago
HI8SMX - KB8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


Re: Node Red and Yaesu Quadra

 

¿ªÔÆÌåÓý

Hi Santiago,

?

There is no CAT interface to the Quadra so there is no way to get data out to Node Red.

?

73

Dave wo2x

?

?

From: [email protected] <[email protected]> On Behalf Of Santiago Mejia via groups.io
Sent: Sunday, October 4, 2020 8:23 PM
To: [email protected]
Subject: [nodered-hamradio] Node Red and Yaesu Quadra

?

Let me drop this challenge to the masters of this group. I¡¯m using a Yaesu Quadra with my 6300. As the Yaesu is old enough not to have any computer controlled feature or anything the only thing it uses is a band data cable (with tx and ptt) connected to the Flex v¨ªa USB to follow frequency.

is there any way to get any information out of the amp via node red for monitoring?

Who¡¯s up to the task?

santiago?
______________
73 de Santiago
HI8SMX - KB8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


Node Red and Yaesu Quadra

 

Let me drop this challenge to the masters of this group. I¡¯m using a Yaesu Quadra with my 6300. As the Yaesu is old enough not to have any computer controlled feature or anything the only thing it uses is a band data cable (with tx and ptt) connected to the Flex v¨ªa USB to follow frequency.

is there any way to get any information out of the amp via node red for monitoring?

Who¡¯s up to the task?

santiago?
______________
73 de Santiago
HI8SMX - KB8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


Re: File /wo2x flows/KPA500.json uploaded #file-notice

 

¿ªÔÆÌåÓý

When we were making a flow for the Elecraft W2 wattmeter we needed to use the serial request node. Just double click the serial node and make sure it matches your USB to serial adapter and baud rate.

?

73

Dave wo2x

?

?

From: [email protected] <[email protected]> On Behalf Of K6HN Gary
Sent: Sunday, October 4, 2020 7:54 PM
To: [email protected]
Subject: Re: [nodered-hamradio] File /wo2x flows/KPA500.json uploaded #file-notice

?

Thanks Dave, I'll try that later tonight. It is something with the serial port so this might work.


Re: File /wo2x flows/KPA500.json uploaded #file-notice

 

Thanks Dave, I'll try that later tonight. It is something with the serial port so this might work.


Re: File /wo2x flows/KPA500.json uploaded #file-notice

 

I think you nailed it Alan. It doesn't matter what is sent first, it just needs something to get going.


Re: Help with addition to DLI flow

 

What an interesting discussion. ?I can¡¯t wait to start working with node-red. At my remote base, I currently depend on a webcam to verify the status ?of my Flex and other components of my station.?


Re: File /wo2x flows/KPA500.json uploaded #file-notice

 

¿ªÔÆÌåÓý

Hi Gary,

?

I sent you a direct email with another version to try. I changed the serial in & out nodes to a serial request node.

?

73

Dave wo2x

?

?

From: [email protected] <[email protected]> On Behalf Of K6HN Gary
Sent: Sunday, October 4, 2020 5:25 PM
To: [email protected]
Subject: Re: [nodered-hamradio] File /wo2x flows/KPA500.json uploaded #file-notice

?

I have this partially working. I can query the KPA500 and it responds properly. Unfortunately the amp does not accept any commands sent (vs a query that does work) such as ^OS1; and just ignores them as if they were never sent.

Any ideas?


Re: File /wo2x flows/KPA500.json uploaded #file-notice

 

Perhaps it did not "see" the first command sent to the amp.? My SteppIR has that problem.

If it is a failure to respond?to some commands, consider using the "resend" node.

Alan

On Sun, Oct 4, 2020 at 5:31 PM K6HN Gary <gary@...> wrote:
It appears the command needs to prefaced with a query ^OS;^OS1; which works fine to put the amp in Operate Mode. Weird.


Re: File /wo2x flows/KPA500.json uploaded #file-notice

 

It appears the command needs to prefaced with a query ^OS;^OS1; which works fine to put the amp in Operate Mode. Weird.


Re: File /wo2x flows/KPA500.json uploaded #file-notice

 

I have this partially working. I can query the KPA500 and it responds properly. Unfortunately the amp does not accept any commands sent (vs a query that does work) such as ^OS1; and just ignores them as if they were never sent.

Any ideas?