Page 1 of 1
Virtual outlets..
Posted: Mon May 13, 2013 5:47 am
by lnevo
Can I override the InstalledRelayExpansionModules definition so I could get another relay box in my iPhone app and use the ports to toggle functions instead of memory bits?
Re: Virtual outlets..
Posted: Mon May 13, 2013 8:13 am
by rimai
Yes

I've done this in the past...
Just use Box2_Port1 and so forth
Re: Virtual outlets..
Posted: Mon May 13, 2013 8:54 am
by lnevo
Yeah I saw that in the feature.txt file. So as soon as I reference it, it will add the feature. Will it cause any problems trying to write to the missing relay box? That was one of my main concerns.
This is cool, I can now use relays instead of memory locations to trigger functions. This may be a good route instead of adding that functionality to the wifi code...

Re: Virtual outlets..
Posted: Mon May 13, 2013 8:58 am
by rimai
Nope... no side effect.
You can just reference it and it will start showing up on the Portal and android app automatically.