lci-gateway

Crates.iolci-gateway
lib.rslci-gateway
version0.9.0
sourcesrc
created_at2022-08-12 00:18:40.133036
updated_at2022-09-02 05:40:32.322141
descriptionAn API to interact with the LCI gateway.
homepagehttps://github.com/TheEmpty/lci-gateway
repositoryhttps://github.com/TheEmpty/lci-gateway
max_upload_size
id643665
size83,738
Myles Best (TheEmpty)

documentation

README

Rust LCI Gateway API

Some Rust APIs for integrating with an LCI gateway, commonly found in RVs.

Disclaimer: Not officaily supported. Developer(s) not associated with the LCI brand or company.

This may not support all types of devices. Check out the current supported items in examples/ which can be ran for ex: cargo run --example dimmers

Currently supported:

  • All: label, "online" state
  • Dimmers (Lights, get state/brightness)
  • Switches (on/off, get state, relay current, faults) [ex waterpump]
  • Generator (on/off, get state)
  • Tanks (get %)
  • HVAC (get state, get/set temperatures, get/set mode, get/set temperature limits)

Things I don't need to / intend to add: If you need one of these, feel free to add it and send a pull request.

  • Dimmers (get/set sleep timers)
  • RGB lights
  • Dimmers (get/set mode)

Add to your Rust project

Available via crates.io. In your project you simply need to run cargo add lci-gateway.

Commit count: 14

cargo fmt