Ghost Nodes (Eeeek!).
-
@jkandasa Direct using short (60mm) cables, tx/rx from pro mini to tx/rx on rpi.
GW is using a 3.3v 8MHz pro mini to eliminate the need for level shifter. 38400 baud rate (have tried 19200 and 9600 as well in the past).
As I said before please do not use your time on this. Lets see how it goes with the 'new' mycontroller when it is released and if it is still a problem at that point then maybe it's worth a look.
I guess not many people are running their set up like mine.
-
I awoke this morning and checked in with myc resources, this is what I find.....
All the 'red' nodes are ghosts that do not exist in real life..... -
@skywatch can we see actual issue by https://github.com/mycontroller-org/mycontroller/issues/473
-
@jkandasa Thank you once again!
I totally removed arduino ide from the laptop and reinstalled only the latest version (1.8.7). Then I took the GW apart and recrimped some of the dupont connectors (some Chinese ones are poor quality). I reflashed the GW skecth (clearing eeprom first) and reconnected it all back up. Since doing this, no ghost nodes have appeared in the last 20 hours!....
Maybe they have all left for Halloween ?
-
You will be happy to know that this issue is now SOLVED!
Since installing the latest SNAPSHOT 1.4.0, all the problems associated with this have gone away.
Thanks for all the contuning support and excellent work.
-
@skywatch And now it's all back again
-
@skywatch It is so sad to hear this again
Can you try with USB to TTL, when you receive your order? -
@jkandasa Of course I can. But still I am not getting to the root cause of this issue and it is very annoying!
-
@skywatch SOLVED - FINALLY!
See post here... https://forum.mycontroller.org/topic/328/serial-problem/57
It is a problem with the way Rpi3Bserial port works.They changed it (and broke it).
-
@skywatch Oh Nooooooo - Not again!
This morning I find a new ghost node (70) has registered.
I will implement the logging asap and post details if/when it happens again.
-
@skywatch It is bad
if it happens very often. I can write a script for you to delete node's not in the predefined list. -
@jkandasa Following a period of relative calm in my setup, yesterday I got 2 ghost nodes appear again. One was a single temperature reading (which if correct was from the heating boiler) and the second was a single on/off.
I wonder if there is some way that a malformed message could do this? The temp one showed +58.4C and the only thing to get that hot is the heating system.
I have some nice new power supplies now (not from ali or ebay!) and will be building a UPS with these to improve stability and performance during power black/brown outs.
So nothing to do on myc front unless this still happens after all the above is done. The new supplies have cured issues on other pi builds, so hopeful on this one too....
-
@skywatch I don't know if this is your case, but I got similar situations when I used MySBootloader. When I flash the bootloader on a new Arduino, the first time it connects to the networks without a sketch it appears as an ID 1, which I guess is a default if nothing is written in the EEPROM.
Could this explain your issue?
Daniele -
@Daniele Thanks for sharing your knowledge.
I still use the bootloader that is installed in China, so not the issue for me. I also specify node ID in the sketch to avoid issues with getting it assigned from the GW.
I have had a much better experience lately with new quality power supply, but still had a weird crash this week.
I woke to find the pi running, activity light flashing as it normally does, but no web page served, no ssh access and no activity light on the SSD.
Within a few days I will re-build removing as many dupont connectors as I can and soldering wires instead. It's really the last thing I can think of, but I am seeing things improve which is a good thing!