Announcement

Collapse
No announcement yet.

Guide - Create your own Android HomeSeer Speaker Client using Tasker and AutoRemote

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

    Guide - Create your own Android HomeSeer Speaker Client using Tasker and AutoRemote

    Video guide:
    https://youtu.be/l2oCQk7qdZM

    Version: HomeSeer 3 running on Linux.

    The code entered into speak.sh is (all on one line):
    curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d ' {"communication_base_params":{"type":"Message","fallback":fa lse,"via":"GCM"},"sender":"HomeSeer Speaker","ttl":0,"message":"'"speaker =:= $1"'" ,"version":"1.63"} ' http://192.168.0.109:1817

    You need to change the IP address to the IP of your Android phone, in the above case my Android devices IP address is 192.168.0.109

    If you want your local HomeSeer speaker client to continue working, do not make any other changes to speak.sh other than pasting the above code at the bottom of the file and changing the IP address. My speak.sh is already customised all you need to do is paste the above code down the bottom after changing the IP.

    This guide is complex, I am not responsible if you break your setup. You should have knowledge of Linux and Tasker before attempting to set this up. This is not an official HomeSeer Guide.

    Video of some of the cool things I have done using Tasker, Autovoice, Autoremote, Autowear and the HomeSeer JSON interface:
    https://youtu.be/SD9-vzY15yQ

    Last edited by cytec; May 3, 2015, 05:05 AM.

    #2
    Hi,
    Looks good. You should check out Tonlof's Tasker plugin for Homeseer 3. It can be found in the Tasker sub-forum here: http://board.homeseer.com/forumdisplay.php?f=1272
    Bryan
    Software/Hardware: Win10 Pro, HS 3 Pro, HS Touch, Echo, Edgeport/4, Z-Net w/88 Devices, Insteon PLM w/19 Devices, Nest, GC-100-6, W800RF32A, WS-2080 Weather Station (KMADRACU10)
    Plug-in/Scripts: Alexa API, BLBackup, BLGData, BLLED, BLLock, BLRF, BLTVGuide, Blue Iris, BLUPS, Current Cost 3P, DirectTV, FitbitSeer, Insteon, Nest, Pushover 3P, Random, Restart, Tasker, UltraGCIR3, UltraWeatherWU, Z-Wave

    Comment


      #3
      Wow, that plugin does look pretty cool but at the moment I am focussing on creating my own setup.

      I just use the HomeSeer JSON interface to communicate directly from Tasker to HomeSeer.

      Comment


        #4
        If someone has / knows code that could enable me to turn this into a selectable speaker client instance within HomeSeer it would be much appreciated.

        Cheers

        Comment


          #5
          Ben,

          That's great! Have you a way to access the devices over the GCM? Or only over the WiFi using the JSON?

          --Dan
          Tasker, to a person who does Homeautomation...is like walking up to a Crack Treatment facility with a truck full of 3lb bags of crack. Then for each person that walks in and out smack them in the face with an open bag.

          Comment


            #6
            Only Wifi using JSON at the moment. You can easily alter the above code though to send whatever message you want to Tasker and have it react to it. I also have code for having a HomeSeer event send a message which can then be put into actions on the phone.

            Comment


              #7
              Thanks!


              Tom
              Tom
              baby steps...starting again with HS3
              HS3Pro: Z-NET & 80 Z wave Devices,
              HSTouch: 4 Joggler (Android Kitkat), 2 iPhone, 3 iPads
              Whole House Audio: 5 SqueezePlay Jogglers w Bose Speakers
              In The Works: 10 Cameras Geovision, new Adecmo/Envisalink Alarm, Arduinos
              System: XP on Fanless Mini-ITX w/ SSD

              Comment

              Working...
              X