It is very popular. Was on kickstarter I think.
Homematic is very famous/big in germany. A controller, which can handle homematic and mysensors would be the best solution.
Posts made by blebbens
-
RE: Choosing the right controller, how
-
RE: Choosing the right controller, how
I really do not know which one to choose: VeraEdge or Domoticz...
But, I am running several Homematic (eq-3) devices. It would be so great to access this devices via the controller. None of them supports Homematic.Homee supports homematic, but homee does not support mysensors.
-
RE: Choosing the right controller, how
Ok, thanks.
And, how does domoticz handle this? Does it need special files, too?
-
RE: Choosing the right controller, how
At the moment I have running a Raspberry Pi 3 with domoticz and a VeraEdge UI7.
After a long time my ethernet gateway (arduino nano) seems to be running... To verify the connection between the gateway and a node I wanted to build a air quality sensor using a MQ-135 sensor.
I noticed that Vera needs special .xml and .json-files for this. Otherwise Vera does not recognize the sensor/node.
It took several weeks to walk around many errors (mysensor was not compiling using IDE > 1.6.9, 1.6.8 works, in 1.6.10 you have to delete avr-gcc to get this working).
I would like to ask:
Does domoticz need special files/settings for each sensor ?
Does Vera really need special files for recognizing mysensors sensors ? -
RE: Problems with first sensors
There is no device listed in APPS/DEV APPS/Serial Port Config. There is only a save button.
That´s the big problem. Vera does not recognize the to USB connected gateway. -
RE: Problems with first sensors
Hi,
I downgraded from arduino.cc IDE 1.6.10 to 1.6.8. Now it uploads to the arduino nano without errors...
Seriell monitor (serial gateway):
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 0;255;3;0;14;Gateway startup complete. 0;255;0;0;18;2.0.0 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: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: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
Now I want to connect the gw to my test VeraEdge. I followed the instructions, uploaded the .xml-files and created a device. But, in APPS/DEVELOP PPS/SERIAL PORT CONFIG" I can not find the via USB connected serial gateway. And, I do not know where to restart vera itself or the luup engine.
The dashboard shows this message: MySensors plugin : Choose the Serial Port. Under DEVICES the MySensors Plugin shows: Lua Startup Failure.
Using the IDE I saw the gw is working (see above). Why does Vera not recognize the gw on USB ?
Could someone help, please ?
-
RE: Problems with first sensors
Tried it severl times... uploading an empty sketch works fine.
Uploading a mysensors sketch ends with:Arduino: 1.6.10 (Windows 10), Board: "Arduino Nano, ATmega328" 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\blebb\OneDrive\Documents\Arduino\libraries" -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10610 -build-path "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\blebb\AppData\Local\Temp\arduino_modified_sketch_724130\GatewaySerial.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\blebb\OneDrive\Documents\Arduino\libraries" -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10610 -build-path "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\blebb\AppData\Local\Temp\arduino_modified_sketch_724130\GatewaySerial.ino" Using board 'nano' 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=10610 -DARDUINO_AVR_NANO -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\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\sketch\GatewaySerial.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=10610 -DARDUINO_AVR_NANO -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\hardware\arduino\avr\libraries\SPI\src" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\sketch\GatewaySerial.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=10610 -DARDUINO_AVR_NANO -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\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\blebb\OneDrive\Documents\Arduino\libraries\MySensors" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\sketch\GatewaySerial.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=10610 -DARDUINO_AVR_NANO -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\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\blebb\OneDrive\Documents\Arduino\libraries\MySensors" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.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=10610 -DARDUINO_AVR_NANO -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\blebb\OneDrive\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\sketch\GatewaySerial.ino.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=10610 -DARDUINO_AVR_NANO -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\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\blebb\OneDrive\Documents\Arduino\libraries\MySensors" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\sketch\GatewaySerial.ino.cpp" -o "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\preproc\ctags_target_for_gcc_minus_e.cpp" "C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\preproc\ctags_target_for_gcc_minus_e.cpp" Sketch wird kompiliert... "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 -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10610 -DARDUINO_AVR_NANO -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\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\blebb\OneDrive\Documents\Arduino\libraries\MySensors" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\sketch\GatewaySerial.ino.cpp" -o "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\sketch\GatewaySerial.ino.cpp.o" Compiling libraries... Compiling library "SPI" Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\libraries\SPI\SPI.cpp.o Compiling library "MySensors" Compiling core... "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -x assembler-with-cpp -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10610 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.S" -o "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\wiring_pulse.S.o" Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\WInterrupts.c.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\hooks.c.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\wiring.c.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\wiring_analog.c.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\wiring_digital.c.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\wiring_pulse.c.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\wiring_shift.c.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\CDC.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\HardwareSerial.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\HardwareSerial0.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\HardwareSerial1.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\HardwareSerial2.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\HardwareSerial3.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\IPAddress.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\PluggableUSB.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\Print.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\Stream.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\Tone.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\USBCore.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\WMath.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\WString.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\abi.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\main.cpp.o Zuvor kompilierte Datei wird verwendet: C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\new.cpp.o "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\wiring_pulse.S.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\WInterrupts.c.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\hooks.c.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\wiring.c.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\wiring_analog.c.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\wiring_digital.c.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\wiring_pulse.c.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\wiring_shift.c.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\CDC.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\HardwareSerial.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\HardwareSerial0.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\HardwareSerial1.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\HardwareSerial2.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\HardwareSerial3.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\IPAddress.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\PluggableUSB.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\Print.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\Stream.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\Tone.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\USBCore.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\WMath.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\WString.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\abi.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\main.cpp.o" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\core.a" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\core\new.cpp.o" Linking everything together... "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp/GatewaySerial.ino.elf" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\sketch\GatewaySerial.ino.cpp.o" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp\libraries\SPI\SPI.cpp.o" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp/core\core.a" "-LC:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp" -lm "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp/GatewaySerial.ino.elf" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp/GatewaySerial.ino.eep" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp/GatewaySerial.ino.elf" "C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp/GatewaySerial.ino.hex" Bibliothek SPI in Version 1.0 im Ordner: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI wird verwendet Bibliothek MySensors in Version 2.0.0 im Ordner: C:\Users\blebb\OneDrive\Documents\Arduino\libraries\MySensors wird verwendet Der Sketch verwendet 13.982 Bytes (45%) des Programmspeicherplatzes. Das Maximum sind 30.720 Bytes. Globale Variablen verwenden 714 Bytes (34%) des dynamischen Speichers, 1.334 Bytes für lokale Variablen verbleiben. Das Maximum sind 2.048 Bytes. C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM5 -b57600 -D -Uflash:w:C:\Users\blebb\AppData\Local\Temp\buildfc036358b36fd5724eaef1c2da26543a.tmp/GatewaySerial.ino.hex:i Beim Hochladen des Sketches ist ein Fehler aufgetreten
Sorry, did not find any logfile. I just want to use mysensors. Bought so many sensors.
-
RE: Problems with first sensors
Yes, chose arduino nano.
Blank sketches work fine, uploading is no problem. -
RE: Problems with first sensors
No...it ... is... so... frustrating...
Arduino IDE works fine, but all things combined with mysensors are not working.
Tried to upload the ClearEepromConfig sketch to the serial gateway (nano, NRF24L01+). After compiling the sketch, the IDE is not able to upload the sketch to the nano (error on uploading the sketch). The same with other example mysensors sketches.
Tried this on 2 WIn10-PCs and 2 Macs.
-
VeraEdge & serial gateway
Hi,
At the moment I am testing besides domoticz the new VeraEdge.
Some problems occur on uploading a my sensors-sketch, but I posted this in another thread.After setting up most of the functions of Vera and connecting the controller to my existing devices like Philips Hue, I followed the instructions on my sensors.org to integrate a serial USB-gateway into Vera. I uploaded the .xml an .json-files and also created a device.
But, I can not see any USB device under apps/developer apps/serial port configuration. I started the VeraEdge several times after connecting the USB serial gateway.Vera tells me:
MySensors plugin : Choose the Serial Port
MySensors Plugin[20] : Running Lua StartupCould anyone help on integrating the gw in apps/dev apps/serial port configuration ?
-
RE: Problems with first sensors
I am trying to set up a Serial Gateway using the arduino IDE, this time using a NRF24L01 (not amplified, with build-in-antenna).
The Sketch compiles without any error, but afterwards the IDE tells me an error occurred: error during uploading the Sketch.
This occurs on compiling mysensors sketches.
Never had this Problem before. Now I get this error on all WIN10-machines.
Any tips ?
-
RE: Problems with first sensors
hi,
Was not at home for about 2 weeks now (driving home in 2 days), but AliExpress delivered 10 NRF2401 non-amplified without antenna. Is it still necessary to define low power and data rate of 1mbps?
#define MY_RF24_PA_LEVEL RF24_PA_LOW
#define MY_RF24_DATARATE RF24_1MBPSDo I have to set the node ID still manually?
-
RE: Problems with first sensors
So, I have to delete CHILD_ID und change it to MY_NODE_ID?
Okay, reaching home today, perhaps. Hope, this works.
-
RE: Problems with first sensors
Think, I do not understand yet.
The motion sketch uses #define CHILD_ID 1.
Where do I have to insert #define MY_NODE_ID 1 ? Just into the skecht of the motion sensor ? -
RE: Problems with first sensors
@Tore-André-Rosander
Have tried out different sample-sketches from library, e.g. motion and air quality.It is... so... frustrating. There has to be a stupid mistake causing the sensors to report their availability as repeater node.
-
RE: Problems with first sensors
Flashed ClearEpromConfig...
Added to the sketches...
#define MY_RF24_PA_LEVEL RF24_PA_LOW
#define MY_RF24_DATARATE RF24_1MBPSThink, this overrides MyConfig.h ?
What a pity... just the same output... recognized as "unknown" S_ARDUINO_REPEATER_NODE.
But, the delivered NRFs have no marked GND.
Oh, any ideas left ? Delivery of standard NRFs take 30-40 days.
Extract of MyConfig.h:
/** * @def MY_RF24_SPI_MAX_SPEED * @brief MY_RF24_SPI_MAX_SPEED to overrule default nRF24L01+ SPI speed. */ //#define MY_RF24_SPI_MAX_SPEED 4000000 /** * @def MY_RF24_CE_PIN * @brief Default RF24 chip enable pin setting. Override in sketch if needed. */ #ifndef MY_RF24_CE_PIN #if defined(ARDUINO_ARCH_ESP8266) #define MY_RF24_CE_PIN 4 #elif defined(ARDUINO_ARCH_SAMD) #define MY_RF24_CE_PIN 27 #else #define MY_RF24_CE_PIN 9 #endif #endif /** * @def MY_RF24_CS_PIN * @brief Default RF24 chip select pin setting. Override in sketch if needed. */ #ifndef MY_RF24_CS_PIN #if defined(ARDUINO_ARCH_ESP8266) #define MY_RF24_CS_PIN 15 #elif defined(ARDUINO_ARCH_SAMD) #define MY_RF24_CS_PIN 3 #else #define MY_RF24_CS_PIN 10 #endif #endif /** * @def MY_RF24_PA_LEVEL * @brief Default RF24 PA level. Override in sketch if needed. */ #ifndef MY_RF24_PA_LEVEL #define MY_RF24_PA_LEVEL RF24_PA_LOW #endif /** * @def MY_RF24_CHANNEL * @brief RF channel for the sensor net, 0-125. * Frequence: 2400 Mhz - 2525 Mhz Channels: 126 * http://www.mysensors.org/radio/nRF24L01Plus.pdf * 0 => 2400 Mhz (RF24 channel 1) * 1 => 2401 Mhz (RF24 channel 2) * 76 => 2476 Mhz (RF24 channel 77) * 83 => 2483 Mhz (RF24 channel 84) * 124 => 2524 Mhz (RF24 channel 125) * 125 => 2525 Mhz (RF24 channel 126) * In some countries there might be limitations, in Germany for example only the range 2400,0 - 2483,5 Mhz is allowed * http://www.bundesnetzagentur.de/SharedDocs/Downloads/DE/Sachgebiete/Telekommunikation/Unternehmen_Institutionen/Frequenzen/Allgemeinzuteilungen/2013_10_WLAN_2,4GHz_pdf.pdf */ #ifndef MY_RF24_CHANNEL #define MY_RF24_CHANNEL 76 #endif /** * @def MY_RF24_DATARATE * @brief RF24 datarate (RF24_250KBPS for 250kbs, RF24_1MBPS for 1Mbps or RF24_2MBPS for 2Mbps). */ #ifndef MY_RF24_DATARATE #define MY_RF24_DATARATE RF24_250KBPS #endif
-
RE: Problems with first sensors
Now I defined MY_RF24_PA_LEVEL RF24_PA_LOW in both, gateway and sensor.
Before I have done this, I compiled and uploaded the ClearEpromConfig.The logs... gateway:
17.07.2016 15:52:22 STARTUP Initialize message logging 17.07.2016 15:52:22 STARTUP 1.0.0 (build 3314) 17.07.2016 15:52:22 STARTUP FPC 3.0.0 / Lazarus 1.6 17.07.2016 15:52:22 STARTUP still under development :) tekka 2016 17.07.2016 15:52:22 STARTUP Load INI file... 17.07.2016 15:52:22 STARTUP INI version 1.0.0 (build 3314) 17.07.2016 15:52:23 INFO *** Logging START *** 17.07.2016 15:52:23 VERSION 1.0.0 (build 3314) 17.07.2016 15:52:23 INFO Logging=TRUE 17.07.2016 15:52:23 INFO AutoID=TRUE 17.07.2016 15:52:23 INFO AutoFW=TRUE 17.07.2016 15:52:23 STARTUP INI file loaded 17.07.2016 15:52:23 STARTUP Loading FW repository... 17.07.2016 15:52:23 REPO FW "Blink" loaded. t=10, v=1, blocks=80, crc=0x46D4 17.07.2016 15:52:23 REPO FW "TimeReporter" loaded. t=20, v=1, blocks=736, crc=0xE923 17.07.2016 15:52:23 REPO FW repository loaded. Items=2 17.07.2016 15:52:23 STARTUP Initialize message types 17.07.2016 15:52:23 NODE New node discovered, node id=0 17.07.2016 15:52:23 NODE New node discovered, node id=255 17.07.2016 15:52:23 INFO read MySensors.xml 17.07.2016 15:52:23 INFO Application: MYSController 17.07.2016 15:52:23 INFO Node id=0 skipped 17.07.2016 15:52:23 INFO Node id=255 skipped 17.07.2016 15:52:30 UPDATE current=1.0.0.3314 remote=1.0.0.3314 17.07.2016 15:52:32 INFO Flushing FIFO 17.07.2016 15:52:32 INFO Connected to COM9 17.07.2016 15:52:34 RX 0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0) 17.07.2016 15:52:34 CHILD New child discovered, node id=0, child id=internal 17.07.2016 15:52:34 RX 0;255;3;0;9;TSM:INIT 17.07.2016 15:52:34 RX 0;255;3;0;9;TSM:RADIO:OK 17.07.2016 15:52:34 RX 0;255;3;0;9;TSM:GW MODE 17.07.2016 15:52:34 RX 0;255;3;0;9;TSM:READY 17.07.2016 15:52:34 RX 0;255;3;0;14;Gateway startup complete. 17.07.2016 15:52:34 RX 0;255;0;0;18;2.0.0 17.07.2016 15:52:34 DEBUG Update child id=255, type=S_ARDUINO_REPEATER_NODE 17.07.2016 15:52:34 RX 0;255;3;0;9;No registration required 17.07.2016 15:52:34 RX 0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
6 17.07.2016 15:52:34 RX 0 - Gateway INTERNAL C_INTERNAL NO I_GATEWAY_READY Gateway startup complete. 7 17.07.2016 15:52:34 RX 0 - Gateway INTERNAL C_PRESENTATION NO S_ARDUINO_REPEATER_NODE 2.0.0
And, the sensor...
TSM:INIT TSM:RADIO:OK TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: !TSM:FPAR:FAIL !TSM:FAILURE TSM:PDT
They now are far away from each other...
I think, all cables are connected to the right position.
EDIT:
Found a MQ-135 air quality sensor. Uploaded the mysensor example sketch. But, the same error output in serial monitor.Please take a look at this picture of my NRF24L01 amplified. Perhaps, it is wrong wired ? On my NRF24 there is no mark for GND, so I took this picture.
But, isn´t my gateway (wired the same) working very well ? Is there a way to find out, if the wiring is wrong ? Would the gateway work like you can see in the log ?
Or another idea: I changed the gateway´s sketch to a baud rate of 115200. The sensor´s sketches don´t contain this information. Do I need to set their baud rate to 115200, too ?
-
RE: Problems with first sensors
No one ? It is so frustrating...
Read some more threads like this (https://forum.mysensors.org/topic/4280/simple-serial-gateway-and-sensor-does-not-work)... seems to be a common problem of MySensors 2.0 ?
-
RE: Problems with first sensors
Okay, done it... both connected, gw on MYScontroller, motion sensor monitored using IDE...
Sensor output:
TSM:INIT TSM:RADIO:OK TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: !TSM:FPAR:FAIL !TSM:FAILURE TSM:PDT
And gateway output:
MYScontroller debug:
16.07.2016 19:43:42 INFO Flushing FIFO 16.07.2016 19:43:42 INFO Connected to COM7 16.07.2016 19:43:44 RX 0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0) 16.07.2016 19:43:44 CHILD New child discovered, node id=0, child id=internal 16.07.2016 19:43:44 RX 0;255;3;0;9;TSM:INIT 16.07.2016 19:43:44 RX 0;255;3;0;9;TSM:RADIO:OK 16.07.2016 19:43:44 RX 0;255;3;0;9;TSM:GW MODE 16.07.2016 19:43:44 RX 0;255;3;0;9;TSM:READY 16.07.2016 19:43:44 RX 0;255;3;0;14;Gateway startup complete. 16.07.2016 19:43:44 RX 0;255;0;0;18;2.0.0 16.07.2016 19:43:44 DEBUG Update child id=255, type=S_ARDUINO_REPEATER_NODE 16.07.2016 19:43:44 RX 0;255;3;0;9;No registration required 16.07.2016 19:43:44 RX 0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1 16.07.2016 19:44:44 RX 0;255;3;0;9;TSP:SANCHK:OK 16.07.2016 19:45:44 RX 0;255;3;0;9;TSP:SANCHK:OK
MySensors debug:
8 16.07.2016 19:43:44 TX -1 -1 -1 -1 NA (-1) N/A NA (-1) -1 required
Nodes debug: this message was shown before I connected the sensor to power
7 16.07.2016 19:43:44 0 - Gateway S_ARDUINO_REPEATER_NODE S_ARDUINO_REPEATER_NODE 2.0.0
And messages tab:
6 16.07.2016 19:43:44 RX 0 - Gateway INTERNAL C_INTERNAL NO I_GATEWAY_READY Gateway startup complete. 7 16.07.2016 19:43:44 RX 0 - Gateway INTERNAL C_PRESENTATION NO S_ARDUINO_REPEATER_NODE 2.0.0
Okay, hope, this helps now.
That´s strange, because there is no repeater... just a motion sensor sketch.
-
RE: Problems with first sensors
Okay, I have...
The motion sensor connected to the Arduino IDE. The output of the serial monitor (at this time the gateway was connected to the controller):
Starting sensor (RNNNA-, 2.0.0) TSM:INIT TSM:RADIO:OK TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: !TSM:FPAR:FAIL !TSM:FAILURE TSM:PDT TSM:INIT TSM:RADIO:OK TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
An at this point I had the gateway connected to the arduino IDE (the motion sensor was not connected to the computer):
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 0;255;3;0;14;Gateway startup complete. 0;255;0;0;18;2.0.0 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: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:SANCHK:OK 0;255;3;0;9;TSP:SANCHK:OK
I never had both, gateway and sensor, connected to the monitor at the same time. I am afraid, I didn´t understand to use MYScontroller. Did not find the com-port settings etc. It always tries to connect to gateway 192.168.0.x, my network is not set up to this IP.
Does the output help ?
-
RE: Problems with first sensors
This is what domoticz looks like...
Connecting the serial gateway to my computer means, I can not connect it to domoticz ?
For debugging I have to enable #define MY_DEBUG ?
Or, is there a way to read the log file on the gateway ? -
RE: Problems with first sensors
Okay, could you please tell me how to do that.
At the moment I do not know where to find it. -
RE: Problems with first sensors
This is the code for my serial gateway to domoticz (arduino nano, NRF24L01+PA+ANTENNA) I am actually using...
* 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. * ******************************* * * DESCRIPTION * The ArduinoGateway prints data received from sensors on the serial link. * The gateway accepts input on seral which will be sent out on radio network. * * The GW code is designed for Arduino Nano 328p / 16MHz * * Wire connections (OPTIONAL): * - Inclusion button should be connected between digital pin 3 and GND * - RX/TX/ERR leds need to be connected between +5V (anode) and digital pin 6/5/4 with resistor 270-330R in a series * * LEDs (OPTIONAL): * - To use the feature, uncomment MY_LEDS_BLINKING_FEATURE in MyConfig.h * - 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 * */ // Enable debug prints to serial monitor #define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_NRF24 //#define MY_RADIO_RFM69 // Set LOW transmit power level as default, if you have an amplified NRF-module and // power your radio separately with a good regulator you can turn up PA level. #define MY_RF24_PA_LEVEL RF24_PA_LOW // Enable serial gateway #define MY_GATEWAY_SERIAL // Define a lower baud rate for Arduino's running on 8 MHz (Arduino Pro Mini 3.3V & SenseBender) #if F_CPU == 8000000L #define MY_BAUD_RATE 115200 #endif // Flash leds on rx/tx/err #define MY_LEDS_BLINKING_FEATURE // Set blinking period #define MY_DEFAULT_LED_BLINK_PERIOD 300 // Inverses the behavior of leds //#define MY_WITH_LEDS_BLINKING_INVERSE // Enable inclusion mode #define MY_INCLUSION_MODE_FEATURE // Enable Inclusion mode button on gateway #define MY_INCLUSION_BUTTON_FEATURE // Inverses behavior of inclusion button (if using external pullup) //#define MY_INCLUSION_BUTTON_EXTERNAL_PULLUP // 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 // Uncomment to override default HW configurations //#define MY_DEFAULT_ERR_LED_PIN 4 // Error led pin //#define MY_DEFAULT_RX_LED_PIN 6 // Receive led pin //#define MY_DEFAULT_TX_LED_PIN 5 // the PCB, on board LED #include <SPI.h> #include <MySensors.h> void setup() { // Setup locally attached sensors } void presentation() { // Present locally attached sensors } void loop() { // Send locally attached sensor data here }
And this sketch is for the motion sensor (arduino nano, HC-SR501 and NRF24L01+PA+ANTENNA)...
* 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 * * DESCRIPTION * Motion Sensor example using HC-SR501 * http://www.mysensors.org/build/motion * */ // Enable debug prints // #define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_NRF24 //#define MY_RADIO_RFM69 #include <SPI.h> #include <MySensors.h> unsigned long SLEEP_TIME = 120000; // Sleep time between reports (in milliseconds) #define DIGITAL_INPUT_SENSOR 3 // The digital input you attached your motion sensor. (Only 2 and 3 generates interrupt!) #define CHILD_ID 1 // Id of the sensor child // Initialize motion message MyMessage msg(CHILD_ID, V_TRIPPED); void setup() { pinMode(DIGITAL_INPUT_SENSOR, INPUT); // sets the motion sensor digital pin as input } void presentation() { // Send the sketch version information to the gateway and Controller sendSketchInfo("Motion Sensor", "1.0"); // Register all sensors to gw (they will be created as child devices) present(CHILD_ID, S_MOTION); } void loop() { // Read digital motion value boolean tripped = digitalRead(DIGITAL_INPUT_SENSOR) == HIGH; Serial.println(tripped); send(msg.set(tripped?"1":"0")); // Send tripped value to gw // Sleep until interrupt comes in on motion sensor. Send update every two minute. sleep(digitalPinToInterrupt(DIGITAL_INPUT_SENSOR), CHANGE, SLEEP_TIME); }
Domoticz still recognizes the motion sensor as "unknown" and S_ARDUINO_REPEATER.
And, the debug seriell monitor tells me:
Starting sensor (RNNNA-, 2.0.0) TSM:INIT TSM:RADIO:OK TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: !TSM:FPAR:FAIL !TSM:FAILURE TSM:PDT
Hope, someone can help - it is very frustrating.
-
RE: Problems with first sensors
It is very frustrating...
Uploaded the serial gateway sketch from examples ro my serial gateway (not serialgateway485). I just modified the baud rate to 115200. domoticz recognizes the gateway as version 2.0.
I also uploaded the motion sketch from examples to a new arduino nano and modified nothing.
Domoticz now is able to see the node, but it is named unknown. The child ID 255 (that must be wrong) is named S_ARDUINO_REPEATER_NODE - that is wrong. It has to be S_MOTION. Despite I was using the newest sketch, domoticz calls it version 1.0.
Could someone tell me the solution, please?
-
RE: Problems with first sensors
Oh, just realized domoticz setup uses a serial gateway baud rate of 115.200, the sketches are using 38.400. Perhaps, this is the big mistake.
-
RE: Problems with first sensors
To me as a newbie it is a bit confusing...
This sketch comes from mysensors.org:
** * 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. * ******************************* * * DESCRIPTION * The ArduinoGateway prints data received from sensors on the serial link. * The gateway accepts input on seral which will be sent out on radio network. * * The GW code is designed for Arduino Nano 328p / 16MHz * * Wire connections (OPTIONAL): * - Inclusion button should be connected between digital pin 3 and GND * - RX/TX/ERR leds need to be connected between +5V (anode) and digital pin 6/5/4 with resistor 270-330R in a series * * LEDs (OPTIONAL): * - To use the feature, uncomment WITH_LEDS_BLINKING in MyConfig.h * - 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 * */ #define NO_PORTB_PINCHANGES #include <MySigningNone.h> #include <MyTransportRFM69.h> #include <MyTransportNRF24.h> //#include <MyHwATMega328.h> #include <MySigningAtsha204Soft.h> #include <MySigningAtsha204.h> #include <SPI.h> #include <MyParserSerial.h> #include <MySensor.h> #include <stdarg.h> #include <PinChangeInt.h> #include "GatewayUtil.h" #define INCLUSION_MODE_TIME 1 // Number of minutes inclusion mode is enabled #define INCLUSION_MODE_PIN 3 // Digital pin used for inclusion mode button #define RADIO_ERROR_LED_PIN 4 // Error led pin #define RADIO_RX_LED_PIN 6 // Receive led pin #define RADIO_TX_LED_PIN 5 // the PCB, on board LED // NRFRF24L01 radio driver (set low transmit power by default) MyTransportNRF24 transport(RF24_CE_PIN, RF24_CS_PIN, RF24_PA_LEVEL_GW); //MyTransportRFM69 transport; // Message signing driver (signer needed if MY_SIGNING_FEATURE is turned on in MyConfig.h) //MySigningNone signer; //MySigningAtsha204Soft signer; //MySigningAtsha204 signer; // Hardware profile MyHwATMega328 hw; // Construct MySensors library (signer needed if MY_SIGNING_FEATURE is turned on in MyConfig.h) // To use LEDs blinking, uncomment WITH_LEDS_BLINKING in MyConfig.h #ifdef WITH_LEDS_BLINKING MySensor gw(transport, hw /*, signer*/, RADIO_RX_LED_PIN, RADIO_TX_LED_PIN, RADIO_ERROR_LED_PIN); #else MySensor gw(transport, hw /*, signer*/); #endif char inputString[MAX_RECEIVE_LENGTH] = ""; // A string to hold incoming commands from serial/ethernet interface int inputPos = 0; boolean commandComplete = false; // whether the string is complete void parseAndSend(char *commandBuffer); void output(const char *fmt, ... ) { va_list args; va_start (args, fmt ); vsnprintf_P(serialBuffer, MAX_SEND_LENGTH, fmt, args); va_end (args); Serial.print(serialBuffer); } void setup() { gw.begin(incomingMessage, 0, true, 0); setupGateway(INCLUSION_MODE_PIN, INCLUSION_MODE_TIME, output); // Add interrupt for inclusion button to pin PCintPort::attachInterrupt(pinInclusion, startInclusionInterrupt, RISING); // Send startup log message on serial serial(PSTR("0;0;%d;0;%d;Gateway startup complete.\n"), C_INTERNAL, I_GATEWAY_READY); } void loop() { gw.process(); checkButtonTriggeredInclusion(); checkInclusionFinished(); if (commandComplete) { // A command wass issued from serial interface // We will now try to send it to the actuator parseAndSend(gw, inputString); commandComplete = false; inputPos = 0; } } /* SerialEvent occurs whenever a new data comes in the hardware serial RX. This routine is run between each time loop() runs, so using delay inside loop can delay response. Multiple bytes of data may be available. */ void serialEvent() { while (Serial.available()) { // get the new byte: char inChar = (char)Serial.read(); // if the incoming character is a newline, set a flag // so the main loop can do something about it: if (inputPos<MAX_RECEIVE_LENGTH-1 && !commandComplete) { if (inChar == '\n') { inputString[inputPos] = 0; commandComplete = true; } else { // add it to the inputString: inputString[inputPos] = inChar; inputPos++; } } else { // Incoming message too long. Throw away inputPos = 0; } } }
Looks like the sketch for mysensors library 1.x.
And this one is from github:
/** * 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. * ******************************* * * DESCRIPTION * The ArduinoGateway prints data received from sensors on the serial link. * The gateway accepts input on seral which will be sent out on radio network. * * The GW code is designed for Arduino Nano 328p / 16MHz * * Wire connections (OPTIONAL): * - Inclusion button should be connected between digital pin 3 and GND * - RX/TX/ERR leds need to be connected between +5V (anode) and digital pin 6/5/4 with resistor 270-330R in a series * * LEDs (OPTIONAL): * - To use the feature, uncomment MY_LEDS_BLINKING_FEATURE in MyConfig.h * - 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 * */ // Enable debug prints to serial monitor #define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_NRF24 //#define MY_RADIO_RFM69 // Set LOW transmit power level as default, if you have an amplified NRF-module and // power your radio separately with a good regulator you can turn up PA level. #define MY_RF24_PA_LEVEL RF24_PA_LOW // Enable serial gateway #define MY_GATEWAY_SERIAL // Define a lower baud rate for Arduino's running on 8 MHz (Arduino Pro Mini 3.3V & SenseBender) #if F_CPU == 8000000L #define MY_BAUD_RATE 38400 #endif // Flash leds on rx/tx/err #define MY_LEDS_BLINKING_FEATURE // Set blinking period #define MY_DEFAULT_LED_BLINK_PERIOD 300 // Inverses the behavior of leds //#define MY_WITH_LEDS_BLINKING_INVERSE // Enable inclusion mode #define MY_INCLUSION_MODE_FEATURE // Enable Inclusion mode button on gateway #define MY_INCLUSION_BUTTON_FEATURE // Inverses behavior of inclusion button (if using external pullup) //#define MY_INCLUSION_BUTTON_EXTERNAL_PULLUP // 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 // Uncomment to override default HW configurations //#define MY_DEFAULT_ERR_LED_PIN 4 // Error led pin //#define MY_DEFAULT_RX_LED_PIN 6 // Receive led pin //#define MY_DEFAULT_TX_LED_PIN 5 // the PCB, on board LED #include <SPI.h> #include <MySensors.h> void setup() { // Setup locally attached sensors } void presentation() { // Present locally attached sensors } void loop() { // Send locally attached sensor data here }
To me ot looks like this is meant for mysensors.org 2.0, which looks incomplete. Think, they have to be merged ?
-
RE: Problems with first sensors
Nano seems to be damaged. Trying a new one tomorrow.
One more question, please: I downloadee mysensors library 20.
As I am using a serial hateway, I notices the gateway sketch uses the old gw.xxx structure. Do I have to modfiy the sketch on my own for preparing it for library 2.0? (My programming skills are under development). On githib the sketch is very basic, there is missing a lot?! -
RE: Problems with first sensors
Your new code from github for the motion compiled without any problems.
2 days ago I uploaded the serial gateway sketch from https://www.mysensors.org/build/serial_gateway. This sketch is not compatible to mysensor library 2.0 ?
I found some new example code on github, but at the moment, I don´t really know how to change the sketch to 2.0 compatibility.
-
RE: Problems with first sensors
Oh, I thought the examples are ready for mysensors library 2.0. So, first step I have to do is to change some lines in the sketch...
But, I already used the "manage library" function in the IDE and installed mysensors 2.0. So, I am wondering why all these errors still come up.
-
Problems with first sensors
Hello,
A few days ago I build a serial gateway using an arduino nano clone and a NRF24L01 with antenna. My raspberry pi 3 is running domoticz as controller.
Domoticz seems to recognize the serial mysensors gateway (USB) and shows version 2.0.
For testing I build a motion sensor (HC-SR501, arduino nano, NRF24L01) and uploaded a an unmodified mysensors example-sketch. Under setup->hardware->gateway->setup (german translation) I was able to see a child no. 255 (doesn´t the example used child ID 1?), which was named S_ARDUINO_REPEATER_NODE version 1 instead of motion sensor. I was never able to see this in devices.
Tried to upload the sketch once again with a clean installation of the arduino IDE from arduino.cc. Installed the newest IDE version and mysensors 2.0.
But, now on compiling a sketch, the IDE tells me:
In file included from /Users/XX 1/Dropbox/Arduino/MySensors/MotionSensor/MotionSensor.ino:2:0:
/Users/XX/Documents/Arduino/libraries/MySensors/MySensors.h:287:4: 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.
^
/Users/XX 1/Dropbox/Arduino/MySensors/MotionSensor/MotionSensor.ino:41:22: fatal error: MySensor.h: No such file or directory
#include <MySensor.h>
^
compilation terminated.
exit status 1The sketch:
#include <MyConfig.h> #include <MySensors.h> /** * 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 * * DESCRIPTION * Motion Sensor example using HC-SR501 * http://www.mysensors.org/build/motion * */ // Enable debug prints // #define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_NRF24 //#define MY_RADIO_RFM69 #include <SPI.h> #include <MySensor.h> unsigned long SLEEP_TIME = 120000; // Sleep time between reports (in milliseconds) #define DIGITAL_INPUT_SENSOR 3 // The digital input you attached your motion sensor. (Only 2 and 3 generates interrupt!) #define INTERRUPT DIGITAL_INPUT_SENSOR-2 // Usually the interrupt = pin -2 (on uno/nano anyway) #define CHILD_ID 1 // Id of the sensor child // Initialize motion message MyMessage msg(CHILD_ID, V_TRIPPED); void setup() { pinMode(DIGITAL_INPUT_SENSOR, INPUT); // sets the motion sensor digital pin as input } void presentation() { // Send the sketch version information to the gateway and Controller sendSketchInfo("Motion Sensor", "1.0"); // Register all sensors to gw (they will be created as child devices) present(CHILD_ID, S_MOTION); } void loop() { // Read digital motion value boolean tripped = digitalRead(DIGITAL_INPUT_SENSOR) == HIGH; Serial.println(tripped); send(msg.set(tripped?"1":"0")); // Send tripped value to gw // Sleep until interrupt comes in on motion sensor. Send update every two minute. sleep(INTERRUPT,CHANGE, SLEEP_TIME); }
I am very frustrated. Why don´t I see the sensor in domiticz and why does the IDE not compile the sketch. This error occurs on my mac and my windows pc.
Little help would be great... thanks.
-
RE: Choosing the right controller, how
Activated allowing new hardware.
Mysensor serial gateway 2.0 finds an unknown node version 1.0 with one child. Child is named s_arduino_repeater_node 2.0.
The log shows this: : MySensors: Update command received for unknown node_id: -1, child_id: 255Could someone help?
Just uploaded an unmodified sketch from mysensors to a combination of motion sensor, NRF24L01 and arduino nano.
-
RE: Choosing the right controller, how
I am at work for the next 12 hours... I think you are right, think it is not activated.
Isn´t there a button for allowing new hardware for the next 5 minutes ?Okay, trying it in the evening, thanks.
One more question please: (perhaps I should ask in domoticz forum)
Domoticz is running on my RPi3. I would like to add a raspberry 7" touch screen and install it on the wall. The screen should show a dashboard, But, at the moment I let the RPi boot into console for saving resources.
Is there a way to show a dashboard without starting the whole KDE GUI ? The screen should deactivate after 5 minutes without action - and activate on finger tip. -
RE: Choosing the right controller, how
Is there a way to test the gateways function ?
domoticz is showing the hardware, but does this mean, all is set up and connected correctly ? -
RE: Choosing the right controller, how
Mysensors: Gateway ready (version 1.5.4). This shows me the log.
Can´t the the node.I uploaded sketches, but did not changed them. The arduino nano connected to the motion sensor is powered by a small power bank. The leds on the nano are off until I press the power bank button.
-
RE: Choosing the right controller, how
Looks nice...
Connected a serial gateway via USB to an raspberry pi 3 running domoticz and configured it as described. Uploaded the serialgateway.ino-Sketch to the arduino nano. I installed a decoupling capacitor.
Afterwards I have build a mysensors motion sensor (HC-SR501, NRF24L01, Arduino nano) and uploaded an arduino-mysensors-sketch.
But, domoticz->hardware does not show any node/child.
Wanted to see success - did I understand anything wrong ? -
RE: Choosing the right controller, how
At the moment, domoticz seems to be very easy. My installation looks a bit ugly, the screenshots are much nicer.
Few days ago I found a wiki page about combining a Raspberry with a serial gateway itself at GPiO without an arduino, but could not find it anymore.
Can anyone compare domoticz to vera and PiMatic? Would be helpful.
-
RE: Choosing the right controller, how
Thanks for your answer...
Looks easy and promising.
Have not found a tutorial for integrating mysensors in domoticz. Could you help?Today I want to try out a new controller. Besides domoticz I found some informations about PiMatic. Could anyone tell me which one does support mysensors better and is easier to handle, domoticz oder Pimatic?
Hope, somebody tried out both of them.
-
RE: Choosing the right controller, how
I take a look at domoticz, never heard of it.
I found mysensors page of controllers and those screenshots. Those screenshots do not tell me how easy it is to use the software. They also do not tell me if I have to be able to program it by myself. Seeing OpenHAB screenshots, I thought they give me a nice GUI, but there I have to create the whole interface by myself from the beginning without some sort of settings etc.
Hope, domoticz, vera or PiMatic are different. Does anybody use a controller without programming skills?
-
Choosing the right controller, how
Hello,
After building an ethernet gateway I am looking for the right controller. I am afraid you have heard this question a hundred rimes, but I really don't know how to choose it.
2 years ago I tried FHEM to control a homematic and Philips Hue setup. To me it was very difficult to handle due to the fact that I am not speaking a modern programming language.
Today I installed OpenHAB on my Raspberry Pi 3. OpenHAB does not seem to offer a graphical GUI from the beginning. There have to be created sitemaps and items.
What I am looking for:
An easy to use controller with a graphical GUI. Mysensors nodes (Temperature, air quality, open door/window, ultrasonic, movement etc) should come up in this interface to assign them to a room/function. Then I would like to connect them to each other or an acrion (on detection of smoke switch on alarm and lights).At th moment OpenHAB 2 looks interesring, but, is this a good choice? Perhaps, does the vera controller offer this features and an easy to use GUI? In europe it is hard to get one.
Little help would be great.
-
MQTT-Gateway - some questions
Hi,
Being new to mysensores, I´m trying to build a MQTT-Gateway for OpenHAB using an arduino nano clone and a W5100 ethernet shield.
I followed the instructions to connect the shield and the nano using dupont wires.
The instructions for ethernet gateways tell me to use soft-SPI due to the W5100, which has to be done in myconfig.h via "#define SOFTSPI".Building a MQTT-Gateway, I am using the sketch for MQTT on mysensors.org. I don´t know if I have to #define SOFTSPI in myconfig.h, too, like using a ethernet gateway without MQTT.
One more question, please:
My router uses DHCP. That´s why I can´t setup static IPs. But, I have the possibility to add devices using the mac adress by myself. The sketch containing "byte TCP_MAC[] = { 0x06, 0xDE, 0xAD, 0x00, 0x00, 0x42" means, I have to add the MAC adress 06-DE-AD-00-00-42 to the specific IP ? Is this correct ?Thanks a lot.
-
RE: Newbie trying to compile a sketch/installing mysensors library
I copied the libraries to 2 directories, so the IDE finds 2 versions of the same library.
But, the first message seems to be the problem:
WARNING: category '' in library UIPEthernet not valid and will be categorized as 'Uncategorized'
WARNUNG: Kategorie '' in der Bibliothek UIPEthernet ist ungültig und wird auf 'Uncategorized' festgelegt -
RE: Newbie trying to compile a sketch/installing mysensors library
Think, the description is a bit confusing. Watched the video and copied Arduino-master.zip´s directory libraries to /user/documents/arduino/libraries and c:\program files(x86)\arduino\libraries.
Now on compiling I get the following (german) message:
WARNUNG: Kategorie '' in der Bibliothek UIPEthernet ist ungültig und wird auf 'Uncategorized' festgelegt
WARNUNG: Kategorie '' in der Bibliothek UIPEthernet ist ungültig und wird auf 'Uncategorized' festgelegt
Mehrere Bibliotheken wurden für "MsTimer2.h" gefunden
Benutzt: C:\Users\R\Documents\Arduino\libraries\MsTimer2
Nicht benutzt: F:\Program Files (x86)\Arduino\libraries\MsTimer2
Mehrere Bibliotheken wurden für "DigitalIO.h" gefunden
Benutzt: C:\Users\R\Documents\Arduino\libraries\DigitalIO
Nicht benutzt: F:\Program Files (x86)\Arduino\libraries\DigitalIO
Mehrere Bibliotheken wurden für "MySigningNone.h" gefunden
Benutzt: C:\Users\R\Documents\Arduino\libraries\MySensors (used)
Nicht benutzt: F:\Program Files (x86)\Arduino\libraries\MySensors (not used)
Nicht benutzt: F:\Program Files (x86)\Arduino\libraries\MySensors
Nicht benutzt: F:\Program Files (x86)\Arduino\libraries\MySensors
Nicht benutzt: F:\Program Files (x86)\Arduino\libraries\MySensors -
Newbie trying to compile a sketch/installing mysensors library
Hello,
I´m trying to build my first mqtt-Gateway using an arduino nano V3 clone and a ethernet W5100 shield.
Downloaded the arduino-master.zip and unzipped it into the sketchbook directory. But, arduino IDE tells me on startup that it´s not a valid library.
Afterwards I tried to use codebender on chrome. By clicking the run on arduino button, codebender tells me the same like the Arduino IDE itself:
"(sketch file) MQTTGateway.ino:77:10: fatal error: 'DigitalIO.h' file not found
#include <DigitalIO.h>
^
1 error generated."Little help would be great...