Skip to content

Experimental tool to tinker around with PalGate devices

Notifications You must be signed in to change notification settings

zcahana/palgate-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PalGate Experiment

A little experimental tool (and SDK) to tinker around with PalGate devices (parking gates, etc).

Install

go get github.com/zcahana/palgate-cli

Requires any recent version of Go.

Usage

Currently, the tool only supports retrieving the log history of gate operations.
Simply run the following command:

$ palgate-cli

Config

The tool currently supports several configuration options, specified via environment variables or a YAML config file located at $HOME/.palgate.

  • PALGATE_SERVER_ADDRESS, optional, the address of the PalGate server, defaults to api1.pal-es.com.
  • PALGATE_GATE_ID, required, the ID of the gate device to be controlled.
  • PALGATE_AUTH_TOKEN, admin authentication token

Example YAML config file:

gateID: <gate id>
authToken: <auth token>

More info will be added later on how to obtain the gate ID and authentication token.

Future plans

  • Additional commands to list, add, remove and update users and remote controls.
  • Colored log history
  • Archive log history (see palgate-log-archiver)

About

Experimental tool to tinker around with PalGate devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages