Author Topic: GarageMote with Moteino Remote Control  (Read 764 times)

MotoDan

  • NewMember
  • *
  • Posts: 7
GarageMote with Moteino Remote Control
« on: June 23, 2020, 02:51:47 PM »
I'm fairly new to Moteino and am having a great time with some of the examples. What I'm now attempting to do is a two-way remote control system using two Moteinos - essentially a GarageMote/Moteino with another Moteino as the Remote Control.

I've looked at the GarageMote example and understand that side of the example, but I need to implement a Remote using another Moteino with two buttons rather than a Gateway with a PC. I have the code working for my Remote which is based on the TxRxBlinky example, I'm able to sleep my remote, wake up on either button press, and open & close the Garage. What I'm not able to do just yet is query the GarageMote's status from my Remote. I'm sure it's very simple to do - just need a little help.

Thanks!

LukaQ

  • Sr. Member
  • ****
  • Posts: 302
  • Country: si
Re: GarageMote with Moteino Remote Control
« Reply #1 on: June 28, 2020, 07:36:19 AM »
You could do it like most remotes do, just switch state.
If doors are closed, open them and the other way around.
This way you wouldn't need two way comm.
And probably if doors are opened, nothing would change by pressing open button.

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6866
  • Country: us
    • LowPowerLab
Re: GarageMote with Moteino Remote Control
« Reply #2 on: June 28, 2020, 01:44:11 PM »
MotoDan,
TO get the status you simply have to send that node a "STS" message and wait for a reply.