Openhab Skill

Summary
Provides control of smart devices connected to an openHAB server running on the same network.
 
Description
The skill provides the functionality to control Lighting, Thermostat, Current Temperature, and Homekit devices attached to an openHAB server. TPLink and Belkin devices may also be discovered on the network via skill and device names may be updated.
 
How to Use
First, make your request:
Say “Hey Neon” if you are in the wake words mode.
For example:
  • "list my home control items"
  • "refresh my home control devices
  • "turn on desk lamp"
  • "dim room light to 20 percent"
  • “toggle desk outlet”
  • “rename desk outlet to space heater”
Secondly, the action will execute and Neon will speak a confirmation.
If there is an error connecting to the openHAB server, there will be a spoken error. If the device requested does not exist and wake words are enabled, there will be a spoken error. If the failed request worked previously, please refer to Troubleshooting
 
Examples
    Hey Neon, dim the desk lamp to 10 percent
    >> Dimming desk lamp
 
Requirements
OpenHAB can optionally be installed when Neon is installed, otherwise openHAB can be installed manually.
cd ${ngiDir}
. ./functions.sh
setupOpenHab
Alternatively, Neon can be configured to connect to an openHAB server running on the network by modifying ngi_local_conf.yml
homeControl:
  openhabHost: 127.0.0.1
  openhabPort: 8080
  openhabConf: /etc/openhab2
 
Location
${skills}/openhab.neon
 
Files
Click to expand.
 
Class Diagram
 
Troubleshooting
Make sure openHAB is running, you can check by going to the host specified in ngi_local_conf.yml, this is usually127.0.0.1:8080. If openHAB is not running, you may restart it by opening a terminal and typing
sudo systemctl restart openhab2.service
if you installed openHAB as described above.
 
Contact Support
 
Credits
djmcknight358 neongeckocom mortommy

Subscribe Here! * Keep Up to Date on Neon AI * Get GitHub SDK Credentials

* Get Neon AI in One Line of HTML * Get the Neon AI App for Android from Google Play