Navigation

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

    Luppie

    @Luppie

    1
    Reputation
    12
    Posts
    550
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Luppie Follow

    Best posts made by Luppie

    • RE: ESP8266 MySensors Gateway Crashes when Node Connects

      Nope, I never resolved it. So I've build a USB gateway, thats is working great for 4 months now.

      posted in Troubleshooting
      Luppie
      Luppie

    Latest posts made by Luppie

    • RE: ESP8266 MySensors Gateway Crashes when Node Connects

      Nope, I never resolved it. So I've build a USB gateway, thats is working great for 4 months now.

      posted in Troubleshooting
      Luppie
      Luppie
    • RE: esp8266 gateway keeps resetting on keepalive

      It looks like the problem that I also have with my gateway described in my topic

      posted in Troubleshooting
      Luppie
      Luppie
    • RE: ESP8266 MySensors Gateway Crashes when Node Connects

      When no controller is connected and a message is received it doesn't crash.

      It only crashes when a controller is connected and the gateway receives a radio message.
      (I used the tempsensor sketch and the binaryswitch sketch to test)
      (But the testmessage : 42;1;1;47;0;Hello didn't crash the gateway)

      Right now I just uploaded the SerialGateway sketch to 1 of my sensors and that is working correctly with my Domoticz Controller. But I still prefer a wifi gateway.

      posted in Troubleshooting
      Luppie
      Luppie
    • RE: ESP8266 MySensors Gateway Crashes when Node Connects

      Hmmm, I've build the most basic actuator "BinarySwitchSensor" and again when it connects, the gateway crashes. I'm totaly lost here.

      posted in Troubleshooting
      Luppie
      Luppie
    • RE: ESP8266 MySensors Gateway Crashes when Node Connects

      Thanks hek & mfalkvidd.
      Reading your replies made me think that maybe the problem isn't the gateway, but the sensor sending some crap.
      I will build a new sensor toninght and test it.

      posted in Troubleshooting
      Luppie
      Luppie
    • RE: ESP8266 MySensors Gateway Crashes when Node Connects

      When I use a telnet session from Putty, the crash does occur.
      result.JPG

      When i connect from linux with nc, the crash doesn't occur.
      result2.JPG

      What could be the problem ? I exactly followed the build instructions. I even bought the hardware from the ebay-links provided.

      posted in Troubleshooting
      Luppie
      Luppie
    • RE: ESP8266 MySensors Gateway Crashes when Node Connects

      Yesterday I installed 1.5.1 Development.
      Today I installed 1.5.1 master

      Still having the same crash when a sensor connects to the gateway.

      To rule out if the problem is on the controller side, I installed a different controller (MajorDomo) to see how the gateway reacts.

      Unfortunately the gateway still crashes.

      posted in Troubleshooting
      Luppie
      Luppie
    • RE: ESP8266 MySensors Gateway Crashes when Node Connects

      I also tried to use 1.5.1, but the ESP8266Gateway sketch won't even compile, so I'm stuck with no Gateway.

      posted in Troubleshooting
      Luppie
      Luppie
    • RE: ESP8266 MySensors Gateway Crashes when Node Connects

      I did power it from my PC, so i tried your suggestion and powered it with an 'official' Raspberry Pi 2A power adapter. IMHO this is the most stable 2A power adapter.

      Unfortunately it still crashes and reboots.

      posted in Troubleshooting
      Luppie
      Luppie
    • ESP8266 MySensors Gateway Crashes when Node Connects

      Today I've build a ESP8266 MySensors Gateway.

      The gateway starts up and I can connect to it with my Domoticz Controller.

      2015-11-06 22:24:19.180 MySensors: connected to: 192.168.15.150:5003
      2015-11-06 22:24:19.181 MySensors: Gateway Ready...
      2015-11-06 22:24:20.181 MySensors: Gateway Version: 1.5
      
      ESP8266 MySensors Gateway
      Connecting to YVER
      ...........Connected!
      IP: 192.168.15.150
      0;0;3;0;9;gateway started, id=0, parent=0, distance=0
      Client 0 connected
      0;0;3;0;14;Gateway startup complete.
      Client 0: 0;0;3;0;2;Get Version
      0;0;3;0;2;1.5
      

      Next I've build a temperature sensor, but when the sensor try to connect to the gateway, the gateway crashes with the followinf output:

      0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      255;255;3;0;3;
      Client 0: 255;255;3;0;4;1
      
      ctx: cont
      sp: 3ffeabd0 end: 3ffeaf10 offset: 01b0
      
      >>>stack>>>
      3ffead80:  3ffe97bf 000000ff 3ffe9850 40205288
      3ffead90:  3ffe97bf 00000030 3ffe9850 402052d4
      3ffeada0:  a8e1fcff 000000a8 3ffe9850 4020548b
      3ffeadb0:  3ffe97bf 00000008 3ffe9850 40204cdb
      3ffeadc0:  00000017 3ffe9850 00000011 000000ff
      3ffeadd0:  000000ff 3ffe97b8 3ffe97bf 40203b81
      3ffeade0:  0000000a 00000000 3ffeae4f 4020b73c
      3ffeadf0:  ffffffff 3ffeae50 3ffe9850 00000004
      3ffeae00:  00000000 00000000 3ffe97bf 4020101c
      3ffeae10:  3ffe98b9 3fffdc20 3ffeaf3c 3ffe97b8
      3ffeae20:  3ffe98ba 00000000 3ffeae4e 4020102c
      3ffeae30:  000000ff 00000003 3ffe97bf 00000000
      3ffeae40:  000000ff 00000000 3ffe97b8 40203262
      3ffeae50:  3ffeafff 0000000e 3ffe98ba 00000000
      3ffeae60:  000000ff 00000000 3ffe97b8 40203e78
      3ffeae70:  000000ff 3ffe97bf 3ffeaf70 4020ae11
      3ffeae80:  3ffe98ac 3ffe98ac 3ffeaf70 3ffeaf70
      3ffeae90:  000000ff 3ffe97b8 3ffe97bf 40202501
      3ffeaea0:  3ffe9ab0 3ffe98ac 00000000 40202784
      3ffeaeb0:  3ffe8e40 00000000 000003e8 3ffe9c44
      3ffeaec0:  00000000 3fff4c78 3fff4c08 3ffeaf3c
      3ffeaed0:  00000000 0000000a 00000000 00000000
      3ffeaee0:  40201c35 960fa8c0 00000000 3ffeaf3c
      3ffeaef0:  3fffdc20 00000000 3ffeaf34 40201c92
      3ffeaf00:  00000000 00000000 3ffe9ef0 40100378
      <<<stack<<<
      
       ets Jan  8 2013,rst cause:2, boot mode:(3,6)
      
      load 0x4010f000, len 1264, room 16
      tail 0
      chksum 0x42
      csum 0x42
      ~ld
      
      

      On the sensor side the serial output is:

      sensor started, id=255, parent=0, distance=1
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      

      When the Domoticz Controller is not connected the output of the gateway is :

      ESP8266 MySensors Gateway
      Connecting to YVER
      .......Connected!
      IP: 192.168.15.150
      0;0;3;0;9;gateway started, id=0, parent=0, distance=0
      0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      255;255;3;0;3;
      0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      255;255;3;0;3;
      0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      255;255;3;0;3;
      
      

      The output of the sensor is :

      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      sensor started, id=255, parent=0, distance=1
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      

      What I tried my self:

      • placed a decoupling capacitor on both radio's
      • mounting the PCB's on a protoboard to minimize the distance between the controller and the radio by nit using dupont cables.
        IMAG1005.jpg

      What am I missing and how can I get this setup to work ?
      Any help/suggestion is appreciated.

      posted in Troubleshooting
      Luppie
      Luppie