-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wish: TX Battery Status in Header or Footer #24
Comments
If your weather station provides this value you can access the current value by using the variable Didn't try it but should work. You may need to add it to all other .html.tmpl files if you want to see it on every page. See this label section of the weewx docs for more available variables and their meanings: https://www.weewx.com/docs/customizing.htm#Translate_labels_and_modify_local_options |
And thank you for this idea. Will add it in a future release, might be useful for others too 👍 |
Thanks Sven
…________________________________
From: Sven <[email protected]>
Sent: Tuesday, 16 February 2021 8:14 PM
To: neoground/neowx <[email protected]>
Cc: vk2kmi <[email protected]>; Author <[email protected]>
Subject: Re: [neoground/neowx] Wish: TX Battery Status in Header or Footer (#24)
And thank you for this idea. Will add it in a future release, might be useful for others too 👍
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#24 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIUJE565NMZJFAPVZOGAG3DS7IZQNANCNFSM4XVSPPPQ>.
|
Interesting, when I used the Seasonal Skin it had battery voltage but with this skin it shows N/A
Maybe it was console battery
K
…________________________________
From: Sven <[email protected]>
Sent: Tuesday, 16 February 2021 8:13 PM
To: neoground/neowx <[email protected]>
Cc: vk2kmi <[email protected]>; Author <[email protected]>
Subject: Re: [neoground/neowx] Wish: TX Battery Status in Header or Footer (#24)
If your weather station provides this value you can access the current value by using the variable $current.txBatteryStatus in a template.
You could e.g. simply add this value in a new line in the header of the index page. Just add a new line with <h5>$current.txBatteryStatus</h5> here: https://github.com/neoground/neowx/blob/master/src/index.html#L43
Didn't try it but should work. You may need to add it to all other .html.tmpl files if you want to see it on every page.
See this label section of the weewx docs for more available variables and their meanings: https://www.weewx.com/docs/customizing.htm#Translate_labels_and_modify_local_options
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#24 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIUJE56C4GXH34VPDINYS7TS7IZMXANCNFSM4XVSPPPQ>.
|
I guess the variable just has a different name. Found this file in the seasons skin: https://github.com/weewx/weewx/blob/master/skins/Seasons/sensors.inc The variables are defined as |
Thanks for your help Sven. It seems it may be more complex than I thought
https://groups.google.com/g/weewx-user/c/q-k9stqZqYQ
K
…________________________________
From: Sven <[email protected]>
Sent: Tuesday, 16 February 2021 8:45 PM
To: neoground/neowx <[email protected]>
Cc: vk2kmi <[email protected]>; Author <[email protected]>
Subject: Re: [neoground/neowx] Wish: TX Battery Status in Header or Footer (#24)
I guess the variable just has a different name. Found this file in the seasons skin: https://github.com/weewx/weewx/blob/master/skins/Seasons/sensors.inc
The variables are defined as $day.txBatteryStatus, maybe something like this will work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#24 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIUJE56VZFR5RF5IX62QDIDS7I5EDANCNFSM4XVSPPPQ>.
|
Recently I created a better, more modern skin, called neowx-material. I also included a telemetry page there. Works fine on my vantage vue, I get battery voltage + signal quality. |
I'd love to see a TX Battery status in Volts with battery icon in the header or at worst in the footer
The text was updated successfully, but these errors were encountered: