Originally posted by TomTom
View Post
Below are some images that help (hopefully) to explain. Basically I took an old microphone that had a cable with a mono 1/8 inch (3.5mm) plug at the end. I cut the cable and plugged the 1/8 inch plug in the Ext Alert jack of the radio. I connected the negative lead (copper shield) to the ground (GND) terminal and the positive lead to the sense (S) terminal on the IOLinc and then followed the Sensor Input steps in the IOLinc manual to setup the IOLinc. I don't have Insteon so use the IOLinc in X10 mode. I created a device for it in HS and run a high-priority event when the device status changes to On. I then run a script to scrape the Environment Canada website to get details on the alert. I've been playing with the wait time prior to the scrape as it's not consistent as to how fast the alert shows up there. I then speak the event over the whole house audio system (Squeezebox) and then send an email and pushover message for when we're not home. It's been working well, but unfortunately Environment Canada has a habit of isssuing weather warnings at 4 AM mountain time for weather events that may not occur till much later in the day, so it's pretty frustrating to get woken up that early for something that isn't supposed to happen for hours. Hope that helps, if not ask away.
Cheers
Al
PS An X-10 PSC01 Powerflash module should work as well.
My event actions:
PHP Code:
Wait: 120 seconds
Run script: weather-environment canada.txt
Run script: &hs.speak hs.devicestring("w21")
Run script: &hs.SendEmail "address@email.com", "anotheraddress@email.com", hs.devicestring("w1") & " - " & now(),hs.devicestring("w21")
Pushover (3P): Message: $$DS:W21 (High Priority)
Title: Weather Alert
Sound: Pushover (default)
Comment