Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - Brightergy/egaugex: A simple egauge parser to retrieve and parse data from egauge devices

A simple egauge parser to retrieve and parse data from egauge devices - Brightergy/egaugex

Visit SiteGitHub - Brightergy/egaugex: A simple egauge parser to retrieve and parse data from egauge devices

GitHub - Brightergy/egaugex: A simple egauge parser to retrieve and parse data from egauge devices

A simple egauge parser to retrieve and parse data from egauge devices - Brightergy/egaugex

Powered by 0x5a.live ๐Ÿ’—

Egaugex

Hex version Hex downloads Build Status Coverage Status

Gets and parses egauge data given the egauge device id.

Installation

Add egaugex to your list of dependencies in mix.exs:

def deps do
  [{:egaugex, "~> 0.0.5"}]
end

Usage

import Egaugex

# hits `/cgi-bin/egauge-show?S&n=60` by default
egauge_parser("egaugexxxxx")

# with username and password auth
egauge_parser("egaugexxxxx", ["username": "owner", "password": "default"])

# with custom uri
egauge_parser("egauge17983", [{:uri, "/cgi-bin/egauge-show?S&a&t=1462299644"}, {:username, "owner"}, {:password, "default"}])

You can pass the list of arguments as keyword arguments as shown in example above. The other keyword arguments are base_url and realm.

Elixir Resources

are all listed below.

Resources

listed to get explored on!!

Made with โค๏ธ

to provide different kinds of informations and resources.