Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
L

Luppie

@Luppie
About
Posts
12
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ESP8266 MySensors Gateway Crashes when Node Connects
    L Luppie

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

    Troubleshooting

  • esp8266 gateway keeps resetting on keepalive
    L Luppie

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

    Troubleshooting reset esp8266

  • ESP8266 MySensors Gateway Crashes when Node Connects
    L Luppie

    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.

    Troubleshooting

  • ESP8266 MySensors Gateway Crashes when Node Connects
    L Luppie

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

    Troubleshooting

  • ESP8266 MySensors Gateway Crashes when Node Connects
    L Luppie

    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.

    Troubleshooting

  • ESP8266 MySensors Gateway Crashes when Node Connects
    L Luppie

    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.

    Troubleshooting

  • ESP8266 MySensors Gateway Crashes when Node Connects
    L Luppie

    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.

    Troubleshooting

  • ESP8266 MySensors Gateway Crashes when Node Connects
    L Luppie

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

    Troubleshooting

  • ESP8266 MySensors Gateway Crashes when Node Connects
    L Luppie

    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.

    Troubleshooting

  • ESP8266 MySensors Gateway Crashes when Node Connects
    L Luppie

    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.

    Troubleshooting

  • Compiling Problems
    L Luppie

    I can confirm that. Just removed 1.6.6 and revert to 1.6.5 and now it is working instantly.
    Thank you for the hint.

    Maybe it's an option to edit the esp8266_gateway page and remove the + from Arduino 1.6.5+ and add a remark that it's not (yet) working on 1.6.6

    Troubleshooting

  • Compiling Problems
    L Luppie

    I'm having the same problem.
    Started with MySensors yesterday and tried to install the esp8266 WiFi Gateway.

    Did a clean install of the Arduino IDE 1.6.6 and followed all steps described here

    The result is the same as the topicstarter.

    Troubleshooting
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular