Hi I am a newby with OpenHAB;
I am currently using an early version of the Nikobus domotica-system (module 05-000-01); the pc-link module (05-200) to connect OpenHAB (via serial-port) to NikoBus, should not work with my early version of the NikoBus (according to the Niko technical services) - I did some testing and I can get it to work !
But there is a limitation; I can only simulated push-buttons; I cannot read the status of a channel ! I do not know when power is switched On or Off.
Currently I defined all channels on every Niko module twice:
---items----
/*Niko module Kanalen */
/*Schakel Module 1 - PROGRAMMED */
Switch Niko_Mod01_Chan01A "Mod 1 Kanaal 1 Aan" (Niko_Mod01, LichtenA) {nikobus="#N01010A"} //this is to switch Module 1 Channel 1 ON
Switch Niko_Mod01_Chan01U "Mod 1 Kanaal 1 Uit" (Niko_Mod01, LichtenU) {nikobus="#N010100"} //this is to switch Module 1 Channel 2 OFF
Switch Niko_Mod01_Chan02A "Mod 1 Kanaal 2 Aan" (Niko_Mod01, LichtenA) {nikobus="#N01020A"}
Switch Niko_Mod01_Chan02U "Mod 1 Kanaal 2 Uit" (Niko_Mod01, LichtenU) {nikobus="#N010200"}
....
---sitemap ----
Frame label="NikoBus with mappings" {
Text label="Niko Module 01"icon="nikobus"{
Switch item=Niko_Mod01_Chan01A label="Slaapkamer - voor raam" mappings=[ON=Aan] //switch ON
Switch item=Niko_Mod01_Chan01U label="- Uit" mappings=[ON=Uit] //switch OFF
Switch item=Niko_Mod01_Chan02A label="Slaapkamer - achter raam" mappings=[ON=Aan]
Switch item=Niko_Mod01_Chan02U label="- Uit" mappings=[ON=Uit]
....
I started from the existing demo sitemap and started deleting what I did not need; I kept everything what was in the persitence directory (did not edit anything).
The behaviour I want is no persistency; I just want to be able to switch a Channel on or off, whatever the current state .... The current behaviour is that because the persistency-mechanisme is working, it is not always reacting to a command, because it thinks it is already off or on (I think) - and the buttons will change color indicating the state .
How can I disable this and get the behaviour I want ?
regards
Chris