Downloads:

12,753

Downloads of v 2.0.0:

293

Last Update:

14 Feb 2017

Package Maintainer(s):

Software Author(s):

  • openHAB Community and the openHAB Foundation

Tags:

openhab home automation smart java portable admin

openHAB (Portable)

This is not the latest version of openHAB (Portable) available.

2.0.0 | Updated: 14 Feb 2017

Downloads:

12,753

Downloads of v 2.0.0:

293

Maintainer(s):

Software Author(s):

  • openHAB Community and the openHAB Foundation

openHAB (Portable) 2.0.0

This is not the latest version of openHAB (Portable) available.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install openHAB (Portable), run the following command from the command line or from PowerShell:

>

To upgrade openHAB (Portable), run the following command from the command line or from PowerShell:

>

To uninstall openHAB (Portable), run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade openhab -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade openhab -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure openhab installed
  win_chocolatey:
    name: openhab
    state: present
    version: 2.0.0
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'openhab' do
  action    :install
  version  '2.0.0'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: openhab,
    Version: 2.0.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller openhab
{
   Name     = 'openhab'
   Ensure   = 'Present'
   Version  = '2.0.0'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'openhab':
  provider => 'chocolatey',
  ensure   => '2.0.0',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install openhab version="2.0.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator flcdrg on 18 Feb 2017.

Description

Screenshot of openHAB

Introduction

More and more new cool devices and technologies arrive at our homes every day. But though they are all aimed at enhancing our lifestyle they all lack one important feature: a common language they could speak to each other to create a really automated and smart environment at home. The main goal of openHAB is to provide an integration platform to fix this issue.

What is openHAB?

openHAB is a software for integrating different home automation systems and technologies into one single solution that allows over-arching automation rules and that offers uniform user interfaces.

This means that openHAB

  • is designed to be absolutely vendor-neutral as well as hardware/protocol-agnostic
  • can run on any device that is capable of running a JVM (Linux, Mac, Windows)
  • lets you integrate an abundance of different home automation technologies into one
  • has a powerful rule engine to fulfill all your automation needs
  • comes with different web-based UIs as well as native UIs for iOS and Android
  • is fully open source
  • is maintained by a passionate and growing community
  • is easily extensible to integrate with new systems and devices
  • provides APIs for being integrated in other systems

Who is the Target Audience?

openHAB is highly flexible and customizable, but this comes at a cost. You have to invest some time for learning its concepts and to set up an individual system tailored to your needs. Many parts of the setup require textual configuration, potentially accessing log files for debugging, etc. Therefore setting up openHAB is mainly a job for tech-savvy people - it is not a commercial off-the-shelf product that you plug in and that is ready to go.

Nonetheless, this only applies to the setup and configuration of the system, which is usually done by a single person in the household, while all other family members are merely using the system. And here is where openHAB shines: It is very stable, has apps for all different end devices, allows voice interaction, etc, so once installed, it has a very high WAF.

PACKAGING NOTE: You need to grant admin permissions for the current user at %programdata%\chocolatey\lib\openhab or the batch file will abort.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'
$packageName  = 'openhab' 
$toolsDir     = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url          = 'https://bintray.com/openhab/mvn/download_file?file_path=org%2Fopenhab%2Fdistro%2Fopenhab%2F2.0.0%2Fopenhab-2.0.0.zip'
$checksum     = '14E8FC652E9CB2CBEB9EDD7930865C4F4277153D82EEF43B14C12840B5E0244C'
$ExeFile      = 'start.bat'
$ShortcutName = 'openHAB'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'ZIP' 
  url           = $url
  checksum      = $checksum
  checksumType  = 'sha256' 
}

Install-ChocolateyZipPackage @packageArgs

Install-ChocolateyShortcut -shortcutFilePath "$env:Public\Desktop\$ShortcutName.lnk" -targetPath "$env:ChocolateyInstall\lib\$packageName\tools\$ExeFile" -WorkingDirectory "$toolsDir"
Install-ChocolateyShortcut -shortcutFilePath "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\$ShortcutName.lnk" -targetPath "$toolsDir\$ExeFile" -WorkingDirectory "$toolsDir"
tools\chocolateyuninstall.ps1
$packageName= 'openhab'
$ExeFile      = 'start.bat'
$ShortcutName = 'openHAB'

remove-item "$env:Public\Desktop\$ShortcutName.lnk" -Force -ErrorAction 'SilentlyContinue'
remove-item "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\$ShortcutName.lnk" -Force -ErrorAction 'SilentlyContinue'

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
openHAB 2.3.0.020181117 1081 Friday, November 23, 2018 Approved
openHAB 2.3.0 6616 Saturday, June 9, 2018 Approved
openHAB 2.2.0 676 Tuesday, January 2, 2018 Approved
openHAB 2.1.0 323 Tuesday, July 4, 2017 Approved
openHAB (Portable) 2.0.0 293 Tuesday, February 14, 2017 Approved

Discussion for the openHAB (Portable) Package

Ground Rules:

  • This discussion is only about openHAB (Portable) and the openHAB (Portable) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or openHAB (Portable), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus