@DaanDW
i do am able to communicate with the hardware and a windows machine running nikobus software. so that part is ok i think.
but maybe my drivers are not working properly once connected to the RPi3, and i’m not sure how to test for that
i also tried to unplug the cable from the 05-207 module and restarted, the pc-link is still seen have “online” so it seems that this info only rely on the fact that openhab can access the /dev/ttyUSB0.
i just upgraded to openHAB 2.5.0~S1738-1 (Build #1738), and did the install threw the paperUI.
then copied my 2 config files in /etc/openhab2/things/nikobus.things & /etc/openhab2/items/nikobus.items
i missed the trick about inverting the address bytes, so just to be sure i declared things with both the original and switched adress.
.items is
Dimmer Light_Salle_a_manger “Ceiling” (FF_PlayRoom, Lights) [ “Lighting” ] { channel=“nikobus:dimmer-module:mypclink:d1:output-1” }
Dimmer Light_Prises_salon “Ceiling” (FF_PlayRoom, Lights) [ “Lighting” ] { channel=“nikobus:dimmer-module:mypclink:d1:output-2” }
Dimmer Light_Salon1 “Ceiling” (FF_PlayRoom, Lights) [ “Lighting” ] { channel=“nikobus:dimmer-module:mypclink:d1:output-3” }
Dimmer Light_Salon2 “Ceiling” (FF_PlayRoom, Lights) [ “Lighting” ] { channel=“nikobus:dimmer-module:mypclink:d1:output-4” }
Switch Light_bureau_spots "BureauPA" (FF_PlayRoom, Lights) [ "Lighting" ] { channel="nikobus:switch-module:mypclink:s3:output-4" }
Rollershutter Volet_bureau_parking "VoletsPA" (GF_Corridor, gShuttersGF) { channel="nikobus:rollershutter-module:mypclink:r2:output-5" }
Rollershutter Volet_bureau_route "VoletsPA" (GF_Corridor, gShuttersGF) { channel="nikobus:rollershutter-module:mypclink:r2:output-6" }
and .things is
Bridge nikobus:pc-link:mypclink [ port = "/dev/ttyUSB0", refreshInterval = 25 ] {
Thing switch-module s3 [ address = "7830" ]
Thing switch-module s3bis [ address = "3078" ]
Thing push-button 183E76 "porte" [ address = "183E76", impactedModules = "switch-module:s3bis:4" ]
Thing push-button 1E64BA "bureau" [ address = "1E64BA", impactedModules = "switch-module:s3bis:4" ]
Thing push-button 763E18 "porte2" [ address = "763E18", impactedModules = "switch-module:s3bis:4" ]
Thing push-button BA641E "bureau2" [ address = "BA641E", impactedModules = "switch-module:s3bis:4" ]
}
i was previously using the notation Thing switch-module 3078 “s3” , but it seems the last update integrated the new structure.
my openhab user is part of the dialup group
as for the bundles installed i have :
203 | Active | 80 | 3.15.0.OH2 | nrjavaserial
204 | Active | 80 | 3.6.0 | Apache Commons Net
205 | Active | 80 | 2.5.0.201911020348 | openHAB Add-ons :: Bundles :: Network Binding
206 | Active | 80 | 2.5.0.201911020349 | openHAB Add-ons :: Bundles :: Nikobus Binding
207 | Active | 80 | 2.5.0.201911020316 | openHAB Core :: Bundles :: Configuration USB-Serial Discovery
208 | Active | 80 | 2.5.0.201911020316 | openHAB Core :: Bundles :: Configuration USB-Serial Discovery for Linux using sysfs scanning
209 | Active | 80 | 2.5.0.201911020317 | openHAB Core :: Bundles :: Configuration Serial
210 | Active | 80 | 2.5.0.201911020314 | openHAB Core :: Bundles :: Serial Transport
211 | Active | 80 | 2.5.0.201911020316 | openHAB Core :: Bundles :: Serial Transport for RXTX
212 | Active | 80 | 2.5.0.201911020316 | openHAB Core :: Bundles :: Serial Transport for RFC2217
even thow i only installed nikobus binding threw paper ui.
i’m still thinking i might be missing something on the serial transport part. is there any bundle, setup, config i should know about ?