Announcement

Collapse
No announcement yet.

Controlling HomeSeer Devices using Harmony Remote

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

  • Controlling HomeSeer Devices using Harmony Remote

    Hi,

    Looks like the 2nd Harmony Remote question in the last couple of days... I am trying to use my Harmony Remote to control devices and/or activities through HS3. I have the MeiHarmonyHub up and running fine. And Having done some Googling I have done most of the steps from here: https://forums.homeseer.com/forum/ho...vices?t=185750 Up until creating devices, at which point I get a bit confused. Could I get someone to point me in the right direction to get the last 50% working? Thanks in advance,

  • #2
    Make sure that you have control by JSON allowed in your homeseer settings.
    Tools, Setup, network, remote control settings, Enable JSON.

    When you create a new device there is way more options, then you need.

    Biggest one is on and off commands:
    ON:
    http://XXXXXX:80/JSON?request=contro...=XXX&value=255

    OFF:
    http://XXXXXX:80/JSON?request=contro...ef=XXX&value=0

    You need to fill in the X's. Homeseer IP # and port (80 default). Then after "Ref=" you need to put the ref number of the device you want to control. That's under home, click the device and go to advanced tab and its the first line.

    Hope this helps.

    Comment


    • #3
      Thanks Integlikewhoa,

      I apologize for taking so long to respond here, I've been away from home due to work. I had learned a little of what you had pointed out, just much harder (way harder!), and I wanted to document just in case it turns out to be useful. Please note I am running things on Ubuntu.


      First hint: "cat myjsonfile.json | python -m json.tool > pretty.json" This will come really important in a second.

      Second hint: assuming your server is 192.168.1.1 using port 80, then type in your webbrowser: http://192.168.1.1:80/JSON?request=getcontrol Save all this text (not really readable) into a file... and name it myjsonfile.json. You now have a readable file. Search for terms "names" that match names from your Device list. In that same section you will find a tag "Ref" -- that's the reference number for that device. More to come a bit later :-]

      Comment

      Working...
      X