You can build a weather report using the $weather API built into webcore or use on provided through the same API. Check out the wiki.webcore.co/Weather
Works perfect. Thank you. Will be sending a donation
I have three basic modes for our house: Home, Away, Night.
Our presence sensors are Android phones and have been pretty reliable. But, we are having guests, also known as “in laws” in the next few weeks.
When both of our presence sensors are away, the SHM is Armed Away. When its in Home mode, its disarmed.
I need to create a Guest mode obviously, but how do I go about this? For one thing, it needs to keep the SHM disarmed, keep the fan switches on for the ceiling fans, and relay to my Nexia thermostats to run in Hold mode. The latter appears not to be possible based on the device handler.
Suggestions? Im trying to think of something to use as a trigger but coming up with nothing.
You could go the pricey route and give them presence tags, or you could go the easy route and create a Houseguests simulated presence sensor and add it to your system. The simulated sensor idea is based on the presumption you don’t care if they’re actually in the house or not.
If you wanted to do some more coding than that, you could create a simulated switch named, for example, “SHM Guest Mode,” and add it to your system so it bypasses the presence detection for your regular household presence indicators.
It would help to know if you are arming and disarming SHM by presence directly, or via pistons. But it doesn’t really matter. The options above should allow you to intervene in either way you choose.
Is there a way to reach out and touch (i.e. PING or some similar approach) a device with an IP address then test for response/no response? Maybe an HTTP GET?
I can think of several use cases, but the immediate piston is one that checks for my TV (static IP address) on or off. ATM, I have a power plug connected to it for no other purpose than to tell the piston whether the TV is consuming power as an indicator of on/off.
@Gietlt terrific!!! i just do this in the spirit of community, so no donation needed or expected. but, if you would like to donate, please do send the donation to @ady624 without whose extensive work on webcore this community would not exist.
donation link at bottom of this post by @ady624 :
Wow, thank you so much that wiki was spectacular and specific any one have any example Pistons of let’s say an audible tts using the built in weather api playing today’s forcast on what ever sound device
Does this mean 10 seconds ? I would like this value to be 2 minutes should it be expressed in milliseconds
thats 1 second. 2 minutes = 2 * 60 * 1000 = 120000
If you already have your speaker working then just build a variable with all the information you want added and then have your speaker read that variable out.
To answer your other question 1000 milliseconds = 1 sec
Going to give it crack tonight I still don’t exactly know how I want to apply it yet that why I was asking for examples but thank you I saw a forcast. For 3 days in one string but I don’t think I saw one for one day
$weather.conditions.current_observation.weather
will give you the current weather conditions
$weather.forecast.forecast.txt_forecast[0].forecastday.fcttext
would give you the next forecasted report.
$weather.hourly.hourly_forecast
Is like your a la cart option. Pick and choose what you would like.
Directly via the Smart things app.
Virtual switch seems like the hot ticket right now. Flip a switch and program it so the home and night routines run as normal but away never runs. Hmmm…
@Ronald_Balu Those are great options from @c1arkbar. You could also simply configure multiple voice reports in AskAlexa (unless you don’t have Alexa or don’t want to go to the trouble of configuring AskAlexa). The weather reporting options in AskAlexa’s extensions are…extensive.
If I remember correctly. He does not have Alexa. I believe a Google Home. But I could be confusing people
Either way, your route is far, far faster than configuring AskAlexa if he doesn’t already have it configured, even if he does have Alexa. I’m probably the one confusing things.
I have been down that rabbit hole of AskAlexa. I really like it and the dev is top notch with updating and helping. I am just anxious for the push support he suspects is coming down the line. So I have it installed and follow his weekly updates.
I am also anxiously awaiting the push updates. They will work much better with my system plan because I do not want the SONOS speakers or LANnounce handling all of the notifications.
I have an Alexa and an aws account with some experience in installing custom coded apps but when I saw all that is required to install ask Alexa I wasn’t to thrilled to jump on it right away especially since Alexa now is much more friendly with controlling smart devices then she was earlier on when you needed a lot of ifttt and smart things as the go between .
Despite my reservations I will still probably install it because I’d like to set up a piston where after I walk in the house Alexa ask me something like “are there any home control adjustments or activites you want me to start for you?” And I could say yes adjust temp or turn on fox ,heat my tea kettle . And also I love how ask alexa lets you chain off commands without having to keep saying the wake word between each command. I hope that works with outside command as well not just the ones pre configured in he ask alexa settings .
So in conclusion I could then configure weather in ask Alexa if and when I get it set up. But for now the built in weather api sounds like a go for me.
I’m having a problem turning my Ecobee3 back on after the piston turns it off. I can’t find the right command out of the long list to resume the normal comfort setting for the appropriate time period. I’ve tried various settings other than resumeprogram(), removed the awake() and other things. Any ideas? I’m using the custom Ecobee3 v5 device handler.