class

DoorCtrl::Platform

Inherits DoorCtrl::Application < ActionController::Base < ActionController::Responders < ActionController::Route::Builder < Reference < Object

details of the underlying platform

Constants

NET_WIRELESS = ENV["NET_WIRELESS"]?.presence || "/proc/net/wireless"
PARSER_LIST = ["application/json"]

details of the underlying platform

RESPONDER_LIST = ["application/json"]

details of the underlying platform

Class methods

base_route

Helper for obtaining base route

overview(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts)

Helper methods for performing redirect_to calls

Instance methods

auth_test

check if we are authenticated

Source
base_route(*args, **options)

Helper for obtaining base route

base_route(*args, **options, &)

Helper for obtaining base route

cpu_temp

The current CPU temperature

Source
overview

Summary of the system

Source
wifi_strength

The current wifi signal strength

Source