Navigation

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

    Topics created by palande.vaibhav

    • palande.vaibhav

      When requesting with request() function what reply should I expect?
      General Discussion • • palande.vaibhav  

      10
      0
      Votes
      10
      Posts
      2689
      Views

      palande.vaibhav

      @sundberg84 As far as I understand by looking at the code you have sensor on the same node which is requesting the pulse count from the GW?? OR you have reed switch on this node and sensor is on some other node? In the debug prints do you see a READ message in the serial monitor for your node which has reed switch? With me, I am sending the request() from node 1 to node 2. I can see SEND message in serial monitor of node 1 and READ message in the serial monitor of GW and also a SEND message in GW serial monitor and READ message in node 2. So the message is reaching node 2 successfully but my node 2 is not sending any reply to that message. So, node 1 is sending to GW, GW is receiving it and sending it to node 2, node 2 is receiving the message but node 2 is not replying. Is this what is supposed to happen? OR node 2 is actually supposed to send a reply back to node 1?
    • palande.vaibhav

      How to send message from one sensor to other or send message with different node and sensor ID?
      Troubleshooting • • palande.vaibhav  

      2
      0
      Votes
      2
      Posts
      1113
      Views

      palande.vaibhav

      Got it after some trial and error with getters and setters. In case someone needs. I did following. MyMessage msg(); //Create a blank MyMessage instance. Do this before void setup() then when you want to send the message. Create a message on the fly like following. 1. msg.setType(2); 2. msg.setSensor(1); 3. msg.setDestination(2); 4. send(msg.set(1)); This is what I am doing above: set message type ex. V_LIGHT is 2. Look at API for more Set sensor child ID of the sensor you want to change status of This is the destination node ID which has the sensor you are trying to reach Send the message just like you would usually. Hope this helps someone
    • palande.vaibhav

      How to update LIGHT state on Domoticz?
      Domoticz • • palande.vaibhav  

      6
      0
      Votes
      6
      Posts
      3440
      Views

      palande.vaibhav

      @AWI how do I use request()? What I need to do is my automation for the sensors is running on the Arduino itself. So, if domoticz stops working and then some values of the switches or lights change, I want Domoticz to display the same values not the values it had the last time. I tried what @nagelc said but it changes the state of the switch in domoticz. I just want to update what domoticz displays not actually change the state of the LIGHT. I read on Domoticz forum that this can be achieved using dummy switch which when set up as the slave for the actual switch only updates the displayed state of the switch. But this was discussed for JSON. I don't know how to make mysensors talk to the dummy node. Do you have any idea about this?
    • palande.vaibhav

      DS18B20 ans SHT31-D show up as combined sensors on Domoticz
      Troubleshooting • • palande.vaibhav  

      19
      0
      Votes
      19
      Posts
      8024
      Views

      rodaman

      @palande-vaibhav Sorry for the dumb question. How do you achieved different #numbering in Values? I have all my Ds18b20 sensors with #1 number.
    • palande.vaibhav

      [Solved] Communication from Gateway to Sensor node not working
      Troubleshooting • • palande.vaibhav  

      7
      0
      Votes
      7
      Posts
      2870
      Views

      palande.vaibhav

      @BartE @BartE said: @palande.vaibhav i think the answer is in the code // sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater) sleep(conversionTime); Replace sleep(); by wait(); During a sleep the GW does not receives the message acknowledge and thus claims the broadcast did fail. This worked. Thanks a lot for the help. I guess I need to read stuff properly. Thanks for the help.
    • palande.vaibhav

      CRC doesn't match. File is corrupted. MySensors version 2.0
      Troubleshooting • • palande.vaibhav  

      13
      0
      Votes
      13
      Posts
      5191
      Views

      palande.vaibhav

      @mfalkvidd I have extracted the zip from GitHub, renamed the folder to MySensors and pasted it into Documents\Arduino\libraries folder. I don't have MySensors stuff in Program Files(86)\Arduino\libraries folder. And it works. Arduino library manager now shows MySensors library version 2.0.0 as installed.
    • palande.vaibhav

      Problem getting the code to run with MySensors library 2.0
      Troubleshooting • • palande.vaibhav  

      38
      0
      Votes
      38
      Posts
      8754
      Views

      ayo

      That's correct
    • palande.vaibhav

      How to connect sensors to Domoticz
      Troubleshooting • • palande.vaibhav  

      4
      0
      Votes
      4
      Posts
      3926
      Views

      mfalkvidd

      https://www.mysensors.org/about/network describes how the communication works. Start by reading that, and ask if anything is unclear
    • palande.vaibhav

      How does MySensors actually work
      General Discussion • • palande.vaibhav  

      8
      1
      Votes
      8
      Posts
      2513
      Views

      Lawrence Helm

      @palande.vaibhav o.k if all connected o.k, it should show up, remember it will send something when the temperature changes so hold your fingers on the temperature sensor, and it should show up...