Giter Site home page Giter Site logo

smartthings's People

Contributors

krlaframboise 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  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  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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smartthings's Issues

Hank RGB error on new Smartthings app

ST Classic works fine when changing colours, but when I try on the new ST app I see this error message in the logs.

groovy.lang.MissingMethodException: No signature of method: script_dth_3e9cf2977a2cfbbb838c3af2d154ffce1bf76b6e935140cf7dda9ccdaeb1a1b2.huesatToRGB() is applicable for argument types: (java.lang.Double, java.lang.Integer) values: [5.833333333333333, 74] @line 254 (setColor)

Consequently, This error also happens when trying to change the colour via Home Assistant's Smartthings integration.

I am using the most up2date device handler you have published on GH.

Zooz Zen76 switch driver is not working

I have several of these switches on firmware version 1.03 and just bought a new one with firmware version 10.00. None of them seem to work with the custom driver (at least with my v2 hub). In particular, when attempting to power on or off from the app, the operation times out and reports a network error. The switches with the 1.03 firmware all work fine with the Z-Wave Switch Generic driver (the 10.00 is a different story), but it would be nice to be able to use the advanced settings. I know this is not very much information to go on, I'm happy to debug further. Since I am the first one reporting this, there must be something specific to my setup I guess, but I can't put my finger on it. The obvious thing would be the older hub.

Problem creating Web App

Hello, thank you for creating this app, it seems really cool.

I am having trouble creating the google web app. I was sure to copy and paste the script exactly and I made sure to make the URL accessible to anyone. I have tried it a couple of times and I still get the following when I try to load the URL:

Sorry, unable to open the file at this time.

Please check the address and try again.

Any suggestions?

Thanks!

Error

HI

I get this error when I paste the code

No signature of method: script1498234467904925651483.metadata() is applicable for argument types: (script1498234467904925651483$_run_closure1) values: [script1498234467904925651483$_run_closure1@3b9a0ec5] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

No signature of method: script14982345943621299976176.metadata() is applicable for argument types: (script14982345943621299976176$_run_closure1) values: [script14982345943621299976176$_run_closure1@559621e7] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

No signature of method: script14982347167072094798852.metadata() is applicable for argument types: (script14982347167072094798852$_run_closure1) values: [script14982347167072094798852$_run_closure1@5cf8d882] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

Ecolink door/window sensor with ST3 hub configured chime repeats twice

Configured Dome DMS01 on ST3 to chime once as a custom rule when ecolink (DWZWAVE2.5-ECO) zwave plus door sensor gets open state. Defined it as a custom message "bell1". It gets triggered successfully however instead of configured one time chime it repeats twice each time the door opened.

Learning seems not working well

I can only learn key for the first time. If I learn the second key, no matter I've tried it failed. Please see the logs below. I pressed the Learn button, and then tap the EP2. But then two buttons turned to default mode, and nothing happened.

// Pressed the EP2 Button
4:26:21: trace Executing pushLearn()
4:26:21: debug Cancelling Learning because button 2 was pushed while learning button 1

// Pressed the Learn button
4:26:14: debug Learning On Push Button (1-9)
4:26:13: trace Executing pushLearn()

Error Creating App

Read a closed issue about this, but even selecting RAW this still does not get accepted.

No signature of method: script1482558329397386385218.metadata() is applicable for argument types: (script1482558329397386385218$_run_closure1) values: [script1482558329397386385218$_run_closure1@31de2212] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

Cannot create device handler

I copied and pasted the code for Aeon Labs Doorbell into the 'From Code' option, and received this error message:

Org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: script14738009978891708824013.groovy: 107: expecting '}', found ',' @ line 107, column 27. 107 attribute "lastPoll", "number" ^ 1 error

Can you help?

Using Zen72 S2 in WebCore

Do you have or know of any examples for using this DTH in WebCore?

In the SmartThings IDE I can see the button parameter changing to things like up_3x, down_2x, etc… as I tap the paddle, but I just cannot seem to figure out how to check that in WebCore.

Any help would be appreciated.

Can't view devices after enabling Notifications

Once I turn on notifications for battery level I can no longer view the list of devices. This error shows up in the live log.

groovy.lang.MissingMethodException: No signature of method: physicalgraph.app.ContactProfileWrapper.hasCapability() is applicable for argument types: (java.lang.String) values: [Battery] @ line 385

Parameters 10, 11, 12

Hi,

Thanks for posting that many good device handlers.
I am using the neo coolcam motion sensor that you posted recently.
However I have a problem that the sync does not work for 2 PIRs. I started looking more in detail and found that the parameters 10,11,12 are somehow different in the manual than in the device handler.
The manual says that parameter 10 is "led blink enable", which is parameter 11 in your device handler.
I cannot find param 11 and 12 in the manuals (at least not in the EU ones).
Furthermore, with the device handler, we tried to disable the led, which does not work, so I suspect the problem is related to the parameters.
Could you have a look at this?

Thanks

Eric

Simple Event Logger Error 404

Good Morning, I just installed your app. I'm not getting any data in the spreadsheet and when I check the live logging in the Smartthings IDE I get
Unexpected response from Google Sheets Web App: Failed with status code 404
Any suggestions?

Thanks,

Paul

[Request] How to make power consumption table

I'm hoping you can assist me in creating a pivot table, or chart (excel or google sheets) to calculate my KWH per day/month. I can then multiple it by my power cost ~.086.

Right now I am logging my power every 5 minutes.

Zooz Power Switch missing voltage

Kevin,
As always, thanks for the great DTH's. I got a Zooz Zen15 a couple months ago and have just been running the default ST handler until now. I finally got some free time to play and switched over to your Zooz Power Switch DTH to see what I've been missing. Everything looked great except no current or voltage display. I played with the default reporting parameters and quickly got a response from everything except the voltage display after saving again. After giving it time to update all of the parameters and trying different reporting timings, voltage was still a no show. I uncommented the log.trace and started watching the log to see if it was being reported at all but never saw voltage. Looking at my device view, I noticed that there was no state variable for voltage either.

Since voltage rarely changes much, I wondered if your change a couple months ago to comment out "isStateChange: True" had prevented the creation of a variable for voltage in the first place, given that I hadn't had such a state variable when using the ST DTH. So I uncommented the isStateChange line and sure enough, my voltage showed up immediately. So I think the DTH needs a slight tweak for new users to make sure all state variable get created with a value in the first place before avoiding adding duplicate events for numbers that rarely change.

Thanks

dome siren - smartthings - excessive beeping

Have the siren configured per documentation....
DTH is installed.

When first installed, it worked great.
Over the months it randomly will beep upwards of 8 times when a door is opened. The default, expected behavior is to beep a single time when open and once more when closed.

Seems to get stuck in a beep mode.... drives us crazy!
If there is anything I can do to provide logs...etc, please let me know.

WD100 Driver and button actions

I updated the WD100+ dimmer driver. Now that there is only 1 button, a list of actions (i.e. up_2x), I do not see these in the options when using WebCoRE pistons.

how does the piston programming change to accommodate this?

Any advice? Not sure if DTH related?

In the last week or so, weird thing going on - never seen before with any devices in my 6-7 years on Smarthings:

Turn HS-200 switch on with paddle tap up, switch turns on and then it turns itself off (sometimes with delay). The only warnings I see in live logging are all related to the HS 200's using this DTH (see below - all of these device IDs are HS switches).

Any ideas?

Thanks,
David

a6117f43-a308-40c6-90a2-1f4ba64ad0e3 6:05:35 PM: warn unable to parse targetValue from 'zw device: 15, command: 2603, payload: 63 '
610cc1a7-9f1f-4929-9563-4a8b4a25581e 6:05:35 PM: warn unable to parse targetValue from 'zw device: 17, command: 2603, payload: 00 '
c5fd1ad4-94cb-4ad4-b993-221c0bf579af 6:05:35 PM: warn unable to parse targetValue from 'zw device: 16, command: 2603, payload: 63 '
c5fd1ad4-94cb-4ad4-b993-221c0bf579af 6:05:34 PM: warn unable to parse targetValue from 'zw device: 16, command: 2603, payload: 63 '
610cc1a7-9f1f-4929-9563-4a8b4a25581e 6:05:34 PM: warn unable to parse targetValue from 'zw device: 17, command: 2603, payload: 00 '
c5fd1ad4-94cb-4ad4-b993-221c0bf579af 6:05:34 PM: warn unable to parse targetValue from 'zw device: 16, command: 2603, payload: 63 '
610cc1a7-9f1f-4929-9563-4a8b4a25581e 6:05:34 PM: warn unable to parse targetValue from 'zw device: 17, command: 2603, payload: 00 '

No issue.. Help please?

Hi,

My IT team is unavailable to assist with my problem until July, so they suggested I follow the instructions below. I've done that but my data is not showing up in the google sheet. The only thing I can identify that might be wrong is the arbitrary: "Maximum number of events to log for each device per section: When the SmartApp Executes it retrieves between (1 and 50) events from the device since it last ran depending on this setting. Setting this number too high may cause the SmartApp to reach the 20 second execution limit and setting it too low may result in some events not getting logged." I am not an IT person and I have no idea how to troubleshoot or even beginning finding out why. Can anyone help?

Logging events from previous dates

Great work! I was wondering if there is a way to log events from previous weeks that are already present on the smart things hub. The google sheet starts reading from the day the app is published in the smart things hub.

Siren won't sound if strobe is already on

I have a smartapp that turns the strobe on whenever the security system is armed.
When the strobe is on and a both() command is issued (i.e. an intrussion is detected) the alarm doesn't sound.
I have managed to "fix" the problem by adding:

result << zwave.basicV1.basicSet(value: 0x00).format()

to line 379 inside turnOn of current version (1.6) to force an off before any other command.

It works, but I don't love the solution. I'm still trying to fully understand your code in order to make a cleaner solution.

How to add new sensor type?

Hello, I am a non-professional in the field of coding. We are using the application you provided us to do research on the current indoor environment.

I am using an air monitor officially released by Samsung (ACM-B1M0S).
In addition, we plan to add a door sensor if possible.

In this situation, if someone want to log PM2.5 (also PM10, PM1.0) sensor value and door open/close, or another sensor, what part of the provided code can be changed?!

Also, I set the logging event to 1 hour in the SmartThings application on my smartphone, but I need help in a situation where data is being sent to the sheet every 15 minutes. I'm asking if it's possible to send data every hour on the hour.(00:00:00, 01:00:00, 02:00:00, ...)

Sorry for the basic and unprofessional question. Thank you for providing a useful application. It's a cumbersome question, but if you answer it when you have time, it will be of great help.

Zuno Smartthing Device Handler

Hello Kevin, I need some help to develop a Device Handler for ZUNO. My project is to control 8 relays and display a temperature for my private pool. Arduino code isn't a problem for me. But I didn't understand how to create a multi-tile for mobile with the new Smartthings like you done with the zooz multi-relay. Let me know if you're willing to help me.

getLxConversionData

Hello, I am curious as to the source of the conversion table used in getLxConversionData(). Would you happen to remember where this data was sourced from? Thanks.

Is there App Code to go with your zooz power switch & double plug drivers?

Please forgive my ignorance in advance. I am new to habitat and smartthings and wish to generate a consolidated utilities report for energy usage/cost across multiple zoos power switch and double plug devices and your code looks like an excellent start.

I have imported zooz-double-plug.groovy & zooz-power-switch.groovy into Habitat(main menu)->Advanced <> Drivers Code without issue.

Do you have any ajoining app code which I can import into Habitat(main menu)->Advanced <> Apps Code to pair with these two drivers to get things going?

I got a centrality 3400 Keypad

I don't have the code to be able to use it with the SmartThings hub.
I got the Dime siren setup with my centrality door sensors and it works but I need to setup something for a self monitoring alarm.

I used your code for the dome siren and it works perfect.

Dome - Smartthings:. Chime not working

I just installed and connected my done Siren, and the interface has changed. There is no longer any option for a chime, just strobe, siren, or siren + strobe. Any clue?

Alarm stopped working with device handler since last smartthings update

Hi,

I have two zipato multisiren alarms that worked perfectly with your device driver.
There was a firmware update on the EU smartthings hub last week and both stopped working.
None of the commands worked.

I rebooted the hub this made no difference.

I switched to the basic aeon siren and it worked, although this only has alarm on and off and no beep command which your one had.

Do other people have the same issue ?

Do you know what I can do to resolve this as your driver was great.

Ecolink Motion Sensor

I'm using the IDE for the Ecolink Motion Sensor 2.5 Z-wave plus. I"m seeing that this is always in tamper detected from the ST Classic app. However, from the IDE console it show CLEAR.
battery: 99 %
motion: active
checkInterval: 65100
tamper: clear
lastCheckin: 07/28/2018 12:02:32 AM
However, the TEMPER is organ and not clear according to the code. Please let me know if I'm off base.

Thanks.

zooz 4-in1 sensor

I am using your device handler for this motion sensor and it is working great! Thank you! However, when I try to setup a piston in CoRE and I try to set the illuminance setting, CoRE uses Lux but the device handler is using % of light. Anyway to get the illuminance to work correctly in CoRE?

Duplicate log entries

I set things up on Nov 25. Two days later, I noticed that some events have duplicate entries. See attached.

2020-11-28 09_36_57-SmartThings Event Log - Google Sheets

Is there a way to eliminate the duplicates?

Aeotec Doorbell v 1.12

I was successful in getting the DH and loading it within my Smartthings Hub but the "Doorbell" shows "OFF" and I can not get an automation to trigger it, nor can I get it to show "ON" within "Things" for some reason. I can go to the "Doorbell" and manually press any of the 3 buttons for sound but that is it.

Any suggestion/help would be great!

Thx

Any plan to integrate with Flo?

I was wondering if you would be interested in adding Flo to SmartThings.

https://meetflo.com/

Flo is a water monitoring and shut-off system that proactively detects micro-leaks and other vulnerabilities anywhere in your homes water supply, preventing costly damage by giving you the tools to stop damage and better maintain your home.

Ecolink motion sensor sending multiple events to handler with V3 HUB

I'm using the latest 2.5 plus motion sensors from ecolink with the V3 hub. My smartapp callback is getting to 2 'active' or 2 'inactive' to the callback handler which I can't filter out. Its only a problem with the 2.5 plus with V3 hub. 2.5 Plus with V2 is not a problem and the older sensors work fine with the V3 hub.

I've tried state variables (can't use atomicState since I have extensive state code done). I like the sensors because the battery life is excellent.

Any ideas?

Thx!

No Bell, chime, or siren.

No bell, chime or siren is available. The only thing that is available is alarm. When I try one of the other buttons it says in the log:

Unable to start chime because alarm is on or pending.

Thank-you!

Log Does Not Include "Displayed Text" Column From Web-Available Log

Checking into the web interface for the SmartThings hub and looking at the event logs shows a column "Displayed Text." While that generally only seems to be some sort of more verbose verbal description of the data in the prior columns, in at least once case it is the exclusive source of important data:

My Schlage Front Door lock will generate entries when unlocked by code like this:

Date: 2017-09-21 4:03:21.122 PM EDT 1 hour ago
Source: DEVICE
Type:
Name: lock
Value: unlocked
User:
Displayed Text: Front Door was unlocked with code 4

In the SmartThings Simple Event Log that becomes:

09/21/2017 16:03:21 | Front Door | lock | unlocked | unlocked

The information about who unlocked the door (or at least whose code was used) gets lost. That seems a shame.

Any way to fix this?

Error when creating app

Thanks for creating this app. I am new to the process of loading apps for SmartThings but get the following error when trying to create/publish your app for my use:

No signature of method: script14765916065191527942943.metadata() is applicable for argument types: (script14765916065191527942943$_run_closure1) values: [script14765916065191527942943$_run_closure1@560dd057] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

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.