SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v9 Customizations

Notices

SageTV v9 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 9 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 9 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-04-2021, 05:27 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,698
Weather for SageTV and Gemstone

I have completed the updates to the weather systems for Gemstone and the Default STV. The plugins should be available soon in the application.

Summary
  • Default STV updated and Pull Request created so future versions will have the new weather
  • Gemstone plugin version updated so users can update the plugin and use the new weather
  • NEW SageTV7 Full UI Package plugin created so users can install and switch to this updated Full UI STV to take advantage of the weather updates without a full SageTV install. Go to All Available Plugins, Full UI tab and select the SageTV7 package when available. After the install you will need to go to detailed setup, advanced, and Set Full UI package and select the SageTV7_FullUIPackage STV.

Preparation steps for this release:
  • Sign up at https://home.openweathermap.org/users/sign_up
  • Create a file in the root SageTV folder called owmkey.properties with only 1 line in it "key=userkey"
  • no quotes in the line and replace userkey with the one you get when signing up
  • without a user key Open Weather will not update nor allow locations to be added

The new release has:
  • Support to have multiple weather locations and switch between them
  • Moon phase icons and info
  • Precip info including rain and snow accumulations and probabilities
  • Ability to select from a number of weather icon packages
  • All the weather fields available from OpenWeather including UVIndex
  • Search for locations by Name, Zip or Postal Code
  • 8 day forecast included
  • Note: OWM implements radar maps very differently than WeatherUndergrond so this has currently been removed from the default STV. If there is enough interest I may look into a weather maps implementation from OWM.
  • Note: although the UI's are very different between Gemstone and the default STV, they now share the same backend to make it simpler to support longer term if more changes are required. They also use the same settings file so your weather settings stay if you move from the Default STV to Gemstone or visa versa.

Please post any questions or issues in this forum and I will respond as I can.

GWeather Github repository

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page

Last edited by jusjoken; 09-08-2021 at 01:15 PM. Reason: Included the github repo location for future updates
Reply With Quote
  #2  
Old 07-04-2021, 07:56 AM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,744
Thanks for setting up that Patreon page. Makes things easy on our end to just keep a monthly donation going for a little encouragement.
Reply With Quote
  #3  
Old 07-06-2021, 09:05 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,698
A little progress so thought I would provide an update. Development environment is mostly set up again as I can now build Gemstone and Phoenix. I have found a good java implementation for OpenWeatherMap and am working on the details of updating Phoenix core with the needed classes.

Still a long way from a working solution and testing but each step counts.

Thanks to those who have offered support on Patreon. I believe they are all Gemstone users so have not seen any comment or interest in the Default STV being updated so as I planned to do Gemstone first I will wait and see if a Default STV update is needed.

Ken
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #4  
Old 07-06-2021, 12:06 PM
Zogg's Avatar
Zogg Zogg is offline
Sage Aficionado
 
Join Date: May 2011
Location: Frisco, TX
Posts: 427
I would appreciate an update to the Default STV interface. I am a late-comer to Sage and my one attempt to get Gemstone working failed miserably so I just stick to the default UI which works for us.

But please take care of the Gemstone users first. I'm in no hurry.
__________________
-----
AMD Ryzen 5 3600, B450 m/b, 32Gig, lots of disks, Unraid, 2x HDPVR2 tuners, HDHomeRun Prime, HDHomeRun HDHR4 OTA, Windows Live Tuner, SageTV docker, OpenDCT docker, Win8.1 VM, EventGhost
Reply With Quote
  #5  
Old 07-07-2021, 12:21 AM
VCRUser VCRUser is offline
Sage Aficionado
 
Join Date: Jan 2008
Posts: 429
I would also like to use it with the default interface. I've never tried Gemstone and the default interface meets my needs.
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit.
Reply With Quote
  #6  
Old 07-07-2021, 01:24 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,007
+1 - count me as a standard Sage UI user who would like to see weather working again.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #7  
Old 08-19-2021, 07:51 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,698
Prep for upcoming weather releases

I will soon be releasing new versions of Gemstone and the Default STV with a weather update that uses OpenWeatherMap. This solution requires users to get their own FREE API key from:

https://home.openweathermap.org/users/sign_up

Preparation steps for this release:
  • Sign up at https://home.openweathermap.org/users/sign_up
  • Create a file in the root SageTV folder called owmkey.properties with only 1 line in it "key=userkey"
  • no quotes in the line and replace userkey with the one you get when signing up
  • without a user key Open Weather will not update nor allow locations to be added

The new release has:
  • Support to have multiple weather locations and switch between them
  • Moon phase icons and info
  • Precip info including rain and snow accumulations and probabilities
  • Ability to select from a number of weather icon packages
  • All the weather fields available from OpenWeather including UVIndex
  • Search for locations by Name, Zip or Postal Code
  • 8 day forecast included
  • Note: OWM implements radar maps very differently than WeatherUndergrond so this has currently been removed from the default STV. If there is enough interest I may look into a weather maps implementation from OWM.
  • Note: although the UI's are very different between Gemstone and the default STV, they now share the same backend to make it simpler to support longer term if more changes are required. They also use the same settings file so your weather settings stay if you move from the Default STV to Gemstone or visa versa.

I will try to get the releases out prior or during this coming weekend and will post if this gets delayed due to other commitments.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #8  
Old 08-19-2021, 08:45 AM
wayner wayner is online now
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,469
One question - will this require just upgrading (or installing a new) plugin rather than having to upgrade SageTV? It sounds like it is just a plugin that needs to be upgraded/installed.

I believe that there are now issues with upgrading SageTV, at least for unRAID users, largely due to Java versions. So I am hoping to not have to upgrade SageTV.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #9  
Old 08-19-2021, 09:30 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,698
Quote:
Originally Posted by wayner View Post
One question - will this require just upgrading (or installing a new) plugin rather than having to upgrade SageTV? It sounds like it is just a plugin that needs to be upgraded/installed.

I believe that there are now issues with upgrading SageTV, at least for unRAID users, largely due to Java versions. So I am hoping to not have to upgrade SageTV.
For Gemstone users you will just need to update the Gemstone plugin.

For Default STV users I will push the STV so the next release includes it but I have also CREATED a new Full UI Package plugin that will allow users who don't want to wait till another release occurs or are staying on an older version for various reasons to move to the new STV without a full release.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #10  
Old 08-19-2021, 06:08 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,698
Weather changes have been completed

Please see the first post for details. The plugins have been pushed so will be available when the automated process runs.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #11  
Old 08-20-2021, 04:34 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,698
Delay on the plugin repo

There is currently an issue on the automated script that should have built the new plugin repo so Sean is looking into it tomorrow and hopefully soon after these changes will be available.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #12  
Old 08-20-2021, 08:08 PM
Galaxysurfer Galaxysurfer is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: Calgary, AB CANADA
Posts: 396
Getting updated weather to run

Software Version SageTV V0.2.5.168 (64-bit)

Java Version 11.0.12

Linux kernel 4.19.0-17-amd64

OS Mx-19.4_x64 patito feo

I added the key file as instructed into root Sagetv folder. I still can't get the weather data to populate. I suspect this is related to my router / VPN config settings.

Anyone got this working now? I would love to get this running. I will also try with my other server running on win 10

Can you please clarify where to add the key properties file in both linux & win 10?

I am wondering if you code is loooking for key in wrong place ( wrong in sense of I didn't put file in right location for it to find)
In Linux it is in /root/.sagetv/ Is this where you meant?

In win 10 I noticed there are multiple instances for weather under userdata etc. Is the api used by openweathermap in our case a modified google one? Please clarify where to place key for this version.

Last edited by Galaxysurfer; 08-20-2021 at 09:08 PM.
Reply With Quote
  #13  
Old 08-20-2021, 09:13 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,698
You need to be running one of the following..
  • gemstone...perform an update
  • SageTV version NEXT....not released yet
  • install full ui package called SageTV 7 and then switch to it

The 3rd option should work on most prior SageTV version but you need to follow that process and install the FullUI package from the plugins menu

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #14  
Old 08-20-2021, 09:20 PM
Galaxysurfer Galaxysurfer is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: Calgary, AB CANADA
Posts: 396
okay thanx. Just looking for the secret ingredient to the recipe!
Reply With Quote
  #15  
Old 08-20-2021, 10:40 PM
wayner wayner is online now
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,469
I have upgraded Gemstone and now I have the weather in terms of conditions and temperature, but it doesn't appear that Weather Backgrounds are working. Should they be working? Prior to the upgrade I was seeing Thunderstorm backgrounds as I think that was weather condition 0.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #16  
Old 08-20-2021, 06:08 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,698
Repo issue resolved...updates are ready

The issue with the build of the plugin repo has been resolved so all the updates for the weather changes should now be available.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #17  
Old 11-23-2021, 01:29 PM
hb4 hb4 is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 346
Quote:
Originally Posted by jusjoken View Post
After the install you will need to go to detailed setup, advanced, and Set Full UI package and select the SageTV7_FullUIPackage STV.

I found 'SageTV7_FullUIPlugin.xml'. Is that it?
__________________
Server: Intel i5-11400 @4.4GHz 6 cores Windows10 Pro, Sage 9.2.6.976, Comskip Donators
Capture: Fubo/TVEverywhere/ChannelsDVR/OpenDCT_0.5.32_x86.
Storage: 120gB SSD, 4tB HD on Server
Network: gB Lan
Playback: FireStick 4K miniclient
Tech Level: Hobbyist
Reply With Quote
  #18  
Old 11-23-2021, 04:58 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,698
Quote:
Originally Posted by hb4 View Post
I found 'SageTV7_FullUIPlugin.xml'. Is that it?
Yes
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #19  
Old 11-23-2021, 06:31 PM
hb4 hb4 is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 346
I signed on to OpenWeather and got a key, placed it in a txt file per post 1, installed the Google Weather plugin and went to Advanced and changed to the XML file noted above, then went to the Online tab and configured the weather item for Seattle.

The config screen tells me it can't find Seattle and to 'search for a new location'.

Checked and found the proper key in GWeatherLocations.properties.

So, I'm stumped.
__________________
Server: Intel i5-11400 @4.4GHz 6 cores Windows10 Pro, Sage 9.2.6.976, Comskip Donators
Capture: Fubo/TVEverywhere/ChannelsDVR/OpenDCT_0.5.32_x86.
Storage: 120gB SSD, 4tB HD on Server
Network: gB Lan
Playback: FireStick 4K miniclient
Tech Level: Hobbyist
Reply With Quote
  #20  
Old 11-23-2021, 09:58 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,698
Quote:
Originally Posted by hb4 View Post
I signed on to OpenWeather and got a key, placed it in a txt file per post 1, installed the Google Weather plugin and went to Advanced and changed to the XML file noted above, then went to the Online tab and configured the weather item for Seattle.

The config screen tells me it can't find Seattle and to 'search for a new location'.

Checked and found the proper key in GWeatherLocations.properties.

So, I'm stumped.
Can you provide the SageTV log and any gweather log from the logs folder.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weather fixes for Gemstone jusjoken Gemstone for v9 17 06-12-2019 05:01 AM
Weather issues in Gemstone/Phoenix jusjoken Gemstone for v7 17 01-20-2019 09:16 AM
Gemstone laggy with new SageTV v9 install crarbo1 Gemstone for v9 25 01-18-2017 11:42 AM
Gemstone drags my sagetv down to a halt. wbarber69 Gemstone for v7 13 10-27-2012 06:32 PM
The Weather Channel eliminating free weather data feed iolaus SageTV Software 69 08-26-2012 11:17 AM


All times are GMT -6. The time now is 09:05 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.