class
ShellyplugExporter::PlugClient
- ShellyplugExporter::PlugClient
- Reference
- Object
Overview
Handles HTTP communication with a single Shelly plug device.
Defined in:
shellyplug_exporter/plug_client.crConstant Summary
-
SETTINGS_ENDPOINT =
"/settings"
-
STATUS_ENDPOINT =
"/status"
Constructors
Instance Method Summary
-
#fetch_settings : HTTP::Client::Response
Fetches the settings from the plug.
-
#fetch_status : HTTP::Client::Response
Fetches the status from the plug.