However, when I ./start.sh
I got error below, "Z-Wave Serial Controller Z-Wave USB Stick with Serial Interface Status: OFFLINE - COMMUNICATION_ERROR Serial Error: Port /dev/ttyUSB0 does not exist"
The port for zwave binding 2.0 is normally set by using Paper UI or Habmin, not in a cfg file. That being said, the error you are seeing is more typical for a permissions problem on the serial port device file in /dev. Check that your permissions and groups are set correctly on /dev/ttyUSB0 for the user running openHAB.
You don’t mention what system you are running on. This information would be helpful if you continue to have problems.
$sudo usermod openhab -a -G dialout
Although I do not have much idea about openhab user.
As mostly I use user xiaomin, I also do,
$sudo usermod xiaomin -a -G dialout
Now, both users in dialout group,
$grep dialout /etc/group
dialout:x:20:openhab,xiaomin
However, when I ./start.sh
I still got error below, "Z-Wave Serial Controller Z-Wave USB Stick with Serial Interface Status: OFFLINE - COMMUNICATION_ERROR Serial Error: Port /dev/ttyUSB0 does not exist"
[FOLLOW UP] my configuration openhab.log observation paper UI status observation operation without openhab to include switch binary device
my configuration
Here is my configuration,
.items,
Switch Z_socket1 “Living Room” (Lights) {zwave=“5:command=SWITCH_BINARY”}
.things,
.zwave:aeon_dsc06_00_000:1 []
.sitemap
Switch item=Z_socket1
openhab.log observation
However, when I switch my Z_socket1, only shown these shown in log, 2016-03-23 18:51:48.020 [INFO ] [smarthome.event.ItemCommandEvent ] - Item ‘Z_socket1’ received command ON 2016-03-23 18:51:48.021 [INFO ] [marthome.event.ItemStateChangedEvent] - Z_socket1 changed from OFF to ON
paper UI status observation
Moreover, via paper UI, I see
DSC06 Smart Energy Switch
Smart Energy Switch
Status: INITIALIZING
Channels
Electric meter (kWh)
zwave:aeon_dsc06_00_000:1:meter_kwh
Indicates the energy consumption (kWh)
Electric meter (watts)
zwave:aeon_dsc06_00_000:1:meter_watts
Indicates the instantaneous power consumption
Sensor (power)
zwave:aeon_dsc06_00_000:1:sensor_power
Indicates the energy consumption (kWh)
Switch
zwave:aeon_dsc06_00_000:1:switch_binary
Switch the light on and off
It seems the status staying initialization forever.
operation without openhab to include switch binary device
I follow instructions here to operate,
I copy his description here,
Then, I assume, all I have to do is run openhab runtime, press the button on the z-wave stick, bring the stick close to the z-wave outlet, press the button on the outlet, wait for the stick’s light to return to solid(from blinking), and plug the stick into a USB slot on my mac. Then, in openhab designer, navigate to the website, and click on the switch and that should turn on my appliance, right?
to unplug my aeon zstick S2, include swtich binary device, and plug back to laptop USB port, and start openhab2.
Can some expert shed some light?
Thank you very much.