Can I make a bookmarkable web address, that when accessed would cause the ELK m1 GOLD to run a rule?

ghurty

Active Member
Can I make a bookmarkable web address, that when accessed would cause the ELK m1 GOLD to run a rule?
 
Thank you
 
Not without additional hardware/software.  You need something that 1.) has a programmable web interface and 2.) can talk to the elk via it's TCP api.   You could, for example, set up an HTTP trigger in CQC that would run commands against the Elk, or possibly do something with the webserver addon to run a rule on the ISY to send Elk commands, or setup your own web server and write a javascript or other scripted solution to talk to the Elk.
 
I'd bet you'd want to cheat and use Premise or Elve or one of the freebie things - or if you're into coding, checking out some of the other code examples out there.
 
Of course there are probably a ton of other ways to accomplish what you want... I remember some web controllable relays that would allow exactly that - a basic URL access to trigger open/close/momentary latch - hook that to an Elk input zone and you're golden (as long as you only need one).
 
Care to elaborate and what you're doing?
 
I have a door that is controlled by an M1Kam and a relay. It is set to open at 8am for a few hours. I want to set an easy way, that if I want to lock the door when it is supposed to be open or vice versa, to toggle the relay state, rather then having to go into the ELK and run a new rule.
 
It seems to me that you could get a web controlled relay as Work2play suggested and then just write two rules.
 
When the web relay is activated
and it is the specified time frame
and the door lock is open
then close it.
 
When the web relay is activated
and it is the specified time frame
and the door lock is closed
then open it.
 
Mike.
 
It just occurred to me that you could just add a task to the M1 that turns on an output which in turn triggers rules for the door lock. That task could be triggered using M1TOGO or eKeypad or an android Elk software unless it absolutely needs to be done from a web browser.
 
Mike.
 
Back
Top