Vera Edge almost working with serial gateway
-
I've gotten past "radio init fail" and "device not detected" thanks to the forums but Inclusion still fails.
Vera Edge 1.7.1707 Arduino Nano NRF24L01+ (tested with TMRh20/RF24 Libray and code)
Connected to vera UBS with a four port powered usb hub.I'm questioning two log messages:
luup_log:31: Arduino: Incoming internal command '0;0;3;0;2;1.5.4' discarded for child: nil <0x75133520>
ftdi_sio ttyUSB0: no of_node; not parsing pinctrl DT
In Vera:
tail -f LuaUPnP.log | egrep "(device: 31|Arduino|USB)"//>develop apps >Serial Port Configuration>save
20785 root 1708 S egrep (device: 31|Arduino|USB)
17451 root 1708 S /bin/sh -c ser2net -n -C "3481:raw:0:/dev/ttyUSB0:115200 1STOPBIT NONE"
17452 root 848 S ser2net -n -C 3481 raw 0 /dev/ttyUSB0 115200 1STOPBIT NONE
20785 root 1708 S egrep (device: 31|Arduino|USB)
[30229.370000] ftdi_sio 1-1.1:1.0: FTDI USB Serial Device converter detected
[30229.380000] ftdi_sio ttyUSB0: no of_node; not parsing pinctrl DT
[30229.440000] usb 1-1.1: FTDI USB Serial Device converter now attached to ttyUSB0
06 03/04/16 10:37:33.551 Device_Variable::m_szValue_set device: 31 service: urn:micasaverde-com:serviceId:HaDevice1 variable: IODeviceXRef was: 37 now: 37 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x77c95320>
06 03/04/16 10:37:33.551 Device_Variable::m_szValue_set device: 31 service: urn:micasaverde-com:serviceId:HaDevice1 variable: IOPortPath was: /dev/ttyUSB0 now: /dev/ttyUSB0 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x77c95320>
50 03/04/16 10:37:41.201 luup_log:31: Arduino plugin: loading library L_Arduino ... <0x77533520>
50 03/04/16 10:37:41.226 luup_log:31: Arduino plugin: library L_Arduino loaded <0x77533520>
50 03/04/16 10:37:41.226 luup_log:31: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,PluginVersion, 1.5, 31 <0x77533520>
50 03/04/16 10:37:41.227 luup_log:31: Arduino: Trying for a serial connection <0x77533520>
50 03/04/16 10:37:41.227 luup_log:31: Arduino: Serial port is connected <0x77533520>
50 03/04/16 10:37:41.228 luup_log:31: Arduino: Baud is 115200 <0x77533520>
50 03/04/16 10:37:41.229 luup_log:31: Arduino: Sending: 0;0;3;0;2;Get Version <0x77533520>
02 03/04/16 10:37:41.236 luup_log:31: Arduino: Incoming internal command '0;0;3;0;2;1.5.4' discarded for child: nil <0x75133520>
08 03/04/16 10:38:17.741 JobHandler_LuaUPnP::HandleActionRequest device: 31 service://start inclusion.
urn:upnp-arduino-cc:serviceId:arduino1 action: StartInclusion <0x75533520>
50 03/04/16 10:38:17.744 luup_log:31: Arduino: Sending: 0;0;3;0;5;1 <0x77c95320>
50 03/04/16 10:38:17.750 luup_log:31: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionMode, 1, 31 <0x75133520>
06 03/04/16 10:38:17.751 Device_Variable::m_szValue_set device: 31 service: urn:upnp-arduino-cc:serviceId:arduino1 variable: InclusionMode was: 0 now: 1 #hooks: 0 upnp: 0 skip: 0 v:0xa18a00/NONE duplicate:0 <0x75133520>
50 03/04/16 10:38:17.751 luup_log:31: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, 0 devices found, 31 <0x75133520>
06 03/04/16 10:38:17.752 Device_Variable::m_szValue_set device: 31 service: urn:upnp-arduino-cc:serviceId:arduino1 variable: InclusionFoundCountHR was: now: 0 devices found #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x75133520>
50 03/04/16 10:39:17.749 luup_log:31: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionMode, 0, 31 <0x75133520>
06 03/04/16 10:39:17.750 Device_Variable::m_szValue_set device: 31 service: urn:upnp-arduino-cc:serviceId:arduino1 variable: InclusionMode was: 1 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0xa18a00/NONE duplicate:0 <0x75133520>
50 03/04/16 10:39:17.754 luup_log:31: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, , 31 <0x75133520>
06 03/04/16 10:39:17.755 Device_Variable::m_szValue_set device: 31 service: urn:upnp-arduino-cc:serviceId:arduino1 variable: InclusionFoundCountHR was: 0 devices found now: #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x75133520>
50 03/04/16 10:39:17.756 luup_log:31: Arduino: Inclusion mode ended. <0x75133520>//Devices >settings >New Sevice > Restart Engine
20785 root 1708 S egrep (device: 31|Arduino|USB)
21293 root 1708 S /bin/sh -c ser2net -n -C "3481:raw:0:/dev/ttyUSB0:115200 1STOPBIT NONE"
21294 root 848 S ser2net -n -C 3481 raw 0 /dev/ttyUSB0 115200 1STOPBIT NONE
[30229.370000] ftdi_sio 1-1.1:1.0: FTDI USB Serial Device converter detected
[30229.380000] ftdi_sio ttyUSB0: no of_node; not parsing pinctrl DT
[30229.440000] usb 1-1.1: FTDI USB Serial Device converter now attached to ttyUSB0
06 03/04/16 10:39:57.975 Device_Variable::m_szValue_set device: 31 service: urn:micasaverde-com:serviceId:HaDevice1 variable: IODeviceXRef was: 37 now: 37 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x77ec4320>
06 03/04/16 10:39:57.976 Device_Variable::m_szValue_set device: 31 service: urn:micasaverde-com:serviceId:HaDevice1 variable: IOPortPath was: /dev/ttyUSB0 now: /dev/ttyUSB0 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x77ec4320>
50 03/04/16 10:40:04.201 luup_log:31: Arduino plugin: loading library L_Arduino ... <0x77763520>
50 03/04/16 10:40:04.226 luup_log:31: Arduino plugin: library L_Arduino loaded <0x77763520>
50 03/04/16 10:40:04.226 luup_log:31: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,PluginVersion, 1.5, 31 <0x77763520>
50 03/04/16 10:40:04.227 luup_log:31: Arduino: Trying for a serial connection <0x77763520>
50 03/04/16 10:40:04.227 luup_log:31: Arduino: Serial port is connected <0x77763520>
50 03/04/16 10:40:04.228 luup_log:31: Arduino: Baud is 115200 <0x77763520>
50 03/04/16 10:40:04.229 luup_log:31: Arduino: Sending: 0;0;3;0;2;Get Version <0x77763520>
02 03/04/16 10:40:04.236 luup_log:31: Arduino: Incoming internal command '0;0;3;0;2;1.5.4' discarded for child: nil <0x75363520>root@MiOS_45013463:/tmp/log/cmh# lsusb
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 014: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
root@MiOS_45013463:/tmp/log/cmh#
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login