Navigation

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

    leeoz

    @leeoz

    3
    Reputation
    38
    Posts
    690
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    leeoz Follow

    Best posts made by leeoz

    • Repeaters and Fixed Parents on sensors... [SOLVED]

      Just for sharing.
      I tried to add repeaters to my network but the sensor didn't communicate with the repeaters and only tried to send to Gateway.
      I realized that Iv'e fixed parent ID on each sensor because I have a problem with find parent on my sensors (this is why i ended up adding repeaters). So Iv'e changed it back to finding parent mode and the repeater is now communicating with sensors!

      FYI

      posted in Troubleshooting
      leeoz
      leeoz
    • RE: Changing baudrate to 57600 in VeraUI7 [SOLEVD]

      Work fine, I have changed the lib myconfig.h file and the lua file.
      Removed MySensors plugin device from devices, updated the lua file on Vera.
      Reloaded engine, Plugged the arduino serialGateway back again.
      and flowed insturcations of Adding SerialGateWay again.
      Work fine, however I still have issues with Gateway to recognize devices and reading and sending info to devices
      I guess its a matter of power to the NRF24 radio, altough I use capasitor in between the 3.3v and gnd from the Nano, I think it's not enough.

      posted in Troubleshooting
      leeoz
      leeoz

    Latest posts made by leeoz

    • RE: Using NRF24 - How can I limit the max auto NodeID number?

      Let's make it more simple.
      I will have 100 nodes in my property which I don't want to preset with static id.
      I don't have a controller, only one NodeMCU with NRF24 which is the "gateway" to Wifi - I use receive on the GateWay and upload the received data from nodes to POST on local MySQL server (I have a computer at home network with MySQL).
      I need to track each node and know it's ID. Was that ID assigned automatically when I use AUTO mode?

      And, do you have any suggestions on how to approach this?

      The most important is that I want it to be seamless with IDs, I don't want to program each node of the 100 with static ID, cause if I make changes, it adds more complexity to update the system.

      posted in General Discussion
      leeoz
      leeoz
    • How to limit radio system to auto nodes id up 100?

      I found this:
      #define AUTO 255 //!< ID 255 is reserved for auto initialization of nodeId.
      #define BROADCAST_ADDRESS ((uint8_t)255) //!< broadcasts are addressed to ID 255
      #define DISTANCE_INVALID ((uint8_t)255) //!< invalid distance when searching for parent
      #define MAX_HOPS ((uint8_t)254) //!< maximal mumber of hops for ping/pong
      #define INVALID_HOPS ((uint8_t)255) //!< invalid hops
      #define MAX_SUBSEQ_MSGS 5 //!< Maximum number of subsequentially processed messages in FIFO (to prevent transport deadlock if HW issue)
      #define CHKUPL_INTERVAL ((uint32_t)10000) //!< Minimum time interval to re-check uplink

      in MyTrasport.h

      I need to limit my radio system to nodes auto id up to 100.
      which var should I change in order to set this?
      tnx

      posted in Development
      leeoz
      leeoz
    • Found it...

      Re: Using NRF24 - How can I limit the max auto NodeID number?

      #define BROADCAST_ADDRESS ((uint8_t)255) //!< broadcasts are addressed to ID 255
      #define DISTANCE_INVALID ((uint8_t)255) //!< invalid distance when searching for parent
      #define MAX_HOPS ((uint8_t)254) //!< maximal mumber of hops for ping/pong
      #define INVALID_HOPS ((uint8_t)255) //!< invalid hops
      #define MAX_SUBSEQ_MSGS 5 //!< Maximum number of subsequentially processed messages in FIFO (to prevent transport deadlock if HW issue)
      #define CHKUPL_INTERVAL ((uint32_t)10000) //!< Minimum time interval to re-check uplink

      in MyTransport.h

      now which one do I change to 100, so my radio system will be limited to nodes 0-100???

      posted in General Discussion
      leeoz
      leeoz
    • RE: Using NRF24 - How can I limit the max auto NodeID number?

      Tnx but this doesn't help much.
      Setting up manually 100 nodes is not good for me.
      I am sure that there is somewhere in the code of configuration, a var with the max node ID, because using NRF24 is limited to 254 nodes... so I need someone who knows around the code to help me out finding how to changes this number...
      tnx.

      posted in General Discussion
      leeoz
      leeoz
    • Using NRF24 - How can I limit the max auto NodeID number?

      Hi,
      I would like to use Auto NodeID however I would like limit the max number of node ID to be 100 so that there is no change I will have a node with an ID greater than 100.
      How can this be done?
      tnx

      posted in General Discussion
      leeoz
      leeoz
    • Band pass filter?

      Hi. I have an analog sensor that output voltage in a range of frequencies. I would like to creat a circuit to get the range of 0.5kHz to 1.2kHz and sendout const 5V if amplitude was over 3V.
      This 5V I will connect to arduino digital input and send it as a tripped msg.
      Any ideas?

      posted in Hardware
      leeoz
      leeoz
    • what does MY_RF24_ADDR_WIDTH means?

      how changing this will effect the communication of my sensor?

      posted in Hardware
      leeoz
      leeoz
    • RE: ESP8266 as WiFi gateway that posts to Thingspeak

      Hi. It doesnt work with mysensors 2.0 compling it. Any chance to covert it to be able to compile with 2.0 version?

      posted in Development
      leeoz
      leeoz
    • Help on ESP8266 recieve msg and do somthing?

      Hi,
      I use esp8266 wifi gateway with mysensors ver 2.0. I would like it also to recieve message from a sensor node (node 12) and do somthing like blink or switch a relay.
      Ive tried to implement void recieve function (like i use in a node sensor) on the gateway and wait for sender to be node 12. But the gatway ignores the recive function and does nothing.
      Any ideas?
      Tnx

      posted in Development
      leeoz
      leeoz
    • Lua lcdtext, how to update?

      Hi, i am using UI7 and i am newto lua.
      I know c.
      I would like to have an intrevaled script that will put together an info text and send it to my lcdtext sensor.

      1. How do i convert flot number to string and add a text together in lua?
      2. I could not find a way to update the S_INFO device on vera using luup? Can u show me how?
        Tnx
        Leeoz
      posted in Vera
      leeoz
      leeoz