ABC - Advanced Button Controller - Newest Edition

Hello. Does the ABC manager support scene-handling? In the description I have found that it support routines, but I don’t have this option when I configure it?

I am using Ikea 2 Button switch/dimmer and a ikea bulb.

Both are added to SmartThings hub.
I have installed ABC. Tested with other items and installation works.

This is what I am trying to achieve.

  • pressing either button should toggle bulb on or off. On state should be latest used brightness.
  • holding either button should increase/decrease brighness

I can get on/off but not increase/decrease.

Can anyone help me out?

Could there be an issue with the newest code. I get the following error when I try to create the smartapp:

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

Gorm

I don’t believe the latest version of ABC handles Scenes in the new ST app. To get around this limitation what you can do is:

  1. Create a virtual switch
  2. Set up your Scene to do whatever you want AND turn off the virtual switch in step 1
  3. Set up an Automation (natively in the ST app) to run your Scene in step 2 whenever the switch in step 1 turns on.

You may need to manually turn the virtual switch off for the first time as I believe they all are created in the “on” position.

Can’t use the App - Need help!
Did i miss something? Want to use the App for the Aeotec Quad Wallmote

Error Log

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:35: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:35: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805212904, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0429

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:35: debug description is read attr - raw: 8331010B040A0805212904, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0429

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:33: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:33: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805215704, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0457

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:33: debug description is read attr - raw: 8331010B040A0805215704, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0457

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:30: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:30: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805217C04, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 047c

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:30: debug description is read attr - raw: 8331010B040A0805217C04, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 047c

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:21: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:21: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A080521AB04, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 04ab

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:21: debug description is read attr - raw: 8331010B040A080521AB04, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 04ab

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:20: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:20: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805218C04, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 048c

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:20: debug description is read attr - raw: 8331010B040A0805218C04, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 048c

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:16: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:16: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805216D04, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 046d

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:16: debug description is read attr - raw: 8331010B040A0805216D04, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 046d

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:06: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:06: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805211A04, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 041a

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:06: debug description is read attr - raw: 8331010B040A0805211A04, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 041a

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:04: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:04: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805211304, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0413

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:04: debug description is read attr - raw: 8331010B040A0805211304, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0413

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:03: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:03: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805214704, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0447

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:13:03: debug description is read attr - raw: 8331010B040A0805214704, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0447

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:54: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:54: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805218103, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0381

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:54: debug description is read attr - raw: 8331010B040A0805218103, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0381

a2776a46-b917-4f8e-9343-405078e9eace 13:12:52: debug ABC appears to be running the latest Version

a2776a46-b917-4f8e-9343-405078e9eace 13:12:52: debug Looking for Version InitialSetup

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:52: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:52: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805216B03, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 036b

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:52: debug description is read attr - raw: 8331010B040A0805216B03, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 036b

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:47: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:47: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805217A03, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 037a

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:47: debug description is read attr - raw: 8331010B040A0805217A03, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 037a

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:37: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:37: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805214704, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0447

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:37: debug description is read attr - raw: 8331010B040A0805214704, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0447

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:24: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:24: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A080521FE04, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 04fe

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:24: debug description is read attr - raw: 8331010B040A080521FE04, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 04fe

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:22: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:22: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805212D05, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 052d

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:22: debug description is read attr - raw: 8331010B040A0805212D05, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 052d

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:20: debug null

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:20: warn DID NOT PARSE MESSAGE for description : read attr - raw: 8331010B040A0805210605, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0506

03d2c1d6-72c7-4f5b-8cfb-adf83bfb889b 13:12:20: debug description is read attr - raw: 8331010B040A0805210605, dni: 8331, endpoint: 01, cluster: 0B04, size: 10, attrId: 0508, result: success, encoding: 21, value: 0506

13:12:14: info Waiting on events…

13:12:14: info For past logs for individual things go to the My Devices section, find the device and click on the Events link on the device information page.

13:12:14: info This console provides live logging of your SmartThings.

Edit: worked - installed the child app and leaved it unpublish

Shard is a section of the cloud which is used for your account. Different accounts are on different shards. Which shard you get assigned to is a combination of the region you are in and when you created your Samsung account.

The universal sign on URL, https://account.smartthings.com , Will work for everyone because it looks up your account ID and then directs you to the proper shard. :sunglasses:

FAQ: How to find out what "shard" (cloud slice IDE URL) your Account / Location is on?

1 Like

Hey, sorry to bother you all but I am new to SmartThings and not sure if I am missing a step. I have managed in install ABC via GitHub and I am also able to do device mapping and save it. However when I press the remote nothing happens, in the SmartThings app the remote Tradfri 5 button has not actions assigned. Is there a step I need to do to link ABC Smart App to Smartthings?

EDIT: Reset all my devices, reinstalled ABC and removed conflict from previous broken hub and Hey Presto! Amazing app, does what I need it to do

1 Like

Hi,

Also a new user to smartapps and in particular this app.
I’ve added it to the IDE and when I went to configure it on my phone it gave me a networking error.

I actually get the same error when trying to use the virtual device creator app. That one worked once but stopped working a few months ago.

I would appreciate it if anyone could help.

Thank you

Thank you! This is what I needed. Great app!

Any chance to add thermostats as well. I want to use the Xiaomi Cube to control my A/C.

Not sure if others have had this issue, but I updated my smart app from the latest github code and it appeared to quit working. I had to go back to the versions before that and manually copy from github to get it working. It appears the issue might be with the child code, as it wouldn’t let me save it after I opened it, with it giving me an error.

Thanks for reporting a problem, I will have a look into that today and update this thread later

Please try and pull the latest version v1.210602 which should fix the problem.

1 Like

Paul, the new version seems to work! thanks for taking a look at it. I appreciate your time and help!

1 Like

In the new version, you may have to resave button settings for any that are using the dim functions. If you find a button no longer works then just resave that button.

1 Like

Hello, I’m trying to use the app for basic light functions and it’s not cooperating…

When I add a “new button device mapping” in ABC Manager it creates/configures it fine, however the entry shows up as “ABC Child Creator” instead of the proper name, doesn’t actually work and you can’t click on it, it always displays “We’re having trouble connecting. Check your network connection and try again”. Like this: Imgur: The magic of the Internet

If I add an ABC Child Creator smartapp directly, bypassing the manager, it works for the first app, showing up as a functional entry and does what it’s supposed to… but not for any additional ones, they all get stuck on the “Next” screen which is not clickable, I have to kill the whole SmartThings app. Like this: Imgur: The magic of the Internet

Using a Galaxy S9 with the new SmartThings app, the old app is long gone and not available.
Any known issues? What else can I do?

EDIT: looked at log, it’s failing as so:
uuid 6:51:03 PM: error java.lang.NullPointerException: Cannot get property ‘sub’ on null object @line 227 (doCall)
line 227: def prefSubValue = settings[prefDetail.sub + numType] ?: “(!Missing!)”

EDIT2: added a bit of logging:
7:22:12 PM: error java.lang.NullPointerException: Cannot get property ‘sub’ on null object @line 231 (doCall)
7:22:12 PM: debug prefDetail: null
7:22:12 PM: debug prefDevice: : 15
7:22:12 PM: debug prefDetail: [id:dimPlus_, sOrder:6, desc:Brightness +, comm:lightDimUp, sub:lightDimP_, type:hasSub, secLabel:Dimmers (Increase Level By), cap:capability.switchLevel, sTitle:Increase by, sDesc:0 to 15]
7:22:12 PM: debug prefDevice: : LIGHT: Cave
7:22:12 PM: debug preferenceNames: [dimPlus_1_pushed:[LIGHT: Cave], lightDimP_1_pushed:15]
7:22:12 PM: debug bNum: 1, type: _pushed

EDIT3:
Ok, I fixed it, by adding if (prefDetail != null) {} around whatever code that’s trying to dereference the null object, both in def buttonEvent() and in def getDescDetails(). Perhaps you can add this to the handler in case other devices do this crap…

Ok, I might have been doing this wrong, I was selecting the button directly, instead of going into the device, then selecting the button inside it… the way above only worked for button 1, not any of the rest. I hate how ST displays multiple versions of same controllers, argh…

Question: is there handling of double or triple clicking in ABC? I see only push and hold, but this Fibaro remote supports more…

Hi,

I’m going to uninstall both my main & child apps to see if I get the same problem on a new build. I’ll let you know

Paul

1 Like

I have started work on a complete code check/tidy within the develop & feature branches of the Github repo.

Feel free to try them out and please report any problems to me.

I have taken the big step of deleting all of my child apps so non of my automation works until I have tested each and every option that is available (where devices are available)

I hope to get this completed in the next 7-10 days

Regards

Paul

2 Likes

@Paul_Sheldon Increase and decrease level on Dimmers and Light Colour Temperature are no longer working. I can create on and off actions no problem.
I use to have increase and decrease before working flawlessly.
Where can I find older version of ABC?