#lci #rv #lci-cloud-gateway #my-rv

lci-gateway

An API to interact with the LCI gateway

14 releases (8 breaking)

0.9.0 Sep 2, 2022
0.7.1 Aug 16, 2022

#1051 in Development tools

MIT license

40KB
785 lines

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.

Dependencies

~5–18MB
~268K SLoC