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.
blebbens
Posts
-
Choosing the right controller, how -
Choosing the right controller, howI 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.
-
Choosing the right controller, howOk, thanks.
And, how does domoticz handle this? Does it need special files, too?
-
Choosing the right controller, howAt 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 ? -
Problems with first sensorsThere 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. -
Problems with first sensorsHi,
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:OKNow 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 ?
-
Problems with first sensorsTried 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 aufgetretenSorry, did not find any logfile. I just want to use mysensors. Bought so many sensors.
-
Problems with first sensorsYes, chose arduino nano.
Blank sketches work fine, uploading is no problem. -
Problems with first sensorsNo...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 gatewayHi,
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 ?
-
Problems with first sensorsI 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 ?
-
Problems with first sensorshi,
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?
-
Problems with first sensorsSo, I have to delete CHILD_ID und change it to MY_NODE_ID?
Okay, reaching home today, perhaps. Hope, this works.
-
Problems with first sensorsThink, 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 ? -
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.
-
Problems with first sensorsFlashed 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 -
Problems with first sensorsNow 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=16 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.0And, 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:PDTThey 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 ?
-
Problems with first sensorsNo 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 ?
-
Problems with first sensorsOkay, 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:PDTAnd 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:OKMySensors debug:
8 16.07.2016 19:43:44 TX -1 -1 -1 -1 NA (-1) N/A NA (-1) -1 requiredNodes 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.0And 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.0Okay, hope, this helps now.
That´s strange, because there is no repeater... just a motion sensor sketch.
-
Problems with first sensorsOkay, 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:OKI 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 ?