14:30:33.710 [pimatic-johnny-five] error: [Board#1] Error: Port is not open
14:30:33.740 [pimatic-johnny-five] error: [Board#1] Board not ready: Port is not open
Unhandled rejection Error: Port is not open
crw-rw---- 1 root dialout 188, 0 feb 7 14:32 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 feb 7 14:38 /dev/ttyUSB1
homeduino NANO works 100% therefore USB is well chosen.
Tried With 3 different Raspberry Pi.
Pi Model B+ 512MB ARM11 Board not ready error
Pi 2 Model B 1GB BCM2836 Board not ready error
Pi 3 Model B 1GB BCM2837 works well tested 4 x NANO
Everything tested with the same settings and NANO
Also, with the same SD card and software.
node version v4.4.5
pimatic version 0.9.32
pimatic-johnny-five 0.9.11
pimatic-homeduino 0.9.8
{
"plugin": "johnny-five",
"boards": [
{
"id": "1",
"boardType": "arduino",
"port": "/dev/ttyUSB0",
"baudrate": 57600
}
]
},
{
"plugin": "homeduino",
"driver": "serialport",
"driverOptions": {
"serialDevice": "/dev/ttyUSB1",
"baudrate": 115200
},
"receiverPin": 0,
"transmitterPin": 3,
"enableReceiving": true,
"debug": true,
"active": true
}
{
"id": "relay-pin-13",
"name": "Relay 4B",
"class": "JohnnyFiveRelay",
"boardId": "1",
"pin": "13"
}