Need urgent help for mysensors pugin.
Yesterday I detected that pimatic-mysensors isn’t working anymore. Before it works fine over month. The only thing I can remember is that I updated the plugin to 0.8.35. But going back to 0.8.34 (I have a backup of this) didn’t help. I use a serial gateway connected via USB and some sensors. On another USB port a homeduino gateway is working very well.
Arduino logging shows normal behavior, means sensors are connecting to gateway and report their values. Pimatic logfile shows not very much, only this:
21:50:27.421 2016-12-01 Thursday
21:50:32.059 [pimatic] info: Starting pimatic version 0.9.37
21:50:33.059 [pimatic] debug: settings.debug is true, showing debug output for pimatic core.
21:50:34.881 [pimatic, ppm] info: 2.15.11
...
21:50:37.366 [pimatic] info: Loading plugin: "pimatic-mysensors" (0.8.35)
…
21:50:38.463 [pimatic-mysensors] debug: initializing SerialPortDriver
21:50:38.830 [pimatic-mysensors] info: Connected to MySensors Gateway.
…
21:50:39.217 [pimatic-mysensors] debug: MySensorsBattery MS-Battery MS-Batterylevel
21:50:39.221 [pimatic] info: New device "MS-Batterylevel"...
21:50:39.248 [pimatic-mysensors] debug: MySensorsPIR PIR11 MS11-PIR false
21:50:39.252 [pimatic] info: New device "MS11-PIR"...
21:50:39.275 [pimatic-mysensors] debug: MySensorsDHT DHT11 MS12-DHT11
21:50:39.278 [pimatic] info: New device "MS12-DHT11"...
…
Config.json:
{
"plugin": "mysensors",
"driver": "serialport",
"startingNodeId": 1,
"driverOptions": {
"serialDevice": "/dev/ttyUSB1",
"baudrate": 115200
},
"debug": true,
"active": true,
"protocols": "1.5.1"
},
Here some output from dmesg:
[ 3.069694] usb 1-1.3: new full-speed USB device number 5 using dwc_otg
[ 3.182847] usb 1-1.3: New USB device found, idVendor=1a86, idProduct=7523
[ 3.185752] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 3.185761] usb 1-1.3: Product: USB2.0-Serial
[ 4.495268] usb 1-1.3: ch341-uart converter now attached to ttyUSB1
(Looks similar to ttyUSB0 which is used for homeduino)