Navigation

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

    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
    • RE: Request for tutorial on Nextion and Mysensors....?

      Please let me know when u have somthing...
      I will publish also if I'll make it work.

      posted in Development
      leeoz
      leeoz
    • RE: NodeMcu V3 as an RF Transceiver for Mysensors device?

      No,
      I ment I want to use ESP8266 module to connecto to Mysensors network.
      i.e. create a sensor device built from arduino+esp8266+PIR and send send motion detection to my network.
      Can this happen (with ESP8266 instead of NRF24)?
      tnx
      Leeoz

      posted in Hardware
      leeoz
      leeoz
    • Request for tutorial on Nextion and Mysensors....?

      Who will be the hero and publish a tutorial on the use of Nextion with arduino (UNO/Nano) and NRF24...?
      I'm realy trying to make them work together but I have a poor knowledge on Hardware and software, so any one?

      Tnx 🙂

      posted in Development
      leeoz
      leeoz
    • NodeMcu V3 as an RF Transceiver for Mysensors device?

      Hi,
      Sorry for the dumb question...
      Is there a way to cancel the use of ESP8266 on the NodeMcu for Wifi use, And instead to directly use the 2.4GHz (ESP8266) to send and receive RF messages to other devices on my network (i.e. Arduino with nRF24)?
      tnx

      posted in Hardware
      leeoz
      leeoz
    • RE: Repeaters and Fixed Parents on sensors... [SOLVED]

      @mk55.
      Hi.
      I just upgraded to 2.0 last night.
      So i have no idea yet. And i need to make changes to all of my sensors code now.
      Please let me know if u find the answer before me.

      posted in Troubleshooting
      leeoz
      leeoz
    • RE: Repeaters and Fixed Parents on sensors... [SOLVED]

      I have no idea how to do that 😕

      posted in Troubleshooting
      leeoz
      leeoz
    • Faild RGB Device?

      Hi,
      I'm trying to add RGB device to my network and I get :
      GET_LANG(system_error,System error) : Device: 189. Fail to load implementation file D_RGBController1.xml

      I look on LUUP File list and don't see D_RGBController1.xml.
      Where can I download it and the other one?

      tnx

      posted in Vera
      leeoz
      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: NRF24 actual power (amps)?

      @AWI
      Tnx. So what capasitor would u recommand? I see differant values everywhere...

      posted in Hardware
      leeoz
      leeoz
    • NRF24 actual power (amps)?

      Hi.
      Can any one tell me whats the actual amps needed to power the NRF24 (pcb antenna)?
      In every where it's says give more power but can u say whats the amps needed?
      tnx
      leeoz

      posted in Hardware
      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
    • RE: Changing baudrate to 57600 in VeraUI7 [SOLEVD]

      Do I need the remove the mySensors plugin device from devices or just update the lua file?

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

      OK.
      tnx. found it... now i'll try...

      posted in Troubleshooting
      leeoz
      leeoz
    • Changing baudrate to 57600 in VeraUI7

      Hey,
      I'm trying to change the baudrate in vera to 57600.

      In the arduino lib files (MyConfig.h) I changed it to 57600, and uploaded the Serial Gateway to the Nano I have. Iv'e connected it to VeraEdge and went to change the baudrate on the Apps->Develop apps->Serial Port configuration
      After saving, My sesndors plugin device on Vera requsting me to Change the baudrate to 115200, if I do so it doesn't communicate with the gateway (well it make sense, since it works now on 57600).

      I went back to 115200 on gateway and it came back to communicate with Vera.

      Any ideas?
      tnx

      posted in Vera
      leeoz
      leeoz
    • Adding new device to UI7, only node added and no device...?

      Hey,
      Yesterday I updated the arduino files on vera from GITHUB and got the "new" UI for mysensors (the one with inclusion in advanced tab)
      Now I am trying to add a sensors to my vera.
      My arduino device has NODE ID 151, DHT sensor temperature ID=1, humidity ID=2, light sensor ID=3.
      For unknown reason the inclution only detect 1 device and shows on dashboard only Arduino Node ID 151 device (with a chip icon)
      and no other device.

      Any ideas?

      one more thing, is there any guide/tutorial on how to use the new interface?

      tnx

      posted in Vera
      leeoz
      leeoz
    • Changing baudrate to 57600 in VeraUI7 [SOLEVD]

      Re: [SOLVED] 8MHz Gateway : node not receiving any data

      Hey,
      I'm trying to change the baudrate in vera to 57600.

      In the arduino lib files (MyConfig.h) I changed it to 57600, and uploaded the Serial Gateway to the Nano I have. Iv'e connected it to VeraEdge and went to change the baudrate on the Apps->Develop apps->Serial Port configuration
      After saving it say's on the device to Change to baudrate to 115200, if I do so it doesn't communicate with the gateway (well it make sense, since it works now on 57600)

      Any ideas?
      tnx

      posted in Troubleshooting
      leeoz
      leeoz
    • RE: Duplicate NODE ID?

      @martinhjelmare
      I will try and publish resualts.
      My guess, since gateway send a message to node id, and the device is waiting for a message, if the message was recieved in both devices, then both will process.
      2 problems might happen.

      1. If one miss the message then Vera still get ack since the second got it.
      2. If u brodcast command from one, only Vera receive it, so we need to brodcast duplicate command. To vera and to it self.

      ....

      posted in Development
      leeoz
      leeoz
    • Duplicate NODE ID?

      Hey,
      I was wondering, is it possible to duplicate NODE ID on two arduino devices?
      Lets say I have Two arduino devices set as light switch device, on one I have switch (button) and on the other there is a relay.

      I would like to send a command (let's say lights ON) from Vera and the relay will turn on and also the switch will indicate ON too.
      So if I set both devices to have the same NODE ID will both of them receive the command for ON from Vera?

      posted in Development
      leeoz
      leeoz
    • S_HEATER not updated with temperature and status bug?

      Hi,
      Do u know about a bug of S_HEATER?
      I'm sending setpoint temperature from arduino to Vera and it's not updated with the setpoint.
      However if i send a setpoint to the arduino, I see the new setpoint that was sent from Vera.
      Any idea?

      Also if I send
      gw.send(msgHeater.set("HeatOn"));
      it is also not updated on Vera.

      posted in Bug Reports
      leeoz
      leeoz
    • RE: how to read other device status with arduino?

      @BartE
      Ok, I think I got it all. Great tnx a lot

      posted in Development
      leeoz
      leeoz
    • RE: how to read other device status with arduino?

      @BartE
      Tnx for the respose, great.
      Also, if i would like to request value from vera?
      So i use the gw.request(VeraDeviceID, V_TEMP,??)

      Also for solution 2, on the request from arduino2 code,
      gw.request(MYSENSOR_TEMP, V_TEMP, 12);
      MYSENSOR_TEMP is what?
      And why did u type 12? The sensor id is 11...

      I think that in general i dont understad the use of gw.request()

      posted in Development
      leeoz
      leeoz
    • how to read other device status with arduino?

      Hey,
      I'm using veraEdge with arduino gateway and I have a few temperature sensors on my network.
      Ive search the forums and examples but could find a way to do what I want.

      Let say I have arduino1 has a DHT sensor and is a S_TEMP device #11 on my network
      and arduino2 has LCD and is set to be S_HVAC device #12 on my network

      I would like to show on arduino2 LCD the temperature read by arduino1.
      Can u please help?

      posted in Development
      leeoz
      leeoz
    • RE: S_HVAC device on vera doesnt set set point to arduino

      L_Arduino.lua I_Arduino1.xml MyMessage.h

      So I fixed it with simple fix.
      After reading this:
      http://forum.mysensors.org/topic/1337/request-new-sensor-type-thermostatically-controlled-switch/2
      Attached are the latest lua+xml+h files with the fix I've made.
      Leeoz

      posted in Bug Reports
      leeoz
      leeoz
    • RE: S_HVAC device on vera doesnt set set point to arduino

      R u guys going to update the GitHub files and publish it? or you want to give me some instructions on where to change what and test it?
      Let me know if I can be any help (mybe sending you my log or somthing...)
      tnx
      Leeoz

      posted in Bug Reports
      leeoz
      leeoz
    • RE: S_HVAC device on vera doesnt set set point to arduino

      Sorry, I'm new to Lua and vera stuff so I don't understand what I need to do in order to fix it, or to find the error? I know c++ and c# so I familiar with programming but this is something I never done before.
      my vera version: 1.7.1320
      is this UI7?

      posted in Bug Reports
      leeoz
      leeoz
    • RE: S_HVAC device on vera doesnt set set point to arduino

      Its already set to NewCurrentSet point.
      ???

      posted in Bug Reports
      leeoz
      leeoz
    • RE: S_HVAC device on vera doesnt set set point to arduino

      No, how can I access it? And I will send you all the info needed to debug.
      BTW when I send the command it say "command fail" under the temperature set point field.

      posted in Bug Reports
      leeoz
      leeoz
    • S_HVAC device on vera doesnt set set point to arduino

      Hey.
      Im using vera edge with latest firmware.
      Arduino nano with nRF24l01 as my gateway. 1.5 API version. On the other side I have Arduino uno with DHT22 and IR led to turn on and off the AC.
      Every thing works ok but sending a new set point to the UNO.
      I recive the Off and ColdOn from vera and sending the room temp from the UNO to vera also works (i can see the inside temperature chnages). But when I set new temperature in Vera to be sent to the UNO, i see that the UNO recive nothing (i use the serial to monitor it).
      Any known bug? Or mybe I missing somthing in my code (can u direct me to an example of using S_HVAC)?
      Tnx

      posted in Bug Reports
      leeoz
      leeoz