Alex2ESP/keywords.txt
David c3d02f462e Announce a doorbell with proactivelyReported and a scene with supportsDeactivation
An interface without properties says beside its name what Alexa has to know
of it; the library left both out. With a board and Alexa on 2026-09-28 the
discovery of a doorbell was accepted (202), the endpoint was not listed, and
its DoorbellPress was answered with 500 INTERNAL_SERVICE_EXCEPTION.

DoorbellEventSource now always carries "proactivelyReported": true.
SceneController carries "supportsDeactivation", false until the sketch calls
setSupportsDeactivation(true); on another interface the call is refused and
logged. The Scene example says that it can be undone.

148 host tests. Light: static RAM 30,616 B, flash 332,705 B (+140 B).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-28 22:20:34 +00:00

166 lines
4.1 KiB
Text

#######################################
# Syntax Coloring Map For Alex2ESP
#######################################
#######################################
# Datatypes (KEYWORD1)
#######################################
Alex2ESP KEYWORD1
Alex2ESPState KEYWORD1
AlexaDevice KEYWORD1
AlexaInterface KEYWORD1
AlexaCapability KEYWORD1
AlexaDirective KEYWORD1
AlexaDirectiveHandler KEYWORD1
AlexaAction KEYWORD1
AlexaState KEYWORD1
AlexaCause KEYWORD1
AlexaErrorType KEYWORD1
AlexaMessageKind KEYWORD1
AlexaInterfaceType KEYWORD1
AlexaInterfaces KEYWORD1
AlexaInterfaceDesc KEYWORD1
AlexaStatusMessage KEYWORD1
AlexaAssets KEYWORD1
AlexaUnits KEYWORD1
AlexaLockState KEYWORD1
AlexaThermostatMode KEYWORD1
ActionMapping KEYWORD1
AlexaActions KEYWORD1
AlexaActionsUtils KEYWORD1
DisplayCategory KEYWORD1
DisplayCategoryUtils KEYWORD1
EndpointHealth KEYWORD1
PowerController KEYWORD1
TemperatureSensorScale KEYWORD1
AlexaUtils KEYWORD1
AlexaLog KEYWORD1
AlexaLogLevel KEYWORD1
AlexaSendResult KEYWORD1
AlexaTransport KEYWORD1
#######################################
# Methods and Functions (KEYWORD2)
#######################################
begin KEYWORD2
loop KEYWORD2
getState KEYWORD2
getDisconnectReason KEYWORD2
getDevice KEYWORD2
setServer KEYWORD2
setLogLevel KEYWORD2
setTimeSource KEYWORD2
publish KEYWORD2
timestamp KEYWORD2
setName KEYWORD2
getName KEYWORD2
getEndpointId KEYWORD2
hasEndpointId KEYWORD2
setDisplayCategory KEYWORD2
getDisplayCategory KEYWORD2
setDescription KEYWORD2
getDescription KEYWORD2
setManufacturerName KEYWORD2
getManufacturerName KEYWORD2
setManufacturer KEYWORD2
getManufacturer KEYWORD2
setModel KEYWORD2
getModel KEYWORD2
getSoftwareVersion KEYWORD2
getDeviceJSON KEYWORD2
addCapability KEYWORD2
registerEvent KEYWORD2
onDirective KEYWORD2
findCapability KEYWORD2
getInterfaceType KEYWORD2
response KEYWORD2
stateReport KEYWORD2
deferred KEYWORD2
error KEYWORD2
sceneStarted KEYWORD2
sceneStopped KEYWORD2
isReportState KEYWORD2
is KEYWORD2
context KEYWORD2
alexaInterfaceRow KEYWORD2
changeReport KEYWORD2
doorbellPress KEYWORD2
event KEYWORD2
triggerEvent KEYWORD2
buildStatusMessage KEYWORD2
getType KEYWORD2
getTypeString KEYWORD2
getVersion KEYWORD2
setInstance KEYWORD2
addFriendlyName KEYWORD2
isRetrievable KEYWORD2
isProactivelyReported KEYWORD2
setRetrievable KEYWORD2
setProactivelyReported KEYWORD2
addActionMapping KEYWORD2
addStateMapping KEYWORD2
addFriendlyAsset KEYWORD2
setConfiguration KEYWORD2
setNonControllable KEYWORD2
setSupportsDeactivation KEYWORD2
isNonControllable KEYWORD2
getInstance KEYWORD2
getRow KEYWORD2
matches KEYWORD2
AddHealthProp KEYWORD2
AddPowerControllerProp KEYWORD2
AddTemperatureSensorProp KEYWORD2
AddBrightnessControllerProp KEYWORD2
AddColorTemperatureControllerProp KEYWORD2
AddToggleControllerProp KEYWORD2
addHealthProp KEYWORD2
addPowerControllerProp KEYWORD2
addTemperatureSensorProp KEYWORD2
addBrightnessControllerProp KEYWORD2
addColorTemperatureControllerProp KEYWORD2
addToggleControllerProp KEYWORD2
addContextProp KEYWORD2
addColorControllerProp KEYWORD2
addPowerLevelControllerProp KEYWORD2
addPercentageControllerProp KEYWORD2
addRangeControllerProp KEYWORD2
addModeControllerProp KEYWORD2
addLockControllerProp KEYWORD2
addContactSensorProp KEYWORD2
addMotionSensorProp KEYWORD2
addHumiditySensorProp KEYWORD2
addThermostatSetpointProp KEYWORD2
addThermostatLowerSetpointProp KEYWORD2
addThermostatUpperSetpointProp KEYWORD2
addThermostatDualSetpointProp KEYWORD2
addThermostatModeProp KEYWORD2
addProperty KEYWORD2
isValid KEYWORD2
AddContextProp KEYWORD2
send KEYWORD2
sendAsync KEYWORD2
asErrorResponse KEYWORD2
payload KEYWORD2
getKind KEYWORD2
setLevel KEYWORD2
setOutput KEYWORD2
printMemoryInfo KEYWORD2
#######################################
# Constants (LITERAL1)
#######################################
ALEX2ESP_MAX_DIRECTIVE LITERAL1
ALEX2ESP_MAX_MESSAGE LITERAL1
ALEX2ESP_MAX_QUEUED_DIRECTIVES LITERAL1
ALEX2ESP_MAX_QUEUED_BYTES LITERAL1
ALEX2ESP_LOG_MAX LITERAL1
ALEX2ESP_MAX_CAPABILITIES LITERAL1
ALEX2ESP_MAX_FRIENDLY_NAMES LITERAL1
ALEX2ESP_MAX_ACTION_MAPPINGS LITERAL1
ALEX2ESP_MAX_STATE_MAPPINGS LITERAL1
ALEX2ESP_VERSION LITERAL1
ALEXA_TIMESTAMP_SIZE LITERAL1
MAX_EVENTS LITERAL1