Navigation

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

    Best posts made by Mr_sensor

    • RE: DHT11 Arduino pro mini no temp readings

      🙂 Great! That helped a lot. I Kicked that out when reading the Converting a sketch from 1.5 to 2.x article.

      4911 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:20.4
      4954 TSF:MSG:SEND,2-2-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:50.2
      4962 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      4968 MCO:SLP:TPD
      

      Now I only have to find out what to use for mqtt to read this sensor values. Thats still not very clear to me:
      Guess it would be something like:
      mygateway1-out/2/2/0/0/ or 2/2/0/0/1 ?

      Would it be possible to have something like this:

      mygateway-out/2/2/Temperature ?

      posted in Development
      Mr_sensor
      Mr_sensor
    • RE: 💬 Easy/Newbie PCB for MySensors

      @sundberg84 Well I tried that but did not get the measurement straight from the pcb si I decided t solder a new board using the right capacitor this time (0,1uf instead of 1uf) made sure using the right resistors as well and adding a capacitor after the booster. Than with the same mini pro from the other board tested again and wow it is working as intended.

      Child ID 2Battery Voltage: 3.44 V
      Battery Percent: 102 %
      2930 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:102
      2938 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      2945 TSF:TDI:TSL
      2947 MCO:SLP:WUP=-1
      2949 TSF:TRI:TSB
      3065 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      T: 998.00
      3178 TSF:MSG:SEND,2-2-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      H: 998.00
      957
      Child ID 2Battery Voltage: 3.22 V
      Battery Percent: 95 %
      3690 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
      3698 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      3704 TSF:TDI:TSL
      3706 MCO:SLP:WUP=-1
      3708 TSF:TRI:TSB
      3815 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      T: 998.00
      3932 TSF:MSG:SEND,2-2-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      H: 998.00
      955
      Child ID 2Battery Voltage: 3.21 V
      Battery Percent: 95 %
      4442 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      4452 TSF:TDI:TSL
      4454 MCO:SLP:WUP=-1
      4456 TSF:TRI:TSB
      4560 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      T: 998.00
      4673 TSF:MSG:SEND,2-2-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      H: 998.00
      953
      Child ID 2Battery Voltage: 3.21 V
      Battery Percent: 95 %
      5185 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      5193 TSF:TDI:TSL
      5195 MCO:SLP:WUP=-1
      5197 TSF:TRI:TSB
      5304 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      T: 998.00
      5416 TSF:MSG:SEND,2-2-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      H: 998.00
      952
      Child ID 2Battery Voltage: 3.20 V
      Battery Percent: 95 %
      5926 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      5935 TSF:TDI:TSL
      5939 MCO:SLP:WUP=-1
      5941 TSF:TRI:TSB
      6045 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      T: 998.00
      6158 TSF:MSG:SEND,2-2-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      H: 998.00
      952
      Child ID 2Battery Voltage: 3.20 V
      Battery Percent: 95 %
      6670 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      6678 TSF:TDI:TSL
      6680 MCO:SLP:WUP=-1
      6682 TSF:TRI:TSB
      6789 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      T: 998.00
      6901 TSF:MSG:SEND,2-2-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      H: 998.00
      952
      Child ID 2Battery Voltage: 3.20 V
      Battery Percent: 95 %
      7411 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      7419 TSF:TDI:TSL
      7424 MCO:SLP:WUP=-1
      7426 TSF:TRI:TSB
      7530 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      T: 998.00
      7643 TSF:MSG:SEND,2-2-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      H: 998.00
      952
      Child ID 2Battery Voltage: 3.20 V
      Battery Percent: 95 %
      8155 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      8163 TSF:TDI:TSL
      8165 MCO:SLP:WUP=-1
      8167 TSF:TRI:TSB
      8273 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      T: 998.00
      8388 TSF:MSG:SEND,2-2-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      H: 998.00
      955
      Child ID 2Battery Voltage: 3.21 V
      Battery Percent: 95 %
      8898 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      8908 TSF:TDI:TSL
      8910 MCO:SLP:WUP=-1
      8912 TSF:TRI:TSB
      9021 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      T: 998.00
      9132 TSF:MSG:SEND,2-2-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      H: 998.00
      948
      Child ID 2Battery Voltage: 3.19 V
      Battery Percent: 94 %
      9646 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:94
      9654 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      9660 TSF:TDI:TSL
      9662 MCO:SLP:WUP=-1
      9664 TSF:TRI:TSB
      9771 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      T: 998.00
      9881 TSF:MSG:SEND,2-2-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      H: 998.00
      952
      Child ID 2Battery Voltage: 3.20 V
      Battery Percent: 95 %
      10395 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
      10403 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      10409 TSF:TDI:TSL
      10412 MCO:SLP:WUP=-1
      10414 TSF:TRI:TSB
      10520 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      T: 998.00
      10635 TSF:MSG:SEND,2-2-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:998.0
      H: 998.00
      953
      Child ID 2Battery Voltage: 3.21 V
      Battery Percent: 95 %
      11147 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      11155 TSF:TDI:TSL
      

      Now in mqtt I can see the percentage as:

      95
      qos : 0, retain : false, cmd : publish, dup : false, topic : **mygateway1-out/2/255/3/0/0**, messageId : , length : 30, Raw payload : 5753```
      
      But not the voltage?
      posted in OpenHardware.io
      Mr_sensor
      Mr_sensor
    • RE: What is loaded / running on the arduino?

      @mfalkvidd said in What is loaded / running on the arduino?:

      @mr_sensor you are correct that it is not possible to get the sketch from the Arduino.

      But all MySensors sketches have something like this:

      sendSketchInfo("TemperatureAndHumidity", "1.1");
      

      which identifies which type of sketch and the version of that sketch, every time the sensor is restarted. If you store your sketches in some version control system (git is most popular), keeping track of them becomes quite easy.

      See also https://forum.mysensors.org/topic/2203/method-to-reveal-sketch-inside-node-or-g-w for an earlier discussion on a similar topic.

      @mfalkvidd thanks for the reply. The sendSketchInfo is indeed helpfull will also read the link.

      posted in General Discussion
      Mr_sensor
      Mr_sensor