Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: I/O Linc 2450 help Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Jim8899
Newbie
Newbie
Avatar

Joined: December 24 2015
Location: United States
Online Status: Offline
Posts: 4
Posted: December 24 2015 at 13:11 | IP Logged Quote Jim8899

I'm new to PH, and so far I've been able to figure most of it out. The problem I'm having is I have an I/O linc to contol garage doors that are on the inside of the glass of a greenhouse. I want to be able to open the doors at sunrise and close them at sunset to keep the heat in at night. I can't seem to contol them with PH. The I/O linc is set up for Momentary C, so ON will only open the doors if closed, and OFF will only close the doors if open. I set up a keypadlinc and that works great. I set up an Insteon HUB, and it also works. Sending an ON or OFF command from Device Status doesn't work, and can't get macros to work either. I am controlling lights and a fan in the greenhouse with macros so I know signals are getting there. Using a PLM 2413U. Any help would be great!
Back to Top View Jim8899's Profile Search for other posts by Jim8899
 
Jim8899
Newbie
Newbie
Avatar

Joined: December 24 2015
Location: United States
Online Status: Offline
Posts: 4
Posted: December 30 2015 at 16:28 | IP Logged Quote Jim8899

Making progress, I think... If the door is closed, an ON command should open it. In Device Status, sending the ON command does work. Sending an OFF command should now close it. It seems like PH always thinks the status if the I/O Linc is off, so sending the OFF command from Device Status doesn't work, unless I send an ON command and then the OFF command. I'm guessing PH checks the status of the device and ignores the OFF command because it thinks it is already off. So I'm closer there, but I still can't get macros to work. With the door closed, sending FAST ON command doesn't work, and I've also tried the ON command (some clarification here would help). Sure have been getting my exercise walking back and forth to the greenhouse...
Back to Top View Jim8899's Profile Search for other posts by Jim8899
 
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: December 30 2015 at 23:23 | IP Logged Quote nick7920

I am not at home to get my full notes but here is what
I think can help.

I/O link device name in PH for example is
greenhouse_Relay

you can check the door status which comes from sensor
side, for example : jump command

if ph_insteonwithret("greenhouse_Relay",25,1)=0,1,20)
(in my case 0 is for door is Open)



(sensor is the one which tells the on or off status of
door)

then to open and close for door is sent by

ph_insteon('greenhouse_Relay',17,255)

I have my door set up as Momentary Mode like garage
door button pressed. so command is same for open or
close the door , just like you press the garage door
button.



also when you first include the device , I think the
door status of sensor depends ON or OFF at that time.
so make sure what is return for your case for the
command of ph_insteonwithret.

Nick




Back to Top View nick7920's Profile Search for other posts by nick7920
 
Jim8899
Newbie
Newbie
Avatar

Joined: December 24 2015
Location: United States
Online Status: Offline
Posts: 4
Posted: December 31 2015 at 12:37 | IP Logged Quote Jim8899

Awesome Nick! Got the Macros working! Now just set up some Timed Events and I'm cooking with fire. Quite the learning curve, but PowerHome is a great program! Thanks for the help!!

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

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: January 04 2016 at 20:56 | IP Logged Quote dhoward

Jim,

Another thing you may want to look at is creating
Analog I/O devices (in PowerHome Explorer under
PowerHome|Devices|Analog I/O). You can create a
virtual device that represents the input portion of
the IOLinc as well as a virtual device that represents
the relay portion of the IOLinc. This may give you
some additional control. The virtual devices will also
properly follow the current configuration of the
IOLinc ie if the IOLinc is set to momentary, sending
an On command will turn the relay On and then will
update to reflect that the output is Off after a short
delay. The Insteon device (which is unaware of any
particulars of how the IOLinc actually works) will
only reflect the status as it is set.

If you send an On or Off command to an IOLinc, that
command should always be sent (you can watch the Raw
Insteon log in the Insteon Explorer) whatever the
status of the input (PowerHome does not do any
conditional checking).

It definitely sounds like you're making excellent
progress though so let me know if you have any other
questions or problems.

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

Joined: December 24 2015
Location: United States
Online Status: Offline
Posts: 4
Posted: January 07 2016 at 16:33 | IP Logged Quote Jim8899

Thanks Dave, I'll keep that in mind for future projects. Garage doors have been working flawlessly (Knock on wood) for the past week.

Jim
Back to Top View Jim8899's Profile Search for other posts by Jim8899
 

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