Giter Club home page Giter Club logo

stambientweather's People

Contributors

kurtsanders avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

stambientweather's Issues

Recommend requesting app key from user

Ambient Weather does have a 3 call/second limit on each app key. Other API tools have the user submit their own app key -- probably a good plan here, too.

Unable to save remote sensor names

When setting up the smart app on a Note 8, there is no option to save the remote sensor names. The only thing you can do is go back which clears all info and you have to start over.

Action Tile Show KPH

Hello, I have updated in GitHUB to latest version, however, on the Actiontiles it is showing wind speed in KPH. Can this be changed to MPH? In the smartapp in ST it is showing MPH.
image

image

image

Warn Flood on Hubitat

Once a minute I get this warning in my Hubitat log (the IP is for my Ambient Weather Station):

Received data from 192.168.0.162, no matching device found for 192.168.0.162, C0A800A2:321F, E09806A33362 or C0A800A2.

It's also odd that I get this every minute as I set it in the package manager to give me updates every 2 minutes.

Tile Not Working

capture

Kurt - Great application, I love this integration. Thanks for writing this and publishing it.

I checked the logging within the IDE and the data is being collected correctly. The outdoor temperature displays correctly on the My Home screen but when I look at the tile I get "Something's Wrong" error message. Hopefully the screen capture is attached. Any suggestions for trying to fix this?

java.lang.NullPointerException

I'm having the same issue as ThePunish3r was on android. I get a java.lang.NullPointerException but can't figure out from what line of code.

I understand you don't have Android, but am willing to try things out on my end if you have suggestions. Attached is a log file with all logging turned on.
screen shot 2018-11-20 at 10 22 45 pm

ST app tile missing most values

I've been using your Smart App+Handlers with success. I just updated to your latest Smart App and handlers and am having a problem. When I open the Weather Console tile in the ST App, I only see temperature and humidity. Gone are the illuminance and all other values. When I look at the history, I am able to show any of the values properly. If I try to create an automation and try to select a status from the weather console, only temp and humidity are available.

I have tried removing the devices, removing the device handlers, and removing the smart app. I also removed and reinstalled in the IDE but no luck. What am I missing?

Installation Issues

Using Hubitat Package Manager, all is well until the final phase of installation. Any insight here?

app:972020-12-18 10:43:37.705 errorgroovy.lang.MissingMethodException: No signature of method: user_app_kurtsanders_Ambient_Weather_Station_108.input() is applicable for argument types: (java.util.LinkedHashMap, org.codehaus.groovy.runtime.GStringImpl) values: [[type:text, title:Ambient Particulate Monitor PM25, defaultValue:PM25, ...], ...]
Possible solutions: inspect(), wait(), run(), run(), find(), any() on line 370 (remoteSensorPage)
app:972020-12-18 10:43:34.924 infoAmbient Weather Station: Mac: A4:CF:12:B4:ED:90, Name/Loc: North Third/La Conner
app:972020-12-18 10:43:28.776 infoAmbient Weather Station: Mac: A4:CF:12:B4:ED:90, Name/Loc: North Third/La Conner
app:972020-12-18 10:42:36.211 infoSUCCESS: AmbientStationData successfully updated for runID: 0
app:972020-12-18 10:42:35.994 infoAmbientStationData Time difference is 10 secs between last execution
app:972020-12-18 10:42:35.992 infoStart: AmbientStationData runID: 0 at 10:42:35 AM
app:972020-12-18 10:42:35.945 infoWaiting 10 seconds to Try HttpGet Again runID 0: Attempt #1
app:972020-12-18 10:42:35.930 debugAmbient Weather Station API Data runID 0: java.net.SocketTimeoutException: Read timed out
app:972020-12-18 10:42:25.725 infoAmbientStationData Time difference is 0 secs between last execution
app:972020-12-18 10:42:25.723 infoStart: AmbientStationData runID: 0 at 10:42:25 AM

No reporting of SOIL sensors (main console)

Didn't see any listing of soil moisture percentage. Did notice something called "water" but not sure if that is referring to soil sensor, and only displays "dry" no %

Great app. Thanks

Smartthings integration with Ambient Weather

I know the ST interface is no longer supported but I was hoping the old version might work. Can anyone help with this error I get when I try to create a DTH in ST>

Groovy.lang.MissingMethodException: No signature of method: script_dth_metadata_c9abfa57_b340_4468_8733_a494ea50ff57.appSetting() is applicable for argument types: (java.lang.String) values: [apiKey] Possible solutions: typeSetting(java.lang.String), typeSetting(java.util.Map), typeSetting(java.lang.String, java.lang.String), getSettings(), setSettings(java.lang.Object), typeSetting(java.lang.String, java.lang.String, java.util.List)

v6 SmartApp issues

I know you've been frustrated by the new app and if you are still working on the smartthings support I would appreciate your help.

I updated my SmartApp and DTH (from V3!) today and tried starting new to get my PWS setup in smartthings. I made sure to closely follow the instructions for setting up a new installation (I deleted all the old devices, DTH and SmartApp).

I ensured that the API key was entered correctly and the smartapp confirmed it.

I am able to find my PWS although the name adds "null" to the end of it, I confirmed this by changing the device name in AmbientWeather. So my PWS is "HootervilleRd" but in the smartapp it labels it as "HootervilleRdnull".

When I tap "done" it goes to a blank page.

Here's the output from the smartthings live logging.

78dc7896-f4c6-4719-b90b-1610fcae81f9 5:20:43 PM: debug Ignore invalid reports
78dc7896-f4c6-4719-b90b-1610fcae81f9 5:20:43 PM: debug levelEventHandle - currentLevel: 100 lastLevel: 100
78dc7896-f4c6-4719-b90b-1610fcae81f9 5:20:43 PM: debug attr: 8, value: 00, descValue: 0, FYRTUR block-out roller blind
78dc7896-f4c6-4719-b90b-1610fcae81f9 5:20:43 PM: debug description:- read attr - raw: EB4A0101020808002000, dni: EB4A, endpoint: 01, cluster: 0102, size: 8, attrId: 0008, result: success, encoding: 20, value: 00
a6ce7a7f-817f-4862-a6f8-59a12b05a435 5:20:40 PM: debug Parse returned [:]
a6ce7a7f-817f-4862-a6f8-59a12b05a435 5:20:40 PM: debug description: catchall: 0104 0020 05 01 0000 00 9887 01 00 0000 00 01
5:20:40 PM: debug description: catchall: 0104 0020 05 01 0000 00 9887 01 00 0000 00 01
4c689e45-5495-4884-9c79-51a8fddf53b7 5:20:40 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.util.ArrayList#getAt.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[interface groovy.lang.Range]
[interface java.util.Collection] @line 224 (optionsPage)

cc8c5ff1-5f58-43f5-9622-0e6587f6f57b 5:20:37 PM: debug healthPoll()
4c689e45-5495-4884-9c79-51a8fddf53b7 5:20:36 PM: debug The Ambient Weather API being used is: REDACTED
4c689e45-5495-4884-9c79-51a8fddf53b7 5:20:29 PM: debug AmbientStationData Time Difference is 0 secs between runs
4c689e45-5495-4884-9c79-51a8fddf53b7 5:20:29 PM: info Start: AmbientStationData runID: 0 at 05:20:29 PM
4c689e45-5495-4884-9c79-51a8fddf53b7 5:20:29 PM: debug NEW Ambient Weather API = REDACTED
a1c077da-6008-40f2-b7b1-a517a6b6df9f 5:20:28 PM: debug parsed event: [name:atmosphericPressure, value:101.1719, unit:kPa]
a1c077da-6008-40f2-b7b1-a517a6b6df9f 5:20:28 PM: debug description: read attr - raw: A2620104030C20002207700F, dni: A262, endpoint: 01, cluster: 0403, size: 12, attrId: 0020, result: success, encoding: 22, value: 0f7007
a1c077da-6008-40f2-b7b1-a517a6b6df9f 5:20:27 PM: debug parsed event: [name:temperature, value:79.3, unit:F, descriptionText:Living Room Porch Vent was 79.3°F]
a1c077da-6008-40f2-b7b1-a517a6b6df9f 5:20:27 PM: debug description: temperature: 26.29
85e9dfe6-d385-4397-8de1-a628155c0e4e 5:20:27 PM: debug Parse returned [name:temperature, value:73, unit:F, linkText:Guest Bathroom Heater, descriptionText:Guest Bathroom Heater temperature is 73°F, isStateChange:false, displayed:false]
85e9dfe6-d385-4397-8de1-a628155c0e4e 5:20:27 PM: debug value 2300
85e9dfe6-d385-4397-8de1-a628155c0e4e 5:20:27 PM: debug Desc Map: [raw:F5C31902010A000029FC08, dni:F5C3, endpoint:19, cluster:0201, size:10, attrId:0000, result:success, encoding:29, value:08fc, isValidForDataType:true, clusterInt:513, attrInt:0]
85e9dfe6-d385-4397-8de1-a628155c0e4e 5:20:27 PM: debug Parse description read attr - raw: F5C31902010A000029FC08, dni: F5C3, endpoint: 19, cluster: 0201, size: 10, attrId: 0000, result: success, encoding: 29, value: 08fc
ea6a8804-7e59-48a5-a3a3-9cfb72f66167 5:20:20 PM: debug parsed event: [name:atmosphericPressure, value:101.0695, unit:kPa]
ea6a8804-7e59-48a5-a3a3-9cfb72f66167 5:20:20 PM: debug description: read attr - raw: DCF60104030C200022076C0F, dni: DCF6, endpoint: 01, cluster: 0403, size: 12, attrId: 0020, result: success, encoding: 22, value: 0f6c07

Channel 1 battery

I have a WS-50 with 4 temperature sensors, no weather station. Everything seems to work fine with the exception that SmartThings does not see the battery for the sensor on channel 1. It does not even show as a property to display.

Thanks.

Temperature Units Off

Hi Kurt, I've been using your Ambient Weather station code for the last few days, and it's been so helpful. Thank you for creating it! I am bumping into one issue I wanted to flag. I'm using the New ST mobile app on an Android mobile device (Pixel 4). While I have selected Fahrenheit for my temperature unit and my weather station tile and individual sensors all show the numerical values in degrees Fahrenheit, most of them show "C" instead of "F" as the label. For example, my weather station is currently reading "78.6 C." I wasn't too worried about it since the numerical value is correct, but today I tried to create an automation that used the weather station temperature as a trigger, and it is only allowing me to enter values between -20 and 50. That seems to be bounded by Celsius, not a Fahrenheit scale. I thought about changing everything to Celsius to get the trigger right, but then it would mess up my link to ActionTiles where I'm showing my sensors (preferably in Fahrenheit). Any thoughts? I have tried installing the Old ST app and adding my weather station there, but no luck (same issue). I also tried reestablishing the preferences, but no luck there either.

Incompatibility with Android ST client

The Ambient Weather Tile DTH uses an extensive preference section to configure required features and API keys. Android devices running the classic ST mobile client do not appear to support a DTH preference section as I have developed it, where as iOS devices do work as expected.

I intend to re-write this Ambient Weather Tile into a SmartApp and a DTH to provide android compatibility, although I do not have such a device from which to test.

ConcurrentModificationException

app:7062019-11-17 14:56:07.713 errorjava.util.ConcurrentModificationException: null on line 1526 (autoScheduleHandler)
app:7062019-11-17 14:56:07.708 infobaroUnitsDisplay 		= mmHg
app:7062019-11-17 14:56:07.705 infomeasureUnitsDisplay 	= mm
app:7062019-11-17 14:56:07.701 infowindUnitsDisplay 		= kph
app:7062019-11-17 14:56:07.698 infotempUnitsDisplay 		= °C
app:7062019-11-17 14:56:07.689 infoProcessing Ambient Weather data returned from AmbientStationData)
app:7062019-11-17 14:56:07.686 debughttpget resp status = 200
app:7062019-11-17 14:56:07.678 infoSUCCESS: AmbientStationData successfully updated for runID: 7911

This is on Hubitat 2.1.6.118. The device never gets an update, when it is manually requested, this is logged:

dev:6112019-11-17 14:55:10.942 errorjava.lang.NullPointerException: Cannot invoke method refresh() on null object on line 501 (refresh)
dev:6112019-11-17 14:55:10.839 infoUser requested a 'Manual Refresh' from Ambient Weather Station device, sending refresh() request to parent smartApp

Multiple Ambient weather station units app force chooses the first unit

I have 3 separate Ambient weather units in multiple locations. When I generate the API key I have no control over which one I am generating for which I assume it generates for the overall account. Upon passing the API into the smart app it grabs the first unit on the account without giving me any option to choose which one I am looking to connect to through the smart app. Otherwise I get the data from the first unit correctly.

unable to add device

hello, i recently updated to the new version. upon update none of my devices were populating and after uninstalling/reinstalling i can't get past the select station page.

Android
Legacy ST client

Issue with a ST setup on the ST app tiles

Kurt,
I set up my Ambient weather WS-50 to Smartthings. When I look at the tiles on the ST app, my remote sensors only display the humidity. When I touch a tile and open up that sensor both temp and humidity are present, but the units for temp is "C", even though I'm using F and the numerical value is the F number, but with a oC after.
Bob

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.