I’m looking to adjust the dim level of a smart bulb, based on the dim level if a dimmer switch. The dimmer switch reports it’s level (0-100) to SmartThings but I don’t see how to use this variable in CoRE? Would this be part of the Global Variables section? Is there a guide for that?
Save the dim level, $currentEventValue into a global variable that you can use to set the level of the smart bulb. Something like below…
IF
● Dimmer level changes
THEN...
Using location...
► Set number variable {@dimLevel} = $currentEventValue
Sounds good, but as a “dummy” I’m not following the setup steps needed to make this happen. Is there a guide to setting up variables or can you explain it in a little more step by step way? Like I don’t know how to create a global variable with the current dim level as you described it.
So follow up on my issue. I opened a ticket with support and they were able to give me a fix. I am posting the fix here in case other people have an issue with installing CoRE and it not showing up on the mobile application. Apparently not all of the SmartThings servers can run all code and smart apps.
Instead of logging into https://graph.api.smartthings.com, try logging into https://graph-na02-useast1.api.smartthings.com/ . You will be able to see all of your devices and Hub by using this URL
Then add the code in once again where it says My SmartApps. Make sure to publish it for me (yourself)
Create an instance of this app in you mobile app by tapping Marketplace ► SmartApps ► My Apps ► CoRE
This kind of what I’m running into as well. Is there an easy way to lookup or figure which variables do what? Trial and error is too frustrating because there are too many possible combinations to try.
I cant seem to get this working properly. I have tried it on both android and iOS and both give me a lot of “Error saving page” or “unexpected error” error messages
I have followed the installation instructions very carefully and enabled oAuth for the app, but no dice.
I can create a piston and if I got back to the main core page, it says I have one piston running, but if I go to the dashboard, it doesnt show any pistons. If I add a second piston, it also says I ahve one piston running, even though it clearly shows 2 in the list.
I have tried removing the app alltogether and reinstalling it, but I get the same behavior.
when I try to use any of the time functions in the conditions, it wont let me add any actual times.
This seems unusable to me. It looks like a lot of people are using this though. AM I doing something wrong?
if I look at the log while editing the piston, I see this error.
java.lang.NullPointerException @ line 8629
Try accessing from the automation tab.
you mean the automation tab in smarthings? yes… that is where the CORE application installs itself.
is there a problem with the latest version of CORE and the latest version of smartthings?
I find it hard to believe I am the only one that is having this issue.
Log in to the IDE and check your location settings if you have Time Zone set.
actually, that field is blank… both the IDE and the app will not let me set that field though…
It’s probably best to email support.
ok… I had to teach it a new GPS location outside of my time zone and then reteach it my actual location again and now it shows the time zone correctly.
That seems to have fixed the time related problems… it also seems to have fixed the dashboard issue as well and I don’t seem to get the same error messages anymore. I guess that was the problem.
thanks!
This morning I had a Piston show up in the dashboard as blank but when I went into Core, that Piston was fully populated. I ended up rebuilding the Piston and the dashboard picked it up right away. Something out of sync
Rick
Thank you for this! I was lost and at least I know have coRE installed. Now I just need to learn how to start to create pistons.
Not exactly a “getting started” question, but I was someone who received the email from ST last week about having CoRE updated in the background to keep it stable with DB updates ST were performing. My current version (as per the ST app) is 0.3.139.20170104 but in my IDE it says that I have an obsolete version in the repo. Should I update, or am I already on the “pre-release” version and would be moving backward? Thanks!
I have a question on IFTTT integration:
It keeps on showing as “Not configured”.
I have connected the Maker channel in IFTTT, included the Maker key (the complete https: link).
Then tapped Done
"Congratulations! You have successfully connected CoRE to IFTTT)"
Then tapped Done again.
Am I missing any step?
I had this same issue yesterday.
All you need to put in is the last part.
i.e. the bit after the last forward slash.
Then click next, done then back arrow out a couple of times.
Thanks, @bobbles. I tried your suggestion but when I tap “Done” I get a blank page instead of the “congratulations” message. When I tap done again I get “Error saving unnamed page. Please contact SmartApp developer”.(@ady624).
I tried again with the full https URL and it says “Congratulations” but still doesn´t show the next time I enter into settings.
Could you describe your steps in more detail? Are you using CoRE in the iOS app?
Much obliged!
Using CoRE on an andriod.
All I can say is I do the following.
Open CoRE.
Scroll down to settings.
Tap on IFTTT.
Enable usimg the slide button.
Tap on the maker channel part and get the url.
Copy in the last part of the url into the maker key. eKkmB6HV-HS etc.
Click next.
I now get a congratulations message.
Click Done.
Then back arrow out using top left.
It now says 'connected ’ in the IFTTT box.
Click Done. Then Done again.
Those are my steps on an andriod.
The key above is incomplete BTW.
https://goo.gl/photos/LzBiEwvw2ixVRZsp8
I am having a problem with this Piston, the load attribute doesn’t do anything for the first action. The notification part works. What am I missing. Thanks for any help