Skip navigation links
A B C D E F G H I L M N O P R S T V 

A

A1Device - Class in com.github.mob41.blapi
 
A1Device(String, Mac) - Constructor for class com.github.mob41.blapi.A1Device
 
active - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
AdvancedStatusInfo - Class in com.github.mob41.blapi.dev.hysen
Advanced status info retrieved from a hysen type thermostat Adapted from https://github.com/mjg59/python-broadlink
AdvancedStatusInfo(byte[]) - Constructor for class com.github.mob41.blapi.dev.hysen.AdvancedStatusInfo
 
AES - Class in com.github.mob41.blapi.pkt.auth
 
AES(byte[], byte[]) - Constructor for class com.github.mob41.blapi.pkt.auth.AES
 
AIR_QUALITY_BAD - Static variable in class com.github.mob41.blapi.EnvData
 
AIR_QUALITY_EXCELLENT - Static variable in class com.github.mob41.blapi.EnvData
 
AIR_QUALITY_GOOD - Static variable in class com.github.mob41.blapi.EnvData
 
AIR_QUALITY_NORMAL - Static variable in class com.github.mob41.blapi.EnvData
 
AntiFreezing - Enum in com.github.mob41.blapi.dev.hysen
Anti-freezing function 00:anti-freezing function shut down 01:anti-freezing function open 00:anti-freezing function shut down
antiFreezing - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
auth() - Method in class com.github.mob41.blapi.BLDevice
Compatibility with previous code
auth(boolean) - Method in class com.github.mob41.blapi.BLDevice
Authenticates with the broadlink device, before any other control commands
AuthCmdPayload - Class in com.github.mob41.blapi.pkt.auth
 
AuthCmdPayload() - Constructor for class com.github.mob41.blapi.pkt.auth.AuthCmdPayload
 
AuthPayload - Class in com.github.mob41.blapi.pkt.auth
 
AuthPayload() - Constructor for class com.github.mob41.blapi.pkt.auth.AuthPayload
 
autoMode - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 

B

BaseHysenCommand - Class in com.github.mob41.blapi.pkt.cmd.hysen
Base hysen command Payload.
BaseHysenCommand() - Constructor for class com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand
 
BaseHysenDevice - Class in com.github.mob41.blapi.dev.hysen
Base hysen "class" thermostats Adapted from https://github.com/mjg59/python-broadlink
BaseHysenDevice(short, String, String, Mac) - Constructor for class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
Generic way to create a BaseHysenDevice
BaseStatusInfo - Class in com.github.mob41.blapi.dev.hysen
Base set of status codes Adapted from https://github.com/mjg59/python-broadlink
BaseStatusInfo(byte[]) - Constructor for class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
BLApiException - Exception in com.github.mob41.blapi.ex
BLApiException is the super-class of multiple exceptions thrown in the library that requires applications to catch.
BLApiException(String) - Constructor for exception com.github.mob41.blapi.ex.BLApiException
 
BLApiException(Throwable) - Constructor for exception com.github.mob41.blapi.ex.BLApiException
 
BLApiException(String, Throwable) - Constructor for exception com.github.mob41.blapi.ex.BLApiException
 
BLApiException(String, Throwable, boolean, boolean) - Constructor for exception com.github.mob41.blapi.ex.BLApiException
 
BLApiRuntimeException - Exception in com.github.mob41.blapi.ex
BLApiRuntimeException is the super-class of multiple exceptions thrown in the runtime of the library.
BLApiRuntimeException(String) - Constructor for exception com.github.mob41.blapi.ex.BLApiRuntimeException
 
BLApiRuntimeException(Throwable) - Constructor for exception com.github.mob41.blapi.ex.BLApiRuntimeException
 
BLApiRuntimeException(String, Throwable) - Constructor for exception com.github.mob41.blapi.ex.BLApiRuntimeException
 
BLApiRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception com.github.mob41.blapi.ex.BLApiRuntimeException
 
BLDevice - Class in com.github.mob41.blapi
This is the base class of all Broadlink devices (e.g.
BLDevice(short, String, String, Mac) - Constructor for class com.github.mob41.blapi.BLDevice
Constructs a BLDevice, with a device type (constants), hostname and MAC address
boolToByte(boolean) - Static method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
BytePayload - Class in com.github.mob41.blapi.pkt
 
BytePayload(byte[]) - Constructor for class com.github.mob41.blapi.pkt.BytePayload
 
bytesToMacStr(byte[]) - Static method in class com.github.mob41.blapi.mac.Mac
Converts MAC address bytes into String
byteToBool(byte) - Static method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 

C

checkData() - Method in class com.github.mob41.blapi.RM2Device
Requests the RM2 to return the learned data

The auth() method must be ran before these commands
CheckDataCmdPayload - Class in com.github.mob41.blapi.pkt.cmd.rm2
 
CheckDataCmdPayload() - Constructor for class com.github.mob41.blapi.pkt.cmd.rm2.CheckDataCmdPayload
 
chgLen(byte[], int) - Static method in class com.github.mob41.blapi.BLDevice
 
close() - Method in class com.github.mob41.blapi.BLDevice
Releases the resources of this BLDevice
CmdPacket - Class in com.github.mob41.blapi.pkt
This constructs a byte array with the format of a command to the Broadlink device
CmdPacket(Mac, int, byte[], AES, CmdPayload) - Constructor for class com.github.mob41.blapi.pkt.CmdPacket
Constructs a command packet
CmdPayload - Interface in com.github.mob41.blapi.pkt
 
com.github.mob41.blapi - package com.github.mob41.blapi
Base library implementations
com.github.mob41.blapi.dev.hysen - package com.github.mob41.blapi.dev.hysen
 
com.github.mob41.blapi.ex - package com.github.mob41.blapi.ex
Library base exceptions
com.github.mob41.blapi.mac - package com.github.mob41.blapi.mac
MAC Address handling
com.github.mob41.blapi.pkt - package com.github.mob41.blapi.pkt
Packet implementations to communicate with the Broadlink devices
com.github.mob41.blapi.pkt.auth - package com.github.mob41.blapi.pkt.auth
Authentication packets implementations
com.github.mob41.blapi.pkt.cmd - package com.github.mob41.blapi.pkt.cmd
Command packets implementations
com.github.mob41.blapi.pkt.cmd.hysen - package com.github.mob41.blapi.pkt.cmd.hysen
 
com.github.mob41.blapi.pkt.cmd.rm2 - package com.github.mob41.blapi.pkt.cmd.rm2
Broadlink RM2 command packets implementations
com.github.mob41.blapi.pkt.dis - package com.github.mob41.blapi.pkt.dis
Discovery packet implementations
Crc16 - Class in com.github.mob41.blapi.pkt
Stolen from org.eclipse.kura.protocol.modbus.Crc16 (Eclipse kura project) Used to calculate the CRC-16 (cyclical redundancy check) for an array of bytes.
createInstance(short, String, Mac) - Static method in class com.github.mob41.blapi.BLDevice
Creates a Broadlink device client

D

decrypt(byte[]) - Method in class com.github.mob41.blapi.pkt.auth.AES
 
decryptFromDeviceMessage(byte[]) - Method in class com.github.mob41.blapi.BLDevice
 
decryptFromDeviceMessage(byte[]) - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 
DEFAULT_BYTES_SIZE - Static variable in class com.github.mob41.blapi.BLDevice
 
DEFAULT_SOURCE_PORT - Static variable in class com.github.mob41.blapi.pkt.dis.DiscoveryPacket
 
DEFAULT_TIMEOUT - Static variable in class com.github.mob41.blapi.BLDevice
Default discovery timeout (10 seconds)
DESC_A1 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_FLOUREON - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_HYSEN - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_MP1 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_RM_2 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_RM_2_2HOME_PLUS_GDT - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_RM_2_HOME_PLUS - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_RM_2_PRO_PLUS - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_RM_2_PRO_PLUS_2 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_RM_2_PRO_PLUS_2_BL - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_RM_MINI - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_RM_MINI_SHATE - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_RM_PRO_PHICOMM - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_SP1 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_SP2 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_SP2_HONEYWELL_ALT1 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_SP2_HONEYWELL_ALT2 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_SP2_HONEYWELL_ALT3 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_SP2_HONEYWELL_ALT4 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_SP3 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_SPMINI - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_SPMINI2 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_SPMINI_OEM_ALT1 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_SPMINI_OEM_ALT2 - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_SPMINI_PLUS - Static variable in class com.github.mob41.blapi.BLDevice
 
DESC_UNKNOWN - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_A1 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_FLOUREON - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_HYSEN - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_MP1 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_RM_2 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_RM_2_2HOME_PLUS_GDT - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_RM_2_HOME_PLUS - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_RM_2_PRO_PLUS - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_RM_2_PRO_PLUS_2 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_RM_2_PRO_PLUS_2_BL - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_RM_MINI - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_RM_MINI_SHATE - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_RM_PRO_PHICOMM - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_SP1 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_SP2 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_SP2_HONEYWELL_ALT1 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_SP2_HONEYWELL_ALT2 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_SP2_HONEYWELL_ALT3 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_SP2_HONEYWELL_ALT4 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_SP3 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_SPMINI - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_SPMINI2 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_SPMINI_OEM_ALT1 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_SPMINI_OEM_ALT2 - Static variable in class com.github.mob41.blapi.BLDevice
 
DEV_SPMINI_PLUS - Static variable in class com.github.mob41.blapi.BLDevice
 
dif - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
discoverDevices() - Static method in class com.github.mob41.blapi.BLDevice
Discover Broadlink devices in the local network, with default timeout
discoverDevices(int) - Static method in class com.github.mob41.blapi.BLDevice
Discover Broadlink devices in the local network
discoverDevices(InetAddress, int, int) - Static method in class com.github.mob41.blapi.BLDevice
Discover Broadlink devices in the network, binded with a specific IP address
DISCOVERY_DEST_PORT - Static variable in class com.github.mob41.blapi.BLDevice
The destination port for discovery broadcasting (from __init__.py)
DISCOVERY_RECEIVE_BUFFER_SIZE - Static variable in class com.github.mob41.blapi.BLDevice
The discovery receive buffer size (from __init__.py)
DiscoveryPacket - Class in com.github.mob41.blapi.pkt.dis
This class packs a packet to discover Broadlink devices
DiscoveryPacket() - Constructor for class com.github.mob41.blapi.pkt.dis.DiscoveryPacket
 
DiscoveryPacket(InetAddress) - Constructor for class com.github.mob41.blapi.pkt.dis.DiscoveryPacket
 
DiscoveryPacket(InetAddress, int) - Constructor for class com.github.mob41.blapi.pkt.dis.DiscoveryPacket
 
DiscoveryPacket(InetAddress, int, Calendar, TimeZone) - Constructor for class com.github.mob41.blapi.pkt.dis.DiscoveryPacket
 

E

encrypt(byte[]) - Method in class com.github.mob41.blapi.pkt.auth.AES
 
EnterLearnCmdPayload - Class in com.github.mob41.blapi.pkt.cmd.rm2
 
EnterLearnCmdPayload() - Constructor for class com.github.mob41.blapi.pkt.cmd.rm2.EnterLearnCmdPayload
 
enterLearning() - Method in class com.github.mob41.blapi.RM2Device
Requests the RM2 to enter learning mode.

The auth() method must be ran before these commands
EnvData - Class in com.github.mob41.blapi
 
EnvData(float, float, byte, byte, byte) - Constructor for class com.github.mob41.blapi.EnvData
 
execute(BaseHysenDevice) - Method in class com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand
 
externalTemp - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 

F

fac - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
FloureonDevice - Class in com.github.mob41.blapi
 
FloureonDevice(String, Mac) - Constructor for class com.github.mob41.blapi.FloureonDevice
Creates a FloureonDevice client instance
fromValue(byte) - Static method in enum com.github.mob41.blapi.dev.hysen.AntiFreezing
 
fromValue(byte) - Static method in enum com.github.mob41.blapi.dev.hysen.LoopMode
 
fromValue(byte) - Static method in enum com.github.mob41.blapi.dev.hysen.PowerOnMemory
 
fromValue(byte) - Static method in enum com.github.mob41.blapi.dev.hysen.SensorControl
 

G

GenericByteCommand - Class in com.github.mob41.blapi.pkt.cmd.hysen
 
GenericByteCommand(byte[]) - Constructor for class com.github.mob41.blapi.pkt.cmd.hysen.GenericByteCommand
 
getActive() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
getAdvancedStatus() - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 
getAes() - Method in class com.github.mob41.blapi.BLDevice
 
getAirQuality() - Method in class com.github.mob41.blapi.EnvData
 
getAirQualityDescription() - Method in class com.github.mob41.blapi.EnvData
 
getAntiFreezing() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
Anti-freezing function 00:anti-freezing function shut down 01:anti-freezing function open 00:anti-freezing function shut down
getAutoMode() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
GetBasicInfoCommand - Class in com.github.mob41.blapi.pkt.cmd.hysen
 
GetBasicInfoCommand() - Constructor for class com.github.mob41.blapi.pkt.cmd.hysen.GetBasicInfoCommand
 
getBasicStatus() - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 
getCmdBytes() - Method in class com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand
 
getCmdBytes() - Method in class com.github.mob41.blapi.pkt.cmd.hysen.GenericByteCommand
 
getCmdBytes() - Method in class com.github.mob41.blapi.pkt.cmd.hysen.SetPeriodsCommand
 
getCommand() - Method in class com.github.mob41.blapi.pkt.auth.AuthCmdPayload
 
getCommand() - Method in class com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand
 
getCommand() - Method in class com.github.mob41.blapi.pkt.cmd.rm2.CheckDataCmdPayload
 
getCommand() - Method in class com.github.mob41.blapi.pkt.cmd.rm2.EnterLearnCmdPayload
 
getCommand() - Method in class com.github.mob41.blapi.pkt.cmd.rm2.RMTempCmdPayload
 
getCommand() - Method in class com.github.mob41.blapi.pkt.cmd.rm2.SendDataCmdPayload
 
getCommand() - Method in interface com.github.mob41.blapi.pkt.CmdPayload
 
getCrc16(byte[], int, int) - Static method in class com.github.mob41.blapi.pkt.Crc16
calculate the crc for the passed buffer
getData() - Method in class com.github.mob41.blapi.pkt.auth.AuthPayload
 
getData() - Method in class com.github.mob41.blapi.pkt.BytePayload
 
getData() - Method in class com.github.mob41.blapi.pkt.cmd.rm2.SendDataCmdPayload
Returns the IR/RF code data to be sent
getData() - Method in class com.github.mob41.blapi.pkt.CmdPacket
 
getData() - Method in class com.github.mob41.blapi.pkt.dis.DiscoveryPacket
 
getData() - Method in interface com.github.mob41.blapi.pkt.Packet
Returns this packet's final compiled data
getData() - Method in interface com.github.mob41.blapi.pkt.Payload
 
getDayofweek() - Method in class com.github.mob41.blapi.dev.hysen.AdvancedStatusInfo
 
getDescOfType(short) - Static method in class com.github.mob41.blapi.BLDevice
 
getDeviceDescription() - Method in class com.github.mob41.blapi.BLDevice
Returns a friendly description of this BLDevice
getDeviceType() - Method in class com.github.mob41.blapi.BLDevice
Returns the device type of this Broadlink device
getDif() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
Return difference of limit temperature value of external sensor values: 1-9ºC default: 2ºC
getExternalTemp() - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 
getExternalTemp() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
getFac() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
NOT SURE Factory default 08:just display,no other meaning 00:Restore factory default default: 08
getHost() - Method in class com.github.mob41.blapi.BLDevice
Returns this Broadlink device's hostname / IP address
getHour() - Method in class com.github.mob41.blapi.dev.hysen.AdvancedStatusInfo
 
getHumidity() - Method in class com.github.mob41.blapi.EnvData
 
getLight() - Method in class com.github.mob41.blapi.EnvData
 
getLightDescription() - Method in class com.github.mob41.blapi.EnvData
 
getLoopMode() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
loopMode refers to index in [ "12345,67", "123456,7", "1234567" ] E.g.
getMac() - Method in class com.github.mob41.blapi.BLDevice
Returns this Broadlink device's MAC address
getMac() - Method in class com.github.mob41.blapi.mac.Mac
Returns the MAC address in bytes array
getMacString() - Method in class com.github.mob41.blapi.mac.Mac
Returns the MAC address represented in String
getManualTemp() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
getMin() - Method in class com.github.mob41.blapi.dev.hysen.AdvancedStatusInfo
 
getNoise() - Method in class com.github.mob41.blapi.EnvData
 
getNoiseDescription() - Method in class com.github.mob41.blapi.EnvData
 
getOsv() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
Limit temperature value of external sensor values: 5-99ºC default: 42ºC
getPayload() - Method in class com.github.mob41.blapi.pkt.auth.AuthCmdPayload
 
getPayload() - Method in class com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand
 
getPayload() - Method in class com.github.mob41.blapi.pkt.cmd.rm2.CheckDataCmdPayload
 
getPayload() - Method in class com.github.mob41.blapi.pkt.cmd.rm2.EnterLearnCmdPayload
 
getPayload() - Method in class com.github.mob41.blapi.pkt.cmd.rm2.RMTempCmdPayload
 
getPayload() - Method in class com.github.mob41.blapi.pkt.cmd.rm2.SendDataCmdPayload
 
getPayload() - Method in interface com.github.mob41.blapi.pkt.CmdPayload
 
getPeriods() - Method in class com.github.mob41.blapi.dev.hysen.AdvancedStatusInfo
 
getPower() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
getPowerOnMemory() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
Power on memory 00:Power on no need memory 01:Power on need memory default: 00:Power on no need memory
getRawPayloadBytesPadded(byte[]) - Method in class com.github.mob41.blapi.BLDevice
Get Payload without header and padded for decryption.
getRemoteLock() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
getRoomTemp() - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 
getRoomTemp() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
getRoomTempAdjustment() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
Measure temperature Measure temperature,check and calibration 0.1ºC precision Calibration (actual temperature)
getSec() - Method in class com.github.mob41.blapi.dev.hysen.AdvancedStatusInfo
 
getSensorControl() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
Sensor control option 0:internal sensor 1:external sensor 2:internal control temperature,external limit temperature default: 0:internal sensor
getSensorsData() - Method in class com.github.mob41.blapi.A1Device
 
getStartHour() - Method in class com.github.mob41.blapi.dev.hysen.Period
 
getStartMinute() - Method in class com.github.mob41.blapi.dev.hysen.Period
 
getState() - Method in class com.github.mob41.blapi.SP2Device
 
getStateByIndex(int) - Method in class com.github.mob41.blapi.MP1Device
 
getStates() - Method in class com.github.mob41.blapi.MP1Device
 
GetStatusCommand - Class in com.github.mob41.blapi.pkt.cmd.hysen
 
GetStatusCommand() - Constructor for class com.github.mob41.blapi.pkt.cmd.hysen.GetStatusCommand
 
getSvh() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
Set upper limit temperature value values: 5-99ºC default: 35ºC
getSvl() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
Set lower limit temperature value values: 5-99ºC default: 5ºC
getTemp() - Method in class com.github.mob41.blapi.dev.hysen.Period
 
getTemp() - Method in class com.github.mob41.blapi.EnvData
 
getTemp() - Method in class com.github.mob41.blapi.RM2Device
Requests the RM2 to return the room temperature

The auth() method must be ran before these commands
getTempByte(double) - Static method in class com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand
 
getThermostatTemp() - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 
getThermostatTemp() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
getValue() - Method in enum com.github.mob41.blapi.dev.hysen.AntiFreezing
 
getValue() - Method in enum com.github.mob41.blapi.dev.hysen.LoopMode
 
getValue() - Method in enum com.github.mob41.blapi.dev.hysen.PowerOnMemory
 
getValue() - Method in enum com.github.mob41.blapi.dev.hysen.SensorControl
 
getWeekday() - Method in class com.github.mob41.blapi.dev.hysen.AdvancedStatusInfo
 
getWeekend() - Method in class com.github.mob41.blapi.dev.hysen.AdvancedStatusInfo
 

H

HysenDevice - Class in com.github.mob41.blapi
 
HysenDevice(String, Mac) - Constructor for class com.github.mob41.blapi.HysenDevice
Creates a HysenDevice client instance

I

INITIAL_IV - Static variable in class com.github.mob41.blapi.BLDevice
Initial iv for encryption
INITIAL_KEY - Static variable in class com.github.mob41.blapi.BLDevice
Initial key for encryption
isMACValid(byte[]) - Static method in class com.github.mob41.blapi.mac.Mac
Returns whether the specified MAC bytes array is valid with the following conditions:

1.

L

LIGHT_BRIGHT - Static variable in class com.github.mob41.blapi.EnvData
 
LIGHT_DARK - Static variable in class com.github.mob41.blapi.EnvData
 
LIGHT_DIM - Static variable in class com.github.mob41.blapi.EnvData
 
LIGHT_NORMAL - Static variable in class com.github.mob41.blapi.EnvData
 
log - Static variable in class com.github.mob41.blapi.BLDevice
The specific logger for this class
log - Static variable in class com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand
 
loopMode - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
LoopMode - Enum in com.github.mob41.blapi.dev.hysen
loop_mode refers to index in [ "12345,67", "123456,7", "1234567" ] E.g.

M

Mac - Class in com.github.mob41.blapi.mac
A class that handles a MAC address in String and bytes array format
Mac(byte[]) - Constructor for class com.github.mob41.blapi.mac.Mac
Creates an instance representing the MAC address
Mac(String) - Constructor for class com.github.mob41.blapi.mac.Mac
Creates an instance representing the MAC address
MacFormatException - Exception in com.github.mob41.blapi.mac
MacFormatException is thrown where the MAC address String / bytes array specified does not have a valid format.
MacFormatException(String) - Constructor for exception com.github.mob41.blapi.mac.MacFormatException
Creates the exception with a "Invalid MAC address String format" message.
MacFormatException(String, Throwable) - Constructor for exception com.github.mob41.blapi.mac.MacFormatException
Creates the exception with a "Invalid MAC address String format" message, and a Throwable
MacFormatException(byte[]) - Constructor for exception com.github.mob41.blapi.mac.MacFormatException
Creates the exception with a "Incorrect MAC address bytes"
macStrToBytes(String) - Static method in class com.github.mob41.blapi.mac.Mac
Converts MAC address String into bytes
manualTemp - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
MP1Device - Class in com.github.mob41.blapi
 
MP1Device(short, String, String, Mac) - Constructor for class com.github.mob41.blapi.MP1Device
Generic way to create a MP1Device
MP1Device(String, Mac) - Constructor for class com.github.mob41.blapi.MP1Device
Creates a MP1Device client instance

N

NOISE_NOISY - Static variable in class com.github.mob41.blapi.EnvData
 
NOISE_NORMAL - Static variable in class com.github.mob41.blapi.EnvData
 
NOISE_QUIET - Static variable in class com.github.mob41.blapi.EnvData
 

O

osv - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 

P

Packet - Interface in com.github.mob41.blapi.pkt
Packet interface

This is probably useless...
Payload - Interface in com.github.mob41.blapi.pkt
 
Period - Class in com.github.mob41.blapi.dev.hysen
Represents a "Period" in what hysen calls "Time and interval programming"
Period(int, byte[]) - Constructor for class com.github.mob41.blapi.dev.hysen.Period
 
power - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
powerOnMemory - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
PowerOnMemory - Enum in com.github.mob41.blapi.dev.hysen
Power on memory 00:Power on no need memory 01:Power on need memory default: 00:Power on no need memory

R

remoteLock - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
removeNullsFromEnd(byte[], int) - Static method in class com.github.mob41.blapi.BLDevice
Misc: Pull bytes out from end of array until a non null is detected
reverseBytes(byte[]) - Static method in class com.github.mob41.blapi.BLDevice
Misc: Reverse the byte array
RM2Device - Class in com.github.mob41.blapi
Broadlink RM2 device client
RM2Device(short, String, String, Mac) - Constructor for class com.github.mob41.blapi.RM2Device
Generic way to create a RM2Device
RM2Device(String, Mac) - Constructor for class com.github.mob41.blapi.RM2Device
Creates a RM2Device client instance
RMDevice - Class in com.github.mob41.blapi
Deprecated. 
RMDevice(short, String, String, Mac) - Constructor for class com.github.mob41.blapi.RMDevice
Deprecated.
 
RMDevice(String, Mac) - Constructor for class com.github.mob41.blapi.RMDevice
Deprecated.
 
RMTempCmdPayload - Class in com.github.mob41.blapi.pkt.cmd.rm2
 
RMTempCmdPayload() - Constructor for class com.github.mob41.blapi.pkt.cmd.rm2.RMTempCmdPayload
 
roomTemp - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
roomTempAdjustment - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 

S

sendCmdPkt(CmdPayload) - Method in class com.github.mob41.blapi.BLDevice
Sends a command packet from localhost to Broadlink device, with buffer size 1024 bytes, 10 seconds timeout

Before any commands to be sent to the device, auth must be ran first in order to authenticate with the device and gain a device ID, encryption key and IV.
sendCmdPkt(int, CmdPayload) - Method in class com.github.mob41.blapi.BLDevice
Sends a command packet from localhost to Broadlink device, with default buffer size 1024 bytes

Before any commands to be sent to the device, auth must be ran first in order to authenticate with the device and gain a device ID, encryption key and IV.
sendCmdPkt(int, int, CmdPayload) - Method in class com.github.mob41.blapi.BLDevice
Sends a command packet from localhost to Broadlink device

Before any commands to be sent to the device, auth must be ran first in order to authenticate with the device and gain a device ID, encryption key and IV.
sendCmdPkt(InetAddress, int, int, int, CmdPayload) - Method in class com.github.mob41.blapi.BLDevice
Binds to a specific IP address and sends a command packet to Broadlink device

Before any commands to be sent to the device, auth must be ran first in order to authenticate with the device and gain a device ID, encryption key and IV.
SendDataCmdPayload - Class in com.github.mob41.blapi.pkt.cmd.rm2
 
SendDataCmdPayload(byte[]) - Constructor for class com.github.mob41.blapi.pkt.cmd.rm2.SendDataCmdPayload
 
sendPkt(Packet, InetAddress, int, InetAddress, int, int, int) - Static method in class com.github.mob41.blapi.BLDevice
Sends a compiled packet to a destination host and port, and receives a datagram from the source port specified.
sendPkt(DatagramSocket, Packet, InetAddress, int, int, int) - Static method in class com.github.mob41.blapi.BLDevice
Sends a compiled packet to a destination host and port, and receives a datagram from the source port specified.
sensorControl - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
SensorControl - Enum in com.github.mob41.blapi.dev.hysen
Sensor control option 0:internal sensor 1:external sensor 2:internal control temperature,external limit temperature default: 0:internal sensor
setAdvancedOptions(LoopMode, SensorControl, short, short, short, short, double, AntiFreezing, PowerOnMemory) - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 
setLock(boolean) - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 
setMode(boolean, LoopMode, SensorControl) - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
Change controller mode auto_mode = 1 for auto (scheduled/timed) mode, 0 for manual mode.
setMode(boolean, LoopMode) - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
Change controller mode auto_mode = 1 for auto (scheduled/timed) mode, 0 for manual mode.
SetModeCommand - Class in com.github.mob41.blapi.pkt.cmd.hysen
 
SetModeCommand(byte, byte, byte, byte, byte, byte, double, byte, byte) - Constructor for class com.github.mob41.blapi.pkt.cmd.hysen.SetModeCommand
 
SetModeCommand(byte, byte, byte) - Constructor for class com.github.mob41.blapi.pkt.cmd.hysen.SetModeCommand
 
setPeriods(Period[]) - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 
SetPeriodsCommand - Class in com.github.mob41.blapi.pkt.cmd.hysen
 
SetPeriodsCommand(Period[]) - Constructor for class com.github.mob41.blapi.pkt.cmd.hysen.SetPeriodsCommand
 
SetPoweCommand - Class in com.github.mob41.blapi.pkt.cmd.hysen
 
SetPoweCommand(byte, byte) - Constructor for class com.github.mob41.blapi.pkt.cmd.hysen.SetPoweCommand
 
setPower(boolean, boolean) - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 
setPower(boolean) - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 
setPower(boolean) - Method in class com.github.mob41.blapi.SP1Device
 
setState(int, boolean) - Method in class com.github.mob41.blapi.MP1Device
Set the power state
setState(boolean) - Method in class com.github.mob41.blapi.SP2Device
 
SetTempCommand - Class in com.github.mob41.blapi.pkt.cmd.hysen
 
SetTempCommand(double) - Constructor for class com.github.mob41.blapi.pkt.cmd.hysen.SetTempCommand
 
setThermostatTemp(double) - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 
SetTimeCommand - Class in com.github.mob41.blapi.pkt.cmd.hysen
 
SetTimeCommand(byte, byte, byte, byte) - Constructor for class com.github.mob41.blapi.pkt.cmd.hysen.SetTimeCommand
 
SP1Device - Class in com.github.mob41.blapi
 
SP1Device(String, Mac) - Constructor for class com.github.mob41.blapi.SP1Device
 
SP2Device - Class in com.github.mob41.blapi
 
SP2Device(short, String, String, Mac) - Constructor for class com.github.mob41.blapi.SP2Device
 
SP2Device(String, Mac) - Constructor for class com.github.mob41.blapi.SP2Device
 
subbytes(byte[], int, int) - Static method in class com.github.mob41.blapi.BLDevice
Picks bytes from start-set to the end-set in a bytes array
subbytesTillNull(byte[], int) - Static method in class com.github.mob41.blapi.BLDevice
Misc: Pull bytes out from an array until a NULL (0) is detected
svh - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
svl - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
switchToAuto() - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 
switchToManual() - Method in class com.github.mob41.blapi.dev.hysen.BaseHysenDevice
 

T

thermostatTemp - Variable in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
toString() - Method in class com.github.mob41.blapi.dev.hysen.AdvancedStatusInfo
 
toString() - Method in class com.github.mob41.blapi.dev.hysen.BaseStatusInfo
 
toString() - Method in class com.github.mob41.blapi.dev.hysen.Period
 
toString() - Method in class com.github.mob41.blapi.mac.Mac
 

V

valueOf(String) - Static method in enum com.github.mob41.blapi.dev.hysen.AntiFreezing
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.mob41.blapi.dev.hysen.LoopMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.mob41.blapi.dev.hysen.PowerOnMemory
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.mob41.blapi.dev.hysen.SensorControl
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.mob41.blapi.dev.hysen.AntiFreezing
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.mob41.blapi.dev.hysen.LoopMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.mob41.blapi.dev.hysen.PowerOnMemory
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.mob41.blapi.dev.hysen.SensorControl
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I L M N O P R S T V 
Skip navigation links

Copyright © 2018. All rights reserved.