Author |
|
mdsmith Newbie
Joined: April 24 2019 Location: United States
Online Status: Offline Posts: 14
|
Posted: September 28 2021 at 17:33 | IP Logged
|
|
|
I'm using the formula ph_x10btn("F13",2,0) and get an
message, "An error occurred while retrieving data from the
X10DECVICES AND X10TYPES TABLES. Has anybody seen this error
and hopefully a solution as to why and a fix.
looking through the forum for any help and no solution.
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: September 28 2021 at 18:41 | IP Logged
|
|
|
Michael,
I suspect the problem has to do with the first parameter "F13". Unless you've already defined an X10 Device in the PowerHome
Explorer under PowerHome->Devices->X10-Units with an ID of F13, this function will not work. The first parameter is expected
to be a PowerHome X10 Device ID and not a Housecode/Unitcode.
If you wish to send raw X10 commands without actually defining them as a Device in the PowerHome Explorer, you would use a
formula such as:
ph_x10("X10_CONTROLLER_ID","F",13,0) + ph_x10("X10_CONTROLLER_ID","F",102,0)
I would recommend declaring your X10 devices in the X10 section of the PowerHome Explorer as it will make programming easier
as well as allowing you to control and monitor your device using the Device Status screen.
Dave.
|
Back to Top |
|
|
mdsmith Newbie
Joined: April 24 2019 Location: United States
Online Status: Offline Posts: 14
|
Posted: September 29 2021 at 11:20 | IP Logged
|
|
|
Thanks Dave, that worked.
|
Back to Top |
|
|