[RELEASE 2/7/2019] Ambient Weather Station: Integration of a Network Connected Ambient Weather Station

smartapp_weather
dth_weather

(Kurt Sanders) #1

Today, I am pleased to provide the ST Community with the release of Ambient Weather Station V4.

Change-log & Version Release Features

New V4 provides supports for concurrent multiple instances of Ambient Weather® network stations and SMS alerts


This application provides:

  1. Integration of one’s network connected Ambient Weather Station and up to 99 Ambient temperature/hydro remote sensors into your SmartThings Environment.
  2. Access to ones’ local weather station data, regional weather forecasts, moon phase and weather alerts in the ST client Things List
  3. Control other ST home automation devices through SmartApps and/or WebCore pistons based on events from your network attached Ambient Weather station.
  4. Integration with Action Tiles for viewing selected weather attributes.
  5. A ‘No Background Tile Colors Option’ for Android o/s clients.

Weather Station Tile and Details View

Multiple Ambient Weather® Station Instances of Independent Operating Nodes

Allows for multiple Ambient Weather® system models or geolocation instances

Screenshots of Device Attributes

Ambient Weather® Station with multiple remote sensors

The installation instruction and software are the the Ambient Weather Station V4 GitHub Repository.

Requirements:

  1. A network connected Ambient Weather Station which connects to the Ambient Weather Network: (e.g. Model 2902A for example)

  2. SmartThings Hub

  3. Supported mobile device with ST Legacy Client

  4. A working knowledge of the SmartThings IDE

  5. Ambient Weather Station API Key (Required)

    • API Key String

    An Ambient Weather Station API Key is used to securely connect this program to your Ambient weather station data.

Ambient Weather Station V4 GitHub Repository

GitHub Repository Integration

Create a new SmartThings Repository entry in your SmartThings IDE under ‘Settings’ with the following values:

Owner Name Branch
kurtsanders STAmbientWeather master

Required Files in your SmartThings IDE Repository
These files below are required for V4 to operate. You will need to Update from Repo

IDE Repository Filename Status Version
My SmartApps kurtsanders : Ambient Weather Station NEW 4.0.0
My Device Handler kurtsanders : SmartWeather Tile Station Updated 4.0.0
My Device Handler kurtsanders : Ambient Weather Station NEW 4.0.0
My Device Handler kurtsanders : Ambient Weather Station Remote Sensor NEW 4.0.0
  • It is strongly recommended that all previous versions/files of Ambient Weather Station be removed from your ST IDE and only the V4 files from the above table are listed in your SmartThings IDE.
  • Note: V3 cannot be updated to V4 due to the extensive re-coding to accomodate multiple instances of Ambient Weather® Station nodes and SMS alerts. A fresh/clean install of Ambient Weather Station is only supported.

Personal weather station
Personal Weather Station Recmmendation
[RELEASE] Free Ecobee Suite, version 1.6.**
[RELEASE] Free Ecobee Suite, version 1.6.**
Weather API Changes
(Working on a secret project, are we, sir?) #2

Thanks !! This was the push I needed to upgrade my current station.


(Rick) #3

I keep getting…

You don’t have access to kurtsanders/STAmbientWeather.


(Kurt Sanders) #4

Are you accessing the master branch? The old ‘beta’ branch was merged into the master.

Name Value
Owner kurtsanders
Name: STAmbientWeather
Branch master

(Rick) #5

I go to my IDE, Device Handlers, Click on settings.

I see Github Repositories – Rickinfl
Under that I see my Owner, Name, Branch with my information in there.
Under that I click on Add new repository then add your information and I get that error message.
You don’t have access to kurtsanders/STAmbientWeather.

Not sure what I’m doing wrong.


(Kurt Sanders) #6

That is strange since my github repository is public and I tested and can access the repositories outside of SmartThings without authentication of my github or SmartThings credentials. Sorry for your issues, but I’m confident we can locate the error somewhere.

Let’s try a few things to finger this out.

  1. Let’s verify that you have entered the exact case sensitive owner name of KurtSanders and the case sensitive name of STAmbientWeather exactly making sure that you have upper/lowercase matching:
Name Value
Owner KurtSanders
Name: STAmbientWeather
Branch master
  1. If that still creates the access error, than please click on this highlighted link to verify that you can access and browse the files in my STAmbientWeather repository from a web browser. Please click on the files and see if you can see the groovy source code in the RAW form.

  2. If that fails, can you try to setup a new SmartThings update repository from the ST IDE of:

  • Owner: KurtSanders
  • Name: STBitBarApp-V2
  • Branch: master

(Rick) #7

Kurt,

Thanks, I got it working. I could browse your files. I tried the other Name and it failed also. I ended up disconnecting the Github and reconnecting and it worked. I got it added.
I browsed to my ambientweather.net page logged in and got the API key under my account had to create it then I emailed Ambient Weather Support for the Station Application Key.

Thanks for all your help.
Rick


(Kurt Sanders) #8

@Rickinfl :grinning: Glad you found the issue with the IDE. Great persistence!


(James) #9

Just got a AW unit for Christmas and this looks great :smile:

One question, by chance does it pull back info for additional sensors (like the WH31B)? The unit I have can service up to 8 additional remote temp/RH sensors like those.

Thanks!


(Kurt Sanders) #10

Dear @Moonshine,

The current Ambient Weather Station Tile V2, that I developed & support, does NOT pick up these additional remote temperature data values (temp1f…temp10f - Temperature 1…10, ºF ) returned from the ambientweather API.

SmartThings DTH’s must have a static number of tiles defined per DTH. In the current V2 DTH, I would need to create 8 different DTHs to display the potential number of WH31B’s units a person owned. This is not the best method to incorporate these additional sensors.

Ideally, a new Ambient Weather Station V3 DTH could be created to handle these remote temperature sensors in a master DTH with N child DTHs. The remote values from the WH31B would be displayed in separate ST devices so one could see them and initiate events based on changing values. Master/Child is how the devices like the Ecobee thermostat sensors work to handle and display their remote temperature sensors or Alarm systems with N number of window/door/motion sensors.

If I go this direction, I would need to test the V3 using your API Key and API developer code and we could PM these keys if this is a possibility when you get your system setup.


(James) #11

Yep… understood and sounds good. Still in vacation mode right now, but once I emerge, and am fully setup, I’ll contact you to see if you’re interested in taking it on. It will have the extra “indoor” sensor and 8 optional sensors connected. No problem on the API key, etc. Happy Holidays!


(Kurt Sanders) #12

Christmas and preparing for New Years Eve “modes” myself as well! Let’s connect when you are setup and we can start a PM.


#13

Thank you for your very well done directions. How do you get just the wind speed and UV index as a title in actiontiles?


(Kurt Sanders) #14

Dear @carlk1956

Here are the exposed weather sensors in the Action Tiles builder screen and their mappings to the Ambient Weather Station V2’s tiles. Action Tiles only recognizes SmartThings standard sensors and does not recognize the other custom capabilities that the Ambient Weather Station can report in the SmartThings Tile. Please also refer to the “Using STAmbientWeather V2 with ActionTiles Application” section in the Ambient Weather Station V2 Readme document.

I also recommend using a WebCore Piston in Tiles Mode to show any/all the Ambient Weather Station V2 Tiles.


#15

I screwed up and loaded the old device handler. Drove me crazy. So I started over and loaded V2. After reading your remarks kurtsanders would I be correct in saying that action tiles does not have the ability to show actual wind speed and UV index like webcore in an action tile?


(Rick) #16

Kurt, Anyway to get this to pull my other sensors attached to my Weather Station? I have 8 other temperature sensors attached to this unit.

Just thought I’d ask :slight_smile:

Thanks,
Rick


(Kurt Sanders) #17

@Rickinfl,

I will need to totally re-design the existing Ambient Weather Station V2 design to a V3 version, which would employ a SmartThings DTH master-child architecture for handling N number of Ambient remote sensors like @Moonshine requested below.

I will PM you about moving this design forward & testing.


(Kurt Sanders) #18

Dear @carlk1956,

Yes, you can. Please see the two ActionTiles I have pasted below for my local Ambient weather station data and overall city zipcode tiles. ActionTiles created a custom “weather” tile that you can use for your PWS data.

It then requires adding a new SmartThings Tile which ActionTiles can read. Please follow the “Using STAmbientWeather V2 with ActionTiles Application” section in my Ambient Weather Station V2 Readme document.


#19

Got it and am now using the tile which updates only every 30 minutes. So the only way to show wind mph is to use ST’s preset SmartWeather Station Tile. There is no way to have a tile called MPH or UV that shows the actual reading.


(Kurt Sanders) #20

@carlk1956, I have created a PM to discuss.