Hi All,
Can someone explane me what I am missing? I've installed on a MS windows machine, ubuntu 12.04 and the latest DomotiGa from SVN. from comandline I can see the plugwise dongle:
ferdi_vissers@VB-Domotica:~$ ls -al /dev/serial/by-id
total 0
drwxr-xr-x 2 root root 60 May 25 11:18 .
drwxr-xr-x 4 root root 80 May 25 11:18 ..
lrwxrwxrwx 1 root root 13 May 25 11:18 usb-FTDI_FT232R_USB_UART_A8009iF5-if00-port0 -> ../../ttyUSB0
ferdi_vissers@VB-Domotica:~$
in Domotiga I use these settings:
serial port = /dev/ttyUSB0
Polltime = 300
Firmware = 2010 (don't know if this is correct) everything is updated a couple of mouths ago)
the sysytem gives me the following message:
2012/05/25 11:57:37 Plugwise support enabled.
2012/05/25 11:57:37 Plugwise Error: Cannot open serial port (#5)
2012/05/25 11:57:37 ERROR: Plugwise interface FAILED to connect to Port /dev/ttyUSB0
Anyone who can point me in the right directory?
Best regards, Ferdi
getting plugwise working in DomotiGa under VirtualBox
Moderator: RDNZL
Re: getting plugwise working in DomotiGa under VirtualBox
How are the permissions set on /dev/ttyUSB0 ?
In my setup, they were set to root,dialout which meant that I had to add the user under which domotiga is running to the dialout group.
In my setup, they were set to root,dialout which meant that I had to add the user under which domotiga is running to the dialout group.
Re: getting plugwise working in DomotiGa under VirtualBox
the same as your's. ls -l /dev/tty* gives me:
crw-rw---- 1 root dialout 188, 0 May 29 10:35 /dev/ttyUSB0
would you help me out with this. with userright I always make a mess off it.
Ferdi
crw-rw---- 1 root dialout 188, 0 May 29 10:35 /dev/ttyUSB0
would you help me out with this. with userright I always make a mess off it.
Ferdi
Re: getting plugwise working in DomotiGa under VirtualBox
Hi wwolkers,wwolkers wrote:How are the permissions set on /dev/ttyUSB0 ?
In my setup, they were set to root,dialout which meant that I had to add the user under which domotiga is running to the dialout group.
it looks like that my setting are the same. ls -l /dev/tty* gives me this ( I already did a chmod 66 )
crw-rw-rw- 1 root dialout 188, 1 May 29 10:35 /dev/ttyUSB1
Can you help me out with this? I am not good with userright settings.
Br, Ferdi
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
Re: getting plugwise working in DomotiGa under VirtualBox
Read from left to right, the first 'crw' are for user 'root' the second 'rw' from group dialout, the last 'rw' for 'other'
So you should be able to read and write to it with a user who is not root and a user who is not part of group dialout.
Because of udev, these device are created dynamically, so you manual chmod steps are lost if this usb device is unplugged, system rebooted.
Try to add your user to group dialout for example.
So you should be able to read and write to it with a user who is not root and a user who is not part of group dialout.
Because of udev, these device are created dynamically, so you manual chmod steps are lost if this usb device is unplugged, system rebooted.
Try to add your user to group dialout for example.
Code: Select all
useradd -G dialout <user>
Regards, Ron.
Re: getting plugwise working in DomotiGa under VirtualBox
Thanks for this. I understand the rights for 'root' and for 'dialout'. 188 would be 'user i guess.
I added the username that i was using to the group 'dialout' and now the USB stick is correctly detected in DG. I know have a plugwize (zigbee) network and a Z-stick S2 (z-wave). going to find out how I get the rest working.
Br, Ferdi
I added the username that i was using to the group 'dialout' and now the USB stick is correctly detected in DG. I know have a plugwize (zigbee) network and a Z-stick S2 (z-wave). going to find out how I get the rest working.
Br, Ferdi