Code Monkey home page Code Monkey logo

jcdevhandlers's Introduction

jcdevhandlers

My repo for smartthings device handlers and smartapps (although the directory name implies just device handlers)

Many people have asked for my PayPal info, so I thought I'd post it here in case anyone would like it:

http://paypal.me/JohnConstantelos

jcdevhandlers's People

Contributors

constjs avatar imnotbob avatar jsconstantelos 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

jcdevhandlers's Issues

Negative values

Hi,

Is there a reason you don't accept negative values? I've just had solar installed and wonder how I can see what Im exporting. I see there are some github projects that were made to specifically report negative values for solar generators but they haven't been maintained in years; i wonder if you would support it at some point?

Many thanks for all your good work!

DTH Error - My GE Fan Control (Refresh Tile)

Hello,
I just started using your latest "my ge fan control" DTH which is working very well, thanks!

Thought you might want to know I get the following error in my Smartthings Live Log, every time I push the "Refresh" tile in the app.

7‎:‎45‎:‎26‎ ‎AM: debug Parse returned [Office Fan switch is on, Office Fan level is 99%]

7‎:‎45‎:‎26‎ ‎AM: debug parse() >> zwave.parse(zw device: BB, command: 2603, payload: 63 )

7‎:‎45‎:‎24‎ ‎AM: error groovy.lang.MissingPropertyException: No such property: value for class: physicalgraph.zwave.commands.manufacturerspecificv2.ManufacturerSpecificReport

7‎:‎45‎:‎24‎ ‎AM: debug parse() >> zwave.parse(zw device: BB, command: 7205, payload: 00 63 49 44 31 31 )

7‎:‎45‎:‎24‎ ‎AM: debug Parse returned [Office Fan switch is on, Office Fan level is 99%]

7‎:‎45‎:‎24‎ ‎AM: debug parse() >> zwave.parse(zw device: BB, command: 2603, payload: 63 ) 6df07b9b-5500-4af3-bd3d-5da1843b9802

7‎:‎45‎:‎24‎ ‎AM: debug refresh() is called

My Zigbee Valve configure Tile not working

When I press configure, nothing happens and the following is reported in the log

6:57:22 PM: debug Parse returned null
6:57:22 PM: info catchall: 0000 8021 00 00 0040 00 F5B5 00 00 0000 00 0E 00
6:57:20 PM: debug configure()

Error for "switch on" smart app

Found an error in the code. I am using your notify on switch on and off apps! The "off" one works fine. I couldn't figure out why the "on" one was not texting me. Reviewing the code from notify-me-when-a-switch-turns-on.groovy, looking at line 43:

if (lastSwitch == 'off') {

I changed "off" to "on" and it all started working as expected.

Thanks!

DuplicateKeyException when adding code via IDE

After trying to create a new custom device handler via the IDE, I'm getting this exception:

Org.springframework.dao.DuplicateKeyException: a different object with the same identifier value was already associated with the session: [physicalgraph.device.CapabilityDeviceType#physicalgraph.device.CapabilityDeviceType : (unsaved)]; nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [physicalgraph.device.CapabilityDeviceType#physicalgraph.device.CapabilityDeviceType : (unsaved)]

I don't have this device type already added. This post from Tim Slagle seems to indicate it might be using a capability that isn't valid any longer? https://community.smartthings.com/t/creating-new-device-type-causes-an-error/28724/5?u=justintime

'My Virtual Temp Tile' not working...how to configure?

Using your DH as referenced here: https://community.smartthings.com/t/mqtt-bridge-device-app/37466/277
By "I updated the top section of the script" I am assuming that 'the script' is the stjohn SmartApps script, and that once I save it, I have to 'Publish >> ToMe' in order for it to use the modifications you lay out. I then created a new Device using your 'My Virtual Temp Tile' code, and used that in the 'Type' field of the Device. What happens next is not clear to me. I went to my ST App on my phone, and added this new device to the 'Temperature Measurement' section of my MQTT Bridge SmartApp and Saved. AT this point, I needed to wait 15 minutes for ST to tell my mqtt-bridge software to subscribe to the 'smartthings/MyTempDevice/temperature' topic. The mqtt-bridge is now passing the data over to ST, and I can see my MQTT temp data in the event log of the MQTT Bridge device.....but nothing in your driver's event log. What am I doing wrong?? Thanks for your help :)

Kwh and cost not showing up

Hello,
The KWh and coat doesn't show up in the dashboard. See snapshot below.
Any idea why they are not showing up and only shown as '--'

Thanks
Rami

Doesn't work with ActionTiles

Hi,

Thank you for creating this device handler for the Home Energy Monitor Gen1 at https://raw.githubusercontent.com/constjs/jcdevhandlers/master/devicetypes/jscgs350/my-aeon-home-energy-monitor-gen1.src/my-aeon-home-energy-monitor-gen1.groovy
I tried several and this is the only one that worked. However, I'd like for it to work with ActionTiles. I contacted their support and here's a cut and past of Terry's reply.:

_As a "Works with SmartThings"™ partner, we try to be compatible with Things that conform to SmartThings standards.

In this case, the Device Type you linked to does not appear to be using the standard Attribute names required for Capability "Energy Meter" and Capability "Power Meter".

Here are the specs:

http://docs.smartthings.com/en/latest/capabilities-reference.html#energy-meter
http://docs.smartthings.com/en/latest/capabilities-reference.html#power-meter
In the DTH you linked...
attribute "currentKWH", "string" // Used to show current
kWh since last resetattribute "currentWATTS", "string"// Used to show current watts being used on
the main
tile
The above need to be named "energy" and "power" respectively, and must be NUMBERS only._

I'd really appreciate it if you could implement these changes so it is compatible with ActionTiles.

Thank you,
Steve Smith

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.