Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

wl-net/dataview-insteon-automator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Dataview Insteon Automator

This project includes a Dataview automator for Insteon. This component is intended to be run on a separate machine and allows dataview to communicate with Insteon securely. When coupled with WLNet Audio, this automator works well as a whole-home media player.

Generating a X.509 Server Certificate

In order to provide secure communications between the RPC consumer and the RPC server, TLS is utilized. You must create a X.509 Server certificate for this to work.

openssl genrsa -out server.pem 4096
openssl req -new -x509 -key server.pem -out cert.pem -days 730

Once you have generated the private key and certificate, copy the certificate (cert.pem) to the machine the RPC consumer is operating from.

Generating Authentication Token

$ openssl rand -hex 32
493152a14843198555759262f1bd767235789aebdcc5f1b1f8f2cd3a965c8c7a

When you launch the automator script, be sure that the RPCSERVER_TOKEN environment variable is set.

export RPCSERVER_TOKEN='GENERATED_TOKEN'

Launching automator

Be sure that you have generated the X.509 Server Certificate and exported the RPCSERVER_TOKEN environment variable, then:

$ python3 automator.py --tlscert cert.pem --tlskey server.pem

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages