I am using all this to control x-10 with Smartthings.
Here is a video of what I am doing https://www.youtube.com/watch?v=-C-pjKdNMBo
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 ://192.168.0.11:8086/?x10command=DEVICE~sendplc~%22a5%20AllUnitsOff%22
All Units On - h t t p ://192.168.0.11:8086/?x10command=DEVICE~sendplc~%22a5%20AllUnitsON%22 (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 https://www.w3schools.com/tags/ref_urlencode.asp
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