Problems with first sensors
-
Is it just me or does it look like the repeater node is not the actual sensor node?
If you look at the logs " Gateway INTERNAL C_PRESENTATION NO S_ARDUINO_REPEATER_NODE 2.0.0" "New child discovered, node id=0, child id=internal" and "Update child id=255, type=S_ARDUINO_REPEATER_NODE"
How about try to define the node id manually?
And just to be sure the clear eeprom config sketch in the mySensors examples.
You can also try the RF24 library ping-pong examples to test your radios. -
Ok so connections appear to be my major problem.... my dupont cables seem to be a bit dodgy... now wired with solid jumpers i can get the 'gettingstarted' sketch of the RF24 library working.
Now i have the following log from the sensor which is encouraging but still weird:
Anything obvious now? The sketch on the sensor is the basic motionsensor one from the examples of 2.0.0 and the gateway is the serialgateway sketch... both no changes
-
Ok so connections appear to be my major problem.... my dupont cables seem to be a bit dodgy... now wired with solid jumpers i can get the 'gettingstarted' sketch of the RF24 library working.
Now i have the following log from the sensor which is encouraging but still weird:
Anything obvious now? The sketch on the sensor is the basic motionsensor one from the examples of 2.0.0 and the gateway is the serialgateway sketch... both no changes
I am not an expert but i had the same problem. I think a controller determines the id. But since you have none, it can't be done this way. Set a static ID with
#define MY_NODE_ID 11or something
-
I am not an expert but i had the same problem. I think a controller determines the id. But since you have none, it can't be done this way. Set a static ID with
#define MY_NODE_ID 11or something
@nielsokker Yea you are probably right, no problem now though since as soon as i hooked it up to my controller everything works fine :) dodgy wires on the gateway was the issue all along.... using the very basic node sketch i can now see it in Domoticz and watch it turn on/off every 10 secs :)
-
@nielsokker Yea you are probably right, no problem now though since as soon as i hooked it up to my controller everything works fine :) dodgy wires on the gateway was the issue all along.... using the very basic node sketch i can now see it in Domoticz and watch it turn on/off every 10 secs :)
-
Think, I do not understand yet.
The motion sketch uses #define CHILD_ID 1.
Where do I have to insert #define MY_NODE_ID 1 ? Just into the skecht of the motion sensor ?@blebbens i think you can just put it over "define child id"
-
@blebbens i think you can just put it over "define child id"
@Tore-André-Rosander said:
define child id"
I think so too.
These are probably just minor mistakes, changing from MySensors versions.
-
No, just add the define node id.
-
So, I have to delete CHILD_ID und change it to MY_NODE_ID?
Okay, reaching home today, perhaps. Hope, this works.
The old define, might become useless, but it wont be in the way either. It is your choice.
-
So, I have to delete CHILD_ID und change it to MY_NODE_ID?
Okay, reaching home today, perhaps. Hope, this works.
@blebbens I just replaced my RPi Gateway (the direct connection to GPIO) with the Serial Gateway, and the Repeater node you are seeing must be your gateway. Before i connected any nodes i got the same repeater node listed as hardware as you did, so it is probably your node that is the problem.
-
I have exactly same error after loading new sketch (sensebender with BMP085). It was working fine for few days and suddenly it doesn't work. After verting my modification it doesn't work. Clear EEPROM doesn't solve the problem. RFM69W and static ID.
Gateway work fine with other sensors (sensebender without mods).TSM:INIT TSM:RADIO:OK TSP:ASSIGNID:OK (ID=100) TSM:FPAR TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: !TSM:FPAR:FAIL !TSM:FAILURE TSM:PDT -
I have exactly same error after loading new sketch (sensebender with BMP085). It was working fine for few days and suddenly it doesn't work. After verting my modification it doesn't work. Clear EEPROM doesn't solve the problem. RFM69W and static ID.
Gateway work fine with other sensors (sensebender without mods).TSM:INIT TSM:RADIO:OK TSP:ASSIGNID:OK (ID=100) TSM:FPAR TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: !TSM:FPAR:FAIL !TSM:FAILURE TSM:PDT -
hi,
Was not at home for about 2 weeks now (driving home in 2 days), but AliExpress delivered 10 NRF2401 non-amplified without antenna. Is it still necessary to define low power and data rate of 1mbps?
#define MY_RF24_PA_LEVEL RF24_PA_LOW
#define MY_RF24_DATARATE RF24_1MBPSDo I have to set the node ID still manually?
-
I am trying to set up a Serial Gateway using the arduino IDE, this time using a NRF24L01 (not amplified, with build-in-antenna).
The Sketch compiles without any error, but afterwards the IDE tells me an error occurred: error during uploading the Sketch.
This occurs on compiling mysensors sketches.
Never had this Problem before. Now I get this error on all WIN10-machines.
Any tips ?
-
I am trying to set up a Serial Gateway using the arduino IDE, this time using a NRF24L01 (not amplified, with build-in-antenna).
The Sketch compiles without any error, but afterwards the IDE tells me an error occurred: error during uploading the Sketch.
This occurs on compiling mysensors sketches.
Never had this Problem before. Now I get this error on all WIN10-machines.
Any tips ?
