Sample List of URL X10 Commands

Forum to discuss X10 Commander iPhone/iPod/iPad/Android client for X10 Devices

Sample List of URL X10 Commands

Postby natehales » Thu Oct 12, 2017 7:35 pm

I am using all this to control x-10 with Smartthings.
Here is a video of what I am doing

This is the x10 URL commands I know. The http is spread out because I could not have more than 7 links in this post
(please add more samples if you know any more)

ALL Lights ON (House code A) - http://YOUR IP ADDRESS:8086/?x10command=DEVICE~sendplc~%22a5%20AllLightsOn%22
All Lights Off (House code A) - h t tp://YOUR IP ADDRESS:8086/?x10command=DEVICE~sendplc~%22a5%20AllLightsOff%22

All Units Off - h t t p ://
All Units On - h t t p :// (not sure if this All Units ON is right because it does not work for me)

A1 On - h t t p://YOUR IP ADDRESS:8086/?x10command=DEVICE~sendplc~%22A1%20on%22
A1 Off - h t t p:// :8086/?x10command=DEVICE~sendplc~%22A1%20off%22

A1 Dim 30% - :8086/?x10command=DEVICE~sendplc~%22A1%20dim%2030%22
A1 Bright 30% - :8086/?x10command=DEVICE~sendplc~%22A1%20bright%2030%22

If you want to know what all the %20 and extra thing in the line are, here is a useful page that tells you all of them

FOR .bat files (Scripts) you need to add double percent (everywhere you see a percent sign) .. like this %%
Here is a sample .bat file (Watch the video to see it in use)
if "%1"=="on" curl h t t p://YOUR IP ADDRESS:8086/?x10command=DEVICE~sendplc~%%22A8%%20on%%22
if "%1"=="off" curl h t t p://YOUR IP ADDRESS:8086/?x10command=DEVICE~sendplc~%%22A8%%20off%%22
Posts: 3
Joined: Sun Sep 24, 2017 2:11 am

Re: Sample List of URL X10 Commands

Postby Melloware » Sat Oct 28, 2017 10:14 am

I think you hit all the major features! Nice job.
Melloware Inc.
User avatar
Site Admin
Posts: 11055
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Return to X10 Commander

Who is online

Users browsing this forum: No registered users and 2 guests