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âŠ
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.
@ben was going to say the same, just found this now on this thread, what a great tool !!!
it appears to be @JoeC as seen here:
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.