Navigation

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

    nikorun

    @nikorun

    0
    Reputation
    4
    Posts
    602
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    nikorun Follow

    Best posts made by nikorun

    This user hasn't posted anything yet.

    Latest posts made by nikorun

    • RE: Porting MySensors to work with the RadioHead library

      Hi,

      Just wanna say that I've finaly compiled the sketch, on another computer....
      I've tested it succesfully with SerialGateway and LightSensor.
      As I have a high power module, I had to change the transport declaration as mentionned before:
      MyTransportRFM69 transport(RFM69_FREQUENCY, RFM69_NETWORKID, RF69_SPI_CS, RF69_IRQ_PIN, true, RF69_IRQ_NUM)
      it works well for me but I had to change the RFM69 frequency in Myconfig.h, by uncommenting
      #define RFM69_FREQUENCY RF69_433MHZ
      and of course commenting
      //#define RFM69_FREQUENCY RF69_868MHZ

      To use LightSensor , I changed some declarations in LighSensor.ino. Instead of simply have :
      MySensor gw;

      I had to declarations before to use the RFM69 module :
      MyTransportRFM69 radio;
      MyHwATMega328 hw;
      MySensor gw(radio, hw);

      I tested it with the excellent Windos GUI Controller made by tekka and found here

      Again thanks for your help, I'm now trying to use it with Jeedom, It doesn't work yet but ... it's another story ...:-)

      Bye

      posted in Development
      nikorun
      nikorun
    • RE: Porting MySensors to work with the RadioHead library

      Hello,

      Well ... things are not going the way I expected. i have done a fresh install of Arduino 1.6.4 on my Windows PC, then Downloaded the zip from devellopment branch and extracted it in the Sketch directory.
      Then I have opened the .\libraries\MySensors\examples\SerialGateway\SerialGateway.cpp (wich also opens GatewayUtil.h).
      Then I compiled it :

      • The first error was : "... \MyHwATMega328.cpp:22:22: fatal error: LowPower.h: No such file or directory" , I solved it by copying the requested files in the MySensor directory
      • The second error then was : " .... LowPower.h:4:6: error: multiple definition of 'enum period_t'", I solved it by deleting the corresponding def in LowPower.h

      Other errors happened so I thought that there was probably another problem, in my install or something else.

      I also tried with 1.0.5 but it failed too.

      I don't want to spend much off all your time but as you hepled me, I'm must at least inform you of what happens with my experience .... of course if some of you have a luminous idea about what is going on with my install, I'm (very) interested.

      Nicolas

      Rq : I have tried to search some help in this thread and on google but I guess if a lot of little problems are coming up, it must be a global problem with my PC .

      Bye

      posted in Development
      nikorun
      nikorun
    • RE: Porting MySensors to work with the RadioHead library

      Hello Hek,

      Thanks for your answer, I will try this as soon as I'll be back home.

      When you say* "uncomment this line ..."* , do I have to comment the previous one (MyTransportNRF24 transport(RF24_CE_PIN, RF24_CS_PIN, RF24_PA_LEVEL_GW);) ?
      Furthermore, as described in your exemple, the line to be uncommented has no argument but in a previous post reddy11 has to add several ones:
      MyTransportRFM69 transport(RFM69_FREQUENCY, RFM69_NETWORKID, RF69_SPI_CS, RF69_IRQ_PIN, true, RF69_IRQ_NUM);

      Is it only due to the "H" version of the module ?

      Again, thanks for your time. I really think Radiohead is a impressive library as well as MySensor si very smart , the both should be terrible !!!

      Nicolas

      posted in Development
      nikorun
      nikorun
    • RE: Porting MySensors to work with the RadioHead library

      Hi,

      i've tried to scroll back many of the pages of this thread, to find out how to use the Radiohead version of mysensors but with no success, considering that i don"t understand many of those things said here ... 😞

      Is there someone that can help me a little and give me a minimalist modop ? i've used Radiohead on its own with 3 moteinos but mooving to MySensors seem to be the best way to integrate them in a standard domotix architecture ... i currently use Jeedom for a year now.

      Of course, you'll have my feedbacks ...

      Nicolas

      posted in Development
      nikorun
      nikorun