Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Reading Valve Status Byte for EZRain Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
patrickm
Senior Member
Senior Member


Joined: February 22 2007
Location: United States
Online Status: Offline
Posts: 188
Posted: May 16 2007 at 11:45 | IP Logged Quote patrickm

Has anyone figured out a way to read the valve status byte within Powerhome? I have not had great reliability with the PLC timer and EZRain. I would like to be able to verify that the valve has changed state from within Powerhome but there does not seem to be a way to read the valve status byte. If ph_insteonraw could return the actual insteon ack cmd1 and cmd2 values, full control of EZRain would be possible. Any ideas?

Patrick
Back to Top View patrickm's Profile Search for other posts by patrickm
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: May 19 2007 at 23:23 | IP Logged Quote dhoward

Patrick,

I have searched the code high and low and can find no way that this info can be obtained with .10. I don't know how I missed providing a hook for this type of info, but apparently I did.

Not to worry though. Ive placed a hook in the code for this and have created a new ph_insteonwithret function that will return the value in CMD2. It will be available in the next beta.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
patrickm
Senior Member
Senior Member


Joined: February 22 2007
Location: United States
Online Status: Offline
Posts: 188
Posted: May 20 2007 at 14:58 | IP Logged Quote patrickm

Thanks very much for adding that insteon command. I have noticed while getting the EZRain module up and running that insteon broadcast messages are not showing up in the log. Is it possible to use them as a trigger for powerhome?
Back to Top View patrickm's Profile Search for other posts by patrickm
 
twomble
Groupie
Groupie
Avatar

Joined: January 07 2007
Location: United States
Online Status: Offline
Posts: 45
Posted: June 30 2007 at 15:45 | IP Logged Quote twomble

Hello Dave! I have upgraded to version .11 and would love to get PowerHome to control my EZRain. Any hints on how to get this going? I only have 4 zones wired up and I'm just using KPL buttons to run the zones now.
Back to Top View twomble's Profile Search for other posts by twomble
 
ginigma
Senior Member
Senior Member


Joined: June 18 2006
Location: United States
Online Status: Offline
Posts: 127
Posted: June 30 2007 at 21:57 | IP Logged Quote ginigma

twomble,
I am configuring my program and valve times with the Simplehomenet config utility and just starting a program with PH. The command I'm using is: ph_insteon ("RAIN 01",66,0), 0). That starts Program 1.

I've been working with Dave for the past couple of days and he's putting in some hooks to be able to trigger off valve changes and other EZrain commands.


__________________
Insteon (40 devices) ^ PowerHome (435 links) ^ Logitech Harmony 880
Back to Top View ginigma's Profile Search for other posts by ginigma Visit ginigma's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: July 02 2007 at 08:55 | IP Logged Quote dhoward

Twomble,

Very soon! I thought I had all the necessary changes for .11 but Ive been working with ginigma and found out I missed a couple of details.

Not to worry, .12 will be out soon with this and other bug fixes.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: August 05 2007 at 22:25 | IP Logged Quote dhoward

All,

The attached zip file can be extracted and the two internal files can be executed in the PowerHome Multi-Editor (SQL mode...shift-F5) to bring the latest alpha (phalpha8.zip) up to date so the EZRain and other SimpleHomeNet products will be supported.

In the triggers screen, you should now be able to fire triggers off of Insteon Broadcast commands and Insteon Direct ACK commands.

Let me know how it works and if you have any problems.

Thanks,

Dave.

***Edit...See the post below for an alternative method that works.


Edited by dhoward - August 06 2007 at 20:24
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
jbbtex
Senior Member
Senior Member


Joined: February 15 2007
Location: United States
Online Status: Offline
Posts: 181
Posted: August 06 2007 at 19:35 | IP Logged Quote jbbtex

all_id_data.sql executed properly.

But I got this error:

Invalid Direct SQL Code -131
     SQLSTATE = 37000
[Sybase][ODBC Driver][Adaptive Server Anywhere]Syntax error or access violation: near ';' in ...from dropdowns[;] ...

after executing dropdowns.sql

Back to Top View jbbtex's Profile Search for other posts by jbbtex
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: August 06 2007 at 20:19 | IP Logged Quote dhoward

Well, I checked this out and it's not going to work. The dropdowns table is protected from changes so the scripts will not work.

As an alternative method, download the new, default ph10395.db database file from here: http://www.power-home.com/download/ph10395.zip and copy it into your database directory overwriting the existing file. Shutdown PowerHome and run the Database Upgrade Utility and rebuild your existing database. When done, it will have the latest changes for both all_id_data and dropdowns. Restart PowerHome and you should be good to test.

Dave.


Edited by dhoward - August 06 2007 at 20:23
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 

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