Page 1 of 1

Switch MyDoorOpener by Serial command from pc

PostPosted: Wed Apr 23, 2014 5:25 pm
by Fred57
Hi,

Can anyone guide me through switching my door opener via serial input from my pc please.

Thanks.

Re: Switch MyDoorOpener by Serial command from pc

PostPosted: Wed Apr 23, 2014 6:14 pm
by support
Not sure what you are trying to achieve here ... Can you elaborate a bit more on this ?

Typically, our solution requires triggering via HTTP thru our iPhone application interface ...

Re: Switch MyDoorOpener by Serial command from pc

PostPosted: Wed Apr 23, 2014 9:37 pm
by Fred57
Thanks for your reply.
I am trying to fault find prowl push notifications and want to force an open event from my pc whilst on the debug page to see what happens.
I can use the iphone app to do this I guess but I was interested to see if it can be done via serial link.

Re: Switch MyDoorOpener by Serial command from pc

PostPosted: Thu Apr 24, 2014 10:28 pm
by support
You can edit the .INO file to have it call either openNotificationsHandler() or notifyViaPush(subject, body) ...

The first method (openNotificationsHandler) will look at your door/device's status and will only fire a notification
if one of the doors/devices is considered OPEN.

If for debugging purposes, you want to force a notification in all cases (device/door open or not), you could call
the second method (notifyViaPush), supplying subject and body arguments (both are string values).

Hope this helps. Best regards,