basic plugwise setup for domotiga?

Plugwise Forum about Plugwise devices and the Source software.
Post Reply
markvdm
Starting Member
Starting Member
Posts: 9
Joined: Wed Aug 04, 2010 10:56 pm
Location: België

basic plugwise setup for domotiga?

Post by markvdm »

In domotiga, I connect a Circle+ via the usb, (plugwise is running fine on windows)
I take the macaddress from the label (000D6F000076xxxx) on the circle+
In the interface setup, I choose /dev/ttyUSB0 as the port. Logging says:2010/08/11 19:40:42 Plugwise support enabled.
2010/08/11 19:40:42 Plugwise interface connected to Port /dev/ttyUSB0
Then I add a device, but debug says:
2010/08/11 19:42:13 [Plugwise] GetDeviceInfo() didn't get expected answer.
2010/08/11 19:42:13 [Plugwise] checking power usage of device 'Bostoen test' with address 000D6F00007295D9
2010/08/11 19:42:13 [Plugwise] MAC: 000D6F00007295D9
2010/08/11 19:42:13 [Plugwise] String: 0026000D6F00007295D9 CRC: 71C5
2010/08/11 19:42:13 [Plugwise] Write: 0026000D6F00007295D971C5
2010/08/11 19:42:14 [Plugwise] GetPowerInfo() didn't get expected answer for address '000D6F00007295D9' result was ''

any idea where to look for a solution?
that would be greatly appreciated.
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Re: basic plugwise setup for domotiga?

Post by Bwired »

Which version Plugwise Firmware are you using?
markvdm
Starting Member
Starting Member
Posts: 9
Joined: Wed Aug 04, 2010 10:56 pm
Location: België

Re: basic plugwise setup for domotiga?

Post by markvdm »

The plugwise GUI mentions 2.15 (20100328) in the header.
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Re: basic plugwise setup for domotiga?

Post by Bwired »

I think that is your problem, I'm not sure but I think your firmware (>= 2.0) is not supported yet.
Ron can tell more if I'm right.
check also this topic
domoticaforum.eu/viewtopic.php?f=39&amp ... amp;t=4319
markvdm
Starting Member
Starting Member
Posts: 9
Joined: Wed Aug 04, 2010 10:56 pm
Location: België

Re: basic plugwise setup for domotiga?

Post by markvdm »

That's a pity,

I'm asked toset up monitor for some demo houses for a Belgian building company and I planned to use Domotiga to achieve this. I guess I'll have to follow the forum and wait for a new version?
I'am more than happy to spend time into this but reverse engineering a protocol is not my cup of tea.
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: basic plugwise setup for domotiga?

Post by RDNZL »

I will build version 2 support if I can get my hands on some protocol info.
Regards, Ron.
j.hoekstra
Member
Member
Posts: 255
Joined: Thu Jun 25, 2009 2:09 pm
Location: Enschede, The Netherlands

Re: basic plugwise setup for domotiga?

Post by j.hoekstra »

In this thread mdamen has done some work and he seems to have his document under review(by plugwise perhaps?).
After that it seems he's allowed to publish it, might be worth waiting for that ;)
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Re: basic plugwise setup for domotiga?

Post by Bwired »

RDNZL wrote:I will build version 2 support if I can get my hands on some protocol info.
Start working Ron :D
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: basic plugwise setup for domotiga?

Post by RDNZL »

I have implemented support for the new firmware in version 0.1.184 look domoticaforum.eu/viewtopic.php?f=38&amp ... 679#p41679 here for more info.
Regards, Ron.
markvdm
Starting Member
Starting Member
Posts: 9
Joined: Wed Aug 04, 2010 10:56 pm
Location: België

Re: basic plugwise setup for domotiga?

Post by markvdm »

Thanks for the support.
and sorry for the late reply. I'll try to do the testing later this week or next week the latest.
markvdm
Starting Member
Starting Member
Posts: 9
Joined: Wed Aug 04, 2010 10:56 pm
Location: België

Re: basic plugwise setup for domotiga?

Post by markvdm »

Nope, still struggling.
Hopefully it's a lack of linux knowledge.

When I enter the Plugwise stick I get following result:

on linux:

Code: Select all

domotiga@domotiga:-$ lsusb
...
Bus 005 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
...

Code: Select all

domotiga@domotiga:-$ dmesg
...
[ 2...] usb 5-2: new full speed USB device using uhci_hcd and address 2
[ 2...] usb 5-2: configuration #1 chosen from 1 choice
[ 2...] usbcore: registered new interface driver usbserial
...
[ 2...] FTDI USB Serial Device converter now attached to ttyUSB0
...
within domotiga:

Tools > Serial Ports: a serial device /dev/ttyUSB0, in use by (unassigned) is added.
Setup > Interfaces > Plugwise: Serial port is set to /dev/ttyUSB0, Module enabled, Debug active, Firmware = 2009 (see screenshot1)
Devices > Plugwise device configured correctly (see screenshot2)

However Debugging info shows that GetPowerInfo() only gets an empty response.
When I use Tools > Serial Monitor, undefined characters scroll through the screen.

I assume the stick is receiving data from the circle+ device? It works fine on windows, using the proprietary software from Plugwise.
Where do I start debugging?

many thanks for the support so far!!
Post Reply

Return to “Plugwise Forum”