Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Robert77
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Robert77

    @Robert77

    0
    Reputation
    3
    Posts
    199
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Robert77 Follow

    Best posts made by Robert77

    This user hasn't posted anything yet.

    Latest posts made by Robert77

    • Jeedom and RGB control

      Hello to all,

      I'm building an actuator with the RGB type to control the color of my RGB dot in the garden.
      Hardware is not a big trouble, I work with an ARDUINO MEGA2560 and the communication is good
      between MySensors and Jeedom.

      The question is about the software, for the first step, i just want to send color from Jeedom to my node
      and do some debug via the Serial Monitor. This part is working from Jeedom to the Node, i can see the payload
      in String format #FFFFFF (for white), then the sensor is sending back the info because ack is asked by jeedom, the payload has the good value #FFFFFF (or any other values) but Jeedom is not reconising the #FFFFFF value.

      Now if I send manualy info in V_RVB format, i need to send it without # to allow jeedom to understand.

      Here is my simple code:

      #define MY_DEBUG
      #define MY_RADIO_RFM69
      #define MY_RFM69_NEW_DRIVER 
      
      #define MY_RFM69_CS_PIN   53//10 // NSS. Use MY_RFM69_CS_PIN for the development branch.
      #define MY_RFM69_IRQ_PIN  21
      #define MY_RFM69_IRQ_NUM  2
      
      #define MY_NODE_ID  101
      
      #include <MySensors.h>
      
      
      #define CHILD_SET_RGB_COLOR   0
      
      
      ///////////////////////
      void setup() 
      {
        pinMode(LED_BUILTIN, OUTPUT);
      }
      ///////////////////////
      void presentation()
      {
          present( CHILD_SET_RGB_COLOR , S_RGB_LIGHT  , "Set color"       );
          sendSketchInfo("Light Actuator", "1.0");
      }
      ////////////////////////
      void loop() 
      {
        digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));    // turn the LED off by making the voltage LOW
        delay(500);  
        
      }
      /////////////////////////
      void receive(const MyMessage &message)
      {
        Serial.print("  Reception message ID : ");
        Serial.print(message.sensor);
        Serial.print("  type : ");
        Serial.print(message.type);
        Serial.print("  paylod : ");
        Serial.println(message.getString());
      }
      
      

      If someone has any kind of idea, it would be super, thanks for your help

      posted in Jeedom
      Robert77
      Robert77
    • RE: Integration of pinChange INT

      ok, thanks for the idea, i will proceed as it.

      posted in Development
      Robert77
      Robert77
    • Integration of pinChange INT

      Hello all,

      first of all, I just want thank you about this great job, I use MySensor library for around 1 year for my homeautomation sensor and i never get trouble.

      Now i'm building a door/window opening sensor and for some routing reason i need to use the pinChange interrupt to wakeup the library. I have succeed to do this by modifying a bit MyHwAVR.cpp file but why not including this possibilities inside the project ?

      Best regards

      posted in Development
      Robert77
      Robert77