Announcement

Collapse

Contacting HomeSeer This Week

HomeSeer is open and operational this week. All orders are being processed and shipped as usual. However, some staff are working from home. If you need to contact HomeSeer for support or customer service, please use our Email or Chat options. https://homeseer.com/contact-us/
See more
See less

CNN Breaking News and Headline news.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CNN Breaking News and Headline news.

    I need a brain refresher course here. In hs1.7 I had CNN line that would check news and announce my breaking news. Then I had another line that would hold the last posted news. In resetting up HS2 I seem to have forgotten how I made the second line hold last reported news. Also Is there a difference in the 2 scripts CNN Breaking news and CNN Headline news? I downloaded both but they look the same, or is this where I am going wrong, 1 posts and the other announces....

  • #2
    HS.SetdeviceString is how you set a device string to a particular string of text.
    CNNHeadlines grabs the headlines (no longer from CNN but elsewhere)and posts them as a virtual device.
    CNNBreakingNews grabs breaking news from CNN's web site and speaks it and sends email.
    -Rupp
    sigpic

    Comment


    • #3
      Thanks Rupp, I see many posts for each could you point me to the most current version of each? Or what the current versions of each should be...

      Comment


      • #4
        Got it workin! Thanks

        Comment


        • #5
          OK, so I downloaded the CNN scripts from here yesterday - http://board.homeseer.com/showthread...&highlight=cnn. Are these the latest? BTW... I'm using HS 1.7.44.

          I followed the intructions and it seems to work. Although, I have questions about the cnn.txt script. I guess it's the one that's the "Breaking News" script. The documentation refers to custom_cnn.txt, but the file I got is named cnn.txt. Is it supposed to only announce the breaking new as soon as it happens and then clear the device status? I saw a breaking news from work today and when I got home, that device was already empty and off. Also, when I run in test mode using cnn.txt("main","test") it works once and then does not announce anything if I run the event again. Is that correct?

          And then there is the other script (CNNHeadline.txt). In the instructions it says to "assign that house & unit code to the virtualdevice variable in this script". Do I need to do that, or does the voice guided config do it for me? If I need to do it, exactly where? The script seems to work fine, but how do you guys separate out the different headline stories? I get all of them in one long device string. ...Just looking for some suggestions/pointers here.

          Sorry if this is too many questions for one post.

          Comment


          • #6
            The CNN breaking news would announce based on the timing of your script check. The cnn breaking news you have to set for a reccurring time of say 5 mins. After it announces the breaking news it would reset. Then setting the Headline news would display the news of the day. If you look in your HS config and find the cnnbreaking news .ini file I believe it will list the last noticed news it found to see if it got it...

            Comment


            • #7
              I have it set to run every 15 minutes. So, after it anounces it clears the device string and only stores the breaking news in the ini file (for as long as I specify), right? So, there is no way to see what breaking news happened when I was not home, unless I look in the config file, right?

              It would be nice to delay announcing breaking news until I arrive home. I'm sure there's a post here somewhere for how to do that.

              Comment


              • #8
                CNN breaking will only announce and reset. Thats it. Then make another Event to run CNN headline news. It will ask to make another virtual device. You then go and make a virtual device with the Code you specified in the Headline script. This will show like 5 big headlines of the day.

                Comment


                • #9
                  Yes, I have both events and both devices. Was just wondering what breaking news was suposed to do, and you have answered that question. I'll dig around to see if someone has figured how how to hold the messages until something happens (i.e., house is occupied). If someone has the quick answer, I'd love to see it.

                  Comment


                  • #10
                    I see what you want.. So as soon as you come home it can speak the last reported..... Yes that would be a nice feature.

                    Comment


                    • #11
                      I guess that's not what breaking news is for. Eventually, the breaking news stories make it to headlines and so having it read headlines when I get home would probably be just as good.

                      Comment


                      • #12
                        I know this is not suitable for you guys across the pond, but I subscribe to the BBC breaking news email alerts. I have a script which announces this and update a virtual device. I find this much better as the 'provider' pushes the information and it is not necessary to keep polling their website. As I regularly check my mailboxes via Homeseer, this is not a problem. It works with my Checkpop scripts only.

                        I know CNN and USAToday both have breaking news email alerts. I did write a script for the USAToday alerts (again for my Checkpop script) but they only send when it really is breaking news (about 7 a month). Perhaps someone should write a generic one for CNN mail alerts? Just an idea!
                        Jon

                        Comment


                        • #13
                          99% of the times, the CNN breaking news script will be much faster than the CNN mail alerts, that's why I decided to pull the info from the CNN site, and at the same time, I won't be forced to configure outlook just to announce some breaking news. I guess it isn't as big of a deal if you have Homeseer scan your mail already.
                          HSPRO 2.4 (ESXi 4.1) | my.Alert NEW | my.Trigger | HSTouch | ACRF2 | UltraM1G | BLWeather | BLLan | Rover
                          (aka xplosiv)
                          Do You Cocoon? Home Automation News, Tutorials, Reviews, Forums & Chat

                          Comment


                          • #14
                            Electron,

                            There was no intention of criticising your script...it works very well. I was just suggesting another way of getting breaking news alerts!

                            I do not use Outlook or any email client for Homeseer but use my CheckEmail script (using a freeware Freepop COM object) to check my mail server regularly. This announces any new email messages when they arrive. I have the option NOT to announce emails from certain email addresses and I use this to mask email alerts from the BBC and USAtoday (to prevent them from being spoken). After the checking has been done, I run the BBC & USAtoday alert scripts which search the CheckEmail database for these email addresses. If new information is found, then it will trigger a news jingle music and then reads the email message body once.

                            Sounds complicated but works very well.
                            Jon

                            Comment


                            • #15
                              I didn't think you were criticising me, sorry if I sounded grumpy
                              HSPRO 2.4 (ESXi 4.1) | my.Alert NEW | my.Trigger | HSTouch | ACRF2 | UltraM1G | BLWeather | BLLan | Rover
                              (aka xplosiv)
                              Do You Cocoon? Home Automation News, Tutorials, Reviews, Forums & Chat

                              Comment

                              Working...
                              X