Announcement

Collapse
No announcement yet.

Is there a free weather plugin?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there a free weather plugin?

    I just need the outside temperature. Is there a plugin that'll do that for free?

  • #2
    Jeff Farmer's weatherXML. Overkill, but it will do what you need. It's in the plugin interface page.

    Comment


    • #3
      Yeah, that's overkill for me. I ended up writing a little script to do the job. Here it is in case anyone else wants a free quick way to pull in weather info (I only need outside temperature right now, but this can easily be modified to pull in other info as well) -

      If anyone's interested, I'll provide more information, but you basically create a Virtual Device with a single status and note down its Reference ID. Then, create an Event to run as often as you want to execute the below script (update the first few lines to suit your needs) -

      Code:
      Imports System.Diagnostics
      Sub Main(parm as object)
      	
      	Dim DevRef AS Integer = 338 'Virtual Device Reference ID
      	Dim sLocation AS String = "91423,us" 'Your location 
      	Dim sAPPID AS String = "xxxxxxxxxxxxxxx" 'Get this API key from  http://openweathermap.org/api
      	Dim sTempUnit AS String = "F" 
      	
      	
      	Dim oProcess As New Process()
      	Dim oStartInfo As New ProcessStartInfo("PowerShell.exe", "-Command ""(Invoke-WebRequest -usebasicparsing 'api.openweathermap.org/data/2.5/weather?q=" + sLocation + "&APPID=" + sAPPID + "&mode=json&units=imperial' | ConvertFrom-Json).main | select temp | ft -hide""")
      	oStartInfo.UseShellExecute = False
      	oStartInfo.RedirectStandardOutput = True
      	oProcess.StartInfo = oStartInfo
      	oProcess.Start()
      
      	Dim sOutput As String
      	Using oStreamReader As System.IO.StreamReader = oProcess.StandardOutput
      		sOutput = oStreamReader.ReadToEnd()
      	End Using
      	hs.writelog("Temperature", sOutput)
      	hs.SetDeviceValueByRef(DevRef,CDbl(sOutput),true)
      	hs.SetDeviceString(DevRef,sOutput + " " + sTempUnit,true)
      End Sub

      Comment


      • #4
        I am looking for some weather plugin as well but want a bit more out of it... current conditions, couples days in advance weather and weather alerts. I'd like to use an existing plugin but no way I am paying $20 a month for an API key. (I think that's how it works anyway).

        Nice script. I see it's pulling from http://openweathermap.org/api Would I be able to get what I want from Open Weather for free you think?

        I am evaluating Homeseer at the moment. Only just got it up and running so still playing around with it. Hoping it can replace my Smartthings hub.

        Comment


        • #5
          Actually, I found this PowerShell script here
          http://michaelhalpin.azurewebsites.n...-co-ordinates/

          Now I have to figure out how to get the data into Homeseer

          Comment


          • #6
            You don't need a $0/month subscription for Weat.herXML. It can be used with free sources. Since you are in Canada, there's also ChrisGo's Environment Canada plugin. See here: https://forums.homeseer.com/showthread.php?t=169462 and here: https://sites.google.com/site/b123cdd/.

            Cheers
            Al
            HS 3.0.0.548: 1976 Devices 1156 Events
            Z-Wave 3.0.1.262: 123 Nodes on one Z-Net

            Comment


            • #7
              Thank you. I just spotted those after I posted.

              Comment


              • #8
                Originally posted by sparkman View Post
                You don't need a $0/month subscription for Weat.herXML. It can be used with free sources. Since you are in Canada, there's also ChrisGo's Environment Canada plugin. See here: https://forums.homeseer.com/showthread.php?t=169462 and here: https://sites.google.com/site/b123cdd/.

                Cheers
                Al
                Another vote for the WeatherXML plugin. It is probably one of the most sophisticated plugins period. Lots of things to configure. For example if you use the PHlocation plugin too, you can setup actions based on the weather where you are, not just where your house is.

                It is also mostly a set and forget plugin that seems quite stable most of the time.

                It does not hurt that the Author is closely tied to Homeseer (the company), and is quite responsive to issues.
                _______________________________________________

                HS3 : HSpro (3.0.0.460) on Win2012 (vm on ESXi)
                Plugins: HSTouch, UPBSpud, Kinect, Nest, IFTTT, DirecTV, EasyTrigger, Imperihome, Zwave, RFXcom, UltraMon3, UltraWeatherBug3, UltraGCIR3, UltraLog3, UltraPioneer, PHLocation, Pushover, Pushalot, MCSSPrinklers S, JowiHue
                Jon00 Plugins: Bluetooth Proximity, Performance Monitor, DB Chart, Links

                Comment


                • #9
                  Originally posted by aWanderer View Post
                  Actually, I found this PowerShell script here
                  http://michaelhalpin.azurewebsites.n...-co-ordinates/

                  Now I have to figure out how to get the data into Homeseer
                  Greg (Wadenut) has a great script which uses Enivionment Canada for weather information.

                  Even though I use WeatherXML, I find this script more accurate. Very simple to setup...

                  https://board.homeseer.com/showthread.php?t=151302

                  Robert
                  HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

                  Comment

                  Working...
                  X