Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Error retrieving data from X10 DEVICES Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mdsmith
Newbie
Newbie


Joined: April 24 2019
Location: United States
Online Status: Offline
Posts: 14
Posted: September 28 2021 at 17:33 | IP Logged Quote mdsmith

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 View mdsmith's Profile Search for other posts by mdsmith
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: September 28 2021 at 18:41 | IP Logged Quote dhoward

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 View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
mdsmith
Newbie
Newbie


Joined: April 24 2019
Location: United States
Online Status: Offline
Posts: 14
Posted: September 29 2021 at 11:20 | IP Logged Quote mdsmith

Thanks Dave, that worked.
Back to Top View mdsmith's Profile Search for other posts by mdsmith
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum