Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

DD WRT Binding

Markus Eckhardt edited this page Dec 7, 2016 · 13 revisions

Is not included yet.. is in the pull-request phase.

Documentation of the DD-WRT binding bundle

Introduction

For installation of the binding, please see Wiki page Bindings.

Adapt your openhab.cfg to your configuration:

IP address of ddwrt to connect to

ddwrt:ip=192.168.1.1 ddwrt:port=23

you need to configure the user and password of your ddwrt

ddwrt:username=root ddwrt:password=xxxxxxx

Interface for the 2.4 GHz wifi

ddwrt:interface_24=ath0

Interface for the 5 GHz wifi

ddwrt:interface_50=ath1

Virtuall-Interface for the guest wifi

ddwrt:interface_guest=ath0.1

Prepare your ddwrt device

  • You have to activate the telnet connection in the ddwrt web interface.
  • The changing of the telnet port in the ddwrt web interface is not always working. Test it with a telnet command shell.

Generic Item Binding Configuration

In order to bind an item to the ddwrt device, you need to provide configuration settings. The easiest way to do so is to add some binding information in your item file (in the folder configurations/items`).

Switching WIFI

The following items switch WIFI, GUEST_WIFI, and the NAME of the device as string:

String DEVICE_NAME {ddwrt="routertype"}
Switch WIFI_24     {ddwrt="wlan24"}
Switch WIFI_50     {ddwrt="wlan50"}
Switch WIFI_GUEST  {ddwrt="wlanguest"}

The guest network is usually a virtuall network device. There is a bug in the ddwrt firmware. The activattion of this interface needs a workarround so it takes some seconds more as the native devices. Tested with Archer V2 and DD-WRT v3.0-r30880 std (11/14/16)

Installation


User Interfaces


Community

(link to openHAB forum)

Development



Misc


Samples

A good source of inspiration and tips from users gathered over the years. Be aware that things may have changed since they were written and some examples might not work correctly.

Please update the wiki if you do come across any out of date information.

Use case examples

Collections of Rules on a single page

Single Rules

Scripts


Release Notes

Clone this wiki locally