OpenHab

From Wildsong
Revision as of 21:59, 11 May 2020 by Brian Wilson (talk | contribs)
Jump to navigationJump to search

2020-May-07 Wink announced they are going to a subscription service, so I am migrating to OpenHab

I bought a 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.
  • Nortec USBZB1 to talk Zigbee, purchased 5/7/20 from Newegg

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

  1. Edit docker-compose.yml
  2. docker-compose up
-)

The container is running on Debian. There's a copy of Apache in there but the server is visible at

https://openhab:8444/

(I moved it up a port becasue UniFi is already running at 8443.)

Nortec

The Nortec 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,

[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