mrmrmrmr
(ilker Aktuna)
March 18, 2016, 8:19pm
1
Hi,
I would like to change color of one of my bulbs according to the weather state. More precisely, according to the rain possibility.
Is there an app which could do it for me ?
(not the temperature but weather state - like clear, rainy, cloudy etc.)
Thanks.
cmeans
(Chris Means)
March 18, 2016, 9:28pm
2
I believe you’d probably tie two things together.
Find a Weather SmartApp.
Implement a Rule Machine rule to change your lights based on values in the Weather app.
Unfortunately, I can’t recommend a particular Weather app, but I would assume there are a few choices to try.
mrmrmrmr
(ilker Aktuna)
March 18, 2016, 9:37pm
3
I already have the weather station device of rboy.
it reports the weather on device tiles.
But how can I get its results to trigger rule machine ?
cmeans
(Chris Means)
March 18, 2016, 9:43pm
4
You’ll probably need to see what Capabilities the Weather Station exposes, and tie a Rule to that value.
Given that most rules revolve around current values rather than predictive ones, it might require an adjustment to the Rule Machine code to accommodate that. Search this forum to find the main Rule Machine thread and post your question/need there…the developer seems very active and responsive.
I just installed the AccuWeather SmartApp, and I don’t see how one would create a rule for a future state, but I’d imagine this isn’t a unique need so others have likely found solutions.
cmeans
(Chris Means)
March 18, 2016, 10:07pm
6
Looks like this has already been done…this is just the first thread I found after a simple search…there’s probably others:
Color Changing Smart Weather Lamp App
1 Like
mrmrmrmr
(ilker Aktuna)
March 18, 2016, 10:35pm
7
mrmrmrmr:
More precisely, according to the rain possibility.Is there an app which could do it for me ?
(not the temperature but weather state - like clear, rainy, cloudy etc.)
I could only find an IFTTT recipe there. Where’s the app ?
btw, I don’t want to use IFTTT , if possible.
cmeans
(Chris Means)
March 18, 2016, 10:38pm
8
The App code is here:
/**
* Color Changing Smart Weather lamp
*
*
* This weather lantern app turns on with motion and turns a Phillips hue (or LifX) lamp different colors based on the weather.
* It uses dark sky's weather API to micro-target weather.
*
* Weather Lamp Colors
*
* Blinking Red Weather Watch, Warning or Advisory for your location
* Purple Rain: It’s raining outside. Triggers when there is greater than 15% chance of rain in this or the next hour
* Blue Cold: It’s freezing outside
* Pink Snow: There is a chance of snow
* Orange Hot: It’s hot outside -- above 90F
* Green Sneeze: Pollen is in the air - above 7 (polin requires integration with IFTTT that sets a virtual switch in ST
* White All clear
*
* With special thanks to insights from the Flasher script by Bob, the SmartThings Hue mood lighting script, the light on motion script by kennyyork@centralite.com, and the Smartthings severe weather alert script
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
This file has been truncated. show original
You will need to install it yourself via the IDE.
I believe IFTTT was only used for the Pollen Count, but you’ll need to confirm that.
1 Like
mrmrmrmr
(ilker Aktuna)
March 18, 2016, 10:46pm
9
thanks.
I found it here:
This app is based on the Color Changing Smart Weather lamp by Jim Kohlenberger (@jkohlen ).
ColorCast is a weather app that displays the forecast with colors using your Hue or LIFX lights. You can specify which types of wether conditions to display and assign specific colors to let you know when it’s going to rain, snow, sleet, when it’s going to be cloudy, windy, cold, hot and/or humid. You can define the parameters for each weather type and ColorCast will let you know if any of those conditions will occur during the forecast period. ColorCast will also flash the lights if you choose to be notified of weather alerts. You can choose the forecast range so you can be notified of the current conditions or, if you’re heading out to work in the morning, the forecast for the next 8 hours, or an…
But the one you pasted here starts with a different comment section. where did you get it ?
Btw, I published the app to my account but I can’t find the section “my apps” on the new Android app.
Where is it ?
cmeans
(Chris Means)
March 18, 2016, 11:50pm
10
Use Publish/For Me, then you can go to the Market Place/SmartApps/MyApps to install it.
1 Like
mrmrmrmr
(ilker Aktuna)
March 19, 2016, 10:22am
11
I know…
I have that in my phone with Lollipop Android.
But on the marshmallow android phone I have a different GUI for Smartthings App. And in that one I can’t get to “MyApps”
Any ideas ? Anyone ?
celblazer
(Bernie H)
March 19, 2016, 3:39pm
12
Got to marketplace, smartapps then scroll down. Last option is my apps. I’m running marshmallow also.
1 Like
mrmrmrmr
(ilker Aktuna)
March 19, 2016, 9:32pm
13
ok. I got it. I’ve been using another account on my marshmallow phone. Of course this user does not have access to the apps of the other user.
mrmrmrmr
(ilker Aktuna)
March 19, 2016, 9:34pm
14
I’ve added some features to the one here:
This app is based on the Color Changing Smart Weather lamp by Jim Kohlenberger (@jkohlen ).
ColorCast is a weather app that displays the forecast with colors using your Hue or LIFX lights. You can specify which types of wether conditions to display and assign specific colors to let you know when it’s going to rain, snow, sleet, when it’s going to be cloudy, windy, cold, hot and/or humid. You can define the parameters for each weather type and ColorCast will let you know if any of those conditions will occur during the forecast period. ColorCast will also flash the lights if you choose to be notified of weather alerts. You can choose the forecast range so you can be notified of the current conditions or, if you’re heading out to work in the morning, the forecast for the next 8 hours, or an…
Now it completely works great for me.
I also added color change functions from that one to my Weather forecast app. everything fine…
thanks to all who helped.
Anything for Osram Sylvania Lightify color bulbs?