Trying to get Simple Rule Builder to perform a simple task:
When the luminosity of the Smart Weather Station Tile app (I named it Weather Outside) reads less than 100 lux turn a few key lights on. Since I wanted to test the ideal luminosity for the lights to turn on I started by asking it to send a push message so I could fine tune appropriate luminosity setting. Problem is that I am not getting any push notifications. I know the notification system works because I test if via the ExecuteRule button but it does not seem to work in real time as I can view the lux in the app and it is below the 100 lux value. Is it a problem with the Smart Weather Station Tile app not polling correctly or have I written it up incorrectly? Thanks
try using a value of 100 instead of 100 lux.
Ditto, what Joe said, also do you know for a fact that the light sensor updates as quickly as you would like⦠Iāve seen and heard that the weather station tile is slowā¦
@Paulo, out of curiosity why didnāt you use the āLight Up the Nightā SmartApp?
I did but couldnāt figure out how to set a specific luminosity level without going into the code of the app.
@Paulo, true because the app uses a set value, BUTā¦
I tweaked STās app and created a custom one that allows you to set the LUX level, and also send notifications and/or text message. Just create your own SmartApp and give this a shot:
https://github.com/constjs/SmartThings-Apps/blob/master/my_custom_light_up_the_nights.app.groovy
I tested it several times in the IDE and with my own real devices, and it worked.
Putting in just the number value worked. I received the push notification 9 minutes after sunset. Which got me thinking maybe the easiest way to achieve my result is to just use sunset time as a constant and adjust the time variable +/- as needed. I increased the value to 200 lux to see if that will work as I typically need the lights to come on 5-10 minutes before sunset. While Iām waiting for the results of the new value Iāll try the amended āLight up the Nightā code you provided. Thanks for all the help.
Who made SimpleRuleBuilder? Love this community!
All of my smartthings run through simple rule builder. I havenāt had time to work on building apps and this, frankly, just works.
Yea itās pretty low key but I use it a lot!
Thank you @JoeC for Simple Rule Builder. You just created a very simple and elegant interface that I can use on my computer to generate ST tasks. That has been my gripe with ST from day one, they donāt have a web interface and for some reason they think the phone app in a small screen is the way to go. And just wait a few days after you figure out how to do something on the phone app and try to do it again. I will be darned if I can find where the hell in the app I started at. You and 625alex are providing us with the things ST lacks.
@keithcroshaw and @Sam2b
I just published an update that should allow hello home phrases, mode changes, and push notifications to be delayed. You both had mentioned that those were not working (thanks!). I did some minimal testing to make sure they were working, but would you mind taking a look too? Let me know if you have any issues. 
Awesome. Thanks for continuing to support this great app!
Iāll take a look.
@JoeC, thank you! Yes, now both mode and phrase delays work as expected! Nice, thanks so much. This app is very useful.
Hey!
I just picked up a hub v2 in the UK and Iām having trouble getting simple rule builder to authorise. When I login and click through, the āfromā list has no optionsā¦
Can you shed any light?
Many Thanks,
Joe
This is just a wild guess, but other third-party authorisations, including IFTTT, have been failing because theyāre going to the US server for the account.
You could start by reporting it to support.
@Jim Could this be related to the change mentioned in āDeveloper Impact - Infrastructure Changesā post? Itās been a little while since I have thought about the OAuth process, so I am a little rusty. In terms of an installation workflow, when does getApiServerUrl() first come into play? If I remember correctly, at the point where @joealanjones is, I havenāt received any data from the server yet. Iām very likely not correct there though ![]()
Just started playing around with this (I was waiting until I got my Hub v2 set up so I didnāt have to deal with two setups at the same time), and this is exactly the type of stuff I wish that SmartThings did natively.
I wonder though if there is any possibility of grouping devices to simplify setup (especially for triggers). For example, I might want a rule that uses all motion sensors to detect no motion as the trigger. The way I have done it in my testing is to set the main motion sensor as the trigger and the rest as conditions of that trigger. Itād be easier though if I could say I want my sensor āgroupā to detect no motion first.
Also, I noticed that when I signed up for the account that my password wasnāt even masked. That leads me to wonder about the security practices behind this. I mean, the site is using SSL, but are there other security precautions being taken to keep data safe?
No offense to @JoeC but I used a password generator for that exact reason. Love the site all the same. Having an āor/andā operators in the trigger would be very nice.

