Pimatic doesnt receive any signal
-
Hi,
1-I installed Pimatic.
2-I installed Serial Gateway on the Arduino Nano.
3-I installed the Light sketch from MySensors on the Nano.Pimatic logs look like below. It seems it doesnt receive any signal.
I think there is someting wrong with the USB port...
Are my USB port settings correct?
{
"plugin": "mysensors",
"driver": "serialport",
"protocols": "1.5.1",
"startingNodeId": 1,
"driverOptions": {
"//": "'/dev/ttyACM1' if using serial Gateway",
"serialDevice": "/dev/ttyMySensorsGateway",
"baudrate": 115200
}
}PIMATIC LOG
2016-04-05 19:23:46info [pimatic]: Listening for HTTP-request on port 80...
19:23:46info [pimatic-mobile-frontend]: rendering html finished
19:23:20info [pimatic-mobile-frontend]: rendering html
19:23:20info [pimatic-mobile-frontend]: packing static assets finished
19:23:18info [pimatic-mobile-frontend]: packing static assets
19:23:18info [pimatic]: New device "Light"...
19:23:08info [pimatic-cron]: the time is: Tue Apr 05 2016 14:23:08 GMT-0200 (GMT+2)
19:23:08info [pimatic]: Loading plugin: "pimatic-mysensors" (0.8.25)
19:23:02info [pimatic]: Loading plugin: "pimatic-mobile-frontend" (0.8.82)
19:22:59
-
First check where your usb device is.
Open the terminal and type:
ls -l /dev/ttyU*
You should see something like:
crw-rw---- 1 root dialout 188, 0 Apr 6 18:36 /dev/ttyUSB0 crw-rw---- 1 root dialout 188, 1 Apr 6 07:00 /dev/ttyUSB1
In my case it is
/dev/ttyUSB1
(other one is my homeduino).add this to the plugins:
{ "plugin": "mysensors", "driver": "serialport", "protocols": "1.5.1", "driverOptions": { "serialDevice": "/dev/ttyUSB1", "baudrate": 115200 } },
Then start pimatic and see if you can find the connected message:
Connected to MySensors Gateway
-
This can probably marked as solved in http://forum.mysensors.org/topic/797/pimatic-mysensors-controller-plugin/85 ?