Navigation

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

    Suresh Mali

    @Suresh Mali

    14
    Reputation
    78
    Posts
    1098
    Profile views
    1
    Followers
    3
    Following
    Joined Last Online

    Suresh Mali Follow

    Best posts made by Suresh Mali

    • Curtain Control Node.

      My First version of curtain control Node is ready, installed and tested. Some work is pending, which I'll complete on my weekend.
      Edit: Code for the Node:Curtain Node
      Curtain Control Node.

      Please share your feedback so that I can improvise.

      posted in My Project
      Suresh Mali
      Suresh Mali
    • RE: I am not able to stop the blinds motor once the first command is sent.

      @mfalkvidd Thanks for your suggestion. It works great.

      posted in Troubleshooting
      Suresh Mali
      Suresh Mali
    • RE: Over the air (OTA) bootloading update tutorial?

      Can I use i2c EEPROM for OTA bootloading with DualOptiboot or it has to be Serial SPI. I was not able to find any documentation on it. I brought a breakout board and it seems to be i2c, and i2c chips are easily available where I live.

      http://www.aliexpress.com/item-img/AT24C256-Serial-EEPROM-I2C-Interface-EEPROM-Data-Storage-Module-PIC-NEW/32471353868.html?spm=2114.10010108.100005.10.sd3Dld

      posted in General Discussion
      Suresh Mali
      Suresh Mali
    • RE: Curtain Control Node.

      Its a Geared DC Motor with Voltage Rating of 6-12V and 100 RPM. I am using a L239 to control the motor.
      alt text

      posted in My Project
      Suresh Mali
      Suresh Mali
    • RE: [Resolved] accept: Bad file descriptor

      Thanks @mfalkvidd and @gohan . That helped.

      posted in Troubleshooting
      Suresh Mali
      Suresh Mali
    • RE: Over the air (OTA) bootloading update tutorial?

      @ahmedadelhosni Hey, I found this article. Seems like the guy has used i2c for remote flash. I was not able to extactly understand whats going on, maybe you can help.
      http://www.rotwang.co.uk/projects/bootloader.html

      posted in General Discussion
      Suresh Mali
      Suresh Mali
    • RE: Curtain Control Node.

      @franzelare Great. Good Luck with the build.

      I'll be posting my HW design and Code as part of Contest on openhardware.io

      posted in My Project
      Suresh Mali
      Suresh Mali

    Latest posts made by Suresh Mali

    • RE: Node unable to get ID from gateway. [2.2.0]

      @mfalkvidd I have hit a dead end. The issue described in the thread is stii not resolved. Any advice on what can help figure out the issue would be helpful.

      Thanks

      posted in Troubleshooting
      Suresh Mali
      Suresh Mali
    • RE: Node unable to get ID from gateway. [2.2.0]

      Any Moderator or Admin here who can help me, please.

      posted in Troubleshooting
      Suresh Mali
      Suresh Mali
    • RE: Node unable to get ID from gateway. [2.2.0]

      @rejoe2 I am using 2.2.0 on both gateway and node. Using NRF24L01+ with Caps . Strangely one of my node running on 2.1.0 is able to communicate with the gateway. Let's hope Mods have some answers. Appreciate your efforts and time.
      Thanks

      posted in Troubleshooting
      Suresh Mali
      Suresh Mali
    • RE: Node unable to get ID from gateway. [2.2.0]

      @rejoe2 I have already tried 2 different RF modules, the known good ones. So RF can be ruled out. I am running it with Domoticz, usually I don't have to change any setting, on presentation the node is shown in Domoticz and I just add it to my UI. Also tried the option Allow discovery for 5 mins in Domoticz that did not work either. So kind of lost here as to what's happening.

      posted in Troubleshooting
      Suresh Mali
      Suresh Mali
    • RE: Node unable to get ID from gateway. [2.2.0]

      @rejoe2 I tried as suggested. Cleared EEPROM using the sketch from MySensors example folder, tried auto ID assignment and also predefined ID. None seems to work.

      This is the log when no ID is assigned.

      16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
      25 TSM:INIT
      26 TSF:WUR:MS=0
      33 TSM:INIT:TSP OK
      35 TSM:FPAR
      37 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2046 !TSM:FPAR:NO REPLY
      2049 TSM:FPAR
      2051 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      4059 !TSM:FPAR:NO REPLY
      4061 TSM:FPAR
      4063 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      

      Log when Node is assigned ID:

      16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
      25 TSM:INIT
      26 TSF:WUR:MS=0
      33 TSM:INIT:TSP OK
      35 TSM:INIT:STATID=254
      37 TSF:SID:OK,ID=254
      39 TSM:FPAR
      75 TSF:MSG:SEND,254-254-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2083 !TSM:FPAR:NO REPLY
      2085 TSM:FPAR
      2121 TSF:MSG:SEND,254-254-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      4129 !TSM:FPAR:NO REPLY
      4131 TSM:FPAR
      4167 TSF:MSG:SEND,254-254-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      6175 !TSM:FPAR:NO REPLY
      6177 TSM:FPAR
      6213 TSF:MSG:SEND,254-254-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      8221 !TSM:FPAR:FAIL
      8222 TSM:FAIL:CNT=1
      8224 TSM:FAIL:DIS
      8226 TSF:TDI:TSL
      

      Please advice if there anything that could help me understand the issue and fix it.
      Thanks alot.

      posted in Troubleshooting
      Suresh Mali
      Suresh Mali
    • RE: Node unable to get ID from gateway. [2.2.0]

      @rejoe2 Will try that. I did tried assigning ID manually, but that did not work.

      posted in Troubleshooting
      Suresh Mali
      Suresh Mali
    • RE: Node unable to get ID from gateway. [2.2.0]

      @rejoe2 oh, I am sorry. I use the sketch from EEPROM Lib in Arduino. Not from MySensors. I am doing it right?

      posted in Troubleshooting
      Suresh Mali
      Suresh Mali
    • RE: Node unable to get ID from gateway. [2.2.0]

      @rejoe2 I have used the Mockmysensor example sketch from Mysensors.

      posted in Troubleshooting
      Suresh Mali
      Suresh Mali
    • Node unable to get ID from gateway. [2.2.0]

      I updated the gateway to 2.2.0. I have one sensor on 2.1.1 which able to communicate fine with my gateway. I tried testing a node on 2.2.0. I flash the MockMySensor sketch, but its not able to get a node ID from gateway. I also cleared EEPROM and replashed , tied to assign ID to node but did not help. The ID:4 we see in the gateway log is my node running on 2.1.1. Need help in understanding what could be the issue/fix. Thanks
      Logs from Node:

      6 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
      25 TSM:INIT
      26 TSF:WUR:MS=0
      33 TSM:INIT:TSP OK
      35 !TSF:SID:FAIL,ID=0
      37 TSM:FAIL:CNT=1
      38 TSM:FAIL:DIS
      40 TSF:TDI:TSL
      10042 TSM:FAIL:RE-INIT
      10044 TSM:INIT
      10051 TSM:INIT:TSP OK
      10053 !TSF:SID:FAIL,ID=0
      10055 TSM:FAIL:CNT=2
      10057 TSM:FAIL:DIS
      10059 TSF:TDI:TSL
      

      Logs from Gateway:

      Mar  6 15:51:47 myhome mysgw: GWT:RFC:C=0,MSG=0;0;3;0;18;PING
      Mar  6 15:51:57 myhome mysgw: GWT:RFC:C=0,MSG=0;0;3;0;18;PING
      Mar  6 15:52:06 myhome mysgw: TSF:MSG:READ,4-4-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      Mar  6 15:52:06 myhome mysgw: TSF:MSG:BC
      Mar  6 15:52:06 myhome mysgw: TSF:MSG:FPAR REQ,ID=4
      Mar  6 15:52:06 myhome mysgw: TSF:PNG:SEND,TO=0
      Mar  6 15:52:06 myhome mysgw: TSF:CKU:OK
      Mar  6 15:52:06 myhome mysgw: TSF:MSG:GWL OK
      Mar  6 15:52:06 myhome mysgw: TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
      Mar  6 15:52:07 myhome mysgw: GWT:RFC:C=0,MSG=0;0;3;0;18;PING
      Mar  6 15:52:10 myhome mysgw: TSF:MSG:READ,4-4-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
      Mar  6 15:52:10 myhome mysgw: TSF:MSG:PINGED,ID=4,HP=1
      Mar  6 15:52:10 myhome mysgw: !TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=NACK:1
      
      posted in Troubleshooting
      Suresh Mali
      Suresh Mali
    • RE: [Resolved] accept: Bad file descriptor

      Thanks @mfalkvidd and @gohan . That helped.

      posted in Troubleshooting
      Suresh Mali
      Suresh Mali