Navigation

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

    fmarin

    @fmarin

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

    fmarin Follow

    Best posts made by fmarin

    This user hasn't posted anything yet.

    Latest posts made by fmarin

    • add a sensor in ethernet gateway

      may be it's not a best practice, but i have read that with mysensors V2, we can add sensors in gateway ...

      so, i am testing a configuration with

      • arduino mega + ethernet shield + temp sensors
      • raspberry pi2 with controler domoticz (the last stable version)

      First, i have configured arduino with "ethernet gateway sketch example" ; i have no Radio/Wireless Transceivers so i have commented "#define MY_RADIO_NRF24" (otherwise i have compilation error)

      My controler work fine, it is connected with my gateway (i read that on my logs), and the debug on my gateway indicate it's working

      Now, i want to add a sensor on my gateway and

      1. i add variables
        #define CHILD_ID_DHT_TEMP 0
        MyMessage dhtTempMsg(CHILD_ID_DHT_TEMP, V_TEMP);
      2. i add a "presentation function"
        void presentation() {
        sendSketchInfo("mega eth - temp sensor", "1.01");
        present(CHILD_ID_DHT_TEMP, S_TEMP);
        }
      3. in my loop, i add send message (t and lasDhtT are float variables)
        if (t != lastDhtT)
        {
        send(dhtTempMsg.set(t, 1));
        lastDhtT = t;
        }

      it seems that it's right, but my controler don't find the temp sensor ...

      if i have a good comprehensive view of schema, sensor is attached to a node; it appears at the gateway which transmits it into controler
      it seems that my gateway don't find the sensor ...

      Where have I made an error ?

      thanks for your help
      regards
      fred

      fred

      posted in Troubleshooting
      fmarin
      fmarin
    • RE: arduino shield ethernet wiznet w5500

      Hi,

      i have read many of the posts regarding the use of ethernet gateways
      i continue with wiznet5100 :), and i continue to discover the mysensor world

      regards
      fred

      just a little point : how to close this post ?

      posted in General Discussion
      fmarin
      fmarin
    • arduino shield ethernet wiznet w5500

      hi,
      i'm newby in mysensors community

      my project is based on some nodes with differents sensors in an ethernet network (like domotic project).

      Each node is based on arduino uno R3 or arduino mega 2560 with ethernet shield V2 (based on wiznet w5500 ship) and this ethernet shield is working with arduino ethernet2 library

      i read that ethernet gateway (in mysensors library) accept only w5100 : is it right ? and if it is, how i do ???

      regards
      fred

      posted in General Discussion
      fmarin
      fmarin