Buttons that send different signals to the same sensor



  • Hi,

    First of all love mycontroller. I love particularly that the front end is angularJS (I am a developer using AngularJS on my day to day)

    My situation is as follows:

    I have an arduino that is hooked up to a 433mhz transceiver. That arduino (through the serial monitor at the moment) takes a bit value and either turns a plug on or off based on the bit value.

    My question is:

    In the mycontrollers enviroment, how would you add functionality to be able to send these various bit values to the same sensor?

    Ideally I would like sections relating to each remote and buttons for on and off?

    Is this possible? Or something that I would need to implement myself?

    Thanks

    -----------------------------UPDATE-----------------------------------------

    Ok so my posting to the forum may have been a little bit premature.

    For anyone that may be new to this and wanted to know the solution...

    In my sketch I registered 4 sensors - one for each remote plug i had.

    In my incomingMessage function (which was passed the node id and binary value) I filter through which node I need to be emitting a signal to, and what signal to emit.

    Simple as that. If anyone would like the sketch let me know!


    Log in to reply
     


  • @mwild95
    Could you share your sketch?
    I'm planning to mysensor-ize my 433 wall plugs and it might be a good starting point 🙂


  • Plugin Developer

    @mwild95 for now with 0.0.3-alpha1 release you can configure with group payload ON/OFF. but there is a request for this feature. I will implement when I get time.

    https://github.com/mycontroller-org/mycontroller/issues/47

    Thank you!


Log in to reply
 

3 out of 3

Suggested Topics


  • Hardware •   29 Apr 2014, 18:36

    17

  • MyController.org •   3 Jan 2023, 15:42

    1

  • MyController.org •   4 Nov 2022, 18:29

    9

  • MyController.org •   14 Jun 2021, 16:56

    5

  • MyController.org •   12 Jun 2023, 19:06

    1

  • MyController.org •   2 Aug 2021, 04:04

    9

13
Online

11.5k
Users

11.1k
Topics

112.8k
Posts