Premise-New Device to talk to Arduino

1home1pc

New Member
Hi Guys
I'm thinking of making the switch to Premise (currently using Elve)
 
I have an Arduino Unu which I programmed with RF codes to control a number of plugin outlets.
Its coded to look for simple serial commands which then send the corresponding RF signal.
 
for example,
if "a" is received it turns on outlet 1
if "A" is received it turns off outlet 1
If "b" is received it turns on outlet 2
and so on
 
I'm sure there is a much better way to do this but I'm very new to Arduino so I just stuck with what worked first.
It is quite easy to send serial commands with Elve but I'm having trouble getting it to work in Premise
 
I was hoping to create a new device(serial) with power state on/off, then assign my serial data to the on and off but I've been unsuccessful so far.
 
Any suggestions would be much appreciated
Thanks
Mike
 
 
 
 
 
Back
Top