244 382 läst · 1 010 svar
244k läst
1,0k svar
Bygga egna sensorer - Hemautomation
hek skrev:
Tänkte på detta... Löser denna delay så att Gatewayen lyckas fånga upp bgge,
för nu får jag ju bara upp fuktgivaren
Ok, provade att koppla in en fuktsensor och göra inkludering nu. Både luftfuktighet och temperatur senor dök upp för mig. Så någonting måste vara knas hos dig. Skulle det kunna vara en gömd enhet kvar i veran (med samma altId) som ligger och blockerar? Har du använt samma nod id (2) tidigare och tagit bort en enhet med id 2;1?
Du skulle kunna prova att ge temperatursenorn i sketchen ett nytt childId (ändra 1:an till något högre på rad 31 och 51).
Du skulle kunna prova att ge temperatursenorn i sketchen ett nytt childId (ändra 1:an till något högre på rad 31 och 51).
@hek
Nu funkar det utmärkt att trycka på knappen, tackar för det =)
Tyvärr så hittar den inte någonting öht... Har provat med två Uno som sensorer (pir + relä).
Har bytt radiomoduler och kollat kopplingarna hur många gånger som helst...
Det står nått om message crc error i loggen, kan det vara nåt?
Serial monitor säger:
No radio id found in EEMPROM fetching one from VeraSending to 0, message=0;0;2;34;
No ack received
Sending to 0, message=0;0;2;34;
No ack received
Sending to 0, message=0;0;2;34;
No ack received
Loggen från vera:
25 11/20/13 8:37:09.195 LuImplementation::StartLua running startup code for 50 I_Arduino1.xml <0x2c2c7680>
50 11/20/13 8:37:09.196 luup_log:50: Arduino plugin: loading library L_Arduino ... <0x2c2c7680>
50 11/20/13 8:37:09.317 luup_log:50: Arduino plugin: library L_Arduino loaded <0x2c2c7680>
01 11/20/13 8:37:09.318 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,PluginVersion, 1.2+, 50 <0x2c2c7680>
50 11/20/13 8:37:09.318 luup_log:50: Arduino: Serial port is connected <0x2c2c7680>
50 11/20/13 8:37:09.319 luup_log:50: Arduino: Baud is 115200 <0x2c2c7680>
01 11/20/13 8:37:09.320 luup_log:50: Arduino: Sending command: 0;0;4;4;Get Version <0x2c2c7680>
10 11/20/13 8:37:09.368 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
01 11/20/13 8:37:09.375 luup_log:50: Arduino: 0;0;4;4;1.2+ <0x2ff4a680>
01 11/20/13 8:37:09.376 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,ArduinoLibVersion, 1.2+, 50 <0x2ff4a680>
10 11/20/13 8:37:09.511 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:09.546 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
50 11/20/13 8:37:11.792 luup_log:51: device # 50: supports Dimming1; set watch on variable 'LoadLevelTarget' for Arduino Gateway Plugin <0x2c2c7680>
10 11/20/13 8:37:11.853 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:11.859 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:11.884 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
01 11/20/13 8:37:18.212 luup_log:50: Arduino: Sending command: 0;0;4;6;1 <0x2f2c7680>
01 11/20/13 8:37:18.245 luup_log:50: Arduino: 0;0;4;6;1 <0x2ff4a680>
01 11/20/13 8:37:18.245 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionMode, 1, 50 <0x2ff4a680>
01 11/20/13 8:37:18.247 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, 0 devices found, 50 <0x2ff4a680>
01 11/20/13 8:37:21.516 luup_log:50: Arduino: 0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:21.516 luup_log:50: Arduino: Log: Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:21.524 luup_log:50: Arduino: 0;0;4;11;Message crc error. <0x2ff4a680>
01 11/20/13 8:37:21.525 luup_log:50: Arduino: Log: Message crc error. <0x2ff4a680>
01 11/20/13 8:37:24.668 luup_log:50: Arduino: 0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:24.668 luup_log:50: Arduino: Log: Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:24.670 luup_log:50: Arduino: 0;0;4;11;Message crc error. <0x2ff4a680>
01 11/20/13 8:37:24.671 luup_log:50: Arduino: Log: Message crc error. <0x2ff4a680>
01 11/20/13 8:37:24.855 luup_log:50: Arduino: 0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=251, payload='' <0x2ff4a680>
01 11/20/13 8:37:24.856 luup_log:50: Arduino: Log: Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=251, payload='' <0x2ff4a680>
01 11/20/13 8:37:24.857 luup_log:50: Arduino: 0;0;4;11;Message crc error. <0x2ff4a680>
01 11/20/13 8:37:24.858 luup_log:50: Arduino: Log: Message crc error. <0x2ff4a680>
10 11/20/13 8:37:27.117 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:27.147 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
01 11/20/13 8:37:27.876 luup_log:50: Arduino: 0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:27.876 luup_log:50: Arduino: Log: Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:27.878 luup_log:50: Arduino: 0;0;4;11;Message crc error. <0x2ff4a680>
01 11/20/13 8:37:27.879 luup_log:50: Arduino: Log: Message crc error. <0x2ff4a680>
01 11/20/13 8:37:35.059 luup_log:50: Arduino: Sending command: 0;0;4;6;0 <0x2fac7680>
01 11/20/13 8:37:35.075 luup_log:50: Arduino: 0;0;4;6;0 <0x2ff4a680>
01 11/20/13 8:37:35.075 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionMode, 0, 50 <0x2ff4a680>
01 11/20/13 8:37:35.077 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, , 50 <0x2ff4a680>
01 11/20/13 8:37:35.079 luup_log:50: Arduino: Inclusion mode ended. <0x2ff4a680>
10 11/20/13 8:37:35.167 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:41.259 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
09 11/20/13 8:38:00.335 JobHandler_LuaUPnP::Run device 50 Arduino Gateway Plugin room 0 type urn:schemas-arduino-cc:device:arduino:1 id parent 0/0x743870 upnp: 0 <0x2b5a1000>
50 11/20/13 8:38:04.140 luup_log:50: Arduino plugin: loading library L_Arduino ... <0x2bed5680>
50 11/20/13 8:38:04.200 luup_log:50: Arduino plugin: library L_Arduino loaded __LEAK__ this:28672 start:1277952 to 0xf04000 <0x2bed5680>
01 11/20/13 8:38:04.202 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,PluginVersion, 1.2+, 50 <0x2bed5680>
50 11/20/13 8:38:04.202 luup_log:50: Arduino: Serial port is connected <0x2bed5680>
50 11/20/13 8:38:04.208 luup_log:50: Arduino: Baud is 115200 <0x2bed5680>
01 11/20/13 8:38:04.210 luup_log:50: Arduino: Sending command: 0;0;4;4;Get Version <0x2bed5680>
01 11/20/13 8:38:04.224 luup_log:50: Arduino: 0;0;4;4;1.2+ <0x2f917680>
01 11/20/13 8:38:04.225 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,ArduinoLibVersion, 1.2+, 50 <0x2f917680>
50 11/20/13 8:38:06.757 luup_log:51: device # 50: supports Dimming1; set watch on variable 'LoadLevelTarget' for Arduino Gateway Plugin <0x2bed5680>
Nu funkar det utmärkt att trycka på knappen, tackar för det =)
Tyvärr så hittar den inte någonting öht... Har provat med två Uno som sensorer (pir + relä).
Har bytt radiomoduler och kollat kopplingarna hur många gånger som helst...
Det står nått om message crc error i loggen, kan det vara nåt?
Serial monitor säger:
No radio id found in EEMPROM fetching one from VeraSending to 0, message=0;0;2;34;
No ack received
Sending to 0, message=0;0;2;34;
No ack received
Sending to 0, message=0;0;2;34;
No ack received
Loggen från vera:
25 11/20/13 8:37:09.195 LuImplementation::StartLua running startup code for 50 I_Arduino1.xml <0x2c2c7680>
50 11/20/13 8:37:09.196 luup_log:50: Arduino plugin: loading library L_Arduino ... <0x2c2c7680>
50 11/20/13 8:37:09.317 luup_log:50: Arduino plugin: library L_Arduino loaded <0x2c2c7680>
01 11/20/13 8:37:09.318 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,PluginVersion, 1.2+, 50 <0x2c2c7680>
50 11/20/13 8:37:09.318 luup_log:50: Arduino: Serial port is connected <0x2c2c7680>
50 11/20/13 8:37:09.319 luup_log:50: Arduino: Baud is 115200 <0x2c2c7680>
01 11/20/13 8:37:09.320 luup_log:50: Arduino: Sending command: 0;0;4;4;Get Version <0x2c2c7680>
10 11/20/13 8:37:09.368 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
01 11/20/13 8:37:09.375 luup_log:50: Arduino: 0;0;4;4;1.2+ <0x2ff4a680>
01 11/20/13 8:37:09.376 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,ArduinoLibVersion, 1.2+, 50 <0x2ff4a680>
10 11/20/13 8:37:09.511 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:09.546 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
50 11/20/13 8:37:11.792 luup_log:51: device # 50: supports Dimming1; set watch on variable 'LoadLevelTarget' for Arduino Gateway Plugin <0x2c2c7680>
10 11/20/13 8:37:11.853 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:11.859 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:11.884 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
01 11/20/13 8:37:18.212 luup_log:50: Arduino: Sending command: 0;0;4;6;1 <0x2f2c7680>
01 11/20/13 8:37:18.245 luup_log:50: Arduino: 0;0;4;6;1 <0x2ff4a680>
01 11/20/13 8:37:18.245 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionMode, 1, 50 <0x2ff4a680>
01 11/20/13 8:37:18.247 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, 0 devices found, 50 <0x2ff4a680>
01 11/20/13 8:37:21.516 luup_log:50: Arduino: 0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:21.516 luup_log:50: Arduino: Log: Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:21.524 luup_log:50: Arduino: 0;0;4;11;Message crc error. <0x2ff4a680>
01 11/20/13 8:37:21.525 luup_log:50: Arduino: Log: Message crc error. <0x2ff4a680>
01 11/20/13 8:37:24.668 luup_log:50: Arduino: 0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:24.668 luup_log:50: Arduino: Log: Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:24.670 luup_log:50: Arduino: 0;0;4;11;Message crc error. <0x2ff4a680>
01 11/20/13 8:37:24.671 luup_log:50: Arduino: Log: Message crc error. <0x2ff4a680>
01 11/20/13 8:37:24.855 luup_log:50: Arduino: 0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=251, payload='' <0x2ff4a680>
01 11/20/13 8:37:24.856 luup_log:50: Arduino: Log: Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=251, payload='' <0x2ff4a680>
01 11/20/13 8:37:24.857 luup_log:50: Arduino: 0;0;4;11;Message crc error. <0x2ff4a680>
01 11/20/13 8:37:24.858 luup_log:50: Arduino: Log: Message crc error. <0x2ff4a680>
10 11/20/13 8:37:27.117 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:27.147 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
01 11/20/13 8:37:27.876 luup_log:50: Arduino: 0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:27.876 luup_log:50: Arduino: Log: Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:27.878 luup_log:50: Arduino: 0;0;4;11;Message crc error. <0x2ff4a680>
01 11/20/13 8:37:27.879 luup_log:50: Arduino: Log: Message crc error. <0x2ff4a680>
01 11/20/13 8:37:35.059 luup_log:50: Arduino: Sending command: 0;0;4;6;0 <0x2fac7680>
01 11/20/13 8:37:35.075 luup_log:50: Arduino: 0;0;4;6;0 <0x2ff4a680>
01 11/20/13 8:37:35.075 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionMode, 0, 50 <0x2ff4a680>
01 11/20/13 8:37:35.077 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, , 50 <0x2ff4a680>
01 11/20/13 8:37:35.079 luup_log:50: Arduino: Inclusion mode ended. <0x2ff4a680>
10 11/20/13 8:37:35.167 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:41.259 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
09 11/20/13 8:38:00.335 JobHandler_LuaUPnP::Run device 50 Arduino Gateway Plugin room 0 type urn:schemas-arduino-cc:device:arduino:1 id parent 0/0x743870 upnp: 0 <0x2b5a1000>
50 11/20/13 8:38:04.140 luup_log:50: Arduino plugin: loading library L_Arduino ... <0x2bed5680>
50 11/20/13 8:38:04.200 luup_log:50: Arduino plugin: library L_Arduino loaded __LEAK__ this:28672 start:1277952 to 0xf04000 <0x2bed5680>
01 11/20/13 8:38:04.202 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,PluginVersion, 1.2+, 50 <0x2bed5680>
50 11/20/13 8:38:04.202 luup_log:50: Arduino: Serial port is connected <0x2bed5680>
50 11/20/13 8:38:04.208 luup_log:50: Arduino: Baud is 115200 <0x2bed5680>
01 11/20/13 8:38:04.210 luup_log:50: Arduino: Sending command: 0;0;4;4;Get Version <0x2bed5680>
01 11/20/13 8:38:04.224 luup_log:50: Arduino: 0;0;4;4;1.2+ <0x2f917680>
01 11/20/13 8:38:04.225 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,ArduinoLibVersion, 1.2+, 50 <0x2f917680>
50 11/20/13 8:38:06.757 luup_log:51: device # 50: supports Dimming1; set watch on variable 'LoadLevelTarget' for Arduino Gateway Plugin <0x2bed5680>
wirsen skrev:@hek
Nu funkar det utmärkt att trycka på knappen, tackar för det =)
Tyvärr så hittar den inte någonting öht... Har provat med två Uno som sensorer (pir + relä).
Har bytt radiomoduler och kollat kopplingarna hur många gånger som helst...
Det står nått om message crc error i loggen, kan det vara nåt?
Serial monitor säger:
No radio id found in EEMPROM fetching one from VeraSending to 0, message=0;0;2;34;
No ack received
Sending to 0, message=0;0;2;34;
No ack received
Sending to 0, message=0;0;2;34;
No ack received
Loggen från vera:
25 11/20/13 8:37:09.195 LuImplementation::StartLua running startup code for 50 I_Arduino1.xml <0x2c2c7680>
50 11/20/13 8:37:09.196 luup_log:50: Arduino plugin: loading library L_Arduino ... <0x2c2c7680>
50 11/20/13 8:37:09.317 luup_log:50: Arduino plugin: library L_Arduino loaded <0x2c2c7680>
01 11/20/13 8:37:09.318 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,PluginVersion, 1.2+, 50 <0x2c2c7680>
50 11/20/13 8:37:09.318 luup_log:50: Arduino: Serial port is connected <0x2c2c7680>
50 11/20/13 8:37:09.319 luup_log:50: Arduino: Baud is 115200 <0x2c2c7680>
01 11/20/13 8:37:09.320 luup_log:50: Arduino: Sending command: 0;0;4;4;Get Version <0x2c2c7680>
10 11/20/13 8:37:09.368 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
01 11/20/13 8:37:09.375 luup_log:50: Arduino: 0;0;4;4;1.2+ <0x2ff4a680>
01 11/20/13 8:37:09.376 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,ArduinoLibVersion, 1.2+, 50 <0x2ff4a680>
10 11/20/13 8:37:09.511 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:09.546 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
50 11/20/13 8:37:11.792 luup_log:51: device # 50: supports Dimming1; set watch on variable 'LoadLevelTarget' for Arduino Gateway Plugin <0x2c2c7680>
10 11/20/13 8:37:11.853 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:11.859 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:11.884 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
01 11/20/13 8:37:18.212 luup_log:50: Arduino: Sending command: 0;0;4;6;1 <0x2f2c7680>
01 11/20/13 8:37:18.245 luup_log:50: Arduino: 0;0;4;6;1 <0x2ff4a680>
01 11/20/13 8:37:18.245 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionMode, 1, 50 <0x2ff4a680>
01 11/20/13 8:37:18.247 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, 0 devices found, 50 <0x2ff4a680>
01 11/20/13 8:37:21.516 luup_log:50: Arduino: 0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:21.516 luup_log:50: Arduino: Log: Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:21.524 luup_log:50: Arduino: 0;0;4;11;Message crc error. <0x2ff4a680>
01 11/20/13 8:37:21.525 luup_log:50: Arduino: Log: Message crc error. <0x2ff4a680>
01 11/20/13 8:37:24.668 luup_log:50: Arduino: 0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:24.668 luup_log:50: Arduino: Log: Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:24.670 luup_log:50: Arduino: 0;0;4;11;Message crc error. <0x2ff4a680>
01 11/20/13 8:37:24.671 luup_log:50: Arduino: Log: Message crc error. <0x2ff4a680>
01 11/20/13 8:37:24.855 luup_log:50: Arduino: 0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=251, payload='' <0x2ff4a680>
01 11/20/13 8:37:24.856 luup_log:50: Arduino: Log: Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=251, payload='' <0x2ff4a680>
01 11/20/13 8:37:24.857 luup_log:50: Arduino: 0;0;4;11;Message crc error. <0x2ff4a680>
01 11/20/13 8:37:24.858 luup_log:50: Arduino: Log: Message crc error. <0x2ff4a680>
10 11/20/13 8:37:27.117 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:27.147 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
01 11/20/13 8:37:27.876 luup_log:50: Arduino: 0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:27.876 luup_log:50: Arduino: Log: Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload='' <0x2ff4a680>
01 11/20/13 8:37:27.878 luup_log:50: Arduino: 0;0;4;11;Message crc error. <0x2ff4a680>
01 11/20/13 8:37:27.879 luup_log:50: Arduino: Log: Message crc error. <0x2ff4a680>
01 11/20/13 8:37:35.059 luup_log:50: Arduino: Sending command: 0;0;4;6;0 <0x2fac7680>
01 11/20/13 8:37:35.075 luup_log:50: Arduino: 0;0;4;6;0 <0x2ff4a680>
01 11/20/13 8:37:35.075 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionMode, 0, 50 <0x2ff4a680>
01 11/20/13 8:37:35.077 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, , 50 <0x2ff4a680>
01 11/20/13 8:37:35.079 luup_log:50: Arduino: Inclusion mode ended. <0x2ff4a680>
10 11/20/13 8:37:35.167 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
10 11/20/13 8:37:41.259 XXX-UpdateSystemMessagesTasks StartupTask #12 = 4 OK / Arduino Gateway Plugin[50] <0x2c0c7680>
09 11/20/13 8:38:00.335 JobHandler_LuaUPnP::Run device 50 Arduino Gateway Plugin room 0 type urn:schemas-arduino-cc:device:arduino:1 id parent 0/0x743870 upnp: 0 <0x2b5a1000>
50 11/20/13 8:38:04.140 luup_log:50: Arduino plugin: loading library L_Arduino ... <0x2bed5680>
50 11/20/13 8:38:04.200 luup_log:50: Arduino plugin: library L_Arduino loaded __LEAK__ this:28672 start:1277952 to 0xf04000 <0x2bed5680>
01 11/20/13 8:38:04.202 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,PluginVersion, 1.2+, 50 <0x2bed5680>
50 11/20/13 8:38:04.202 luup_log:50: Arduino: Serial port is connected <0x2bed5680>
50 11/20/13 8:38:04.208 luup_log:50: Arduino: Baud is 115200 <0x2bed5680>
01 11/20/13 8:38:04.210 luup_log:50: Arduino: Sending command: 0;0;4;4;Get Version <0x2bed5680>
01 11/20/13 8:38:04.224 luup_log:50: Arduino: 0;0;4;4;1.2+ <0x2f917680>
01 11/20/13 8:38:04.225 luup_log:50: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,ArduinoLibVersion, 1.2+, 50 <0x2f917680>
50 11/20/13 8:38:06.757 luup_log:51: device # 50: supports Dimming1; set watch on variable 'LoadLevelTarget' for Arduino Gateway Plugin <0x2bed5680>
Jag har samma poroblem
Kör två serial monitor men får "No ack received" hela tiden
Kollat allt och bytt ut alla moduler
Men säkert något enkelt jag missat
Andreas
Detta är ju väldigt konstigt. Har dock lite svårt att felsöka här på jobbet dock. Kan ni försöka skriva ner era förutsättningar: OS, avstånd, vilka komponenter i köpt etc. Vore ju fint om vi kunde hitta en gemensam nämnare.
Jag har en Vera Lite kopplad till en Fundino Nano 3,0 328p och radiomodul NRF24L01+. Sensorerna betsår av 2 Arduino Uno med samma radiomoduler, den en med relä och den andra med en pir.
Avstånd ca 3 meter men har även provat bredvid varandra.
Avstånd ca 3 meter men har även provat bredvid varandra.
Kollade nanon med serialmonitor:
0;0;4;11;Arduino startup complete.
0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload=''
0;0;4;11;Message crc error.
0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload=''
0;0;4;11;Message crc error.
Så de får ju ändå kontakt med varandra...
0;0;4;11;Arduino startup complete.
0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload=''
0;0;4;11;Message crc error.
0;0;4;11;Received message: from=0, to=34, childId=0, mtype=0, type=0, crc=255, payload=''
0;0;4;11;Message crc error.
Så de får ju ändå kontakt med varandra...