[go: up one dir, main page]

Skip to content

Transform an (ETS-) CSV-export of KNX-group-addresses into a simple JSON-structure

License

Notifications You must be signed in to change notification settings

cjk/KNX-address-transform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KnxAddressImport

A small tool to help you bringing over your KNX-group-addresses into your favorite home-automation project

First, export your group-addresses using ETS into a CSV-file, then feed it to this transformer which converts it into a simple JSON-like list:

{
  "name": "Central lights off",
  "id": "0/0/1"
}{
  "name": "Livingroom lights",
  "id": "1/1/0"
}{
  "name": "Basement South-Window sensors",
  "id": "1/1/1"
}
{ … }

Usage

This program requires Elixir / Erlang. Once installed, you can compile and run it via:

mix compile

mix run -e 'IO.inspect(KnxAddressImport.start())'

Don’t forget to also run mix deps.get once to install needed dependencies (CSV-/JSON-parser).

About

Transform an (ETS-) CSV-export of KNX-group-addresses into a simple JSON-structure

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages