[DEPRECATED Thread: visit community.webcore.co for assistance] webCoRE - Piston Design Help (ask your fellow members for assistance)

Thank you guys however the ability to get sounds through a speaker isn’t what I was asking about I already accomplish that by using lannoucer on a tablet. That is Bluetooth to a speaker I have. I was wondering can I get an outside weather service to play on my speaker using webcore and if so what is the service called I figure the one I saw one YouTube was either ask Alexa or sonos own native weather

@sockmonkey excellent! enjoy :slight_smile:

Did it ended up working without the quotes? Personally, I didn’t use quotes and it worked.

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.

1 Like

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. :slight_smile:

donation link at bottom of this post by @ady624 :

3 Likes

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

1 Like

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…

1 Like

@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. :laughing:

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. :wink:

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.

1 Like