Cannot add node to HA
-
I did ;)
The complete log from startup to switch to switching off the sensor node after an unsuccessful test is posted as a pastebin link in the initial post from Thursday, and the log from the gateway captured at the same time is added as a pastebin link in my post from a few minutes ago. :) -
I did ;)
The complete log from startup to switch to switching off the sensor node after an unsuccessful test is posted as a pastebin link in the initial post from Thursday, and the log from the gateway captured at the same time is added as a pastebin link in my post from a few minutes ago. :)The majority of messages in your logs are find parent requests and responses. If you have more than a pair of those you have communication problems, it's as simple as that.
You need to get reliable communication going to avoid losing messages and be able to present your node and sensors properly to the controller.
-
Okay, this sounds reasonable.
But... How? The troubleshooting says, reduce range and add a capacitor. I added a capacitor (or should I add one to the vcc and gnd pin of the radio module as well?). I don't want to reduce range, since around 1 meter is quite close, and I don't want to cover my flat with repeater nodes - if I had to, MySensors would be no great use for me. -
The capacitor should be added as close as possible to the vcc and gnd pins of the radio. Where did you put the capacitor? Also, with mysensors 2.x, many are reporting requiring a higher value capacitor. Try with 47 uF.
You can also try increasing the distance between node and gateway. Sometimes too short distance can generate trouble.
-
I'm sorry, it was late last night. I did post wrong facts. I did not solder the capacitor parallel to the VCC and GND pins of the arduino, but parallel to the VCC and GND pins of the radio.
Here's a photo of the capacitor on the sensor node: https://goo.gl/photos/REYnXMsLvLeKNKpf6
And here's a photo of the capacitor on the gateway: https://goo.gl/photos/TNVNkJN7ZawcF5qg7I am not really sure about the capacity. On the capacitor, there is a 47 printed on it, with a line underneath it. I remember reading an article, explaining this kind of notation, and saying that this means 4.7 uF, but i don't find it any more and am unsure about the line underneath it. Maybe this means 47uF?
If you say i should clearly try another capacity, i'll try.
-
Don't you have a multimeter to check capacity of that ceramic cap you have?
As for the others, usually 4.7uF is enough, but 10 or 47 could also help in some situations; if you find a bag of assorted caps I'd go for that one so you can have some spares around when you need them. -
I checked with a multimeter. Turns out, the ceramic capacitors had 47pF :D
I ordered a set of assorted electrolytic capacitors. Should take some time, they're dispatched directly from China.
However, i am unsure about the polarity of the capacitors. Should Cap+ go to VCC or GND of the radio? -
I knew that they are marked. But I didn't know the polarity. It could have been possible that Cap- goes to VCC on the radio, since in a full capacitor, there is a lack of electrons on Cap+, and very much electrons on Cap-, and also a lack of electrons on VCC, and very much electrons on GND, and the many electrons on the negative side should match the lack of electrons on the matching side of the other device - you see my point? So I was unsure.
But Cap- to GND is clear and explicit, yeah.