Strange behaviour - Check Wires and Version Mismatch
-
@hek said:
what happens if you hard-code parent to 0 in begin() while fetching id?
Even stranger. This is what I do:
//board.begin(msgCallback, nodeId, repeaterMode, parentNodeId, paLevel, channel, dataRate); board.begin(NULL, NULL, false, 0);This is now the result:
NODE_ID :0 PARENT_NODE_ID :2 DISTANCE :2Do you want me to write the node id and parent id direct into the eeprom?
-
setting the parent in constructor won't update the eeprom. It just uses the specified parent and never searches for a new one.
And you'll have to specify AUTO for id
-
@hek So, how do I 'suddenly' have id = 0 then?
I will clear the eeprom again and see what happens...
@marceltrapman Stupid fail with that AUTO setting :blush:
But the good news is that my sensor now has ID 4...
So the bad news, I guess, is that the repeater seems to fail...
-
@hek said:
As I mentioned earlier fetching id THROUGH a repeater need some additional love.
Hmm, so I fail that love :(
How can we get this thing going?
The thing is don't want to walk down to my gateway each time I want to test something out.
And, I also prefer not to use a fixed id because that would make testing the controller plugin a b****. -
Hey @marceltrapman - I just upgraded one of my sketches from 1.3 to 1.4 ( im finally moving to 1.4 in "production!!)
Anyway, i had the same issue with version mismatch error and spewing out
version mismatch read: 255-255-255 s=255,c=7,t=255,pt=7,l=31:NAN version mismatch read: 255-255-255 s=255,c=7,t=255,pt=7,l=31:NAN version mismatch read: 255-255-255 s=255,c=7,t=255,pt=7,l=31:NAN version mismatch read: 255-255-255 s=255,c=7,t=255,pt=7,l=31:NANwondering wtf was going on, i disconnected the relays board connected to VCC... the messages stopped and everything worked correctly- other than the relays actuating...
figured it could be a power issue, i connected proper power source as the issue occured with just a USB 5v from my PC....and reconnecting relay all worked properly..including now the relay.So, check your powersupply!
HTH..
-
Hey @marceltrapman - I just upgraded one of my sketches from 1.3 to 1.4 ( im finally moving to 1.4 in "production!!)
Anyway, i had the same issue with version mismatch error and spewing out
version mismatch read: 255-255-255 s=255,c=7,t=255,pt=7,l=31:NAN version mismatch read: 255-255-255 s=255,c=7,t=255,pt=7,l=31:NAN version mismatch read: 255-255-255 s=255,c=7,t=255,pt=7,l=31:NAN version mismatch read: 255-255-255 s=255,c=7,t=255,pt=7,l=31:NANwondering wtf was going on, i disconnected the relays board connected to VCC... the messages stopped and everything worked correctly- other than the relays actuating...
figured it could be a power issue, i connected proper power source as the issue occured with just a USB 5v from my PC....and reconnecting relay all worked properly..including now the relay.So, check your powersupply!
HTH..
@gregl said:
So, check your powersupply!
I don't see the version mismatch thing anymore luckily but it would have surprised me if it was power. Not only did I check it but I also use a power converter in this case to supply constant 3.3v (I use pro mini 3.3v).
Anyway, thanks for the tip :)
-
Same here. I had to go up to 5V to power my Arduino Pro Mini 3.3V sufficiently.