struct
PlaceOS::Client::API::Models::Module
- PlaceOS::Client::API::Models::Module
- PlaceOS::Client::API::Models::Response
- Struct
- Value
- Object
Included Modules
Defined in:
placeos/api/models/module.crConstructors
Instance Method Summary
-
#connected : Bool
Flag for connectivity state.
-
#control_sytem_id : String | Nil
The system this module is bound to (logic modules only).
-
#custom_name : String | Nil
The modules class name (Display, Lighting etc) if it should differ from the default defined in the driver.
-
#driver_id : String
The driver that defines this module.
-
#id : String
A universally unique identifier for the module.
-
#ignore_connected : Bool
If enabled, system metrics ignore connectivity state.
-
#ignore_startstop : Bool
If enabled, system level start and stop actions are ignored.
-
#ip : String | Nil
IP address or resolvable hostname of the device this module connects to.
-
#makebreak : Bool
If enabled, provides an ephemeral connection that disconnects during idle periods.
-
#name : String
Driver's default name for the module
-
#port : Int32 | Nil
The TCP or UDP port that the associated device communicates on.
-
#role : Role
The associated driver type.
-
#running : Bool
Module start/stop state.
-
#tls : Bool | Nil
True if the device communicates securely.
-
#udp : Bool | Nil
Protocol uses UDP rather that TCP.
-
#uri : URI | Nil
The based URI of the remote service (service modules only).
Instance methods inherited from module PlaceOS::Client::API::Models::Timestamps
created_at : Time
created_at,
updated_at : Time
updated_at
Constructor methods inherited from struct PlaceOS::Client::API::Models::Response
new(pull : JSON::PullParser)
new
Macros inherited from module PlaceOS::Client::API::Models::Response::Init
__add_initialize__
__add_initialize__
Constructor Detail
Instance Method Detail
The modules class name (Display, Lighting etc) if it should differ from the default defined in the driver.
If enabled, system level start and stop actions are ignored. This is recommended for modules shared by many systems (e.g. a lighting gateway).
If enabled, provides an ephemeral connection that disconnects during idle periods.