My first motion build give error
-
I am a newby and this is my first build i get this error from the motion sensor.
I use a arduino uno to try this project.
Can some one help me what is wron
Starting sensor (RRNNA-, 2.0.0)
TSM:INIT
TSM:RADIO:OK
!TSP:ASSIGNID:FAIL (ID=0)
!TSM:FAILURE
TSM:PDT
TSM:FPAR
TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSM:FPAR
TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSM:FPAR
TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSM:FPAR
TSP:MSG:SEND 0-0-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
-
@TON-RIJNAARD great that you've gotten started
Is this a combined node+gateway or do you have a separate gateway?
Could you post your sketch?Node id 0 is reserved for the gateway. If this is a non-gateway node, use an id between 1 and 254.
The basics of the MySensors network (nodes, gateways, etc) is described at https://www.mysensors.org/about/network
-
Hello, thanks for the very fast reply. The sketch is from the motion sensor.
But i have not the gateway (i am waiting on the nano board).
Must i chance the ID nr in the sketch?Greatz Ton
-
@TON-RIJNAARD to preset a node id use this define, where 1 can be a number between 1 and 254 (no duplicates allowed within your network)
#define MY_NODE_ID 1But if there is no gateway you will keep getting errors, since radio messages will fail
-
@TON-RIJNAARD
To test things, you need- Device 1 with rf24L01+ radio
- Load "gatewayserial" sketch
- Device 2 with rf24l01+ radio
- Load motion sketch, but add a line before
#include <MySensors.h>
so that it looks like this
#define MY_NODE_ID 1
#include <MySensors.h>
Switch on both devices and look at the serial messages from Device 1 (Gateway), When movement is detected, you will see new messages etc
-
Thanks all for the information i wait that i have my nano and look what happens then.
Suggested Topics
-
Day 1 - Status report
Announcements ā¢ 23 Mar 2014, 22:45 ā¢ hek 24 Mar 2014, 20:12 -
Can not compile MySensors on esp8266
Troubleshooting ā¢ 24 Aug 2024, 15:35 ā¢ TheoL 29 Aug 2024, 20:47 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting ā¢ 6 Sept 2019, 07:51 ā¢ Timbergetter 14 days ago -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting ā¢ 23 days ago ā¢ bocalexandru 21 days ago -
Getting system time from the controller
Troubleshooting ā¢ 27 Feb 2025, 01:39 ā¢ dpcons 3 Mar 2025, 01:00 -
Echo request is not set
Troubleshooting ā¢ 12 Aug 2024, 15:36 ā¢ kamilb85 3 Sept 2024, 08:58