OpenHab: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
m Redirected page to Home control
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
2020-May-07 [[Wink]] announced they are going to a subscription service, so I am migrating to [[OpenHab]]
#REDIRECT [[Home control]]
 
I bought a [https://www.homedepot.com/p/Wink-Bright-PPBNDL-WNK1/302121348 Wink Bright kit] from Home Depot (6/26/18) and two Cree Zigbee bulbs from Amazon (6/23/18) Later (12/18) I got the outlets.
 
I have other stuff that was not usable in the Wink system that I have not documented yet.
 
== Hardware ==
Controller:
* OpenHab running in Docker on [[Bellman]].
* [https://www.nortekcontrol.com/products/2gig/husbzb-1-gocontrol-quickstick-combo/ Nortek HUSBZB-1] to talk Zigbee and ZWave purchased 5/7/20 from Newegg, [https://www.nortekcontrol.com/pdf/manuals/husbzb-1-instructions.pdf spec sheet here]
 
Controlled:
* 2 bulbs that came with Wink
* 1 soft white bulb: Cree BA19-08027OMF-12CE26-1C100 Connected 60W Equivalent Soft White
* 1 daylight bulb: Cree BA19-08050OMF-12CE26-1C100 Connected 60W Equivalent Daylight (5000K)
* 2 two Centralite Mini outlets (from Amazon) to control strings of X-mas lights.
 
== Set up ==
 
# Edit docker-compose.yml
# docker-compose up
# https://openhab:8444/ (I moved it up a port becasue UniFi is already running at 8443.)
 
=== Nortek ===
 
 
The Nortek is now plugged in and shows up in lsusb as
 
Bus 003 Device 007: ID 10c4:8a2a Cygnal Integrated Products, Inc.
 
dmesg sees it as 2 serial ports,
<pre>
[1200065.974054] usb 3-1.2: new full-speed USB device number 7 using ehci-pci
[1200066.085372] usb 3-1.2: New USB device found, idVendor=10c4, idProduct=8a2a, bcdDevice= 1.00
[1200066.085378] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[1200066.085382] usb 3-1.2: Product: HubZ Smart Home Controller
[1200066.085385] usb 3-1.2: Manufacturer: Silicon Labs
[1200066.085388] usb 3-1.2: SerialNumber: 81300CEB
[1200066.116633] usbcore: registered new interface driver usbserial_generic
[1200066.116667] usbserial: USB Serial support registered for generic
[1200066.124434] usbcore: registered new interface driver cp210x
[1200066.124471] usbserial: USB Serial support registered for cp210x
[1200066.124540] cp210x 3-1.2:1.0: cp210x converter detected
[1200066.127400] usb 3-1.2: cp210x converter now attached to ttyUSB0
[1200066.127806] cp210x 3-1.2:1.1: cp210x converter detected
[1200066.130746] usb 3-1.2: cp210x converter now attached to ttyUSB1
</pre>
 
So this means I have to add /dev/ttyUSB0 and /dev/ttyUSB1 and the JAVA OPTS to the docker-compose.yml file and restart it.
EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0:/dev/ttyUSB1"
 
* ZWave is on ttyUSB0 (untested)
* Zigbee is on ttyUSB1 using 57600 8N1 software handshake
 
=== Add "Things" ===
 
# Creating a Thing (pick your device below)
## In Paper UI,
## Configuration -> Add an item, click the "+".
## Name and create an item to go with the thing, for a bulb, create a dimmer or a switch typically.
## Click "+" to save it.
# Link the item and the thing
## Configuration -> Things
## Click on the name of the new thing.
## Click the blue ring under Channels
## Select the item from "Please select the item to link"
 
"Location" should be set to the room the Thing is in.
This will show up on the Control screen as a tab.
 
It should now show up in Controls.
 
=== Cree "Connected" bulbs ===
 
# To prepare, put the bulb in a fixture with an on/off switch on it.
# Go to paper UI in OpenHab
# Go to Inbox and "Search For Things" and "Zigbee Binding"
# Click "Add manually", now you have about 60 seconds, tick tick...
# Switch Cree OFF for 2 seconds, on for 1 second. Repeat 4 times,
on the fourth try it should start blinking it's reset and unpaired.
# OpenHab will see it soon.
# Go to Configuration -> Things and you should see it in the list. Change its name if you want.
 
=== OSRAM "Lightify" A19 bulbs ===
 
# Click it on and off until it blinks a few times. Then it's reset.
# Switch it on.
# Go to paper UI in OpenHab
# Go to Inbox and "Search For Things" and "Zigbee Binding"
# Click "Add manually", it should find the uninitialized bulb almost immediately.
# Go to Configuration -> Things and you should see it in the list. Change its name if you want.
 
=== Centralite switches ===
Model 4200-C
 
'''Reset'''
Unplug any devices from the module and unplug from
the wall. Now hold the on/off button while plugging
it back into the wall. Hold the button until the status
rejoin the ZigBee network
 
Now go add a thing and an item like the bulbs; use a SWITCH not a DIMMER.
 
[[Category: IoT]]

Latest revision as of 19:09, 25 May 2020

Redirect to: