If this is your first visit, be sure to check out the FAQ. You must register before you can post. Your first post will be checked for appropriate content
(SPAM) - please allow a bit of time for that. After that, you'll be able to post at will!
How can I control the Arduino from a HS script?
I would like to set a Digital output on and off.
Do in need to use "CAPI"?
Thanks, Drew
You should just need to set the device value like you would any device. I guess you could use hs.SetDeviceValueByRef(1234, 1, True) where 1234 is the device and 1 is on.
Greig.
Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
Scripts = Various
Yes I have tried "hs.SetDeviceValueByRef(1234, 1, True)" it turns on the device in Homeseer Web Control, but does not set the Arduino pin. If I use the Homeseer Web Control "On" button it will set the Arduino pin.
Comment