Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
fmarinF

fmarin

@fmarin
About
Posts
3
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • add a sensor in ethernet gateway
    fmarinF fmarin

    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

    Troubleshooting

  • arduino shield ethernet wiznet w5500
    fmarinF fmarin

    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 ?

    General Discussion

  • arduino shield ethernet wiznet w5500
    fmarinF fmarin

    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

    General Discussion
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular