Coder Social home page Coder Social logo

smartthings's People

Contributors

bhaggs avatar idyedov avatar robertvandervoort 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

smartthings's Issues

I can't close garage door over MQTT

I'm using https://github.com/stjohnjohnson/smartthings-mqtt-bridge, and I can open my garage door, but I can't close with MQTT
I've got Aeon Garage Door - RV v0.1, MQTT bridge, and I've tried a lot of commands, like OFF, off, CLOSE, close, 0, 1, CLOS, clos

mosquitto_pub -h localhost -p 1883 -u user -P pass -t 'smartthings/garage/door/cmd' -m 'open' opens the garage door, but I couldn't send any command to close the door

Robert

Thank you for your work on the Doorbell. I followed the instruction directly on Smartthings and on Aeon's site. I just can't seem to get notifications working, and the settings don't seem to be updating the device either. I push the doorbell - I still hear sound 1, and it still rings 2 times, despite what I've setup in settings. I bought the doorbell in hopes that I can connect to SmartThings and get a simple push notification - but the "Notify me When" app doesn't work. Any help?

Error Refreshing Page

I have been having this issue on two separate SS6 fw 1.0.3 for quite a while now. When I try to do a secure join the LED glows red for more than 2 seconds supposedly indicating it failed however ST app at some point says it found something. It recognizes the SS6 as the Aeon Light Bulb so I save it, configure it and then go to the IDE to change the device handler to the one you wrote. The device works normally however I am unable to change the settings as I keep getting "Error Refreshing Page". I set the missing settings through the IDE for ledBehavior, ledBrightness and monitorInterval however I am still unable to access the settings.

I have gone through this several times as these 2 SS6 devices seem to occasionally crash (especially if controlling inductive loads - white noise machine) and when they do they wreck havoc in my zwave network. Everything starts failing and the network repair pretty much lists 100% of my 90 or so devices.

I explored options with Aeotec (they had me update firmware to 1.03) but the issues remain. Could it be the device handler?

Can't pair Multisensor 6 with SmartThings

Where is the "inclusion button"? The Multisensor 6 doesn't have any physical buttons and the SmartThings Hub only has a reset button. If I try to pair a new device on the SmartThings hub the hub doesn't see the sensor.

Contact Sensor

Iโ€™m wondering why using this handler makes the multisensor show up an available contact sensor in SmartThings.

6df614b7-fbe6-4319-9ab3-bfb6b3668b74

Not named .groovy

Since the files aren't named .groovy, SmartThings' GitHub integration doesn't see them. You might want to consider moving to .groovy filenames and using release tags to mark your versions instead of having distinct files.

Incorrect fingerprint causing the SS6 to be recognized as AEON LED Bulbs (next best matching fingerprint)?

For a while now, whenever I try to do a secure joining of my two AEON Smart Switch 6 they are consistently recognized as AEON Led Bulbs. I read up on fingerprinting and if I understand correctly the old system would find a match between the classes listed in the fingerprint and the available device handlers. It doesn't need to be a complete match and it settles on the one that has the most matching elements. Even a single class listed in the fingerprint that should not be there will prevent the device handler from being selected.

I am suspecting that there is something wrong in the fingerprint of your device handler but I do not know what. Following the very basic instructions in the following post I reconstructed what I believe to be the correct fingerprint (at some point this only worked with hub v2, but ST may have added this to v1 as well - do not know).

Once I changed the fingerprint in your device handler as shown below, ST was actually able to find the correct device handler. I am certain there is still something wrong in my fingerprint as I believe it joined using the insecure method and it is stuck in the "not configured yet" mode... so I also can't access the 'gear' settings page. However the device seems to work.

Could you kindly review the fingerprinting so that ST can actually recognize the device for what it is?

https://community.smartthings.com/t/new-z-wave-fingerprint-format/48204

    /*
        Z-Wave Command Classes
        Model: Smart Switch 6 (ZW096-A02)
        Z-Wave Certification Number: ZC10-15050012

        Supported Command Classes 

                0x27 All Switch 
                0x85 Association 
                0x59 Association Group Information 
                0x20 Basic 
                0x81 Clock 
                0x33 Color Switch (could it be Color Control??)
                0x70 Configuration 
                0x5A Device Reset Local 
                0x7A Firmware Update Meta Data 
                0x72 Manufacturer Specific 
        0x32 Meter 
                0x73 Powerlevel 
                0x98 Security 
                0x25 Switch Binary 
                0x26 Switch Multilevel 
                0x86 Version 
                0x5E ZWavePlus Info 

        Controlled Command Classes 

                0x20 Basic 
                0x82 Hail 
                0x25 Switch Binary 

*/

    //zw:Ls type:1001 mfr:0086 prod:0103 model:0060 ver:1.03 zwv:4.05 lib:03 cc:5E,86,72,98 ccOut:5A,82 sec:25,26,33,70,27,32,81,85,59,7A,73 role:05 ff:8700 ui:8700
           //zw:L type:1001 mfr:0086 prod:0103 model:0060 ver:1.03 zwv:4.05 lib:03 cc:5E,25,26,33,70,27,32,81,85,59,72,86,7A,73,98 ccOut:5A,82 role:05 ff:8700 ui:8700

    //fingerprint deviceId: "0x1001", inClusters: "0x98"
    //fingerprint inClusters: "0x25,0x26,0x27,0x32,0x2C,0x2B,0x33,0x85,0x56,0x59,0x5A,0x5E,0x70,0x72,0x73,0x85,0x86", outClusters: "0x82"
    fingerprint mfr: "0086", prod: "0103", model: "0060"
    fingerprint type: "8700", cc: "5E,25,70,27,81,32,26,33,59,85,72,86,7A,73,98,5A,82" //Leaving out EF in cc as it doesn't appear in Raw Description
    fingerprint cc: "5E,86,72,98", sec: "25,26,33,70,27,32,81,85,59,7A,73", secOut:"5A,82" //Leaving out EF in cc as it doesn't appear in Raw Description

Device only reporting Lux, Temperature, etc 1x per hour despite seeing 300 seconds in code

Hi Robert,
I have integrated v1.4 of your Device Type (Thank you for this by the way!).
I noticed that I only get 1 update per hour despite the fact that you've set it up to wake up every 5 minutes and report values back. I could use to help debugging that.

Also, one other thing (it's by design I think). If the illuminance has not changed since the last wake up, it's not reported. That is causing me some issues as it can go many hours between illuminance events. Can there be an option to have it report status no matter what the last status was?

The folks at Aeon support want to me to feedback the findings to them.

Thanks in advance,
Mike

Settings don't seem to change anything

Just got 3 MS6's and all exhibit the same behavior. I'm using v2.2 of code and even tried reverting to 2.0 and 1.5 but no change. Issue is that I set tempoffset either in webapp or ST app to some value but displayed temp never changes. (using USB reported temps are ~+5F from actual, and when on battery temps are ~-2F. weird.)

one thing I noticed in the logs is for ENTITY_UPDATE it shows name=DeviceUpdated,changed=false. does that mean my changes aren't taking? (b/c that's what it seems like). I do see the updated values in both the webapp and ST app, but the temp never really offsets.

also much like the OP on the previous thread no matter what I set ReportingInterval to, it only reports every hour. any help is appreciated. thanks!

Aeon Doorbell - error creating in IDE

I am trying to create a new SmartApp in my IDE from your code "V 0.3 of Aeon Doorbell code 11/24/2015". When I cut and paste the code and click "Create" the following error appears at the top of the page:

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

With this error I am unable to proceed to publish.

Tried v2 and v1 of your code - same result.

I am very much a novice user and I have no coding experience. Not sure if this is something I am doing wrong (although I have create several SmartApps via "cut and paste" like this before without issue), or a typo in the code that someone who understands code could readily fix, or what. Hope you can advise.

(PS: I am hoping this code/SmartApp will allow me to use a MyQ sensor on my garage door [already integrated via another SmartApp] to trigger the Aeon Doorbell when the garage door first opens, and not repeatedly trigger the doorbell while the door is open.)

Question : Does your code work with updated firmware 1.07

Hi,
I recently updated ONE of my multisensor6 firmwares to 1.07 which fixes the following :

  1. Lux and UV accuracy/sensitivity improved
  2. Accuracy of Temperature and Humidity sensor accuracy improved while used on USB power
  3. Added Configuration settings and changes

I had to reset the sensor before firmware update... so when added back to ST hub it defaulted to the standard device handler.. after which i linked it to your code :- Aeon Multisensor 6 - RV 2.3

Although the device appears operational, when i go to device settings via ST app I can see that there are 3 NULL parameters AFTER Report data interval.

On my non upgraded multisensor6 (with your code) I see 10 additional parameters values AFTER Report data interval.

Also it seems although i have setup a humidity offset.... the offset value is not being reflected.

So this is just a quick check to see if you have tested... or heard of anyone else using your code with updated multisensor6 firmware.

From IDE this is what Preferences i see in each case using your device handler code.

Pre firmware update (on 1.06)

Name Type Value
HumidChangeAmount 10
HumidOffset 0
IllumChangeAmount 10
MotionReset number 20
PIRsensitivity number 3
ReportingInterval number 300
TempChangeAmount 2
TempOffset 0
debugOutput boolean false
humidityoffset number 3
luminanceoffset number 0
motionDelayTime 30 seconds
motionSensitivity 3
reportInterval 5 minutes
tempScale C
tempoffset number -4
tzOffset -10
ultravioletoffset number 0

Post firmwmare update (on 1.07) :-

Name Type Value
MotionReset number 20
PIRsensitivity number 1
ReportingInterval number 300
debugOutput boolean false
humidityoffset number -3
luminanceoffset number 0
motionDelayTime null
motionSensitivity null
reportInterval null
tempoffset number 0
ultravioletoffset number 0

Cheers
cvee

Compile Error: Aeon Smart Switch 6-v0.4 ANDROID

Hi Robert,
SmartThings/Aeon SmartSwitch 6/device_type-aeon-smartswitch6-v0.4-ANDROID gives a compile error when adding a DTH to the IDE:

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
script14862343877762075700318.groovy: 100: expecting '}', found ',' @ line 100, column 26.
input "monitorInterval", "integer",
^

1 error

Zooz 4 N 1 Default tile change

Is it possible to change the default tile view in the Zooz 4 n 1 device handler? Currently by default its motion i would like to change it to temperature if possible. I tried editing the default primarytile options but i was unsuccessful.

SM>My HOME>THINGS> Sensor Value

Thanks
James

Aeon SmartDimmer 6 DTHs not implementing Color Control properly

The three DTHs supporting Aeon SmartDimmer 6 implement Color Control (to change the LED color), but do not implement all of the required attributes and commands of the capability. The capability reference identifies attributes hue and saturation as required as well as supporting setHue and setSaturation. Currently, the DTHs are only supporting color and setColor.

There are built-in utilities to convert to/from color to hue/saturation:

From color hex to hue/sat:

def hsv = colorUtil.hexToHsv("#FFFFFF")
def hue = hsv[0]
def saturation = hsv[1]

From hue/sat to color hex:

def hue = 100
def saturation = 100
def color = colorUtil.hsvToHex(hue, saturation)

Aeon Smart Dimmer 6 - RV v0.1-ANDROID

Hello when I attempt to install this code i get this error message "org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
script1487229977067553401949.groovy: 122: expecting '}', found ',' @ line 122, column 26.
input "monitorInterval", "integer",
^

1 error"

If you can offer some assistance I'm running Firmware 000.016.00013 on my Hub

Java NullPointerException

First, thinks for digging into the Aeon Multisensor 6 while Smartthings is catching up.

I have installed the code. However, I'm getting an error in both the simulator and in when I test in the IDE with the actual device:

java.lang.NullPointerException: Cannot invoke method toByteArray() on null object @ line 280

This error also keeps me from setting the device type in "My Devices".

As near as I can tell, there isn't an explicit toByteArray call in the code - must be something getting passed in.

Acceleration/tamper sensor not firing

Hi Robert,

I was able to add the sensor as a vibration sensor to SmartThings. However I have been unable to get the sensor to trigger. I can shake the sensor in my hand but I don't see the sensor change state in the live log or when looking at the device directly under My Devices. Do I need to change a setting? I have uninstalled and reinstalled the device.

Cheers
Gregg

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.