Jeedom Core

history
in package

Table of Contents

Properties

$_changed  : mixed
$_tableName  : mixed
$cmd_id  : mixed
$datetime  : mixed
$value  : mixed

Methods

all()  : mixed
archive()  : mixed
Archive data from history into historyArch
byCmdIdAtDatetime()  : mixed
Value of a command on a given date
byCmdIdAtDatetimeFromCalcul()  : mixed
byCmdIdDatetime()  : mixed
checkCurrentValueAndHistory()  : mixed
copyHistoryToCmd()  : mixed
emptyHistory()  : mixed
exportToCSV()  : mixed
getChanged()  : mixed
getCmd()  : mixed
getCmd_id()  : mixed
getDatetime()  : mixed
getHistoryFromCalcul()  : mixed
getOldestValue()  : mixed
getPlurality()  : mixed
getStatistique()  : mixed
getTableName()  : mixed
getTemporalAvg()  : mixed
getTendance()  : mixed
getValue()  : mixed
lastChangeStateDuration()  : mixed
lastStateDuration()  : mixed
remove()  : mixed
removes()  : mixed
save()  : mixed
setChanged()  : mixed
setCmd_id()  : mixed
setDatetime()  : mixed
setTableName()  : mixed
setValue()  : mixed
stateChanges()  : mixed
stateDuration()  : mixed

Properties

Methods

all()

public static all(mixed $_cmd_id[, mixed $_startTime = null ][, mixed $_endTime = null ][, mixed $_groupingType = null ][, mixed $_addFirstPreviousValue = false ]) : mixed
Parameters
$_cmd_id : mixed
$_startTime : mixed = null
$_endTime : mixed = null
$_groupingType : mixed = null
$_addFirstPreviousValue : mixed = false

archive()

Archive data from history into historyArch

public static archive() : mixed

byCmdIdAtDatetime()

Value of a command on a given date

public static byCmdIdAtDatetime(mixed $_cmd_id, mixed $_time[, mixed $_previous = true ]) : mixed
Parameters
$_cmd_id : mixed
$_time : mixed
$_previous : mixed = true

byCmdIdAtDatetimeFromCalcul()

public static byCmdIdAtDatetimeFromCalcul(mixed $_strcalcul, mixed $_time[, mixed $_previous = true ]) : mixed
Parameters
$_strcalcul : mixed
$_time : mixed
$_previous : mixed = true

byCmdIdDatetime()

public static byCmdIdDatetime(mixed $_cmd_id, mixed $_startTime[, mixed $_endTime = null ][, mixed $_oldValue = null ]) : mixed
Parameters
$_cmd_id : mixed
$_startTime : mixed
$_endTime : mixed = null
$_oldValue : mixed = null

checkCurrentValueAndHistory()

public static checkCurrentValueAndHistory() : mixed

copyHistoryToCmd()

public static copyHistoryToCmd(mixed $_source_id, mixed $_target_id) : mixed
Parameters
$_source_id : mixed
$_target_id : mixed

emptyHistory()

public static emptyHistory(mixed $_cmd_id[, mixed $_date = '' ]) : mixed
Parameters
$_cmd_id : mixed
$_date : mixed = ''

exportToCSV()

public static exportToCSV(mixed $histories) : mixed
Parameters
$histories : mixed

getHistoryFromCalcul()

public static getHistoryFromCalcul(mixed $_strcalcul[, mixed $_dateStart = null ][, mixed $_dateEnd = null ][, mixed $_noCalcul = false ][, mixed $_groupingType = null ]) : mixed
Parameters
$_strcalcul : mixed
$_dateStart : mixed = null
$_dateEnd : mixed = null
$_noCalcul : mixed = false
$_groupingType : mixed = null

getOldestValue()

public static getOldestValue(mixed $_cmd_id[, mixed $_limit = 1 ]) : mixed
Parameters
$_cmd_id : mixed
$_limit : mixed = 1

getPlurality()

public static getPlurality(mixed $_cmd_id[, mixed $_startTime = null ][, mixed $_endTime = null ][, mixed $_period = 'day' ][, mixed $_offset = 0 ]) : mixed
Parameters
$_cmd_id : mixed
$_startTime : mixed = null
$_endTime : mixed = null
$_period : mixed = 'day'
$_offset : mixed = 0

getStatistique()

public static getStatistique(mixed $_cmd_id, mixed $_startTime, mixed $_endTime) : mixed
Parameters
$_cmd_id : mixed
$_startTime : mixed
$_endTime : mixed

getTemporalAvg()

public static getTemporalAvg(mixed $_cmd_id, mixed $_startTime, mixed $_endTime) : mixed
Parameters
$_cmd_id : mixed
$_startTime : mixed
$_endTime : mixed

getTendance()

public static getTendance(mixed $_cmd_id, mixed $_startTime, mixed $_endTime) : mixed
Parameters
$_cmd_id : mixed
$_startTime : mixed
$_endTime : mixed

lastChangeStateDuration()

public static lastChangeStateDuration(mixed $_cmd_id, mixed $_value) : mixed
Parameters
$_cmd_id : mixed
$_value : mixed

lastStateDuration()

public static lastStateDuration(mixed $_cmd_id[, mixed $_value = null ]) : mixed
Parameters
$_cmd_id : mixed
$_value : mixed = null

removes()

public static removes(mixed $_cmd_id[, mixed $_startTime = null ][, mixed $_endTime = null ]) : mixed
Parameters
$_cmd_id : mixed
$_startTime : mixed = null
$_endTime : mixed = null

save()

public save([mixed $_cmd = null ][, mixed $_direct = false ]) : mixed
Parameters
$_cmd : mixed = null
$_direct : mixed = false

setChanged()

public setChanged(mixed $_changed) : mixed
Parameters
$_changed : mixed

setCmd_id()

public setCmd_id(mixed $_cmd_id) : mixed
Parameters
$_cmd_id : mixed

setDatetime()

public setDatetime(mixed $_datetime) : mixed
Parameters
$_datetime : mixed

setTableName()

public setTableName(mixed $_tableName) : mixed
Parameters
$_tableName : mixed

setValue()

public setValue(mixed $_value) : mixed
Parameters
$_value : mixed

stateChanges()

public static stateChanges(mixed $_cmd_id[, mixed $_value = null ][, mixed $_startTime = null ][, mixed $_endTime = null ]) : mixed
Parameters
$_cmd_id : mixed
$_value : mixed = null
$_startTime : mixed = null
$_endTime : mixed = null

stateDuration()

public static stateDuration(mixed $_cmd_id[, mixed $_value = null ]) : mixed
Parameters
$_cmd_id : mixed
$_value : mixed = null

        
On this page

Search results