Mysensors 1.4 not connecting to V3.5241

Moderator: leecollings

Post Reply
hahi
Posts: 12
Joined: Wednesday 08 April 2015 18:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Mysensors 1.4 not connecting to V3.5241

Post by hahi »

After a recent upgrade, mysensors serial GW will no longer connect and I can't see the gateway version on the hardware setup page. Is mysensosrs 1.4 still supported? If so, how should I debug this gateway connection issue?

The log output is below. I can see the gateway is reset when I try and update the hardware setting for the GW.

Code: Select all

2016-06-14 11:15:20.498 Domoticz V3.5241 (c)2012-2016 GizMoCuz
2016-06-14 11:15:20.505 Build Hash: 141e2b2, Date: 2016-06-13 01:42:30
2016-06-14 11:15:20.506 System: Raspberry Pi
2016-06-14 11:15:20.507 Startup Path: /home/pi/domoticz/
2016-06-14 11:15:22.257 EventSystem: reset all events...
2016-06-14 11:15:22.315 WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2016-06-14 11:15:22.360 WebServer(SSL) started on address: 0.0.0.0 with port 443
2016-06-14 11:15:22.368 Proxymanager started.
2016-06-14 11:15:22.373 Camera: settings (re)loaded
2016-06-14 11:15:22.382 TCPServer: shared server started...
2016-06-14 11:15:22.383 RxQueue: queue worker started...
2016-06-14 11:15:24.334 Incoming connection from: 172.16.10.208
2016-06-14 11:15:24.391 Hardware Monitor: Started
2016-06-14 11:15:24.396 EventSystem: reset all events...
2016-06-14 11:15:24.400 EventSystem: reset all device statuses...
2016-06-14 11:15:24.406 EventSystem: Started
2016-06-14 11:15:25.398 MySensors: Using serial port: /dev/ttyUSB0
2016-06-14 11:19:33.564 Incoming connection from: 172.16.10.211
2016-06-14 12:00:00.280 Starting automatic database backup procedure...
2016-06-14 23:00:01.696 Ending automatic database backup procedure...
2016-06-14 23:38:24.340 User: Admin initiated a switch command
2016-06-14 23:45:06.000 1-Wire support available (By Kernel)...
2016-06-14 23:45:16.901 MySensors: Serial Worker stopped...
2016-06-14 23:45:17.925 MySensors: Using serial port: /dev/ttyUSB0 
User avatar
gizmocuz
Posts: 2486
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Mysensors 1.4 not connecting to V3.5241

Post by gizmocuz »

Do you have multiple USB devices connected? Are you sure ttyUSB0 is your MySensors gateway ?
Quality outlives Quantity!
hahi
Posts: 12
Joined: Wednesday 08 April 2015 18:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Mysensors 1.4 not connecting to V3.5241

Post by hahi »

Yes, there is only one USB device attached and it has been that way since I upgraded to 1.4 over a year ago. Any additional debugs to enable to confirm if the startup message is read from the gateway and it domoticz is able to request the gateway version successfully?

Code: Select all

pi@raspberrypi ~ $ dmesg | grep -i ttyUSB
[    4.894732] usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB0
hahi
Posts: 12
Joined: Wednesday 08 April 2015 18:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Mysensors 1.4 not connecting to V3.5241

Post by hahi »

idk. I may have a bad power supply. I reset my gateway several times and can now see the startup messages in the logs.

cheers

Code: Select all

2016-06-15 16:49:57.768  MySensors: Gateway Ready...
2016-06-15 16:49:57.845  MySensors: Gateway Version: 1.4.1
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest