Skip to content
ggodart edited this page Jan 1, 2021 · 1 revision

caddx

See original

SYNOPSIS

None

DESCRIPTION

None

INHERITS

None

METHODS

Method Description
udp_init will set up the udp listener. This code used to run from BEGIN, but we need to wait until main has loaded config_parms, so it is now deferred to first time thru in poll.
read select has reported a udp msg ready, so lets see what it is.
poll_caddx is installed as a hook in MisterHouse so that we can keep an eye on the udp msgs w/o modifying any user code.
process_msg will lookup the zone/partition related to the msg, and modify the object to reflect the new value reported by the caddx controller.

INI PARAMETERS

None

AUTHOR

SEE ALSO

None

Clone this wiki locally