I have an Arduino gateway and motion sensor, setup and they have been running for a month without problems. They have been setting within 5 feet of each other. Both are using the latest 1.3b3 (71afb55c) library.
I built an Arduino Relay Node and the MySensors gateway sees it just fine. It is also running the latest 1.3b3 (71afb55c) library. The relay is 4.5 meters from the gateway and has a line of sight with it. The motion sensor was moved around the corner of a wall and is 2.5 meters from the relay node and has a line of sight with it.
I have 4.7uF capacitors on the wireless boards between power and ground. They are the 24L01 board.
I am unable to get the motion sensor to send its signal via the relay node. I have been looking at the relay code, very simple, trying to figure out what I have done wrong. When I look at the vera log I see the following arduino messages.
After restarting the Vera I see this block of message, all looks OK.
[font=courier][size=8pt]09 04/26/14 21:14:33.442 JobHandler_LuaUPnP::Run device 98 Arduino Gateway room 0 type urn:schemas-arduino-cc:device:arduinonode:1 id 1;255 parent 97/0x8f9558 upnp: 0 <0x2ae43000>
09 04/26/14 21:14:33.442 JobHandler_LuaUPnP::Run device 99 Arduino Motion 1:0 room 0 type urn:schemas-micasaverde-com:device:MotionSensor:1 id 1;0 parent 97/0x9001e0 upnp: 0 <0x2ae43000>
09 04/26/14 21:14:33.442 JobHandler_LuaUPnP::Run device 112 Arduino Relay room 0 type urn:schemas-arduino-cc:device:arduinorelay:1 id 3;0 parent 97/0x911a98 upnp: 0 <0x2ae43000>
09 04/26/14 21:14:33.450 JobHandler_LuaUPnP::Run device 97 MySensors Gateway room 0 type urn:schemas-arduino-cc:device:arduino:1 id parent 0/0x8fec18 upnp: 0 <0x2ae43000>
50 04/26/14 21:14:38.912 luup_log:97: Arduino plugin: loading library L_Arduino … <0x2b777680>
50 04/26/14 21:14:38.941 luup_log:97: Arduino plugin: library L_Arduino loaded LEAK this:110592 start:1105920 to 0xf00000 <0x2b777680>
50 04/26/14 21:14:38.942 luup_log:97: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,PluginVersion, 1.3, 97 <0x2b777680>
50 04/26/14 21:14:38.942 luup_log:97: Arduino: Using network connection: IP address is 192.168.101.66:5003 <0x2b777680>
50 04/26/14 21:14:39.045 luup_log:97: Arduino: Sending: 0;0;4;4;Get Version LEAK this:16384 start:1122304 to 0xf04000 <0x2b777680>
50 04/26/14 21:14:39.057 luup_log:97: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,ArduinoLibVersion, 1.3b3 (7afb55c), 97 <0x2e1ba680>[/size][/font]
However, every time I press the reset button on the arduino board, of the relay node, I see the following three message lines.
[size=8pt][font=courier]50 04/26/14 21:14:54.863 luup_log:97: Arduino: Presentation: 3;255;0;18;1.3b3 (7afb55c) <0x2e1ba680>
02 04/26/14 21:14:54.875 luup_log:97: Arduino: Incoming internal command ‘3;255;4;7;0’ discarded for child: nil <0x2e1ba680>
02 04/26/14 21:14:54.888 luup_log:97: Arduino: Incoming internal command ‘3;255;4;14;Relaying Node’ discarded for child: nil <0x2e1ba680>
02 04/26/14 21:14:54.900 luup_log:97: Arduino: Incoming internal command ‘3;255;4;15;1.1’ discarded for child: nil <0x2e1ba680>[/font][/size]
I believe something is not configured correctly within the Arduino relay node device on the Vera, but I can?t figure out what it is. Could anyone give me any pointers on what I might be doing wrong?
My Vera device configs if it helps
[size=8pt][font=courier]Device #97
name - MySensors Gateway
device_type - urn:schemas-arduino-cc:device:arduino:1
ip - 192.168.101.66:5003
device_file - D_Arduino1.xml
id - 97
room - 0
time_created - 1396490806
local_udn - uuid:4d494342-5342-5645-0061-000002165e68
commUse- rs232
PluginVersion - 1.3
Unit - M
CommFailure - 1
ArduinoLibVersion - 1.3b3 (7afb55c)
LastUpdate - 0
InclusionMode - 0
Device #98
name - Arduino Gateway
device_type - urn:schemas-arduino-cc:device:arduinonode:1
altid - 1;255
id_parent - 97
device_file - D_ArduinoNode1.xml
id - 98
room - 0
time_created - 1396568272
local_udn - uuid:4d494342-5342-5645-0062-000002165e68
LastUpdate - 1398559937
LastUpdateHR - 20:52
ArduinoLibVersion - 1.3b3 (7afb55c)
SketchName - Motion Sensor
SketchVersion - 1.0
Device #99
name - Arduino Motion 1:0
device_type - urn:schemas-micasaverde-com:device:MotionSensor:1
altid - 1;0
id_parent - 97
device_file - D_MotionSensor1.xml
id - 99
room - 0
time_created - 1396568272
category_num - 4
subcategory_num- 3
onDashboard - 1
local_udn - uuid:4d494342-5342-5645-0063-000002165e68
Variables
Tripped- 1
LastTrip - 1398559937
LastUpdate - 1398558862
Armed - 1
Device #112
name - Arduino Relay
device_type - urn:schemas-arduino-cc:device:arduinorelay:1
altid - 3;255
id_parent - 97
device_file - D_ArduinoRelay1.xml
id - 112
room - 0
impl_file
time_created - 1398558171
local_udn - uuid:4d494342-5342-5645-0070-000002165e68
ArduinoLibVersion - 1.3b3 (7afb55c)
SketchName - Relaying Node
SketchVersion 1.0
RelayNode - Refreshing…
LastUpdate - 0[/font][/size]
Thanks
Mike