@markjgabb said in fails to wake with 2 interupts:
pinMode(DOOR_PIN, INPUT);
to be a true pull up your the code should read pinMode(DOOR_PIN, INPUT_PULLUP);
@markjgabb said in fails to wake with 2 interupts:
pinMode(DOOR_PIN, INPUT);
to be a true pull up your the code should read pinMode(DOOR_PIN, INPUT_PULLUP);
Hey folks
I was checking the site today and queried to see if anyone has tried the newest NRF NANO?
I have built 2 modules with them just to see ift they work, and they work great hope someones else has tried to see if they will meet there project specs.
Good luck
// Enable debug prints to serial monitor
#define MY_DEBUG
// Enable and select radio type attached
#define MY_RADIO_RF24
#define MY_RADIO_RF24_PA_MAX
// #define MY_RF24_CE_PIN 8 // used when Radio is wired non conventional
// #define MY_RF24_CS_PIN 7 //
#include <MySensors.h>
#define MY_NODE_ID 10 // if this works you can create your own NODES
#define SKETCH_NAME "Remote Control"
#define SKETCH_MAJOR_VER "1"
#define SKETCH_MINOR_VER "5"
// define your children here
#define PRIMARY_CHILD_ID 7
#define SECONDARY_CHILD_ID 8
#define PRIMARY_CHILD2_ID 9
#define SECONDARY_CHILD2_ID 10
// construct your button pins here for the analog inputs you have created
const int PRIMARY_BUTTON3_PIN_OUT = 5;
const int SECONDARY_BUTTON4_PIN_OUT = 7 ;
// These are the primary and secondary main buttons
#define PRIMARY_BUTTON_PIN 2 // Arduino Digital I/O pin for button/reed switch
#define SECONDARY_BUTTON_PIN 3 // Arduino Digital I/O pin for button/reed switch
// these are the 1ast 2 analog pin chosen
#define PRIMARY_BUTTON3_PIN 4 // Arduino Digital I/O pin for button/reed switch
#define SECONDARY_BUTTON4_PIN 6 // Arduino Digital I/O pin for button/reed switch
#if (PRIMARY_BUTTON_PIN < 2 || PRIMARY_BUTTON_PIN >7)
#error PRIMARY_BUTTON_PIN must be either 2 or 3 for interrupts to work
#endif
#if (SECONDARY_BUTTON_PIN < 2 || SECONDARY_BUTTON_PIN > 7)
#error SECONDARY_BUTTON_PIN must be either 2 or 3 for interrupts to work
#endif
#if (PRIMARY_BUTTON_PIN == SECONDARY_BUTTON_PIN)
#error PRIMARY_BUTTON_PIN and BUTTON_PIN2 cannot be the same
#endif
#if (PRIMARY_CHILD_ID == SECONDARY_CHILD_ID)
#error PRIMARY_CHILD_ID and SECONDARY_CHILD_ID cannot be the same
#endif
// create you messages here
// Change to V_LIGHT if you use S_LIGHT in presentation below
MyMessage msg(PRIMARY_CHILD_ID, V_TRIPPED);
MyMessage msg2(SECONDARY_CHILD_ID, V_TRIPPED);
MyMessage msg3(PRIMARY_CHILD2_ID, V_TRIPPED);
MyMessage msg4(SECONDARY_CHILD2_ID, V_TRIPPED);
// ********************************************
ISR (PCINT2_vect)
{
// handle pin change interrupt for D0 to D7 here
if (PIND & bit (4)) // if it was high
PORTD |= bit (5); // turn on D5
else
PORTD &= ~bit (5); // turn off D5
if (PIND & bit (6)) // if it was high
PORTD |= bit (7); // turn on D7
else
PORTD &= ~bit (7); // turn off D7
} // end of PCINT2_vect
//*************************************************
void setup()
{
// Setup the buttons
pinMode(PRIMARY_BUTTON_PIN, INPUT_PULLUP);
pinMode(SECONDARY_BUTTON_PIN, INPUT_PULLUP);
//**********************************************************
// pin change interrupt (D4)
PCMSK2 |= bit (PCINT20); // want pin 4
PCIFR |= bit (PCIF2); // clear any outstanding interrupts
PCICR |= bit (PCIE2); // enable pin change interrupts for D0 to D7
pinMode(PRIMARY_BUTTON3_PIN, INPUT_PULLUP);
pinMode (PRIMARY_BUTTON3_PIN_OUT, OUTPUT);
// pin change interrupt (D6)
PCMSK2 |= bit (PCINT22); // want pin 6
PCIFR |= bit (PCIF2); // clear any outstanding interrupts
PCICR |= bit (PCIE2); // enable pin change interrupts for D0 to D7
pinMode (SECONDARY_BUTTON4_PIN, INPUT_PULLUP);
pinMode (SECONDARY_BUTTON4_PIN_OUT, OUTPUT);
//**********************************************************************
// Send the sketch version information to the gateway and Controller
sendSketchInfo(SKETCH_NAME, SKETCH_MAJOR_VER "." SKETCH_MINOR_VER);
// Register binary input sensor to sensor_node (they will be created as child devices)
// You can use S_DOOR, S_MOTION or S_LIGHT here depending on your usage.
// If S_LIGHT is used, remember to update variable type you send in. See "msg" above.
present(PRIMARY_CHILD_ID, S_DOOR);
present(SECONDARY_CHILD_ID, S_DOOR);
present(PRIMARY_CHILD2_ID, S_DOOR);
present(SECONDARY_CHILD2_ID, S_DOOR);
}
// Loop will iterate on changes on the BUTTON_PINs
void loop()
{
uint8_t value;
static uint8_t sentValue = 2;
static uint8_t sentValue2 = 2;
static uint8_t sentValue3 = 2;
static uint8_t sentValue4 = 2;
// short delay to allow buttons to properly settle
delay(5);
value = digitalRead(PRIMARY_BUTTON_PIN);
if (value != sentValue) {
// Value has changed from last transmission, send the updated value
send(msg.set(value == HIGH));
Serial.print("Value of Primary Button > ");
Serial.println(digitalRead(value));
sentValue = value;
}
value = digitalRead(SECONDARY_BUTTON_PIN);
if (value != sentValue2) {
// Value has changed from last transmission, send the updated value
send(msg2.set(value == HIGH));
Serial.print("Value of Secondary Button > ");
Serial.println(digitalRead(value));
sentValue2 = value;
}
value = digitalRead(PRIMARY_BUTTON3_PIN);
if (value != sentValue3) {
send(msg3.set(value == HIGH));
Serial.print("Value of Primary Button 3 > ");
Serial.println(digitalRead(PRIMARY_BUTTON3_PIN_OUT));
sentValue3 = value;
}
value = digitalRead(SECONDARY_BUTTON4_PIN);
if (value != sentValue4) {
send(msg4.set(value == HIGH));
Serial.print("Value of Secondary Button 4 > ");
Serial.println(digitalRead(SECONDARY_BUTTON4_PIN_OUT));
sentValue4 = value;
}
// Sleep until something happens with the sensor
sleep(PRIMARY_BUTTON_PIN - 2, CHANGE, 0, SECONDARY_BUTTON_PIN - 2, CHANGE, 0);
}
@zboblamont You know the test will only tell you if you have at time of test not if you will not get it in the future so not sure why all of the belief that testing is going to stop you from getting it if you are in contact with people who have it
Hello
If your using an nrf24 radio module try changing the nrf24l01 the FPAR is telling you it is not talking to the remotes I have had this issue with several nrf modules and changing them has corrected this issue
Finially got my Vera 3 to accept the new files now works okay
Thanks skywatch but by running the latest NodeManager I did not have to change anything.
Re: Modify Node ID?
I tried this sketch using library 2.3.2 and got this error message
Arduino: 1.8.4 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\swbob\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=8MHzatmega328 -ide-version=10804 -build-path C:\Users\swbob\AppData\Local\Temp\arduino_build_998314 -warnings=default -build-cache C:\Users\swbob\AppData\Local\Temp\arduino_cache_486292 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose D:\sketch_mar05a\sketch_mar05a.ino\sketch_mar05a.ino.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\swbob\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=8MHzatmega328 -ide-version=10804 -build-path C:\Users\swbob\AppData\Local\Temp\arduino_build_998314 -warnings=default -build-cache C:\Users\swbob\AppData\Local\Temp\arduino_cache_486292 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose D:\sketch_mar05a\sketch_mar05a.ino\sketch_mar05a.ino.ino
Using board 'pro' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
WARNING: Category '' in library LiquidCrystal is not valid. Setting to 'Uncategorized'
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10804 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\swbob\AppData\Local\Temp\arduino_build_998314\sketch\sketch_mar05a.ino.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10804 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "C:\Users\swbob\AppData\Local\Temp\arduino_build_998314\sketch\sketch_mar05a.ino.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10804 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\swbob\AppData\Local\Temp\arduino_build_998314\sketch\sketch_mar05a.ino.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10804 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\libraries\MySensors\MyASM.S" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10804 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.cpp" -o "nul"
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10804 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\swbob\AppData\Local\Temp\arduino_build_998314\sketch\sketch_mar05a.ino.ino.cpp" -o "C:\Users\swbob\AppData\Local\Temp\arduino_build_998314\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from D:\sketch_mar05a\sketch_mar05a.ino\sketch_mar05a.ino.ino:2:0:
C:\Program Files (x86)\Arduino\libraries\MySensors/MySensors.h:426:2: error: #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
#error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
^
Using library MySensors at version 2.3.2 in folder: C:\Program Files (x86)\Arduino\libraries\MySensors
Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
exit status 1
Error compiling for board Arduino Pro or Pro Mini.
`
Hope it can be corrected
Thanks`
@tekka
Had tried that before , so I was looking for the solution not by changing IDE but why did it fail, So I loaded Windows 10 Pro Workstation on a new drive booted from that drive and setup windows. Once windows was all configured I then installed exact same IDE and library as before and what do you know it worked just fine.
Conclusion it was the OS that stopped Arduino IDE 1.8.4 not the IDE or the MySenors Library, and yes it took more time to trouble but now I know why and I don't have to guess.
I have found that Windows 10 is very protective of it's self and once system becomes corrupt in the smallest of ways you can bet before long you will see in other applications things starting to "not work" like they use to when you first installed the OS.
If I had the time or desire I would switch over to Linux but I am to heavily invested in Windows with my machines and software for now and have been using Windows ever since Windows 3.0
Hope this might help others that might be having similar problems for the MySensors library's to fail when they should not be failing.So check out every avenue before blaming MySensors or the IDE
Thanks for reading my post
Bob
Arduino: 1.8.4 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\swbob\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10804 -build-path C:\Users\swbob\AppData\Local\Temp\arduino_build_76312 -warnings=default -build-cache C:\Users\swbob\AppData\Local\Temp\arduino_cache_476719 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Program Files (x86)\Arduino\libraries\MySensors\examples\GatewayW5100\GatewayW5100.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\swbob\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10804 -build-path C:\Users\swbob\AppData\Local\Temp\arduino_build_76312 -warnings=default -build-cache C:\Users\swbob\AppData\Local\Temp\arduino_cache_476719 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Program Files (x86)\Arduino\libraries\MySensors\examples\GatewayW5100\GatewayW5100.ino
Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\swbob\AppData\Local\Temp\arduino_build_76312\sketch\GatewayW5100.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "C:\Users\swbob\AppData\Local\Temp\arduino_build_76312\sketch\GatewayW5100.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "C:\Users\swbob\AppData\Local\Temp\arduino_build_76312\sketch\GatewayW5100.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\swbob\AppData\Local\Temp\arduino_build_76312\sketch\GatewayW5100.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Dhcp.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Dns.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetServer.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetUdp.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility\socket.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility\w5100.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors\utility" "C:\Program Files (x86)\Arduino\libraries\MySensors\MyASM.S" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.cpp" -o "nul"
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\swbob\AppData\Local\Temp\arduino_build_76312\sketch\GatewayW5100.ino.cpp" -o "C:\Users\swbob\AppData\Local\Temp\arduino_build_76312\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from C:\Program Files (x86)\Arduino\libraries\MySensors\examples\GatewayW5100\GatewayW5100.ino:126:0:
C:\Program Files (x86)\Arduino\libraries\MySensors/MySensors.h:426:2: error: #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
#error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
^
Using library Ethernet at version 2.0.0 in folder: C:\Program Files (x86)\Arduino\libraries\Ethernet
Using library MySensors at version 2.3.2 in folder: C:\Program Files (x86)\Arduino\libraries\MySensors
Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
exit status 1
Error compiling for board Arduino/Genuino Uno.
*
* The MySensors Arduino library handles the wireless radio link and protocol
* between your home built sensors/actuators and HA controller of choice.
* The sensors forms a self healing radio network with optional repeaters. Each
* repeater and gateway builds a routing tables in EEPROM which keeps track of the
* network topology allowing messages to be routed to nodes.
*
* Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
* Copyright (C) 2013-2019 Sensnology AB
* Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
*
* Documentation: http://www.mysensors.org
* Support Forum: http://forum.mysensors.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
*******************************
*
* REVISION HISTORY
* Version 1.0 - Henrik Ekblad
* Contribution by a-lurker and Anticimex
* Contribution by Norbert Truchsess <norbert.truchsess@t-online.de>
* Contribution by Tomas Hozza <thozza@gmail.com>
*
*
* DESCRIPTION
* The EthernetGateway sends data received from sensors to the ethernet link.
* The gateway also accepts input on ethernet interface, which is then sent out to the radio network.
*
* The GW code is designed for Arduino 328p / 16MHz. ATmega168 does not have enough memory to run this program.
*
* LED purposes:
* - To use the feature, uncomment MY_DEFAULT_xxx_LED_PIN in the sketch below
* - RX (green) - blink fast on radio message received. In inclusion mode will blink fast only on presentation received
* - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly
* - ERR (red) - fast blink on error during transmission error or receive crc error
*
* See http://www.mysensors.org/build/ethernet_gateway for wiring instructions.
*
*/
// Enable debug prints to serial monitor
#define MY_DEBUG
// Enable and select radio type attached
#define MY_RADIO_RF24
//#define MY_RADIO_NRF5_ESB
//#define MY_RADIO_RFM69
//#define MY_RADIO_RFM95
// Enable gateway ethernet module type
#define MY_GATEWAY_W5100
// W5100 Ethernet module SPI enable (optional if using a shield/module that manages SPI_EN signal)
//#define MY_W5100_SPI_EN 4
// Enable Soft SPI for NRF radio (note different radio wiring is required)
// The W5100 ethernet module seems to have a hard time co-operate with
// radio on the same spi bus.
#if !defined(MY_W5100_SPI_EN) && !defined(ARDUINO_ARCH_SAMD)
#define MY_SOFTSPI
#define MY_SOFT_SPI_SCK_PIN 14
#define MY_SOFT_SPI_MISO_PIN 16
#define MY_SOFT_SPI_MOSI_PIN 15
#endif
// When W5100 is connected we have to move CE/CSN pins for NRF radio
#ifndef MY_RF24_CE_PIN
#define MY_RF24_CE_PIN 5
#endif
#ifndef MY_RF24_CS_PIN
#define MY_RF24_CS_PIN 6
#endif
// Enable UDP communication
//#define MY_USE_UDP // If using UDP you need to set MY_CONTROLLER_IP_ADDRESS or MY_CONTROLLER_URL_ADDRESS below
// Enable MY_IP_ADDRESS here if you want a static ip address (no DHCP)
#define MY_IP_ADDRESS 192,168,254,66
// If using static ip you can define Gateway and Subnet address as well
//#define MY_IP_GATEWAY_ADDRESS 192,168,178,1
//#define MY_IP_SUBNET_ADDRESS 255,255,255,0
// Renewal period if using DHCP
//#define MY_IP_RENEWAL_INTERVAL 60000
// The port to keep open on node server mode / or port to contact in client mode
#define MY_PORT 5003
// Controller ip address. Enables client mode (default is "server" mode).
// Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere.
//#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 254
//#define MY_CONTROLLER_URL_ADDRESS "my.controller.org"
// The MAC address can be anything you want but should be unique on your network.
// Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use.
// Note that most of the Arduino examples use "DEAD BEEF FEED" for the MAC address.
#define MY_MAC_ADDRESS 0xDC, 0xAB, 0xBD, 0xFF, 0xFE, 0xED
// Enable inclusion mode
#define MY_INCLUSION_MODE_FEATURE
// Enable Inclusion mode button on gateway
//#define MY_INCLUSION_BUTTON_FEATURE
// Set inclusion mode duration (in seconds)
#define MY_INCLUSION_MODE_DURATION 60
// Digital pin used for inclusion mode button
#define MY_INCLUSION_MODE_BUTTON_PIN 3
// Set blinking period
#define MY_DEFAULT_LED_BLINK_PERIOD 300
// Flash leds on rx/tx/err
// Uncomment to override default HW configurations
#define MY_DEFAULT_ERR_LED_PIN 7 // Error led pin
#define MY_DEFAULT_RX_LED_PIN 8 // Receive led pin
#define MY_DEFAULT_TX_LED_PIN 9 // Transmit led pin
#if defined(MY_USE_UDP)
#include <EthernetUdp.h>
#endif
#include <Ethernet.h>
#include <MySensors.h>
void setup()
{
// Setup locally attached sensors
}
void presentation()
{
// Present locally attached sensors here
}
void loop()
{
// Send locally attached sensors data here
}
Brand New Windows 10 PRO 64bit OS, Brand New Installation of Arduino IDE and Sketch , used from MySensors v2.3.2 no mods just loaded and checked to see if it would compile and this is not the only example that gives such an Error.
The Motion sketch does the same and so does the sketch in Node-manager, Motion
Need help
Arduino installed all of the Libraries I just update the ones I needed by using the Library Manager in the IDE v1.84
Can anyone Help very limited info in this forum on this error.
Thanks
Arduino: 1.8.3 (Windows 10), Board: "Arduino Uno"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\swbob\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\swbob\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\swbob\AppData\Local\Arduino15\libraries -fqbn=arduino:avr:uno -ide-version=10803 -build-path C:\Users\swbob\AppData\Local\Temp\arduino_build_971058 -warnings=default -build-cache C:\Users\swbob\AppData\Local\Temp\arduino_cache_950827 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\swbob\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\swbob\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\swbob\AppData\Local\Arduino15\libraries -fqbn=arduino:avr:uno -ide-version=10803 -build-path C:\Users\swbob\AppData\Local\Temp\arduino_build_971058 -warnings=default -build-cache C:\Users\swbob\AppData\Local\Temp\arduino_cache_950827 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino
Using board 'uno' from platform in folder: C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2
Using core 'arduino' from platform in folder: C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2
Detecting libraries used...
"C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp" -o "nul"
"C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager" "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp" -o "nul"
"C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors" "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp" -o "nul"
"C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SPI\src" "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp" -o "nul"
"C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SPI\src" "C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SPI\src\SPI.cpp" -o "nul"
Generating function prototypes...
"C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SPI\src" "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp" -o "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SPI\src" "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp" -o "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp.o"
In file included from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.h:26:0,
from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:24,
from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/MySensors_NodeManager.h:82,
from D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino:43:
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Sensor.h:132:28: error: 'MODE_NOT_DEFINED' was not declared in this scope
uint8_t _interrupt_mode = MODE_NOT_DEFINED;
^~~~~~~~~~~~~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Sensor.h:132:28: note: suggested alternative: '_SIZE_T_DEFINED'
uint8_t _interrupt_mode = MODE_NOT_DEFINED;
^~~~~~~~~~~~~~~~
_SIZE_T_DEFINED
In file included from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:24:0,
from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/MySensors_NodeManager.h:82,
from D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino:43:
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.h:186:30: error: 'MODE_NOT_DEFINED' was not declared in this scope
uint8_t _interrupt_1_mode = MODE_NOT_DEFINED;
^~~~~~~~~~~~~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.h:186:30: note: suggested alternative: '_SIZE_T_DEFINED'
uint8_t _interrupt_1_mode = MODE_NOT_DEFINED;
^~~~~~~~~~~~~~~~
_SIZE_T_DEFINED
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.h:187:30: error: 'MODE_NOT_DEFINED' was not declared in this scope
uint8_t _interrupt_2_mode = MODE_NOT_DEFINED;
^~~~~~~~~~~~~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.h:187:30: note: suggested alternative: '_SIZE_T_DEFINED'
uint8_t _interrupt_2_mode = MODE_NOT_DEFINED;
^~~~~~~~~~~~~~~~
_SIZE_T_DEFINED
In file included from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/MySensors_NodeManager.h:82:0,
from D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino:43:
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::setup()':
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:205:43: error: 'getControllerConfig' was not declared in this scope
if (_get_controller_config) _is_metric = getControllerConfig().isMetric;
^~~~~~~~~~~~~~~~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:205:43: note: suggested alternative: 'ControllerConfig'
if (_get_controller_config) _is_metric = getControllerConfig().isMetric;
^~~~~~~~~~~~~~~~~~~
ControllerConfig
In file included from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/MySensors_NodeManager.h:82:0,
from D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino:43:
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::loop()':
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:262:12: error: 'class MyMessage' has no member named 'clear'
_message.clear();
^~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::_setupInterrupts()':
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:489:28: error: 'MODE_NOT_DEFINED' was not declared in this scope
if (_interrupt_1_mode != MODE_NOT_DEFINED) {
^~~~~~~~~~~~~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:489:28: note: suggested alternative: '_SIZE_T_DEFINED'
if (_interrupt_1_mode != MODE_NOT_DEFINED) {
^~~~~~~~~~~~~~~~
_SIZE_T_DEFINED
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:500:28: error: 'MODE_NOT_DEFINED' was not declared in this scope
if (_interrupt_2_mode != MODE_NOT_DEFINED) {
^~~~~~~~~~~~~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:500:28: note: suggested alternative: '_SIZE_T_DEFINED'
if (_interrupt_2_mode != MODE_NOT_DEFINED) {
^~~~~~~~~~~~~~~~
_SIZE_T_DEFINED
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::sendMessage(uint8_t, uint8_t, int)':
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:535:12: error: 'class MyMessage' has no member named 'clear'
_message.clear();
^~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::sendMessage(uint8_t, uint8_t, float, uint8_t)':
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:540:12: error: 'class MyMessage' has no member named 'clear'
_message.clear();
^~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::sendMessage(uint8_t, uint8_t, double, uint8_t)':
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:545:12: error: 'class MyMessage' has no member named 'clear'
_message.clear();
^~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::sendMessage(uint8_t, uint8_t, const char*)':
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:550:12: error: 'class MyMessage' has no member named 'clear'
_message.clear();
^~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::_sleep()':
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:648:46: error: 'MODE_NOT_DEFINED' was not declared in this scope
int interrupt_1_pin = _interrupt_1_mode == MODE_NOT_DEFINED ? INTERRUPT_NOT_DEFINED : digitalPinToInterrupt(INTERRUPT_PIN_1);
^~~~~~~~~~~~~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:648:46: note: suggested alternative: '_SIZE_T_DEFINED'
int interrupt_1_pin = _interrupt_1_mode == MODE_NOT_DEFINED ? INTERRUPT_NOT_DEFINED : digitalPinToInterrupt(INTERRUPT_PIN_1);
^~~~~~~~~~~~~~~~
_SIZE_T_DEFINED
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:648:65: error: 'INTERRUPT_NOT_DEFINED' was not declared in this scope
int interrupt_1_pin = _interrupt_1_mode == MODE_NOT_DEFINED ? INTERRUPT_NOT_DEFINED : digitalPinToInterrupt(INTERRUPT_PIN_1);
^~~~~~~~~~~~~~~~~~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:648:65: note: suggested alternative: 'INTERRUPT_PIN_1'
int interrupt_1_pin = _interrupt_1_mode == MODE_NOT_DEFINED ? INTERRUPT_NOT_DEFINED : digitalPinToInterrupt(INTERRUPT_PIN_1);
^~~~~~~~~~~~~~~~~~~~~
INTERRUPT_PIN_1
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:652:118: error: no matching function for call to 'sleep(int&, uint8_t&, int&, uint8_t&, long unsigned int, bool&)'
interrupt = sleep(interrupt_1_pin,_interrupt_1_mode,interrupt_2_pin,_interrupt_2_mode,sleep_time*1000,_smart_sleep);
^
In file included from C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/MySensors.h:293:0,
from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/MySensors_NodeManager.h:43,
from D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino:43:
C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/core/MySensorsCore.cpp:442:8: note: candidate: int8_t sleep(long unsigned int)
int8_t sleep(unsigned long ms) {
^~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/core/MySensorsCore.cpp:442:8: note: candidate expects 1 argument, 6 provided
C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/core/MySensorsCore.cpp:474:8: note: candidate: int8_t sleep(uint8_t, uint8_t, long unsigned int)
int8_t sleep(uint8_t interrupt, uint8_t mode, unsigned long ms) {
^~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/core/MySensorsCore.cpp:474:8: note: candidate expects 3 arguments, 6 provided
C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/core/MySensorsCore.cpp:507:8: note: candidate: int8_t sleep(uint8_t, uint8_t, uint8_t, uint8_t, long unsigned int)
int8_t sleep(uint8_t interrupt1, uint8_t mode1, uint8_t interrupt2, uint8_t mode2, unsigned long ms) {
^~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/core/MySensorsCore.cpp:507:8: note: candidate expects 5 arguments, 6 provided
In file included from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/MySensors_NodeManager.h:87:0,
from D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino:43:
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Sensor.cpp: In member function 'void Sensor::setup()':
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Sensor.cpp:162:25: error: 'MODE_NOT_DEFINED' was not declared in this scope
if (_interrupt_mode != MODE_NOT_DEFINED) {
^~~~~~~~~~~~~~~~
C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Sensor.cpp:162:25: note: suggested alternative: '_SIZE_T_DEFINED'
if (_interrupt_mode != MODE_NOT_DEFINED) {
^~~~~~~~~~~~~~~~
_SIZE_T_DEFINED
Using library NodeManager at version 1.8.0 in folder: C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager
Using library MySensors at version 2.0.0 in folder: C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors
Using library SPI at version 1.0 in folder: C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SPI
exit status 1
Error compiling for board Arduino Uno.
Why do I get these compile errors, have used this sketch before have changed nothing in my computer or installiation.
I have this same sketch as well as the example for nodemanager motion sensor and get the same results. I have tried on 3 different OS
Help
I am using Library 2.0 and IDE 1.83
Windows 10 Pro
No I am using Ethernet gateway on a Vera 3 as stated , I think. I have loaded the newest files to my Vera 5 different times and got same results. I create app then wait for Vera to update by reloading and as soon as Vera reloads app is gone from any view. I know it is their because my old sensors still work the routine they are programmed to do.
The issue is Vera 3 does not show the MY Sensors app after updating to latest. Now 1.42 worked for long time with no issue so the issue has to be between Vera 3 and new updates . Tech people can not help because it is a third party issue they tell me
now my Gateway is updated to library 2.3.2 and sees my old sensors just find but will not include the new motion sketch , it reuses to give that sketch and Child ID. !TSF:SID:FAIL,ID=0
Any help
Here is image of my screen in web Browser before updating
can't show you after because after uploading newest files from MYSenors webpage and creating the app their is nothing to show ,empty
Now my cell phone app for Vera shows the app with all of the proper library numbers 2.3.2 and the version 1.5
Thanks for the Information, I see you have Vera Plus , I have Vera 3 and when I updated the files and created the app. when Vera 3 was done with reload the app disappeared and has yet to show itself in web browser.
Now I have phone app for Vera and it shows the app with the correct library 2.3.2 so not sure why I have this problem when logging in to my Vera thru a web browser
running latest update for Vera 3
Hey Guys and Gals
I have A Vera that has been running the My Sensors 1.4.2 Library.
I have the latest Vera update installed so no issue, should I update my GW app that is installed on my Vera ?
I was wondering if the new 2.3.2 library is compatibility with this old version I have in my Vera.
And if not then I guess I have to update all of my Sensors and LUX sensors to 2..3.2 Library ?????
Any thoughts?
Thanks
I have built an Ethernet Gateway using an Adruino UNO (real thing) and the small W5100 board, the one shown on the how to build page of Ethernet Gateway. I have also built on e motion sensor fusing same library. Now I seem to have plenty of serial activity going on at the serial port of the GW and also of the motion sensor.
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 192.168.254.60
0;255;3;0;9;No registration required
0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
0;255;3;0;9;TSP:MSG:READ 25-25-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=25)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-25-25 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=21)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:PINGED (ID=21, hops=1)
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=fail:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=0,t=17,pt=0,l=5,sg=0:2.0.0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=11,pt=0,l=15,sg=0:Stairway Sensor
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=12,pt=0,l=3,sg=0:2.0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=0,t=1,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=fail:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 25-25-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=25)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-25-25 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;!TSP:SANCHK:FAIL
0;255;3;0;9;!TSM:FAILURE
0;255;3;0;9;TSM:PDT
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
0;255;3;0;9;TSP:MSG:READ 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=21)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:MSG:READ 25-25-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=25)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-25-25 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=21)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:PINGED (ID=21, hops=1)
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=fail:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 25-25-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=25)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-25-25 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;Eth: connect
0;255;3;0;9;Eth: 0;0;3;0;2;Get Version
0;255;3;0;9;Eth:
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;Eth: disconnect
0;255;3;0;9;!TSP:SANCHK:FAIL
0;255;3;0;9;!TSM:FAILURE
0;255;3;0;9;TSM:PDT
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=21)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:MSG:READ 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=21)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:MSG:READ 25-25-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=25)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-25-25 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:MSG:READ 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=21)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=21)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:MSG:READ 25-25-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=25)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-25-25 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=21)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:MSG:READ 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=21)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=21)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=21)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=21)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:PINGED (ID=21, hops=1)
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=fail:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=0,t=17,pt=0,l=5,sg=0:2.0.0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=11,pt=0,l=15,sg=0:Stairway Sensor
0;255;3;0;9;!TSP:SANCHK:FAIL
0;255;3;0;9;!TSM:FAILURE
0;255;3;0;9;TSM:PDT
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
0;255;3;0;9;TSP:MSG:READ 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=21)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:PINGED (ID=21, hops=1)
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=fail:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=0,t=17,pt=0,l=5,sg=0:2.0.0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=11,pt=0,l=15,sg=0:Stairway Sensor
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=12,pt=0,l=3,sg=0:2.0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=0,t=1,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2
0;255;3;0;9;!TSP:MSG:SEND 0-0-21-21 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=fail:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:1
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:MSG:READ 21-21-0 s=23,c=1,t=16,pt=0,l=1,sg=0:0
That is gw log
RCWL-0516
Stairway Sensor 2.0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
motion sensor log
My problem is that I can not connect to MYScontroller at all it give error message "Connection refused"
Now I can ping the address of the gw and I have "my-WiFi" application that show static address of the gw.
So is there a problem with my gw or my sensor .
the code for each of the 2 devices is straight from the examples in library 2.0.
I am using IDE from Arduino 1.64 and board ver of IDE of 1.611.
I have tried later board versions and also later IDE version neither helped.
Anyone have any ideas. I would like to get this working to use on my HA
Thanks
I am begining to believe it is my version of the ESP 8266 like I said mine is a ESP8266-12E devkit version 1 by nodemcu not just a plain jane version of ESP-8266-12 or 12E but I am have many other problems with mysensors right now , have installed IDE v1.84 and mysensor library 1.4.2 on another computer that has never has Arduino or mysensors on it.
I constructed a 5100 gateway using that version of library and IDE and it works just fine. But I have also built a mysensors realy driver sensor with same equipment and am having nothing but nRF24l01 problems and Pro-Mini problems , it works for awhile like maybe an hour then I get check wires or continue to press reset on pro-mini many times in a row and all of the sudden the sensors comes back to life and then all of the sudden I get a version mismatch and then check wires again. I tried 15 different nRF modules and no difference. Now how can you get a version mismatch when GW and sensors are using same library and all programmed with same computer. I am about to give up on mysensors unless someone out here can help with this,because it makes no sense.
P.S.
I can take the very same ESP8266 dev-kit and make a server or client app out of it with no problem so there has to be a very large difference between a 12-E and a dev-kit but I do not see the difference other in the dev-kit already has buttons connected and resistors and built-in serial chip.
Any more ideasThomas?
By the way re-flashing the card did not help still can not login to web page.
Are these versions only for PI-3 or will they work on PI-2?
Are you using a pi 2 or up 3? I am using a pi 2 and what about my internet I only have 6 mbit connection
Where do I find previous of Hass.io? And yes I can ping Hass.io so I do know that part is working. Also I waited for more than 1 hour before trying to get webpage to show up by using the pingable address in the address line of my browser.
Thanks I will try that you are first on HA or this site to mention it takes that long to show up.
Wel I waited for 1 hr after screen went blank and your suggestion did not work , I believe their is an issue with Hass.io v0.67
Hello I have loaded Hass.IO for raspberry Pi 2 and it boots showing the Logo but nothing else ever happens. I go to the webpage it says it should load , http://hassio.local:8123 but it never connects. I know the raspberry Pi works because I ran raspierian on it before I put sd card in and booted from Hass.io.
Any help
Thank You
@dbemowsk
No the gw is the like the host and the Controller is like the client so If you look into the Ethernet or WiFi sketches it will explain that you must use the Controller's ip address so the gw knows where to send the information to and the Vera is the one that is listening so it has to have a port open not the gw. the sensors send the info to the gw and the gw acknowledges it received the message then passing that message on to the controller thru the plugin
I am asking for help and thee is no one in Vera that can help so I am going to ask admin or others to help solve this problem. And yes I read you last post but you have no experience with Ethernet or Wifi so I must ask behond Vera postings and you would do the same
but you do not need experience with a Vera if I am doing something wrong with the gw then I need to know but since you are a admin perhaps you can talk to the people who do have the knowledge of the plugin's and see if there is an issue with the latest plugin files and Vera or the gateways
Oh yes I mentioned that several days ago.
My vera's have port 3480 and 80 opened
@strixx said in Advanced Gateway Options:
@mntlvr said in Advanced Gateway Options:
So what is the finial solution to using the Led's on a ESP 8266-E gateway are they of any use if using a Vera Controller?
I have had a lot of help with the leds. I have noticed that you get a lot of errors (in some positions it is impossible to communicate with the nodes at all) if not the radio is positioned to close to the ESP. It seems to me that the radio on the NodeMCU interferes with the NRF24L01+PA+LNA that i am using on my gateway. I found I thread on this forum about it but can't find it again.
So thanks to the leds I have been able to build a box where i have no transmission errors due to interference.
Strixx
You have a WiFi gw up and working , right? What version of the MYSensors are you using? Also what type of Vera are you using. I am using a Vera3 and a Vera Plus? Also which plugin are you using for your Vera. I have built both WiFi and Ethernet and the sensors talk wonderfully to the gw's no matter which I power up but neither of my Vera's will configure and use the plugin that are the latest available from git-hub.
Yes the inclusion buttons are under properties no need of having button on gw.
How does you serial gw talk to your Vera ? Do you have a plugin that is used to create your Icon.
See when the icon is created on my Vera Plus it shows the plugin version but not the library version so I know just by that issue the plugin is not configuring to any gw.
mfakvidd
I have built two different gw's one Ethernet and one esp8266 WiFi.Both see and respond to my sensors. I am using the latest library and IDE 1.84. The issues I am having is neither gw will configure in either one of my Vera's the Vera3 model or the VeraPlus model.It seems no one on this forum has a Vera connected to their vera that have any idea as to why it will not configure. Now when I ran the Ethernet build for 3 years it worked just fine with Library 1.42 but since I have used the 2.2 library I have not successfully made any gw work . Now I uninstalled Arduino and all libraries and re-installed Arduino IDE and then installed MySensors Library 1.42 and then loaded the very same sketch I had used 3 years ago and loaded the Vera files from 3 years ago and it worked like a charm. Is there any idea you have that can help me I wish to use the latest Libraries with the latest Vera plugin but the just do not work together.
All of my home automation is down right now until I can get MYSensors up and running with the latest gw.
Thanks and hope you have some insight as to whether the Vera plugin is not compatible with the latest MySensors library or if there is another issue.But I know the hardware works when everything is older versions of library and Vera plugin
I think you are miss-understanding me the Mysensors Plugin for Vera does all of the connecting to Vera. I have nothing connected to my Vera directly except the Vera address and the Ethernet Address which is applied to the plugin that you use to create the Icon for Mysensors. Whether I use the WiFi version or the Ethernet version the use the same plugin.Wireless except for the Address each unit has on the network
Thru the plugin just like mt Ethernet W5100 did.
No I have a WIFI connection, not a serial gw. I had an Ethernet connection before but since they updated the libraries and the code I could never get my Ethernet gw working. So I built the WIFI gw and like I said the read outs on the serial monitor of the IDE shows the gw and the light sensor talking to one another but the plugin that is in Vera Plus does not allow "include" mode to operate at all, so I can not include any of my sensors into my Vera. Now I hope someone here who has built a gw with an ESP8266-E v3 LoLin can help , maybe it is not for Vera but perhaps they built it for another controller, but the principle is the same. I do know that a V2 of the same ESP8266 has a different pin out so I can't use that pin out from a V2 chip
It creates the MySensor plugin but will not allow any inclusions, I have inclusions loaded into the gw but did not attach a button or leds to it but with inclusions loaded in gw Vera Plugin should allow me to "include" but the plugin button does nothing, so I do not have any nodes. Also I know the Vera is talking with the gateway because in advanced options the correct ip address is there and so is the proper port. I use a Port scanner to scan the ports available and report the ports that are open on each device on my network both of my controllers have port 80 and port 4380 open.
@dbemowsk said in Advanced Gateway Options:
@mntlvr You are mistaking the plugin version with the library version. I am going to assume you are using UI7 and not UI5. Go to your devices list. On the MySensors plugin, click the right arrow icon:
Once there, click on Settings and you should see something like this:
Right under the plugin version you will see what library version you got from Github. Remember though that that is ONLY for your gateway and NOT NECESSARILY what library your nodes are running on.
I am now using the library 2.2 with IDE 1.84 and now and the latest U17 files for Vera.
I can ot get my Vera Plus to create the device. So what can I do now?
No I am using my Vera3 U15 and Library version is 1.4.1 . I am not going to keep this gw, just had to see if it was a problem with my Vera's or the library versions I am using so now I am uninstalling Arduino and all of the libraries and going to install Arduino IDE 1.6.4 and MYSensors Library 1.4.1 and go from their if that works I will install a later version of MYSensors.
Okay thanks
Well I built a Ethernet board using 1.4.1 library and a W5100 Ethernet board and it worked right off so now I am as curious as heck to make the ESP 8266 work but I still think it has something to do with the newest library. I think I will start out with the Arduino IDE 1.6.4 or something like that and see if that makes a difference. Not very many on this site can help with the issue because they do not have Vera Controllers, so I have to figure this out and just keep trying
How did you get Vera to install the non FTDI chip?
So you are using a Arduino Nano with a FTDI chip?
I run part of my home automation on One and another part of Home automation on another. I have had 1 controller fail before and then had no home automation. It is kind of like redundancy.
Is there any help you can give me on my Ethernet gw using ESp8266-E v3 as to why it will not go into "inclusion" mode
I have posted all the info in another forum "Advanced Gateway Options" because that is what I was told to do. Can not have the same information in two place at the same time
Thanks for the advice on my Serial gw , have ordered the proper FTDI solution.
You are very correct, and I thank you. One day I will learn to use this forum correctly, that could be when I can build a gw that actually works? LOL
Also why does my Plugin in Vera say it is using plugin "Version 1.5" if I am using the latest software from the GitHub site, which I would say is to use the 2.2 library
So do you have a working serial general on your Vera now and does it use an ESP 8266 or a Arduino Nano
No I have 2 different controllers and I wish to use serial on one and WIFI on the second
Thank you so much yes my 8266 has a ch340 serial chip.
Where did you find your 8266 with FTDI chip on board?
Bob
Okay we are on the same page,this is good Do you have a Vera Controller?
I am using a Vera Plus and a Vera3.Now in the Plus the plugin says it is connected to my GW using port even thou my sketch says to use a different port.
Here is latest pin mapping for my 88266 v3
IO index | ESP8266 pin | IO index | ESP8266 pin |
---|---|---|---|
0 [*] | GPIO16 | 7 | GPIO13 |
1 | GPIO5 | 8 | GPIO15 |
2 | GPIO4 | 9 | GPIO3 |
3 | GPIO0 | 10 | GPIO1 |
4 | GPIO2 | 11 | GPIO9 |
5 | GPIO14 | 12 | GPIO10 |
6 | GPIO12 |
here is my sketch is yours the same (except for ip addresses) and if you use a Vera how is your plugin configured. Also I am using the latest U17 mysensors software
The MySensors Arduino library handles the wireless radio link and protocol
* between your home built sensors/actuators and HA controller of choice.
* The sensors forms a self healing radio network with optional repeaters. Each
* repeater and gateway builds a routing tables in EEPROM which keeps track of the
* network topology allowing messages to be routed to nodes.
*
* Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
* Copyright (C) 2013-2015 Sensnology AB
* Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
*
* Documentation: http://www.mysensors.org
* Support Forum: http://forum.mysensors.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
*******************************
*
* REVISION HISTORY
* Version 1.0 - Henrik EKblad
* Contribution by a-lurker and Anticimex,
* Contribution by Norbert Truchsess <norbert.truchsess@t-online.de>
* Contribution by Ivo Pullens (ESP8266 support)
*
* DESCRIPTION
* The EthernetGateway sends data received from sensors to the WiFi link.
* The gateway also accepts input on ethernet interface, which is then sent out to the radio network.
*
* VERA CONFIGURATION:
* Enter "ip-number:port" in the ip-field of the Arduino GW device. This will temporarily override any serial configuration for the Vera plugin.
* E.g. If you want to use the defualt values in this sketch enter: 192.168.254.66:5003
*
* LED purposes:
* - To use the feature, uncomment any of the MY_DEFAULT_xx_LED_PINs in your sketch, only the LEDs that is defined is used.
* - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation recieved
* - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly
* - ERR (red) - fast blink on error during transmission error or recieve crc error
*
* See http://www.mysensors.org/build/esp8266_gateway for wiring instructions.
* nRF24L01+ ESP8266
* VCC VCC
* CE GPIO4 D2 // GPIO 4
* CSN/CS GPIO15 D8// GPIO 15
* SCK GPIO14 D5 //GPIO 14
* MISO GPIO12 D7 // GPIO 13
* MOSI GPIO13 D6// GPIO 12
* GND GND
*
* Not all ESP8266 modules have all pins available on their external interface.
* This code has been tested on an ESP-12 module.
* The ESP8266 requires a certain pin configuration to download code, and another one to run code:
* - Connect REST (reset) via 10K pullup resistor to VCC, and via switch to GND ('reset switch')
* - Connect GPIO15 via 10K pulldown resistor to GND
* - Connect CH_PD via 10K resistor to VCC
* - Connect GPIO2 via 10K resistor to VCC
* - Connect GPIO0 via 10K resistor to VCC, and via switch to GND ('bootload switch')
*
* Inclusion mode button:
* - Connect GPIO2 via switch to GND ('inclusion switch') D4 GPIO 2
*
* Make sure to fill in your ssid and WiFi password below for ssid & pass.
*/
// Enable debug prints to serial monitor
#define MY_DEBUG
// Use a bit lower baudrate for serial prints on ESP8266 than default in MyConfig.h
#define MY_BAUD_RATE 115200
// Enables and select radio type (if attached)
#define MY_RADIO_NRF24
#define MY_GATEWAY_ESP8266
#define MY_ESP8266_SSID "name"
#define MY_ESP8266_PASSWORD "password"
// Enable UDP communication
#define MY_USE_UDP // If using UDP you need to set MY_CONTROLLER_IP_ADDRESS below
// Set the hostname for the WiFi Client. This is the hostname
// it will pass to the DHCP server if not static.
#define MY_ESP8266_HOSTNAME "sensor-gateway"
// Enable MY_IP_ADDRESS here if you want a static ip address (no DHCP)
// #define MY_IP_ADDRESS 192.168.xxx.xxx
// If using static ip you can define Gateway and Subnet address as well
//#define MY_IP_GATEWAY_ADDRESS 192.168.xxx.xxx
//#define MY_IP_SUBNET_ADDRESS 255,255,255,0
// The port to keep open on node server mode
#define MY_PORT 3480 // 5003
// How many clients should be able to connect to this gateway (default 1)
#define MY_GATEWAY_MAX_CLIENTS 2
// Controller ip address. Enables client mode (default is "server" mode).
// Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere.
#define MY_CONTROLLER_IP_ADDRESS 192, 168, 254, xxx // Vera Plus address 192.168.254.068 Vera3 Address
// Enable inclusion mode
#define MY_INCLUSION_MODE_FEATURE
// Enable Inclusion mode button on gateway
// #define MY_INCLUSION_BUTTON_FEATURE
// Set inclusion mode duration (in seconds)
#define MY_INCLUSION_MODE_DURATION 60
// Digital pin used for inclusion mode button
#define MY_INCLUSION_MODE_BUTTON_PIN 2 //D4 also Builtin LED
// Set blinking period
#define MY_DEFAULT_LED_BLINK_PERIOD 300
// Flash leds on rx/tx/err
// Led pins used if blinking feature is enabled above
#define MY_DEFAULT_ERR_LED_PIN 3 // Red Error led pin //D9_____________This does not work
#define MY_DEFAULT_ERR_LED_PIN 10 // Red Error led pin //D12 ******* This works
#define MY_DEFAULT_RX_LED_PIN 1 // Green Receive led pin // D10_____________ This does not work
#define MY_DEFAULT_RX_LED_PIN 9 // Green Receive led pin // D11*******This works
#define MY_DEFAULT_TX_LED_PIN 5 // Blue Transmit LED // D1
#if defined(MY_USE_UDP)
#include <WiFiUdp.h>
#endif
#include <ESP8266WiFi.h>
#include <MySensors.h>
void setup()
{
// Setup locally attached sensors
}
void presentation()
{
// Present locally attached sensors here
}
void loop()
{
// Send locally attached sensors data here
}
It will not work for me with this configuration.
but if I use the ****** Configuration it works
and here is output of working configuration:
532 TSF:MSG:READ,23-6-0,s=23,c=1,t=16,pt=0,l=1,sg=0:1
582 GWT:TIN:CONNECTING...
584 GWT:TIN:IP=192.168.254.125
587 MCO:BGN:STP
588 MCO:BGN:INIT OK,TSP=1
633 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
3441 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
3896 TSF:MSG:READ,3-3-0,s=3,c=1,t=23,pt=3,l=2,sg=0:4424
4121 TSF:MSG:READ,23-6-0,s=23,c=1,t=16,pt=0,l=1,sg=0:0
4556 TSF:MSG:READ,23-6-0,s=23,c=1,t=16,pt=0,l=1,sg=0:1
5755 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
8763 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
9875 TSF:MSG:READ,27-27-0,s=27,c=1,t=16,pt=0,l=1,sg=0:0
pm open,type:2 0
10877 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
14047 TSF:MSG:READ,23-6-0,s=23,c=1,t=16,pt=0,l=1,sg=0:0
14086 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
14717 TSF:MSG:READ,9-6-0,s=9,c=1,t=23,pt=3,l=2,sg=0:1574
15999 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
19408 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
20422 TSF:MSG:READ,23-6-0,s=23,c=1,t=16,pt=0,l=1,sg=0:1
21121 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
24732 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
25940 TSF:MSG:READ,23-6-0,s=23,c=1,t=16,pt=0,l=1,sg=0:0
29373 TSF:MSG:READ,1-1-0,s=1,c=1,t=23,pt=3,l=2,sg=0:736
34999 TSF:MSG:READ,3-3-0,s=3,c=1,t=23,pt=3,l=2,sg=0:4413
42034 TSF:MSG:READ,24-24-0,s=24,c=1,t=16,pt=0,l=1,sg=0:0
45115 TSF:MSG:READ,9-6-0,s=9,c=1,t=23,pt=3,l=2,sg=0:1586
59511 TSF:MSG:READ,1-1-0,s=1,c=1,t=23,pt=3,l=2,sg=0:739
66107 TSF:MSG:READ,3-3-0,s=3,c=1,t=23,pt=3,l=2,sg=0:4428
75513 TSF:MSG:READ,9-6-0,s=9,c=1,t=23,pt=3,l=2,sg=0:1604
80151 TSF:MSG:READ,23-6-0,s=23,c=1,t=16,pt=0,l=1,sg=0:1
80291 TSF:MSG:READ,27-27-0,s=27,c=1,t=16,pt=0,l=1,sg=0:0
83273 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
87705 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
88597 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
89649 TSF:MSG:READ,1-1-0,s=1,c=1,t=23,pt=3,l=2,sg=0:740
89684 TSF:MSG:READ,27-27-0,s=27,c=1,t=16,pt=0,l=1,sg=0:0
92827 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
93918 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
94376 TSF:MSG:READ,27-27-0,s=27,c=1,t=16,pt=0,l=1,sg=0:0
97207 TSF:MSG:READ,3-3-0,s=3,c=1,t=23,pt=3,l=2,sg=0:4458
97949 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
99071 TSF:MSG:READ,27-27-0,s=27,c=1,t=16,pt=0,l=1,sg=0:0
99240 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
103071 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
103698 TSF:MSG:READ,23-6-0,s=23,c=1,t=16,pt=0,l=1,sg=0:0
103766 TSF:MSG:READ,27-27-0,s=27,c=1,t=16,pt=0,l=1,sg=0:0
104129 TSF:MSG:READ,23-6-0,s=23,c=1,t=16,pt=0,l=1,sg=0:1
104562 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
105911 TSF:MSG:READ,9-6-0,s=9,c=1,t=23,pt=3,l=2,sg=0:1617
108193 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
Now I do not know if the 0 (READ,9-6-0) means it is not sending it anywhere
but you can see it is reading my sensors output (MSG:READ,9-6-0,s=9,c=1,t=23,pt=3,l=2,sg=0:1586) output message from my LUX sensor
What firmware is in your 8266?
I do not know if this helps but I can tell you the "inclusion" still does not work
Waiting for your reply
Thanks
@mfalkvidd
Well I thought since you wrote this you could answer the question
I have searched entire site for answer and can not find one and since you posted the build last year you would be the one who could answer it
Hello djzang
I just built the serial gw using esp-8266 but can not find how to physically hook it to Vera Plus or Vera 3 , do you have step by step instruction as how to do that maybe with pictures and what setup you entered in to the serial port configuration?
Thanks
Yes on the 8266-E devkit V3 ,D1 is GPIO 5, D9 is the GPIO 03 (RX) and D10 is GPIO 01 (TX) D5 is GPIO 14 so I am using GPIO 05 and 01 and 03 and 02 . So I guess I am not clear as to what you use GPIO pins or lettered pins on 8266. On V3 of the 8266-E the builtin LED is on GPIO 2 which is D4 so when I tried your hookup All I got was Builtin LED on 100% and exception errors and would not boot
I will wait for your reply and thanks this may help if I am on the same page as you
So how do you connect serial gateway if you use an ESP8266 build?
Hello
Use the include procedure on the MYSensors Plugin Icon under settings you will see start and stop if all is working properly just press the start button you will see a dialog that tells you to activate the sensor you wish to add. If all goes correctly you will see a node added as well as the sensor. Now that is how it use to work with earlier Libraries if you are using 2.2 library I will presume it will work the same way.
You are correct but the glue peels right off if I need to make changes
Thanks Strixx
I am using D4 D5 D9 D10
and as soon as I can get the unit to work with either of my Vera's I will know if mine works. It seems sinceI have gone over to the newest Library none of the gateways I build works.
Just built this Gateway today and now to get it to add to Vera Plus.
![alt text]
So what is the finial solution to using the Led's on a ESP 8266-E gateway are they of any use if using a Vera Controller?
I have used them when I had a working Ethernet gateway but I am wanting to use an Esp 8266-E gateway now . What pins do one use on ESP device
Thanks for the help
Thanks
But as you can see I have the radio working by just choosing different lines of code to use, but I can not get W5100 to send and transmit and provide Ethernet connection so I can ping address.
It seems no matter what combination of lines of code I choose it will not activate the W5100 board, but it was working and now does not. I even swapped W5100 board but same thing. I know I can not load the enable pin 4 because then the TSP fails.
Bob
I am using the ver 2.2 libraries now and sice my 3 year old gateway just stopped working yesterday, I decided to replace it with the new and improved ver 2.2. But low and behold it worked for about a hour today then stopped and now can not get it to work at all.
The serial monitor info states:
Fellas
I am using the Ethernet gateway program that came with update ver 2.2
According to the serial port info the board is working fine.
I have built a sensor using the same 2.2 library and the GW sees the sensor and report and acknowledges the sensor.
The problem is that, MYSController will not connect to the GW thru the ip address of the GW it says "Connection Refused".
Does anyone know why that would happen?
// Enable debug prints to serial monitor
#define MY_DEBUG
// Enable and select radio type attached
#define MY_RADIO_NRF24
// Enable gateway ethernet module type
#define MY_GATEWAY_W5100
// W5100 Ethernet module SPI enable (optional if using a shield/module that manages SPI_EN signal)
// #define MY_W5100_SPI_EN 4
// Enable Soft SPI for NRF radio (note different radio wiring is required)
// The W5100 ethernet module seems to have a hard time co-operate with
// radio on the same spi bus.
#if !defined(MY_W5100_SPI_EN) && !defined(ARDUINO_ARCH_SAMD)
#define MY_SOFTSPI
#define MY_SOFT_SPI_SCK_PIN 14
#define MY_SOFT_SPI_MISO_PIN 16
#define MY_SOFT_SPI_MOSI_PIN 15
#endif
// When W5100 is connected we have to move CE/CSN pins for NRF radio
#ifndef MY_RF24_CE_PIN
#define MY_RF24_CE_PIN 5
#endif
#ifndef MY_RF24_CS_PIN
#define MY_RF24_CS_PIN 6
#endif
// Enable UDP communication
#define MY_USE_UDP // If using UDP you need to set MY_CONTROLLER_IP_ADDRESS below
// Enable MY_IP_ADDRESS here if you want a static ip address (no DHCP)
#define MY_IP_ADDRESS 192,168,xxx,xxx
// If using static ip you can define Gateway and Subnet address as well
//#define MY_IP_GATEWAY_ADDRESS 192,168,xxx,xxx
// #define MY_IP_SUBNET_ADDRESS 255,255,255,0
// Renewal period if using DHCP
// #define MY_IP_RENEWAL_INTERVAL 60000
// The port to keep open on node server mode / or port to contact in client mode
#define MY_PORT 5003
// Controller ip address. Enables client mode (default is "server" mode).
// Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere.
#define MY_CONTROLLER_IP_ADDRESS 192,168,xxx,xxx
// The MAC address can be anything you want but should be unique on your network.
// Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use.
// Note that most of the Ardunio examples use "DEAD BEEF FEED" for the MAC address.
#define MY_MAC_ADDRESS 0x00, 0x09, 0xca, 0x28, 0x06, 0x6c //0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
// Enable inclusion mode
#define MY_INCLUSION_MODE_FEATURE
// Enable Inclusion mode button on gateway
#define MY_INCLUSION_BUTTON_FEATURE
// Set inclusion mode duration (in seconds)
#define MY_INCLUSION_MODE_DURATION 60
// Digital pin used for inclusion mode button
//#define MY_INCLUSION_MODE_BUTTON_PIN 3
// Set blinking period
//#define MY_DEFAULT_LED_BLINK_PERIOD 300
// Flash leds on rx/tx/err
// Uncomment to override default HW configurations
#define MY_DEFAULT_ERR_LED_PIN 7 // Error led pin
#define MY_DEFAULT_RX_LED_PIN 8 // Receive led pin
#define MY_DEFAULT_TX_LED_PIN 9 // Transmit led pin
#if defined(MY_USE_UDP)
#include <EthernetUdp.h>
#endif
#include <Ethernet.h>
#include <MySensors.h>
void setup()
{
}
void presentation()
{
}
void loop()
{
}
and I can ping the gateway no problem
0 MCO:BGN:INIT GW,CP=RNNGA---,VER=2.2.0
3 TSM:INIT
4 TSF:WUR:MS=0
11 TSM:INIT:TSP OK
12 TSM:INIT:GW MODE
14 TSM:READY:ID=0,PAR=0,DIS=0
17 MCO:REG:NOT NEEDED
319 GWT:TIN:IP=192.168.254.166
1324 GWT:TIN:ETH OK
1328 MCO:BGN:STP
1329 MCO:BGN:INIT OK,TSP=1
1332 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
2280 TSF:MSG:READ,27-27-0,s=27,c=1,t=16,pt=0,l=1,sg=0:0
2994 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
6363 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
7567 TSF:MSG:READ,3-3-0,s=3,c=1,t=23,pt=3,l=2,sg=0:2438
8308 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
9474 TSF:MSG:READ,25-25-0,s=25,c=1,t=16,pt=0,l=1,sg=0:0
11475 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
13012 TSF:MSG:READ,27-27-0,s=27,c=1,t=16,pt=0,l=1,sg=0:0
13622 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
14763 TSF:MSG:READ,23-23-0,s=23,c=1,t=16,pt=0,l=1,sg=0:0
15128 TSF:MSG:READ,1-1-0,s=1,c=1,t=23,pt=3,l=2,sg=0:391
16588 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
17720 TSF:MSG:READ,27-27-0,s=27,c=1,t=16,pt=0,l=1,sg=0:0
18936 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
20161 TSF:MSG:READ,25-25-0,s=25,c=1,t=16,pt=0,l=1,sg=0:0
21701 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
22427 TSF:MSG:READ,27-27-0,s=27,c=1,t=16,pt=0,l=1,sg=0:0
22464 TSF:MSG:READ,24-24-0,s=24,c=1,t=16,pt=0,l=1,sg=0:0
23859 TSF:MSG:READ,9-9-0,s=9,c=1,t=23,pt=3,l=2,sg=0:755
24251 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
26815 TSF:MSG:READ,21-21-0,s=21,c=1,t=16,pt=0,l=1,sg=0:0
29565 TSF:MSG:READ,22-22-0,s=22,c=1,t=16,pt=0,l=1,sg=0:0
and can ping the gateway.
All components work as you can see, so I know the boards are good and the wiring is correct
Can anyone help?
Bob
Okay, mfalkvidd
That took care of all of those errors.
In the Ethernet gateway do you have to put anything in the void setup, or void loop or presentation areas?
Bob
Thanks ,mfalkvidd
I just re-created the gateway in Vera and it show all okay now , guess I have to update all of my sensors that I have created with older version.
By the way which librarys should I keep , the one where Arudino IDE is launched from or the one that was created automatically when I unzipped latest mysensors file?
I updated my my sensors library to version 2.2 and now can not compile any of my motion sensors
I get this error message which I never had before
Arduino: 1.8.3 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Admin\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10803 -build-path C:\Users\Admin\AppData\Local\Temp\arduino_build_276754 -warnings=default -build-cache C:\Users\Admin\AppData\Local\Temp\arduino_cache_286133 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Admin\Desktop_0516-MotionSensorv2.choose_node_ID_0516-MotionSensorv2.choose_node_ID.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Admin\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10803 -build-path C:\Users\Admin\AppData\Local\Temp\arduino_build_276754 -warnings=default -build-cache C:\Users\Admin\AppData\Local\Temp\arduino_cache_286133 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Admin\Desktop_0516-MotionSensorv2.choose_node_ID_0516-MotionSensorv2.choose_node_ID.ino
Using board 'pro' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
WARNING: Category '' in library Audio is not valid. Setting to 'Uncategorized'
WARNING: Spurious .ci folder in 'MySensors' library
WARNING: Spurious .mystools folder in 'MySensors' library
WARNING: Category '' in library Scheduler is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library USBHost is not valid. Setting to 'Uncategorized'
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\Admin\AppData\Local\Temp\arduino_build_276754\sketch_0516-MotionSensorv2.choose_node_ID.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "C:\Users\Admin\AppData\Local\Temp\arduino_build_276754\sketch_0516-MotionSensorv2.choose_node_ID.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Admin\AppData\Local\Temp\arduino_build_276754\sketch_0516-MotionSensorv2.choose_node_ID.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors\utility" "C:\Users\Admin\Documents\Arduino\libraries\MySensors\MySensor.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors\utility" "C:\Users\Admin\Documents\Arduino\libraries\MySensors\utility\LowPower.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors\utility" "C:\Users\Admin\Documents\Arduino\libraries\MySensors\utility\MsTimer2.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors\utility" "C:\Users\Admin\Documents\Arduino\libraries\MySensors\utility\RF24.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.cpp" -o "nul"
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Admin\AppData\Local\Temp\arduino_build_276754\sketch_0516-MotionSensorv2.choose_node_ID.ino.cpp" -o "C:\Users\Admin\AppData\Local\Temp\arduino_build_276754\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from C:\Users\Admin\Desktop_0516-MotionSensorv2.choose_node_ID_0516-MotionSensorv2.choose_node_ID.ino:17:0:
C:\Users\Admin\Documents\Arduino\libraries\MySensors/MySensors.h:389:2: error: #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
#error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
^
Multiple libraries were found for "MySensors.h"
Used: C:\Users\Admin\Documents\Arduino\libraries\MySensors
Not used: C:\Program Files (x86)\Arduino\libraries\MySensors
Not used: C:\Program Files (x86)\Arduino\libraries\MySensor
Multiple libraries were found for "SPI.h"
Used: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
Not used: C:\Program Files (x86)\Arduino\libraries\SPI
Using library MySensors at version 2.2.0 in folder: C:\Users\Admin\Documents\Arduino\libraries\MySensors
Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
exit status 1
Error compiling for board Arduino Pro or Pro Mini.
Error downloading http://arduino.esp8266.com/package_esp8266com_index.json
Can anyone help
Bob
@ted said:
@mntlvr I'm excited to see that mysensors is working with attiny. However, when I compile your code for UNO (can't compile for attiny85 on my IDE), I see the code is about 16kb, much larger than the size of the available memory in attiny85. Did you use a different library?
Yes a mysensor library written for the Attiny85 chip. And also remember you need to either make a Attiny85 programmer or buy one. I think the 1st choice is the best. There are many articles on the Web that will guide you on how to build your own peogrammer. So do a little research and you will be greatly rewarded. Patience and perseverance will get you what you need and want.
Has anyone successfully gotten an Attiny85 and nRF24l01+ to power down? I can get the Attiny85 to sleep which saves 4 to 5 ma but I can't seem to come up with right combo to put the nRF24l01+ in power down mode. I am not sure if it has anything to do with the "Mysensor" library that I must use for the Attiny, which is a condensed version so it will load in the Attiny85.
Here is my code so far for this sensor. The total current draw is 16.6 ma when awake and 12.3 ma when sleep so if I could get the nRF24l01+ to power down the total current would be way lower.
Any ideas that might be added to sketch to make this happen?
*
* Watchdog Sleep
* Modified on 5 Feb 2011 by InsideGadgets (www.insidegadgets.com)
* to suit the ATtiny85 and removed the cbi( MCUCR,SE ) section
* in setup() to match the Atmel datasheet recommendations
*Revision
* 1.15 by BW 9/3/15
*/
#include <avr/sleep.h>
#include <avr/wdt.h>
#include <MySensor.h>
#include <Bounce2.h>
#ifndef cbi
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#endif
#ifndef sbi
#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))
#endif
#define SENSOR_INFO "Door sensor"
#define NODE_ID 14 // Start numbering by 1 adding 1 each time you upload to new attiny85
#define CHILD_ID 14 // this number must match above number
#define INPUT_PIN 4
// int pinLed = 0;
volatile boolean f_wdt = 1;
MySensor gw;
Bounce debouncer = Bounce();
int oldValue = -1;
MyMessage msg(NODE_ID, V_TRIPPED);
void setup(){
pinMode(INPUT_PIN, INPUT);
digitalWrite(INPUT_PIN, HIGH);
setup_watchdog(8); // approximately 4 seconds sleep
debouncer.attach(INPUT_PIN);
debouncer.interval(5);
gw.begin(NULL, NODE_ID, false, 0);
gw.sendSketchInfo(SENSOR_INFO, "1.15");
gw.present(CHILD_ID, S_DOOR);
}
void loop(){
if (f_wdt==1) { // wait for timed out watchdog / flag is set when a watchdog timeout occurs
f_wdt=0; // reset flag
debouncer.update();
int value = debouncer.read();
if (value != oldValue) {
gw.send(msg.set(value==HIGH ? 1 : 0));
oldValue = value;
system_sleep();
}
}
}
// set system into the sleep state
// system wakes up when watchdog is timed out
void system_sleep() {
cbi(ADCSRA,ADEN); // switch Analog to Digitalconverter OFF
set_sleep_mode(SLEEP_MODE_PWR_DOWN); // sleep mode is set here
sleep_enable();
sleep_mode(); // System sleeps here
sleep_disable(); // System continues execution here when watchdog timed out
sbi(ADCSRA,ADEN); // switch Analog to Digitalconverter ON
}
// 0=16ms, 1=32ms,2=64ms,3=128ms,4=250ms,5=500ms
// 6=1 sec,7=2 sec, 8=4 sec, 9= 8sec
void setup_watchdog(int ii) {
byte bb;
int ww;
if (ii > 9 ) ii=9;
bb=ii & 7;
if (ii > 7) bb|= (1<<5);
bb|= (1<<WDCE);
ww=bb;
MCUSR &= ~(1<<WDRF);
// start timed sequence
WDTCR |= (1<<WDCE) | (1<<WDE);
// set new watchdog timeout value
WDTCR = bb;
WDTCR |= _BV(WDIE);
}
// Watchdog Interrupt Service / is executed when watchdog timed out
ISR(WDT_vect) {
f_wdt=1; // set global flag
}
@barduino said:
I code in a visual language, not very suited for github.
However you can access my code here
I did exactly wht you wrote, there is a nodeJS app reading from the serial gateway and sending the payloads to a REST service.
Cheers
Do you plan to make this controller available to the Mysensor forum?
@mntlvr said:
/ MySensorsDoor/Window sensor // Based on Attiny85 // Revision 9/28/15 by BW // Author: Wiebe Nieuwenhuis // these are suggested wire colors but you can use any color you want, just be consistent on all sensors // +-\/-+ // ORANGE CE 1|o |8 VCC RED // YELLOW CSN 2| |7 SCK GREEN // - SENSOR 3| |6 MOSI BLUE // BLACK GND 4| |5 MISO VIOLET // +----+ #include <MySensor.h> #include <Bounce2.h> #define SENSOR_INFO "Door sensor" #define NODE_ID 1 // Start numbering by 1 adding 1 each time you upload to new attiny85 #define CHILD_ID 1 // this number must match above number #define INPUT_PIN 4 // This is ATiny input number pin # 3 is the physical pin MySensor gw; Bounce debouncer = Bounce(); int oldValue = -1; MyMessage msg(NODE_ID, V_TRIPPED); void setup() { pinMode(INPUT_PIN, INPUT); digitalWrite(INPUT_PIN, HIGH); debouncer.attach(INPUT_PIN); debouncer.interval(5); gw.begin(NULL, NODE_ID, false, 0); gw.sendSketchInfo(SENSOR_INFO, "1.15"); gw.present(CHILD_ID, S_DOOR); } void loop() { debouncer.update(); int value = debouncer.read(); if (value != oldValue) { gw.send(msg.set(value==HIGH ? 1 : 0)); oldValue = value; } }
- BOM
2cm x 8cm fiber glass perf board such as http://www.ebay.com/itm/10pcs-2X8-Double-side-Protoboard-Circuit-Universal-DIY-Prototype-PCB-Board-/111345609084?hash=item19ecb7297c
each board can make 4 sensors
1- AMS1117 3.3 v LDO regulator for each sensor, such as http://www.ebay.com/itm/10Pcs-National-Semiconductor-LM1117-3-3-LM1117-3-3V-LDO-SOT223-Voltage-Regulator-/281790082194?hash=item419bff6c92
2-10mfd 16v tantalum caps 3 for each sensor such as http://www.ebay.com/itm/50PCS-TANTALUM-CAPACITOR-10UF-16V-SMD-3216-NEW-/400985284440?hash=item5d5c95df58
1-ATtiny 85 chip for each sensor you build
1-8 pin socket if you wish to make it plug in but can be soldered in directly after you program chip.
1-nRF24l01+ transceiver for each sensor you build
1-5pin header female dbl row connector such as http://www.ebay.com/itm/50pcs-2-54mm-Pitch-2X5-10Pin-Female-Double-Row-Straight-Header-PCB-Connector-287-/171275351990?hash=item27e0ce77b6
or a 4 pin dbl row header connector will do also
1- case to fit your project
1-18650 LI-ION 4000 Mah battery and holder if you wish to power in this manner but can be powered by 5vdc 500 Mah phone charger type P.S.
Now there are other ways of doing this project but I found this works very well for me. There are people on this site that can do it more efficiently than the way I am showing here.
Good luck with your project and if I can help more just ask.Now plan well , have all of your materials on hand,research anything you are not sure of almost all the answers for any questions you have on the ATiny 85 are on the this site.
Now you will need a steady hand when soldering the SMD, be patient and be safe with the project .
I will post a picture of the boards I am wiring. If you use sockets for the ATtiny make sure you know where pin 1 is located the sockets are usually marked with a semi circle in the socket but you can put them in any way you choose if you know exactly where pin 1 is located. Same with the nRF24l01= 5 pin or 4 pin just make sure you know where pin 1 is located.
Now if you eliminate the 3.3v regulator and run your Attiny off of just the battery you will save about 20ma. Now you will have to place a 1n4007 diode in series with the batteries + terminal and the sensors + input wire, having the cathode of the diode going to the battery +
I am still working on a way to power down the nRF24l01+ transceiver. I have asked the members on this site for some help with this project..
now I do power my units with a 5 vdc phone charger so right now I have to leave the 3.3 vdc regulator in the circuit.
I also have modified the original sketch to put the Attiny85 to sleep for 2 to 4 sec. You would not what the door switch being left unmonitored for more time than that. Now I may also change this to use a pin change to immediately wake unit.
Here is the code I am running as of now.
*
* Watchdog Sleep
* Modified on 5 Feb 2011 by InsideGadgets (www.insidegadgets.com)
* to suit the ATtiny85 and removed the cbi( MCUCR,SE ) section
* in setup() to match the Atmel datasheet recommendations
*/
#include <avr/sleep.h>
#include <avr/wdt.h>
#include <MySensor.h>
#include <Bounce2.h>
#ifndef cbi
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#endif
#ifndef sbi
#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))
#endif
#define SENSOR_INFO "Door sensor"
#define NODE_ID 14 // Start numbering by 1 adding 1 each time you upload to new attiny85
#define CHILD_ID 14 // this number must match above number
#define INPUT_PIN 4
// int pinLed = 0;
volatile boolean f_wdt = 1;
MySensor gw;
Bounce debouncer = Bounce();
int oldValue = -1;
MyMessage msg(NODE_ID, V_TRIPPED);
void setup(){
pinMode(INPUT_PIN, INPUT);
digitalWrite(INPUT_PIN, HIGH);
setup_watchdog(8); // approximately 4 seconds sleep
debouncer.attach(INPUT_PIN);
debouncer.interval(5);
gw.begin(NULL, NODE_ID, false, 0);
gw.sendSketchInfo(SENSOR_INFO, "1.15");
gw.present(CHILD_ID, S_DOOR);
}
void loop(){
if (f_wdt==1) { // wait for timed out watchdog / flag is set when a watchdog timeout occurs
f_wdt=0; // reset flag
debouncer.update();
int value = debouncer.read();
if (value != oldValue) {
gw.send(msg.set(value==HIGH ? 1 : 0));
oldValue = value;
system_sleep();
}
}
}
// set system into the sleep state
// system wakes up when wtchdog is timed out
void system_sleep() {
cbi(ADCSRA,ADEN); // switch Analog to Digitalconverter OFF
set_sleep_mode(SLEEP_MODE_PWR_DOWN); // sleep mode is set here
sleep_enable();
sleep_mode(); // System sleeps here
sleep_disable(); // System continues execution here when watchdog timed out
sbi(ADCSRA,ADEN); // switch Analog to Digitalconverter ON
}
// 0=16ms, 1=32ms,2=64ms,3=128ms,4=250ms,5=500ms
// 6=1 sec,7=2 sec, 8=4 sec, 9= 8sec
void setup_watchdog(int ii) {
byte bb;
int ww;
if (ii > 9 ) ii=9;
bb=ii & 7;
if (ii > 7) bb|= (1<<5);
bb|= (1<<WDCE);
ww=bb;
MCUSR &= ~(1<<WDRF);
// start timed sequence
WDTCR |= (1<<WDCE) | (1<<WDE);
// set new watchdog timeout value
WDTCR = bb;
WDTCR |= _BV(WDIE);
}
// Watchdog Interrupt Service / is executed when watchdog timed out
ISR(WDT_vect) {
f_wdt=1; // set global flag
}```
I have been a Vera user , all flavors , for more than 8 years now, I have tried Ui1.5.x.x and UI7.x.x ,I have tried the Vera Edge with approx 40 sensors and modules and using PLEG for controlling most all aspects of the Home automation. I found the Vera Edge could not handle all the Automation, tech support worked with me for 3 weeks to try to get the Edge to cooperate . I finally sent it back to where I bought the Unit. I changed over to my Veralite and my Vera3 and split the work up between the 2 controllers. I run Mysensor Ethernet Gateway on both of my controllers, 1 gateway for 2 Veras.
I have Zwave motion sensors,Zwave modules, Zwave dimmer modules, Zwave Honeywell Thermostat and Temperature and Humid sensors that are Zwave. I have Mysensor door/window sensor built with Attiny 85, so much cheaper to build than using
Nano or Pro-Mini I also have Scene controllers built with pro-Mini that control ceiling fans remotely, bedroom lights remotely, Entertainment Centers remotely. You get the Idea. Now nothing is perfect I have had my glitches but for FREE their is no other controller I will use , unless someone comes up with one as reliable and cost effect as MCV.
@TheoL said:
Thank you everyone for your replies. I'm currently using Domoticz with Razberry. And that works okay. But when I define scene's and activate them, it takes sometimes a couple of seconds for each switch to go off or on accordingly to the scene. I read on this forum that most Vera users are happy with it. So I was thinking that I might switch over to Vera. But if I'm not mistaken I should go for a more expensive model?
I'm also very curious if I can hook up OpenHAB to Vera. Because OpenHAB has some features which I also like ;).
I have been a Vera user , all flavors , for more than 8 years now, I have tried Ui1.5.x.x and UI7.x.x ,I have tried the Vera Edge with approx 40 sensors and modules and using PLEG for controlling most all aspects of the Home automation. I found the Vera Edge could not handle all the Automation, tech support worked with me for 3 weeks to try to get the Edge to cooperate . I finally sent it back to where I bought the Unit. I changed over to my Veralite and my Vera3 and split the work up between the 2 controllers. I run Mysensor Ethernet Gateway on both of my controllers, 1 gateway for 2 Veras.
I have Zwave motion sensors,Zwave modules, Zwave dimmer modules, Zwave Honeywell Thermostat and Temperature and Humid sensors that are Zwave. I have Mysensor door/window sensor built with Attiny 85, so much cheaper to build than using
Nano or Pro-Mini I also have Scene controllers built with pro-Mini that control ceiling fans remotely, bedroom lights remotely, Entertainment Centers remotely. You get the Idea. Now nothing is perfect I have had my glitches but for FREE their is no other controller I will use , unless someone comes up with one as reliable and cost effect as MCV. This is my 2 cents worth.
@conde said:
I would greatly appreciate it. I like your project.
Thanks for your help.
Area in yellow will cut off and the 2 boards will be joined together, to make 1 board.
/ MySensorsDoor/Window sensor
// Based on Attiny85
// Author: Wiebe Nieuwenhuis
// these are suggested wire colors but you can use any color you want, just be consistent on all sensors
// +-\/-+
// ORANGE CE 1|o |8 VCC RED
// YELLOW CSN 2| |7 SCK GREEN
// - SENSOR 3| |6 MOSI BLUE
// BLACK GND 4| |5 MISO VIOLET
// +----+
#include <MySensor.h>
#include <Bounce2.h>
#define SENSOR_INFO "Door sensor"
#define NODE_ID 1 // Start numbering by 1 adding 1 each time you upload to new attiny85
#define CHILD_ID 1 // this number must match above number
#define INPUT_PIN 4 // This is ATiny input number pin # 3 is the physical pin
MySensor gw;
Bounce debouncer = Bounce();
int oldValue = -1;
MyMessage msg(NODE_ID, V_TRIPPED);
void setup()
{
pinMode(INPUT_PIN, INPUT);
digitalWrite(INPUT_PIN, HIGH);
debouncer.attach(INPUT_PIN);
debouncer.interval(5);
gw.begin(NULL, NODE_ID, false, 0);
gw.sendSketchInfo(SENSOR_INFO, "1.15");
gw.present(CHILD_ID, S_DOOR);
}
void loop()
{
debouncer.update();
int value = debouncer.read();
if (value != oldValue) {
gw.send(msg.set(value==HIGH ? 1 : 0));
oldValue = value;
}
}
@conde said:
Hello. Thanks for reply.
This is my first project witn arduino. I'm learning. xD
For this project i have:
- the vera edge;
- arduino uno;
- NRF24L01+ 2.4GHz Wireless Transceiver;
- Relays;
So my question is. It's possible wiht this components? I need another?
You say: (All of these builds are well documented on the Mysensor website.) - can you please send me de link? because i can't found.
Thank you.
Conde
Here is an Example of a battery Operated wireless door sensor it uses a 18560 li-ion battery for power.
The project cost me about $8-$10.00 to build you might find parts cheaper or have some of your own but this uses a nRF24l01= transceiver and an ATtiny 85 mcu ,2- 22ufd caps a 3.3 volts LDO regulator.
If interested I can supply BOM and sketch.
Nice job and give me another tool to use in my tool box. Thanks.
@conde said:
Hello I would like to make the following project:
Control lights and intencidad with Vera and arduino. On, off and control its intencidad . It will be possible?
Can you help me with components and code?Thanks guys.
Forgive my English , I'm using google translate .
Conde
Yes you can do all of the above,turn lights on/off ,control Intensity and many more things. You didn't say whether you already own a Vera but if you do and you already have some light modules or appliance modules or switch modules then it is a matter of programming your Vera. If you don't have any modules then you will to have the
1....Vera
2... Serial or Ethernet gateway that you build yourself
3... Light dimmer you will build
4.. Outlet controller you will build
the list just depends upon your needs and imitation.
All of these builds are well documented on the Mysensor website.
So good luck and keep up the dreaming that is where all this stuff comes from someone having a need or a dream or both.
@Andy said:
Awsome work Oitzu and Sweebee!
Just tried it out and it works perfect
Have you succeeded with getting the sleep/timer working? I've tried but discovered that my skills aren't good enough.
Hi Fella,
I just came across this post several weeks ago , I was looking for a smaller cheaper way of making a binary switch to use with my Veras. After reading the "Great debates" whether an ATTiny 85 could be used for such a purpose, I decide to try what was here and by the individuals who said they had made them work. I built one and powered it with a Li-Ion 3.7 v 4000 Mah battery. I have had it in use now for about a week and so far it works great. I have not been able to make the WDT work but from my test so far , running the ATTiny and nRF24l01+ from a Li-ION 4000 Mah battery , it should last for months. Now the the entire circuit is drawing 6.0 ma and when tripped the unit drew 7.5 ma. Now I am sure the current was higher than 7.5 ma when in transmit but it would be for just a very small amount of time. Thanks for the leg work you guys did to make this project for me happen.
@brakc said:
Hello,
I'm Mysensors user newbie and I want create Ethernet Gateway
I use:
- Arduino 1.6.4 on Yosemit
--> IDE in System/Applications
--> library are in /Volumes/Data/Documents/Arduino/Arduino-master (or Arduino-development)- MEGA2560
- Ethernet Shield W5100 (like this : https://www.arduino.cc/en/Guide/ArduinoEthernetShield)
- NRF24L01+ (1436AH)
- MySensors Arduino Library v1.5
Pin configuration:
CE : 10
CSN : 11
MISO : 50
MOSI : 51
SCK : 52I uncommented #define SOFTSPI in MyConfig.h
But compilation doesn't work. Can you help me please?
EthernetGateway.ino:59:90: fatal error: DigitalIO.h: No such file or directory
compilation terminated.For information:
- I tryed master and development branch and it's the same
- I tryed without Ethernet Shield W5100, same again
Thank you for your help,
Fabrice.
Where is your "mysensor" library?
Digital.io is in the utilities directory of "mysensors".
@BulldogLowell said:
@mntlvr said:
And if all six switches are set to gnd the total current would only be 1.5 ma (5volts /20k)x6=.0015 amps I believe. the internal pullup resistors are 20k-50k according to arduino spec.
yeah, I know, but if you are underpowered already (the radio....) the extra draw may create an issue... who the heck knows.
I'll try on one of mine when I get the chance... your code works, and that's a treat, but now I need to understand why the simpler execution of the same code doesn't seem to cooperate with your rig.
weird...
you code with pinMode(buttonPin[i], INPUT);
exactly same board and USB power supply and same transceiver, here are the results
@BulldogLowell said:
@mntlvr said:
And if all six switches are set to gnd the total current would only be 1.5 ma (5volts /20k)x6=.0015 amps I believe. the internal pullup resistors are 20k-50k according to arduino spec.
yeah, I know, but if you are underpowered already (the radio....) the extra draw may create an issue... who the heck knows.
I'll try on one of mine when I get the chance... your code works, and that's a treat, but now I need to understand why the simpler execution of the same code doesn't seem to cooperate with your rig.
weird...
My code and changed to High powered nRF24l01+ Transceiver only running off of USB cable nothing else..
This is a UNO and it is very repeatable output no version mismatch and no long hesitation on pin 4 or 5 or 6.
@BulldogLowell said:
@mntlvr said:
And if all six switches are set to gnd the total current would only be 1.5 ma (5volts /20k)x6=.0015 amps I believe. the internal pullup resistors are 20k-50k according to arduino spec.
yeah, I know, but if you are underpowered already (the radio....) the extra draw may create an issue... who the heck knows.
I'll try on one of mine when I get the chance... your code works, and that's a treat, but now I need to understand why the simpler execution of the same code doesn't seem to cooperate with your rig.
weird...
Bulldog same power pack is running nRF24l01+ in the fully working unit as in this test sensor I am using with your code I don't believe power is the issue my code probably runs much slower than yours and that might be the issue I will play with slowing down your code even further and see if it makes any difference. We shall overcome...
@BulldogLowell said:
I really never use toggle switches like you are using here but it dawned on me that you are drawing current on all six pins simultaneously using the internal pull-ups. Perhaps you are overdrawing the power of the arduino a bit, causing the spurious results. We don't see the error until we power up that #5 pin.... but you are getting some crazy radio activity prior to that after we power up pin 3. That's where it occurred to me that we may be asking too much of your arduino, sinking all of the 6 pins to ground at once.
Can you try:
a: opening all of the switches before initialization and see if you still get the funky version mismatch error? Or,
b: just let the pins float by changing the initialization of the pin to:
pinMode(buttonPin[i], INPUT);
and see if it at least initializes correctly (your switches won't work correctly, that's fine to test this theory).
just spitballing here... but if that helps, there are solutions (at least one of which may require you to remove some of that lovely potting ;).
Now when I sent my last set of results and most of the other including my code I leave all but 1 pin open and most of the time all pins open. And if all six switches are set to gnd the total current would only be 1.5 ma (5volts /20k)x6=.0015 amps I believe. the internal pullup resistors are 20k-50k according to arduino spec.
@BulldogLowell
O.k I will try your change when I can get some free time and see if I can prove out your theory.
@BulldogLowell said:
I really never use toggle switches like you are using here but it dawned on me that you are drawing current on all six pins simultaneously using the internal pull-ups. Perhaps you are overdrawing the power of the arduino a bit, causing the spurious results. We don't see the error until we power up that #5 pin.... but you are getting some crazy radio activity prior to that after we power up pin 3. That's where it occurred to me that we may be asking too much of your arduino, sinking all of the 6 pins to ground at once.
Can you try:
a: opening all of the switches before initialization and see if you still get the funky version mismatch error? Or,
b: just let the pins float by changing the initialization of the pin to:
pinMode(buttonPin[i], INPUT);
and see if it at least initializes correctly (your switches won't work correctly, that's fine to test this theory).
just spitballing here... but if that helps, there are solutions (at least one of which may require you to remove some of that lovely potting ;).
Oh no Bulldog that is the one unit that is working just fine, all the version mismatches comes from your code I am trying out and we are making progress. For some reason when you are using arrays and for next loop this is where some of the issues are . If you look up a few replys when I replied to @hek I was using my code and there were no version mismatches.
@hek I just re-ran my Serial Monitor and now pin 5 only shows "version mismatch" I don't know how else to power any of these units because I have a 9 vdc 1 amp power pack on the Gateway and my sensors all have 1 amp, 9 vdc power packs
@BulldogLowell
This seems to work much better but what is the "version mismatch"?
You can see the change of pin 5 now immediately now when I connect it to gnd or leave it open.
Sending device info...sensor started, id 32
send: 32-32-0-0 s=255,c=0,t=17,pt=0,l=5,st=ok:1.4.1
send: 32-32-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
read: 0-0-32 s=255,c=3,t=6,pt=0,l=1:I
send: 32-32-0-0 s=255,c=3,t=11,pt=0,l=13,st=ok:RemoteControl
send: 32-32-0-0 s=255,c=3,t=12,pt=0,l=4,st=ok:1.15
Setting up Pin0
send: 32-32-0-0 s=0,c=0,t=0,pt=0,l=0,st=ok:
Setting up Pin1
send: 32-32-0-0 s=1,c=0,t=0,pt=0,l=0,st=ok:
Setting up Pin2
send: 32-32-0-0 s=2,c=0,t=0,pt=0,l=0,st=ok:
Setting up Pin3
send: 32-32-0-0 s=3,c=0,t=0,pt=0,l=0,st=ok:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=3,c=0,t=0,pt=0,l=0:
Setting up Pin4
send: 32-32-0-0 s=4,c=0,t=0,pt=0,l=0,st=ok:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
read: 32-32-0 s=4,c=0,t=0,pt=0,l=0:
Setting up Pin5
send: 0-0-0-0 s=5,c=0,t=0,pt=0,l=0,st=ok:
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
read: 39-155-0 s=0,c=5,t=0,pt=0,l=0:
version mismatch
Sensor presentation complete
send: 0-0-0-0 s=3,c=1,t=16,pt=2,l=2,st=ok:1
Pin 3 changed state... New State: Tripped
send: 0-0-0-0 s=4,c=1,t=16,pt=2,l=2,st=ok:1
Pin 4 changed state... New State: Tripped
send: 0-0-0-0 s=5,c=1,t=16,pt=2,l=2,st=ok:1
Pin 5 changed state... New State: Tripped
send: 0-0-0-0 s=0,c=1,t=16,pt=2,l=2,st=ok:1
Pin 0 changed state... New State: Tripped
send: 0-0-0-0 s=1,c=1,t=16,pt=2,l=2,st=ok:1
Pin 1 changed state... New State: Tripped
send: 0-0-0-0 s=2,c=1,t=16,pt=2,l=2,st=ok:1
Pin 2 changed state... New State: Tripped
send: 0-0-0-0 s=5,c=1,t=16,pt=2,l=2,st=ok:0
Pin 5 changed state... New State: Not Tripped
send: 0-0-0-0 s=5,c=1,t=16,pt=2,l=2,st=ok:1
Pin 5 changed state... New State: Tripped
send: 0-0-0-0 s=5,c=1,t=16,pt=2,l=2,st=ok:0
Pin 5 changed state... New State: Not Tripped
send: 0-0-0-0 s=5,c=1,t=16,pt=2,l=2,st=ok:1
Pin 5 changed state... New State: Tripped
send: 0-0-0-0 s=5,c=1,t=16,pt=2,l=2,st=ok:0
Pin 5 changed state... New State: Not Tripped
send: 0-0-0-0 s=5,c=1,t=16,pt=2,l=2,st=ok:1
Pin 5 changed state... New State: Tripped
send: 0-0-0-0 s=5,c=1,t=16,pt=2,l=2,st=ok:0
Pin 5 changed state... New State: Not Tripped
send: 0-0-0-0 s=5,c=1,t=16,pt=2,l=2,st=ok:1
Pin 5 changed state... New State: Tripped
send: 0-0-0-0 s=5,c=1,t=16,pt=2,l=2,st=ok:0
Pin 5 changed state... New State: Not Tripped
@hek this is the Serial Monitor output from the same board powered the same way except running my original code and no failures.
You can see when I gnd the input the output responds.
sensor started, id 32
send: 32-32-0-0 s=255,c=0,t=17,pt=0,l=5,st=ok:1.4.1
send: 32-32-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
send: 32-32-0-0 s=255,c=3,t=11,pt=0,l=13,st=ok:RemoteControl
send: 32-32-0-0 s=255,c=3,t=12,pt=0,l=4,st=ok:1.05
send: 32-32-0-0 s=3,c=0,t=0,pt=0,l=0,st=ok:
send: 32-32-0-0 s=4,c=0,t=0,pt=0,l=0,st=ok:
send: 32-32-0-0 s=5,c=0,t=0,pt=0,l=0,st=ok:
send: 32-32-0-0 s=6,c=0,t=0,pt=0,l=0,st=ok:
send: 32-32-0-0 s=7,c=0,t=0,pt=0,l=0,st=ok:
send: 32-32-0-0 s=8,c=0,t=0,pt=0,l=0,st=ok:
send: 32-32-0-0 s=3,c=1,t=16,pt=0,l=1,st=ok:1
send: 32-32-0-0 s=4,c=1,t=16,pt=0,l=1,st=ok:1
send: 32-32-0-0 s=5,c=1,t=16,pt=0,l=1,st=ok:1
send: 32-32-0-0 s=6,c=1,t=16,pt=0,l=1,st=ok:1
send: 32-32-0-0 s=7,c=1,t=16,pt=0,l=1,st=ok:1
send: 32-32-0-0 s=8,c=1,t=16,pt=0,l=1,st=ok:1
send: 32-32-0-0 s=5,c=1,t=16,pt=0,l=1,st=ok:0
send: 32-32-0-0 s=5,c=1,t=16,pt=0,l=1,st=ok:1
send: 32-32-0-0 s=5,c=1,t=16,pt=0,l=1,st=ok:0
send: 32-32-0-0 s=5,c=1,t=16,pt=0,l=1,st=ok:1
send: 32-32-0-0 s=5,c=1,t=16,pt=0,l=1,st=ok:0
send: 32-32-0-0 s=5,c=1,t=16,pt=0,l=1,st=ok:1
send: 32-32-0-0 s=5,c=1,t=16,pt=0,l=1,st=ok:0
send: 32-32-0-0 s=5,c=1,t=16,pt=0,l=1,st=ok:1
send: 32-32-0-0 s=5,c=1,t=16,pt=0,l=1,st=ok:0
@hek All the radio modules are nRF24l01+ and I have 3 other sensors all working just fine with this gateway all using the same transceiver from the same company.