This page last changed on Jan 07, 2014 by landlingerg.

Hello

I work since 1 Week with the Openremote Project!
I like it very much.

1. Install the Controller at my Synology DS211j - it works after 10 hours read and try.
2. I define my first KNX Buttons with the Open Remote Designer. It also Works well.
3. now my problem ist that i use Vimar and this system is a litte be different to EIB.
I'm sorry but i do not know the details about the Differences and i can not find good information with google. That's why i try to write my problem here in the forum and hope for help.

Following Things i tried and it work.
Define a new command for Light ON and OFF with DPT 1.001 an it work with 2 Buttons in the UI.
When i try it with the sensor and the Switch it doesn't work. I think Vimar use other Status Requests than Standard EIB.

The same Problem i have with the Dimmer. It work with 2 Buttons but not over the Slider.

Is there anybody who tried to control a Vimar By-Me System with the Openremote Project and can Help me with it?

Is it possible to read the STATUS answer from the Vimar System after press the switch?
Can i Use the custom define for different answers?

Best regards
Günther

When i try it with the sensor and the Switch it doesn't work.
//
Sure. Writing rules unfortinately is not that simple as attaching Command to a Button.
Günther, I have been working with OpenRemote Java during 2 months and still have questions about "Switch" structure.
But I can try to help you. Call my Skype: novoster.

Posted by sattva at Jan 08, 2014 00:57

What exactly is the device you want to control?

Posted by mredeker at Jan 08, 2014 08:41

http://www.vimar.us/en/us with an Gira 1030 00 IP Router

Posted by landlingerg at Jan 08, 2014 16:31

That URL does not show any actuators.

Posted by mredeker at Jan 08, 2014 19:09

http://www.vimar.com/de/int/catalog/product/index/liv/L1200/code/01851.2

Posted by landlingerg at Jan 08, 2014 19:44

Thanks. Looks like this is a KNX device which operates in either "A-mode" or "E-mode" which means you don't need an ETS to configure it, right?
Do you have an ETS? Maybe you can start a bus monitor and see if the device is sending any status package on the bus after a switch operation.
OpenRemote currently needs an explicit group address where it can sent a read request to, to receive the switch status.

Posted by mredeker at Jan 08, 2014 19:54

Yes it is correct i configure the system with the vimar screen!
Is it possible that the Status Message only displayed with ets?
I sniffed the comunication with the open remote light ap and can't see any Request after pressing the light button!

I try to get ETS

Thanks for your help!

Posted by landlingerg at Jan 08, 2014 20:12

Status message are normal bus message and have nothing todo with ETS.
You should be able to use ETS Light to monitor the bus.

Posted by mredeker at Jan 08, 2014 20:26

Did the following informations help you?
ETS - groupemonitoring:

  1. Time Service Flags Prio Source.addr Dest.addr Rout Type DPT Info Iack MediumInfo
    2 2014-01-09 02:00:46.111 from bus Urgent 1.1.170 1/4/51 6 Write 1 Byte $01 | 0,4 % LL_ACK
    3 2014-01-09 02:00:52.143 from bus Normal 1.1.8 1/5/233 6 Write Raw (up to 6 bit) $01 LL_ACK
    4 2014-01-09 02:00:56.269 from bus Normal 1.1.8 1/5/233 6 Write Raw (up to 6 bit) $00 LL_ACK
    5 2014-01-09 02:01:00.832 from bus Normal 1.1.8 1/5/233 6 Write Raw (up to 6 bit) $01 LL_ACK
    6 2014-01-09 02:01:04.285 from bus Normal 1.1.8 1/5/233 6 Write Raw (up to 6 bit) $00 LL_ACK
    7 2014-01-09 02:01:06.097 from bus Urgent 1.1.170 1/4/51 6 Write 1 Byte $01 | 0,4 % LL_ACK
    8 2014-01-09 02:01:07.723 from bus Normal 1.1.8 1/5/233 6 Write Raw (up to 6 bit) $01 LL_ACK
    9 2014-01-09 02:01:08.551 from bus Urgent 1.1.170 1/4/122 6 Read LL_ACK
    10 2014-01-09 02:01:08.567 from bus Normal 1.1.14 1/4/122 6 Write 4 Byte 18 64 80 5A | 2,953311E-24 LL_ACK
    11 2014-01-09 02:01:12.145 from bus Normal 1.1.8 1/5/233 6 Write Raw (up to 6 bit) $00 LL_ACK

Could it be that the Problem is the Gira IP Router 1030 00 (instabus EIB System)?
I can't start the Bus Monitor because the Software do not accept the Gira Router!

regards
Günther

Posted by landlingerg at Jan 09, 2014 01:14

What are the differen group addresses (1.1.170, 1.1.8 and 1.114)?
Which software are you refering to? ETS can use Gira IP Router.

Posted by mredeker at Jan 09, 2014 09:21

1.1.8 is the address from the Switch i try to use with openremote.

1.1.170 and 1.1.14 -> i do not know which devices are send it! It could be that the Control Device from Vimar send this Information periodical.

I think i make a call direct to vimar and ask they if the vimar System give back a Status message after press a Switch!

You are really sure that the Gira IP Router can't be the Problem! Is it possible to config the Gira IP Router?

Posted by landlingerg at Jan 09, 2014 15:18

I don't have a GIRA but I have a Siemens and also tested MDT. I think GIRA and Siemens are almost identical.
But I never used the GIRA yet.

Posted by mredeker at Jan 09, 2014 21:05

Hi marcus,

I solved the first problem with the status now after a lot of try and error analyses.

The gira knx router blocked some comunication. With ets4 i configured the router new without any filter settings.

But now i have a new very confused problem.
When i press the vimar light switch in the kitchen i get back the status in the UI from openremote.
When i press the switch UI at the ipad it doesn't work. The light goes with the first press on. The status doesn't switch and it block.
I have check the switch control 100 times again but i can't find any misstake!

With the openremote light app at my iphone it works nearly perfect.

Regards
Günther

Posted by landlingerg at Jan 09, 2014 21:19

It looks like that openremote do not get any information back when i press the Light Switch in the Open Remote UI.

When i define a normal button with the control to switch on the Light i also get back no status.

With Openremote Light it works!

Aaaaaaaaaaaaaaaahhhhh

I hope you have an idea

Posted by landlingerg at Jan 09, 2014 21:26

Quick round-up for a working KNX switch in OpenRemote:

  • 1 command "Switch on" with DPT1.001 and command "on" and the appropriate group address
  • 1 command "Switch off" with DPT1.001 and command "off" and the same group address
  • 1 command "Switch state" with DPT1.001 and command "status" and the group address where the status is send from the actuator
  • 1 sensor "Switch sensor" using sensor type "switch" and the "Switch state" command
  • 1 switch "My Switch" using the "Switch sensor" and the commands "Switch on" and "Switch off"

Those are all created in the building modeler part of the designer.
Now you switch into the ui designer create a panel and drag a switch ui object onto it.
The switch UI object is linked to the switch "My switch" which was created earlier.

This way if the wall switch fires the actuator and the actuator updates the status OpenRemote should know the status and update the UI.
Maybe your actuator does not send a status update by itself?

Posted by mredeker at Jan 09, 2014 21:28

The problem is that my actors use the same groupeadress for all.
On off and status.
I tryed it with the same information as you.

Is it possible to get a solution with the rules?

Eg:
1. When press the button send light on and change the status of the UI switch to on.
2. when press the button send light off and change the status of the UI switch to off.

It would be an easy way to have a solution for this problem and the status is false max for one event, and i could use the Switch function instead 2Buttons.

Posted by landlingerg at Jan 09, 2014 23:03

You should then have the switch control an in-memory variable (Virtual Protocol) and rules that react on that and send the light on / off commands.
It's been described in the forums before for IR control and the likes.

Posted by ebariaux at Jan 10, 2014 08:08

Hello

I tryed it with the Virtual Protocol but it doesn't work.

Now i made detailed check of the log files!

I use the preview OpenRemote Designer.

I think with my vimar System the normal Switch should be work but i get following message in the xmlparser.log File:
I also have the same problem with the Virtual Switch with the rule!!

DEBUG 2014-01-11 02:43:14,595 (XML): A switch sensor (Name = 'kueche licht sensor', ID = 3694737) has an incomplete <state> element mapping, the value attribute is missing in <state name = on/>.
DEBUG 2014-01-11 02:43:14,595 (XML): A switch sensor (Name = 'kueche licht sensor', ID = 3694737) has an incomplete <state> element mapping, the value attribute is missing in <state name = off/>.
DEBUG 2014-01-11 02:46:23,689 (XML): A switch sensor (Name = 'kueche licht sensor', ID = 3694737) has an incomplete <state> element mapping, the value attribute is missing in <state name = on/>.
DEBUG 2014-01-11 02:46:23,689 (XML): A switch sensor (Name = 'kueche licht sensor', ID = 3694737) has an incomplete <state> element mapping, the value attribute is missing in <state name = off/>.
DEBUG 2014-01-11 02:47:28,126 (XML): A switch sensor (Name = 'kueche licht sensor', ID = 3694737) has an incomplete <state> element mapping, the value attribute is missing in <state name = on/>.
DEBUG 2014-01-11 02:47:28,126 (XML): A switch sensor (Name = 'kueche licht sensor', ID = 3694737) has an incomplete <state> element mapping, the value attribute is missing in <state name = off/>.

When i press the switch from the Vimar Bussystem i can see the change of the STATUS in the Label Field of the UI.
Is there any workaround to also can switch the state from the knx command STATUS over the rules???
Then i could work with two buttons and the STATUS Label.

What's the problem that i do not get the answer from the bus system when i use the OpenRemote UI???
It is crazy.

Is it possible to define a specific rule with which i can make a request to my VIMAR KNX Actor with the x.x.x Adress?

Sorry for a lot of questions!
Thanks for your help

Posted by landlingerg at Jan 11, 2014 02:08

Thanks for our help but after a call with a technican person from vimar the problem is now clear.

The vimar knx system do not give back a status answer from the actor!
I sniffed it with ets4 and it is correct. That's why i had problems with the sensor switches.

Now i solved the problem with two buttons. One for on and one for off. Additionally i made a label per on/off group in which the last status from vimar is shown. This statul label will be updated with every action at the vimar system.

Best Regards günther

Posted by landlingerg at Jan 11, 2014 22:43

Hi Günther,

may I ask you how did you manage to do Vimar By-Me bus monitoring with ETS4? Do you need a specific KNX IP interface or the Vimar Web Server 01945 would be fine?

Thanks

Posted by curo at Apr 10, 2014 11:23

Hi Fabrizio,

I use a Gira KNX Gateway to read and talk to the vimar "knx" System.
(Gira IP Router 1030-00 Artikel-Nr.:1030 00
Yes you need it that you can communicate with the vimar system.

For ETS you need the config File from the Gira Website! Then you can sniff the traffic from the Vimar System with ETS.

The problem with the vimar system is to get status requests from the actors! This is not really possible.
You have to work with virtual switches.

I do not have the Vimar Web Server -> In my opinion it is to expensive!
I do not know whether OpenRemote can communicate with the Vimar Web Server.

regards
Günther

Posted by landlingerg at Apr 10, 2014 14:54

Hi Günther,

thanks for your prompt reply!

You're right, the Vimar web server is too expensive and the software is poor, that's the reason I'm trying to build up my own interface.
I did some testing with it but looks like that ETS does not recognize it.
I think I'll buy the Gira IP Router.

thanks a lot.

regards
Fabrizio

Posted by curo at Apr 10, 2014 18:57
Document generated by Confluence on Jun 05, 2016 09:39