Coder Social home page Coder Social logo

hass-openvpn-client's Introduction

hass-openvpn-client

An add-on that lets you connect your hass to your OpenVPN server with your .ovpn client file. If the connection goes down, ovpn already tries to reconnect automatically, unless specified otherwise in your config file.

Setup

Add it to your Home Assistant

Go to the "Add-on Store", click on the top-left 3 dots and add this repository. After that, just install it.

The add-on

  • Run it the first time without setting anything up, so the local addons folder is generated, under /addon_configs/. The message will say something like:
    • Missing option 'filename' in root in OpenVPN connector (85387c65_openvpn-client).
  • The value in parenthesis will be the folder name, put your config file in there, e.g. /addon_configs/85387c65_openvpn-client. You can access this folder by using the Samba share or File editor add-ons, I used the former.
  • Then, in the configurations of the add-on, set the config file's name, under filename.

Make sure you restart the add-on if you set a new configuration file, or change the current one.

How to use

That's it! As long as you followed how to set this up, make sure you enable "Start on boot" and "Watchdog" to have optimal usage.

hass-openvpn-client's People

Contributors

mestresales avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.