asishrs / smartthings

SmartThings Custom Integrations
MIT License
13 stars 26 forks source link

Child Devices not Updating #6

Closed GitHubGoody closed 4 years ago

GitHubGoody commented 5 years ago

I'm using the @javier-jm fork (https://github.com/javier-jm/smartthings). Initially, it was working decent showing the child devices as separate things. But, SmartThings Classic kept showing the Device as a new Thing to add. At some point, I decided to try it and most of the functionality stopped working. So, I disconnected all integrations, deleted the Smart App, children devices, and primary device. Then, I added the 'Ring Alarm With Sensors' back as a device and republished the SmartApp.

Now, none of the child devices are their own thing in SmartThings Classic AND their child tiles in the parent device only updates for the motion sensor even though they all show accurate status in the IDE. Here's a screenshot of the messages I'm getting when I open and close a contact or motion sensor: IMG_6951

Any ideas how to restore all functionality including child devices as things?

Thanks.

javier-jm commented 5 years ago

I had this same problem and staying away from the "Add new thing" prevented it from happening again. Will have to take a look on how we can avois the RingAlarmWithSensors to show there if it's already added.

Anyway, what I did was removing the alarm from all it's integrations and then removing the device itself. This will uninstall all child devices too. Then I created the device again via the IDE, updated with the correct preferences and checked the logs/notifications to confirm it was polling and updating the child devices.

I have been staying away from add a new thing until I have time to dive into it.

Also make sure you are adding the device as RingAlarmWithSensors if you are using my fork. The logs could tell you more (after update it will uninstall and reinstall everything).

On Tue, May 14, 2019, 9:25 PM afgoody notifications@github.com wrote:

I'm using the @javier-jm https://github.com/javier-jm fork ( https://github.com/javier-jm/smartthings). Initially, it was working decent showing the child devices as separate things. But, SmartThings Classic kept showing the Device as a new Thing to add. At some point, I decided to try it and most of the functionality stopped working. So, I disconnected all integrations, deleted the Smart App, children devices, and primary device. Then, I added the 'Ring Alarm With Sensors' back as a device and republished the SmartApp.

Now, none of the child devices are their own thing in SmartThings Classic AND their child tiles in the parent device only updates for the motion sensor even though they all show accurate status in the IDE. Here's a screenshot of the messages I'm getting when I open and close a contact or motion sensor: [image: IMG_6951] https://user-images.githubusercontent.com/46235745/57748342-6eed7480-768e-11e9-8e25-f50fa111dfe3.jpg

Any ideas how to restore all functionality including child devices as things?

Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ADF4ZH4BNERRK76NUBU2YMDPVOGFLA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GT2NJQA, or mute the thread https://github.com/notifications/unsubscribe-auth/ADF4ZH5KDG7JD4N3XB24JKDPVOGFLANCNFSM4HM7SA3A .

GitHubGoody commented 5 years ago

Thanks. I think that I’ve done as you prescribed already. I can recheck the logs again tomorrow and report back though.

GitHubGoody commented 5 years ago

OK. I finally had some time to try this again. I deleted all Ring Security Devices and the SmartApp, but left the DTH's. Then I used the instructions to re-add the Device and SmartApp. In the SmartThings Classic iOS app, I now see the Device and what appears to be all of the children, but the fault log at the bottom shows similar to my earlier screenshot (clear-fault-clear-fault). None of the Child Devices are listed as their own devices under My Home.

In the IDE, when I click on the Device, all of the Child Devices show. When I clicked on one of them, I noticed that the Hub was not selected. I chose my hub and clicked Update, but still no Child Devices.

The logs (Events under the Device) show no mention of all of them Child Devices although it does show regular good status updates from the Base Station, Ring Keypad, and Extender.

I'm able to change Ring Alarm modes without issue and the Living Room Sensor seems to trigger accurately even though it reports a fault.

Any recommendations to get the Child Devices back and not reporting faults?

GitHubGoody commented 5 years ago

I did notice that when I save the SmartApp code in the IDE, I get this error message: "When saving SmartApp - groovy.lang.MissingPropertyException: No such property: id for class: java.lang.String"

I also have to use a Chrome Incognito tab due to denied permissions lately.

Could either of those be causal?

javier-jm commented 5 years ago

Could you share a screenshot of your device in the IDE? After deleting the RIng Alarm With Sensors and adding it back, click Edit (in the preferences) with all your correct lambda API data. After this edit take a screenshot also while you do this in another tab leave the "Logs" open and take a screenshot of the logs after you finish the preference edit.

What I suspect is that maybe your lambda is down and not able to get the full info of your devices therefore never adding them back.

As for the original problem of the RingAlarmWithSensors showing up in "Add a thing" automatically (auto discover) I haven't find a way to prevent this from happening. I will try removing the "Contact sensor" capability and see if that helps because every time I want to add a new device I break my alarm (forcing me to remove it and add it back).

On Fri, May 24, 2019 at 10:49 AM afgoody notifications@github.com wrote:

I did notice that when I save the SmartApp code in the IDE, I get this error message: "When saving SmartApp - groovy.lang.MissingPropertyException: No such property: id for class: java.lang.String"

I also have to use a Chrome Incognito tab due to denied permissions lately.

Could either of those be causal?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ADF4ZH6YGBGULTJODWITDUTPXATCNA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWGDUHQ#issuecomment-495729182, or mute the thread https://github.com/notifications/unsubscribe-auth/ADF4ZH5M5BBSZGEESRBSARTPXATCNANCNFSM4HM7SA3A .

javier-jm commented 5 years ago

Ok I think I have fixed the "bug" of the "RingAlarmWithSensor" device showing up in the "Add a thing" section after being already installed. Get the latest device handler and try that along with checking the logs after you edit the device.

GitHubGoody commented 5 years ago

I overwrote my Ring Alarm With Sensors DTH with your new DTH code, edited the child device count, and saved/republished it. Then, I removed what I label as "Ring Alarm (Sensors)" Thing from SmartThings Classic. Then, I got on the IDE and tried to add it back with all of the applicable settings (see screenshot), then edited the Preferences to my Lambda settings (don't want to show for privacy). The "Ring Alarm (Sensors)" thing shows all 5 child devices in the Child Devices setting (see screenshot), but I still see faults in the SmartThings Classic iOS app.

When you say log, I think you mean the IDE Device Event List (see screenshot).

RingAlarmSensorsDevice RingAlarmChildDevices RingAlarmEventList

javier-jm commented 5 years ago

With logs I mean the developer tool logs in https://graph.api.smartthings.com/ide/logs

The screenshot you shared shows the child devices are found correctly. What happens if you click one of your child sensors and then click "List events"? Do you see all events reflected correctly there?

On Sat, May 25, 2019, 8:44 PM afgoody notifications@github.com wrote:

I overwrote my Ring Alarm With Sensors DTH with your new DTH code, edited the child device count, and saved/republished it. Then, I removed what I label as "Ring Alarm (Sensors)" Thing from SmartThings Classic. Then, I got on the IDE and tried to add it back with all of the applicable settings (see screenshot), then edited the Preferences to my Lambda settings (don't want to show for privacy). The "Ring Alarm (Sensors)" thing shows all 5 child devices in the Child Devices setting (see screenshot), but I still see faults in the SmartThings Classic iOS app.

When you say log, I think you mean the IDE Device Event List (see screenshot).

[image: RingAlarmSensorsDevice] https://user-images.githubusercontent.com/46235745/58377088-ded0ea00-7f2d-11e9-8f77-46b3b5407d05.JPG [image: RingAlarmChildDevices] https://user-images.githubusercontent.com/46235745/58377091-e55f6180-7f2d-11e9-988a-8bec7def095f.JPG [image: RingAlarmEventList] https://user-images.githubusercontent.com/46235745/58377092-e7c1bb80-7f2d-11e9-8a96-fa073f715662.JPG

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ADF4ZHZIP4UNR5KWVTGFMKTPXIBTJA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWH5O2Q#issuecomment-495966058, or mute the thread https://github.com/notifications/unsubscribe-auth/ADF4ZH3SF27F35IAOE2HC3DPXIBTJANCNFSM4HM7SA3A .

GitHubGoody commented 5 years ago

Here are the Ring Alarm (Sensors) log entries (lots of faults):

9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Log to Display: 05/26 09:00:25 PDT-Living Room Motion Sensor - clear 05/26 08:55:10 PDT-Living Room Motion Sensor - fault 05/26 08:53:53 PDT-Garage Inside Door - clear 05/26 08:52:53 PDT-Living Room Motion Sensor - clear 05/26 08:52:23 PDT-Garage Inside Door - fault 05/26 08:52:21 PDT-Garage Inside Door - clear 05/26 08:52:15 PDT-Garage Inside Door - fault 05/26 08:44:37 PDT-Garage Inside Door - clear 05/26 08:44:33 PDT-Garage Inside Door - fault 05/26 08:44:07 PDT-Garage Inside Door - clear 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Garage Inside Door, clear, 1558885447110 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 961670, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Dates Now 1558886435594, Event 1558885473924 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Garage Inside Door, fault, 1558885473924 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 957878, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Dates Now 1558886435551, Event 1558885477673 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Garage Inside Door, clear, 1558885477673 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 499885, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 493886, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Dates Now 1558886435549, Event 1558885941663 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Garage Inside Door, clear, 1558885941663 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Garage Inside Door, fault, 1558885943272 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Living Room Motion Sensor, clear, 1558885973786 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 402167, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Dates Now 1558886435545, Event 1558886033378 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Garage Inside Door, clear, 1558886033378 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 324989, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Dates Now 1558886435544, Event 1558886110555 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Living Room Motion Sensor, fault, 1558886110555 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: info Ring Event (Display) 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: info Ring Event (API) clear 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Checking event to Alarm Living Room Motion Sensor, clear, 1558886425002 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 10508, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Dates Now 1558886435510, Event 1558886425002 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Living Room Motion Sensor, clear, 1558886425002 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Processing Logs: [[name:Living Room Motion Sensor, time:1558886425002, type:clear], [name:Living Room Motion Sensor, time:1558886110555, type:fault], [name:Garage Inside Door, time:1558886033378, type:clear], [name:Living Room Motion Sensor, time:1558885973786, type:clear], [name:Garage Inside Door, time:1558885943272, type:fault], [name:Garage Inside Door, time:1558885941663, type:clear], [name:Garage Inside Door, time:1558885935665, type:fault], [name:Garage Inside Door, time:1558885477673, type:clear], [name:Garage Inside Door, time:1558885473924, type:fault], [name:Garage Inside Door, time:1558885447110, type:clear]] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 4], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Downstairs Carbon Monoxide, alarm.co, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 4], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Downstairs Smoke, alarm.smoke, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 4], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Upstairs Carbon Monoxide, alarm.co, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 4], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Upstairs Smoke, alarm.smoke, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 4], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Back Slider, sensor.contact, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 3], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Garage Inside Door, sensor.contact, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 2], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Garage Large Door, sensor.contact, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 1], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:34 AM: debug Ring Device: Living Room Motion Sensor, sensor.motion, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:34 AM: debug Current Count [contactCount - 1], [motionCount - 0], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:34 AM: debug Ring Device: Den Extender, range-extender.zwave, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:34 AM: debug Current Count [contactCount - 1], [motionCount - 0], [keypadCount - 1], [rangeExtenderCount - 0] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Device: Garage Small Door, sensor.contact, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Current Count [contactCount - 0], [motionCount - 0], [keypadCount - 1], [rangeExtenderCount - 0] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Device: Ring Keypad, security-keypad, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Current Count [contactCount - 0], [motionCount - 0], [keypadCount - 0], [rangeExtenderCount - 0] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Device: Z-Wave Adapter, adapter.zwave, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Current Count [contactCount - 0], [motionCount - 0], [keypadCount - 0], [rangeExtenderCount - 0] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Device: Security Access Code, access-code, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Current Count [contactCount - 0], [motionCount - 0], [keypadCount - 0], [rangeExtenderCount - 0] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Alarm Status: none, off 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: info Ring Status (Display) off 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: info Ring Status (API) none 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Device: Ring Alarm, security-panel, false, none 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Current Count [contactCount - 0], [motionCount - 0], [keypadCount - 0], [rangeExtenderCount - 0] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Device: Code Vault, access-code.vault, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Alarm STATUS response data: [deviceStatus:[[faulted:false, mode:, name:ZigBee onboard adapter, type:adapter.zigbee], [faulted:false, mode:, name:Code Vault, type:access-code.vault], [faulted:false, mode:none, name:Ring Alarm, type:security-panel], [faulted:false, mode:, name:Security Access Code, type:access-code], [faulted:false, mode:, name:Base Station, type:hub.redsky], [faulted:false, mode:, name:Z-Wave Adapter, type:adapter.zwave], [faulted:false, mode:, name:Ring Keypad, type:security-keypad], [faulted:false, mode:, name:Garage Small Door, type:sensor.contact], [faulted:false, mode:, name:Den Extender, type:range-extender.zwave], [faulted:false, mode:, name:Living Room Motion Sensor, type:sensor.motion], [faulted:false, mode:, name:Garage Large Door, type:sensor.contact], [faulted:false, mode:, name:Garage Inside Door, type:sensor.contact], [faulted:false, mode:, name:Back Slider, type:sensor.contact], [faulted:false, mode:, name:Upstairs Smoke, type:alarm.smoke], [faulted:false, mode:, name:Upstairs Carbon Monoxide, type:alarm.co], [faulted:false, mode:, name:Downstairs Smoke, type:alarm.smoke], [faulted:false, mode:, name:Downstairs Carbon Monoxide, type:alarm.co]], events:[[name:Living Room Motion Sensor, time:1558886425002, type:clear], [name:Living Room Motion Sensor, time:1558886110555, type:fault], [name:Garage Inside Door, time:1558886033378, type:clear], [name:Living Room Motion Sensor, time:1558885973786, type:clear], [name:Garage Inside Door, time:1558885943272, type:fault], [name:Garage Inside Door, time:1558885941663, type:clear], [name:Garage Inside Door, time:1558885935665, type:fault], [name:Garage Inside Door, time:1558885477673, type:clear], [name:Garage Inside Door, time:1558885473924, type:fault], [name:Garage Inside Door, time:1558885447110, type:clear]]] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:27 AM: info Checking Ring Alarm status.

Here are the screenshots of all child devices: RingAlarmChildDevicesLivingRoomMotionSensor1RingAlarmChildDevicesGarageSmallDoor1 RingAlarmChildDevicesGarageLargeDoor2 RingAlarmChildDevicesGarageInsideDoor3 RingAlarmChildDevicesBackSlider4

I opened the Garage Inside Door for 2 minutes (and the Back Slider briefly) and then refreshed the Events Lists. The open event never triggered in that List, but it did eventually show as a fault in the SmartThings Classic log at the bottom of the SmartApp. Here's the screenshot of both: RingAlarmChildDevicesGarageInsideDoor3Events IMG_6982

javier-jm commented 5 years ago

Thanks for all this,

We might need help here from asishrs@ since I see that the devices portion I added works fine (adding child devices and updating them based in the API response) however I suspect your lambda is retuning wrong information for some reason.

Could you let the IDE logs open for some minutes and filter by RingAlarmWithSensors and collect only samples of the "Ring Alarm STATUS response" portion (with all the devices). This should show every X minutes you configured in the settings. This will tell us if the lambda is sending wrong info or not (open/close your sensor in between to take samples of both closed and open states).

Hang in there!

On Sun, May 26, 2019, 9:14 AM afgoody notifications@github.com wrote:

Here are the Ring Alarm (Sensors) log entries (lots of faults):

9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Log to Display: 05/26 09:00:25 PDT-Living Room Motion Sensor - clear 05/26 08:55:10 PDT-Living Room Motion Sensor - fault 05/26 08:53:53 PDT-Garage Inside Door - clear 05/26 08:52:53 PDT-Living Room Motion Sensor - clear 05/26 08:52:23 PDT-Garage Inside Door - fault 05/26 08:52:21 PDT-Garage Inside Door - clear 05/26 08:52:15 PDT-Garage Inside Door - fault 05/26 08:44:37 PDT-Garage Inside Door - clear 05/26 08:44:33 PDT-Garage Inside Door - fault 05/26 08:44:07 PDT-Garage Inside Door - clear 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Garage Inside Door, clear, 1558885447110 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 961670, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Dates Now 1558886435594, Event 1558885473924 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Garage Inside Door, fault, 1558885473924 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 957878, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Dates Now 1558886435551, Event 1558885477673 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Garage Inside Door, clear, 1558885477673 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 499885, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 493886, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Dates Now 1558886435549, Event 1558885941663 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Garage Inside Door, clear, 1558885941663 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Garage Inside Door, fault, 1558885943272 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Living Room Motion Sensor, clear, 1558885973786 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 402167, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Dates Now 1558886435545, Event 1558886033378 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Garage Inside Door, clear, 1558886033378 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 324989, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Dates Now 1558886435544, Event 1558886110555 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Living Room Motion Sensor, fault, 1558886110555 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: info Ring Event (Display) 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: info Ring Event (API) clear 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Checking event to Alarm Living Room Motion Sensor, clear, 1558886425002 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Diff 10508, Time 300000 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Dates Now 1558886435510, Event 1558886425002 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Event: Living Room Motion Sensor, clear, 1558886425002 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Processing Logs: [[name:Living Room Motion Sensor, time:1558886425002, type:clear], [name:Living Room Motion Sensor, time:1558886110555, type:fault], [name:Garage Inside Door, time:1558886033378, type:clear], [name:Living Room Motion Sensor, time:1558885973786, type:clear], [name:Garage Inside Door, time:1558885943272, type:fault], [name:Garage Inside Door, time:1558885941663, type:clear], [name:Garage Inside Door, time:1558885935665, type:fault], [name:Garage Inside Door, time:1558885477673, type:clear], [name:Garage Inside Door, time:1558885473924, type:fault], [name:Garage Inside Door, time:1558885447110, type:clear]] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 4], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Downstairs Carbon Monoxide, alarm.co, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 4], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Downstairs Smoke, alarm.smoke, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 4], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Upstairs Carbon Monoxide, alarm.co, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 4], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Upstairs Smoke, alarm.smoke, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 4], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Back Slider, sensor.contact, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 3], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Garage Inside Door, sensor.contact, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 2], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Ring Device: Garage Large Door, sensor.contact, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:35 AM: debug Current Count [contactCount - 1], [motionCount - 1], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:34 AM: debug Ring Device: Living Room Motion Sensor, sensor.motion, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:34 AM: debug Current Count [contactCount - 1], [motionCount - 0], [keypadCount - 1], [rangeExtenderCount - 1] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:34 AM: debug Ring Device: Den Extender, range-extender.zwave, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:34 AM: debug Current Count [contactCount - 1], [motionCount - 0], [keypadCount - 1], [rangeExtenderCount - 0] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Device: Garage Small Door, sensor.contact, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Current Count [contactCount - 0], [motionCount - 0], [keypadCount - 1], [rangeExtenderCount - 0] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Device: Ring Keypad, security-keypad, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Current Count [contactCount - 0], [motionCount - 0], [keypadCount - 0], [rangeExtenderCount - 0] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Device: Z-Wave Adapter, adapter.zwave, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Current Count [contactCount - 0], [motionCount - 0], [keypadCount - 0], [rangeExtenderCount - 0] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Device: Security Access Code, access-code, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Current Count [contactCount - 0], [motionCount - 0], [keypadCount - 0], [rangeExtenderCount - 0] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Alarm Status: none, off 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: info Ring Status (Display) off 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: info Ring Status (API) none 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Device: Ring Alarm, security-panel, false, none 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Current Count [contactCount - 0], [motionCount - 0], [keypadCount - 0], [rangeExtenderCount - 0] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Device: Code Vault, access-code.vault, false, 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:33 AM: debug Ring Alarm STATUS response data: [deviceStatus:[[faulted:false, mode:, name:ZigBee onboard adapter, type:adapter.zigbee], [faulted:false, mode:, name:Code Vault, type:access-code.vault], [faulted:false, mode:none, name:Ring Alarm, type:security-panel], [faulted:false, mode:, name:Security Access Code, type:access-code], [faulted:false, mode:, name:Base Station, type:hub.redsky], [faulted:false, mode:, name:Z-Wave Adapter, type:adapter.zwave], [faulted:false, mode:, name:Ring Keypad, type:security-keypad], [faulted:false, mode:, name:Garage Small Door, type:sensor.contact], [faulted:false, mode:, name:Den Extender, type:range-extender.zwave], [faulted:false, mode:, name:Living Room Motion Sensor, type:sensor.motion], [faulted:false, mode:, name:Garage Large Door, type:sensor.contact], [faulted:false, mode:, name:Garage Inside Door, type:sensor.contact], [faulted:false, mode:, name:Back Slider, type:sensor.contact], [faulted:false, mode:, name:Upstairs Smoke, type:alarm.smoke], [faulted:false, mode:, name:Upstairs Carbon Monoxide, type:alarm.co], [faulted:false, mode:, name:Downstairs Smoke, type:alarm.smoke], [faulted:false, mode:, name:Downstairs Carbon Monoxide, type:alarm.co]], events:[[name:Living Room Motion Sensor, time:1558886425002, type:clear], [name:Living Room Motion Sensor, time:1558886110555, type:fault], [name:Garage Inside Door, time:1558886033378, type:clear], [name:Living Room Motion Sensor, time:1558885973786, type:clear], [name:Garage Inside Door, time:1558885943272, type:fault], [name:Garage Inside Door, time:1558885941663, type:clear], [name:Garage Inside Door, time:1558885935665, type:fault], [name:Garage Inside Door, time:1558885477673, type:clear], [name:Garage Inside Door, time:1558885473924, type:fault], [name:Garage Inside Door, time:1558885447110, type:clear]]] 9f8399c4-7706-4d88-828a-423f18d09a22 9:00:27 AM: info Checking Ring Alarm status.

Here are the screenshots of all child devices: [image: RingAlarmChildDevicesLivingRoomMotionSensor1] https://user-images.githubusercontent.com/46235745/58384445-6b16f780-7f96-11e9-973a-7271a01d96a6.JPG[image: RingAlarmChildDevicesGarageSmallDoor1] https://user-images.githubusercontent.com/46235745/58384433-5c304500-7f96-11e9-8c33-a91caea8a218.JPG [image: RingAlarmChildDevicesGarageLargeDoor2] https://user-images.githubusercontent.com/46235745/58384435-5f2b3580-7f96-11e9-9cff-e1eec20aa281.JPG [image: RingAlarmChildDevicesGarageInsideDoor3] https://user-images.githubusercontent.com/46235745/58384437-62bebc80-7f96-11e9-9363-3e0d0e2c17e2.JPG [image: RingAlarmChildDevicesBackSlider4] https://user-images.githubusercontent.com/46235745/58384440-65b9ad00-7f96-11e9-9963-c90a970c8526.JPG

I opened the Garage Inside Door #3 https://github.com/asishrs/smartthings/issues/3 for over 2 minutes and then refreshed the Events Lists. The open event never triggered. Here's the screenshot of that: [image: RingAlarmChildDevicesGarageInsideDoor3Events] https://user-images.githubusercontent.com/46235745/58384468-a31e3a80-7f96-11e9-8caf-6f1528826426.JPG

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ADF4ZH2GEIWOSMBGTG4L2DLPXKZPNA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWII3AI#issuecomment-496012673, or mute the thread https://github.com/notifications/unsubscribe-auth/ADF4ZHYL6HIAMAFF5AMHYBDPXKZPNANCNFSM4HM7SA3A .

GitHubGoody commented 5 years ago

Haha, not a problem. I test things for a living, so I'm used to working through issues with engineers and coders ;-)

Here's over two hours of live logs:

RingAlarm(Sensors)LiveLog20190527.docx

Standing by...

javier-jm commented 5 years ago

Sorry just had time again to look at this. Looking at your logs I see that your contact sensors never reported to be faulted:true (open). They are always reporting as faulted:false (closed). This indicates some problem in the lambda maybe.

However I see that the motion sensor reports correctly (and your screenshots also prove that its detecting motion and working fine) so the lambda is working for the motion but not contacts..?

9f8399c4-7706-4d88-828a-423f18d09a22 9:55:26 AM: debug Ring Alarm STATUS response data:  [faulted:false, mode:, name:Living Room Motion Sensor, type:sensor.motion]

9f8399c4-7706-4d88-828a-423f18d09a22 10:10:27 AM: debug Ring Alarm STATUS response data:  [faulted:true, mode:, name:Living Room Motion Sensor

9f8399c4-7706-4d88-828a-423f18d09a22 10:15:26 AM: debug Ring Alarm STATUS response data:  [faulted:true, mode:, name:Living Room Motion Sensor

9:55:26 AM the motion sensor was not active and then at 10:10:27 AM it was. Nothing else changed, either your windows were closed for this 2 hours or they are not reporting correctly via the lambda.

I see you have update every 5 minutes. I would greatly recommend 1 minute updates to get as real time as possible (specially if you thinking on triggering something with this sensors). Anyway, next step would be you hitting the lambda to request the status when a window is open or closed and reporting back those payloads.

Follow the API test steps and make a "/status" curl request with some of your windows open and then another one with them closed. You should see the JSON payload of each of your sensors, we expect to see faulted:true when open and faulted:false when closed.

GitHubGoody commented 5 years ago

Where exactly do I perform those tests? I found the page below, what do I paste into which text box?

RingAlarmTestLambda

GitHubGoody commented 5 years ago

Is that the right page to do those tests?

javier-jm commented 5 years ago

Sorry for the late reply. The page is the same page you followed to setup the lambda API. You need to run the example console commands with curl (or a UI tool like postman) to hit the /status endpoint of your lambda and get the results back.

On Sat, Jun 8, 2019, 8:56 PM afgoody notifications@github.com wrote:

Is that the right page to do those tests?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ADF4ZHY5E3BUP27CBT47VTDPZR5PBA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIC73Q#issuecomment-500183022, or mute the thread https://github.com/notifications/unsubscribe-auth/ADF4ZH6GZ2F35HRKBDPGCQ3PZR5PBANCNFSM4HM7SA3A .

Its2loud1 commented 5 years ago

I want to change my DTH to this one for Ring Alarm but is it working correctly now? Any updates?

Also, if I do install the Ring Alarm With Sensors DTH do I need to install the smartApp again or is that the same as the original from Asishrs?

Thanks

asishrs commented 5 years ago

are you asking about the version provided by @javier-jm ?

Its2loud1 commented 4 years ago

Yes, That is what I was asking. Thanks

javier-jm commented 4 years ago

I've been using javierjm version so far so good.

On Thu, Sep 26, 2019, 4:47 PM Its2loud1 notifications@github.com wrote:

Yes, That is what I was asking. Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ADF4ZHYPXWPZHDN6Y5AIL63QLVCYDA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7XIOZY#issuecomment-535725927, or mute the thread https://github.com/notifications/unsubscribe-auth/ADF4ZH64QBGKEQNLHIZA3MDQLVCYDANCNFSM4HM7SA3A .

GitHubGoody commented 4 years ago

Sorry for the late reply. The page is the same page you followed to setup the lambda API. You need to run the example console commands with curl (or a UI tool like postman) to hit the /status endpoint of your lambda and get the results back. On Sat, Jun 8, 2019, 8:56 PM afgoody @.***> wrote: Is that the right page to do those tests?

OK, I finally have a little time to try and fix this, but I still don't know exactly what I'm supposed to do to test the lambda. Here's a screenshot of the attempt that didn't work. RingAlarmTestLambda2

Its2loud1 commented 4 years ago

I am doing exactly the same thing and getting this as a result. so frustrating.

Screen Shot 2019-10-01 at 9 33 34 PM
GitHubGoody commented 4 years ago

I am doing exactly the same thing and getting this as a result. so frustrating.

Screen Shot 2019-10-01 at 9 33 34 PM

Yep, same message for me too

Its2loud1 commented 4 years ago

I have the correct ZID and location ID (found in Chrome browser) and I've reset my AWS and API's about a dozen times. Nothing seems to work.

I can't for the life of me figure out how to test the Lambda using Asish's example in his GitHub.

I've tried Postman. no good. I don't know how to use that. I've tried Terminal. no luck. I've tried using the API Gateway test. No luck.

Could someone please post a "Testing for Dummies" example so that I can move forward with this and figure out why I'm not seeing the Ring Alarm report to status of any sensors in my integration.

Thank you.

GitHubGoody commented 4 years ago

@asishrs We appreciate any help you can offer us newbs!

asishrs commented 4 years ago

@afgoody regarding https://github.com/asishrs/smartthings/issues/6#issuecomment-537326848 you should use the api definition {ring-action+}

GitHubGoody commented 4 years ago

@asishrs Thank you. When I run that simple test, it does return my locationId and zId in the Response Body. Does that mean my API is good and the problem with getting this working again with child devices is somewhere else? Do you recommend trying again with the @javier-jm branch or waiting until you incorporate it in the master branch?

asishrs commented 4 years ago

@afgoody yes that means the APIs are working. You can use the @javier-jm ‘s branch for now.

Its2loud1 commented 4 years ago

I am not getting the same result. My API's seem to be setup correctly however I do no know why I can't get any response with this method.

javier-jm commented 4 years ago

@afgoody sorry it took me a while but finally found some time to get back to this..

After some fiddling I saw problems sometimes when updating or uninstalling the RingAlarmWithSensors device. This was causing the child devices (all sensors) to NOT update due to the fact that the polling was never actually happening (always failing on deleting child devices before calling the init method).

I recommend taking the last version of RingAlarmWithSensors and give it a try.

GitHubGoody commented 4 years ago

I reinstalled about 2 hours ago and it does not appear to be working. Did you make the changes tonight?


From: JavierJ notifications@github.com Sent: Monday, October 21, 2019 10:45 PM To: asishrs/smartthings Cc: afgoody; Mention Subject: Re: [asishrs/smartthings] Child Devices not Updating (#6)

@afgoodyhttps://github.com/afgoody sorry it took me a while but finally found some time to get back to this..

After some fiddling I saw problems sometimes when updating or uninstalling the RingAlarmWithSensors device. This was causing the child devices (all sensors) to NOT update due to the fact that the polling was never actually happening (always failing on deleting child devices before calling the init method).

I recommend taking the last version of RingAlarmWithSensorshttps://github.com/javier-jm/smartthings/blob/SensorsAsThings/devicetypes/javierj/RingAlarmWithSensors.groovy and give it a try.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ALAYAYLLMY44OJJ3PRNWDN3QP2HORA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB4TDDQ#issuecomment-544813454, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALAYAYIIQZSO6AROGL3UYS3QP2HORANCNFSM4HM7SA3A.

javier-jm commented 4 years ago

Make sure you take the latest version since it got changed after the last post since some indentation changed were breaking syntax.

On Mon, Oct 21, 2019, 10:48 PM afgoody notifications@github.com wrote:

I reinstalled about 2 hours ago and it does not appear to be working. Did you make the changes tonight?


From: JavierJ notifications@github.com Sent: Monday, October 21, 2019 10:45 PM To: asishrs/smartthings Cc: afgoody; Mention Subject: Re: [asishrs/smartthings] Child Devices not Updating (#6)

@afgoodyhttps://github.com/afgoody sorry it took me a while but finally found some time to get back to this..

After some fiddling I saw problems sometimes when updating or uninstalling the RingAlarmWithSensors device. This was causing the child devices (all sensors) to NOT update due to the fact that the polling was never actually happening (always failing on deleting child devices before calling the init method).

I recommend taking the last version of RingAlarmWithSensors< https://github.com/javier-jm/smartthings/blob/SensorsAsThings/devicetypes/javierj/RingAlarmWithSensors.groovy> and give it a try.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub< https://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ALAYAYLLMY44OJJ3PRNWDN3QP2HORA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB4TDDQ#issuecomment-544813454>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ALAYAYIIQZSO6AROGL3UYS3QP2HORANCNFSM4HM7SA3A

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ADF4ZH6HPG2RSRWIL3PTCGLQP2H3BA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB4TIWA#issuecomment-544814168, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADF4ZH62KUFBSM2HVEPIBN3QP2H3BANCNFSM4HM7SA3A .

GitHubGoody commented 4 years ago

Done. The contact sensors appear to update in the log at the bottom, but the icon doesn’t change. The Den Slider is still open. AC64DB3E-31E7-4358-B534-E5F232E4EB07

javier-jm commented 4 years ago

Given most of the code is now proofed for failures I would look into your IDE logs and see what you get from the RingAlarmWithSensors specially when updating the preferences and onwards (you should see entries every minute or whatever your update frequency is). Set it up for 1 min and see what error you get. I suspect you might be just back to API problems.

On Tue, Oct 22, 2019, 8:50 PM afgoody notifications@github.com wrote:

Done. The contact sensors appear to update in the log at the bottom, but the icon doesn’t change. The Den Slider is still open. [image: AC64DB3E-31E7-4358-B534-E5F232E4EB07] https://user-images.githubusercontent.com/46235745/67355980-9c77fd00-f50d-11e9-8982-4a64818d35e2.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ADF4ZH7L4FNFAWD44LKQDBDQP7CZZA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB76QRI#issuecomment-545253445, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADF4ZH5TENM34QGYOZ54R3TQP7CZZANCNFSM4HM7SA3A .

javier-jm commented 4 years ago

Looking at your image closely the logs underneath show that the sensors are working as expected. The tiles are probably not updating correctly but that should be a separate unrelated issue. Try creating some routine or webCoRE piston for your sensors and test it out.

On Tue, Oct 22, 2019, 9:03 PM Javier Jimenez javier.jimenez@gmail.com wrote:

Given most of the code is now proofed for failures I would look into your IDE logs and see what you get from the RingAlarmWithSensors specially when updating the preferences and onwards (you should see entries every minute or whatever your update frequency is). Set it up for 1 min and see what error you get. I suspect you might be just back to API problems.

On Tue, Oct 22, 2019, 8:50 PM afgoody notifications@github.com wrote:

Done. The contact sensors appear to update in the log at the bottom, but the icon doesn’t change. The Den Slider is still open. [image: AC64DB3E-31E7-4358-B534-E5F232E4EB07] https://user-images.githubusercontent.com/46235745/67355980-9c77fd00-f50d-11e9-8982-4a64818d35e2.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ADF4ZH7L4FNFAWD44LKQDBDQP7CZZA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB76QRI#issuecomment-545253445, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADF4ZH5TENM34QGYOZ54R3TQP7CZZANCNFSM4HM7SA3A .

javier-jm commented 4 years ago

I can confirm that the problem you were seeing was related to only the tiles inside the "Ring alarm with sensors" app. I had the same problem but never actually paid attention to it since things work just fine elsewhere. I have pushed out a fix to ensure tiles are updated in the app. If you have multiple sensors its hard to know which one but you have the log underneath to help. Also this fix is just cosmetic since the child sensors were actually working just fine.

GitHubGoody commented 4 years ago

Ok, cool. Can I just make those changes to the DTH and re-publish or do I need to remove everything and start over?


From: JavierJ notifications@github.com Sent: Tuesday, October 22, 2019 9:36 PM To: asishrs/smartthings Cc: afgoody; Mention Subject: Re: [asishrs/smartthings] Child Devices not Updating (#6)

I can confirm that the problem you were seeing was related to only the tiles inside the "Ring alarm with sensors" app. I had the same problem but never actually paid attention to it since things work just fine elsewhere. I have pushed out a fixhttps://github.com/javier-jm/smartthings/commit/23bfdd99fbe967b59ecf45a4a8d4e6a1040c3b8d#diff-1383bb22b7311e56fef4ead511d499f2 to ensure tiles are updated in the app. If you have multiple sensors its hard to know which one but you have the log underneath to help. Also this fix is just cosmetic since the child sensors were actually working just fine.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ALAYAYJ5YYM3N7AGVVZGYBLQP7IDHA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECAATMQ#issuecomment-545262002, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALAYAYKIUZPHCVHJZ5XLN5DQP7IDHANCNFSM4HM7SA3A.

javier-jm commented 4 years ago

I just copied the latest code to my device handler, saved and published for me. After that closing and opening the app showed me tiles updating correctly. However as I said that is just visual (and not really helpful since tiles don't have a name underneath) you should be able to start your automations with or without that latest fix anyway.

On Tue, Oct 22, 2019, 9:40 PM afgoody notifications@github.com wrote:

Ok, cool. Can I just make those changes to the DTH and re-publish or do I need to remove everything and start over?


From: JavierJ notifications@github.com Sent: Tuesday, October 22, 2019 9:36 PM To: asishrs/smartthings Cc: afgoody; Mention Subject: Re: [asishrs/smartthings] Child Devices not Updating (#6)

I can confirm that the problem you were seeing was related to only the tiles inside the "Ring alarm with sensors" app. I had the same problem but never actually paid attention to it since things work just fine elsewhere. I have pushed out a fix< https://github.com/javier-jm/smartthings/commit/23bfdd99fbe967b59ecf45a4a8d4e6a1040c3b8d#diff-1383bb22b7311e56fef4ead511d499f2> to ensure tiles are updated in the app. If you have multiple sensors its hard to know which one but you have the log underneath to help. Also this fix is just cosmetic since the child sensors were actually working just fine.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub< https://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ALAYAYJ5YYM3N7AGVVZGYBLQP7IDHA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECAATMQ#issuecomment-545262002>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ALAYAYKIUZPHCVHJZ5XLN5DQP7IDHANCNFSM4HM7SA3A

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asishrs/smartthings/issues/6?email_source=notifications&email_token=ADF4ZHZVIY7ZK24NSVB6HS3QP7IUPA5CNFSM4HM7SA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECAA2QI#issuecomment-545262913, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADF4ZH4EJ2KXATFYZKC2UALQP7IUPANCNFSM4HM7SA3A .

GitHubGoody commented 4 years ago

Victory...Thanks! 1978DF45-A9CA-4FD8-B078-6C97DAC42653