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
K

kr0815

@kr0815
About
Posts
55
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Wifi-Gateway - strange behaviour
    K kr0815

    I had a gateway running for about 3 weeks without any problems (Dev-Version)
    Suddenly, it didn´t present messages to my controller
    Strange thing was, if i did a recnnect on the controller, it worked for a few minutes
    Even if i open a second putty session, i see the gateway, i see the main controller connecting

    0;255;3;0;14;Gateway startup complete.
    

    but after a few minutes, no messages from the sensors
    If i open another putty-instance, it works again for a few minutes.

    I thought about a hardware fault, built everythaing again, so new ESP, new NRF, other power supply, but absolute same behaviour.

    Maybe a problem that i only have sensor, so i only receive messages, send nothing ?
    Or is it some messages in my network the Wifi-Gateway mis-interprets ?

    Troubleshooting

  • Monitor if an outlet has power - send email
    K kr0815

    Another possibility, depending on which controller you are using - send the "on" message each 60sec , and check on the controller side if this "alive" signal is there / missing

    General Discussion

  • Monitor if an outlet has power - send email
    K kr0815

    I was thinking of a similar system, but hadn´t time so far to realize it.
    The idea:

    • The sensor sends a "on" a soon as it gets power
    • Use a large capacitor to feed the sensor for some seconds after power-off (enough to send a command) , but sense directly with some diodes, if power is still there, if not, send "off"
    General Discussion

  • nrf24l01+ with antenna not working
    K kr0815

    Could anybody confirm this ?
    I also have problems with the antenna version

    Troubleshooting

  • Big Wish - a working system including up-to-date Reference
    K kr0815

    Hello Hek,

    thank you so much to try to help me - i found the problem now and i guess it´s the same problem many others have here:
    On almost all ESP12 GPIO 4 and 5 are labeled wrong
    I didn´t use a NodeMCU, but one of the other available boards

    As the CE pin is then connected to the wrong GPIO, it seems to work, Radio init ok, but as soon as the gateway sends something, it crashes

    Here are some interesting posts about that:
    https://github.com/esp8266/Arduino/issues/437

    Maybe you should ad this notice to the build-section for the wifi gateway ?

    Best regards

    Klaus

    Feature Requests

  • nrf24l01+ with antenna not working
    K kr0815

    I don´t know how the nrf24l01 is implemented in mysensors, but have a look here:

    https://www.squirrel-labs.net/blog/getting-the-best-out-of-nrf24l01/#page=1

    Does the mysensors library care about this ?

    Troubleshooting

  • Packet 'freezes' WiFi Gateway ESP8266
    K kr0815

    Hello Novici,
    thanks a lot for your reply

    I wrote somethong about it here:

    http://forum.mysensors.org/topic/3141/big-wish-a-working-system-including-up-to-date-reference/19

    so there must be something wrong in the code, if it´s working with the older regular Code, but not with the developer code

    What i wonder is , that Hek doesn´t get the same problems in his test setup

    Troubleshooting

  • Big Wish - a working system including up-to-date Reference
    K kr0815

    Hello Hek,

    i just saw in the german FHEM Forum, somebody has exactly the same Problems as me - but when switching back to the old / regular version, it works as expected, except the other problem with the long values.
    SO it musst be a software thing, nothing hardware related

    But as it is really strange you don´t get this problen, did any body else see it ?

    Feature Requests

  • Big Wish - a working system including up-to-date Reference
    K kr0815

    Could maybe someone upload the compiled binary ? Just to check all possible faults ?
    The needed settings are:

    • With DHCP
    • SSID Power-LAN
    • key kr08151020
    Feature Requests

  • Big Wish - a working system including up-to-date Reference
    K kr0815

    Yes, i erased and downloaded everything new 2 days ago

    Did you see the other forum post ?

    Really strange problem, i´d say i have a fake chip or something, but as it´s working with ESPEasy, i can´t imagine...

    In Board manager, i´m using 2.0, should i also go to the developer version ?

    Feature Requests

  • Big Wish - a working system including up-to-date Reference
    K kr0815

    The second one yes, but the first one, i´m not using a Ethernet Gateway, but a Wifi Gateway with the ESP8266

    that´s the one i use: https://github.com/mysensors/Arduino/tree/development/libraries/MySensors/examples/GatewayESP8266
    nothing modified, even still with DHCP

    I also have a Ethernet Gateway, which is running since months, the problems started with the Wifi / ESP Gateway

    Could you maybe have a look at the link above ? In this thread, Yveaux asked you for some help, maybe tha´t the point the problem comes from ?

    Feature Requests

  • Big Wish - a working system including up-to-date Reference
    K kr0815

    So just to be totally sure and to help me and hopefully others, i did the following:

    I feeded ESP and NRF from different power supplys-result is still the same, ESP hangs, no response

    The Power supply of the ESP is the same as i use for many ESP-Easy-Projects, i even flashed ESP-Easy on these 2 boards i try to get the MySensors-Gateway running, no problems

    You asked which nRF i use - they are from china :-) different sellers, different looking, some with external antenna, all the same results

    Feature Requests

  • Big Wish - a working system including up-to-date Reference
    K kr0815

    I tried many things regarding power supply, 47uF and 100nF both on the ESP and NRF, even feeded it with a good laboratory power supply (max 3A).
    I can´t imagine it´s a power problem, but could try tonight to even feed them with different power sources ?

    But i found a similar thread / same problem:
    http://forum.mysensors.org/topic/3012/packet-freezes-wifi-gateway-esp8266

    But i don´t use any bootloader

    Feature Requests

  • Big Wish - a working system including up-to-date Reference
    K kr0815

    Hello Hek,

    thanks a lot for all the effort trying to help me

    Thats what the relay node gives me when plugging in power:

    Starting sensor (RNNNA-, 2.0.0-beta)
    Radio init successful.
    send: 100-100-0-0 s=255,c=3,t=15,pt=0,l=2,sg=0,st=ok:
    send: 100-100-0-0 s=255,c=0,t=17,pt=0,l=10,sg=0,st=ok:2.0.0-beta
    send: 100-100-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:0
    read: 0-0-100 s=255,c=3,t=6,pt=0,l=1,sg=0:M
    send: 100-100-0-0 s=255,c=3,t=11,pt=0,l=5,sg=0,st=ok:Relay
    send: 100-100-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.0
    send: 100-100-0-0 s=1,c=0,t=3,pt=0,l=0,sg=0,st=ok:
    Init complete, id=100, parent=0, distance=1
    

    Thats what the Gateway logs, after that it´s unreachable

    0;255;3;0;14;Gateway startup complete.
    100;255;0;0;17;2.0.0-beta
    100;255;3;0;6;0
    

    That´s the serial output of the gateway, 111 is another node:

    0;255;3;0;9;Radio init successful.
    ....scandone
    state: 0 -> 2 (b0)
    .state: 2 -> 3 (0)
    state: 3 -> 5 (10)
    add 0
    aid 7
    pm open phy_2,type:2 0 0
    cnt 
    
    connected with Power-LAN, channel 6
    dhcp client start...
    chg_B:-60
    ...ip:192.168.178.90,mask:255.255.255.0,gw:192.168.178.1
    .IP: 192.168.178.90
    0;255;3;0;9;Init complete, id=0, parent=0, distance=0
    0;255;3;0;9;read: 111-111-0 s=1,c=1,t=16,pt=0,l=1,sg=0:0
    0;255;3;0;9;read: 111-111-0 s=1,c=1,t=16,pt=0,l=1,sg=0:1
    0;255;3;0;9;read: 111-111-0 s=1,c=1,t=16,pt=0,l=1,sg=0:0
    0;255;3;0;9;read: 100-100-0 s=255,c=3,t=15,pt=0,l=2,sg=0:
    0;255;3;0;9;send: 0-0-100-100 s=255,c=3,t=15,pt=0,l=2,sg=0,st=fail:
    0;255;3;0;9;read: 100-100-0 s=255,c=0,t=17,pt=0,l=10,sg=0:2.0.0-beta
    0;255;3;0;9;read: 100-100-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
    0;255;3;0;9;read and forward: 0-0-100 s=255,c=3,t=6,pt=0,l=1,sg=0
    

    strange you don´t have this "read and forward" message ?

    Feature Requests

  • Big Wish - a working system including up-to-date Reference
    K kr0815

    Not really something for feature request, more trouble shooting...

    But the relay sensor was just an example, not connected to the gateway, node by itself.
    I don´t even have to switch the relay - just the Wifi Gateway running, connected to putty
    As soon as a sensor sends his startup message, Wifi Gateway crashes, no longer reachable

    I´d be really happy if someone could try it, maybe it´s still my fault:
    Power Up Wifi Gateway, then power up relay node ( both dev version) , i think it has something to do because relay node is also a repeater ?

    Feature Requests

  • Big Wish - a working system including up-to-date Reference
    K kr0815

    Hello Hek,

    thanks a lot for your answer, i hopefully wasn´t to harsh ?

    When do you expect 2.0.0 to come out ? Maybe it makes more sense for me to wait and put the project aside till then?

    I didn´t want to change to the developer version, no need for the extra features, all i wanted was one / some wifi gateways because i have some positions in the house i couldn´t cover with wired gateways - and especially for the wifi gateway many people here said go with the dev version, it solves a lot of problems.
    That´s where the problems started then, the mixture between old and new doesn´t work well in the arduino IDE.
    Also some older examples here in the forum, i can´t use because i get compiling errors with the new developer version

    I try to investigate further - so are the 1.5 version and the 2.0 dev compatible regarding already existing sensors ?
    ( I have to confess Arduino IDE makes it even worse, even when installing the portable version, it uses files from wherever...)

    As you are speaking about stabilty problems regarding the Wifi-Gateway - i was thinking i made some faults, tried almost everything, but as i have many of the ESP8266 running without any problems with ESP-Easy, i couldn´t make that much faults regarding power supply and such things
    (Easy thing to try , dev. Wifi Gateway, just connected to a putty sesion, dev relais sketch, as soon as powering the relais node on, it will crash)

    So would you or others here suggest to use the wifi client at the moment, or better wait ?

    At the moment, at germen FHEM Forum, some ordered about 100 PCBs to build Wifi Gateways, at the moment they are sending the first out, sounds stupid but i´d be lucky if they all work and i know a have to find the fault in my doing

    Feature Requests

  • Big Wish - a working system including up-to-date Reference
    K kr0815

    A real great project here, i follow since long, built many sensors, even ordered own PCBs.
    Some of them worked now for over a year...

    But now, as new projects came in mind, i needed more sensors, and more gateways, so i tried with the wifi gateway
    That´s where my problems started - see my other topics here

    I saw now, your work made a lot of progres, OTA-Update, message signing,....,

    But now old and new sketches are not compatible any more, many compile errors

    I have to confess, for a beginner, it´s really hard to follow, for most of the problems the experts here say "did you try the developer version? " - the developer version is, as the name says, developer level, no waranty it works...

    So please, could you update the build page ? Or maybe if you prefer take some things like the wifi gateway out till it´s really working ?
    Please understand that some people find this page and think, wow, that´s exactly what i need, i´ll order the parts and build it, they want to spend time in automate the house, not in debugging faults.

    Please don´t understand me wrong, i know all this is done privately just for fun, but imagine a beginner seeing the nice pages in the build-area, thinking, wow, really easy, but then it starts to get really time consuming

    Feature Requests

  • Packet 'freezes' WiFi Gateway ESP8266
    K kr0815

    any solution on this ?

    I saw the same with a node acting as repeater, it immediately crashes the ESP ..

    Troubleshooting

  • WifiGateway crashes after 1 or 2 days
    K kr0815

    i investigated further:
    i have 2 gateways, both dev version, one from today, the other one about 2 weeks old

    I tried the relay sketch (newest dev version) - gave it an ID trough my ethernet gateway
    --> directly after connecting the relay sensor both ESP gateway crash - no fault messages in serial monitor

    DId anybody try the wifi gateway together with a repeater ?

    Troubleshooting

  • WifiGateway crashes after 1 or 2 days
    K kr0815

    I still have the same problem, it worked now for about 5 days on the workbench, brought it to the final desination, crashes after some hours

    But i always could still ping the ESP

    What i wonder most about is, that sometimes when i replug the power it says radio init ok, but it doesn´t receive messages
    ( i see on other gateway that messages are definetly sent)

    Is there any possibility to restart the gateway remotely ? Or only chance to replug power ?
    Could it be it´s a problem with the initialization of the radio ?

    Is it maybe because in my set-up, the gateway is only receiving, never sending anything ?

    The gateway lays avbout one meter away from a raspberry (no wifi) , but i can´t imagine that causes the problems ?

    Any help / ideas welcome.

    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