![]() |
![]()
| ![]() |
![]()
NAMEx10digimax - DigiMax 210 support for HEYU DESCRIPTIONHeyu is an X10 Automation program for Linux, Unix, and Mac OS X. See man page heyu(1) for usage information. DigiMax The DigiMax 210 is a wireless thermostat which transmits encoded Temperature, Setpoint, and Under/Over setpoint RF signals. When equipped with a compatible RF receiver, Heyu can receive and decode this information. SYSTEM REQUIREMENTSTo use a DigiMax with Heyu requires a 433.92 MHz RFXCOM X10 RF receiver and Heyu version 2.3 or greater. COMPILER OPTIONSupport for DigiMax is compiled into Heyu by default. A compiler option can be used to omit this support. See the file INSTALL included in the Heyu distribution source directory for details. CONFIGURATIONIt is assumed that a working installation of Heyu version 2.3 or greater exists on the computer, and that the user has a basic familiarity with Heyu. The Heyu configuration file should include the directive:
Start Heyu with ´heyu start´, then open another xterm window and run ´heyu monitor´ in it to start the Heyu Monitor. Press and hold both the ´+´ and ´-´ buttons on the DigiMax until the display starts flashing "]]]" (about 3 seconds). It will start transmitting its initialization signal every 10 seconds (for 5 minutes or until a button is pressed). Or you can just wait until the DigiMax sends its normal signal about every 5 minutes. In the Heyu monitor window you should then see something like this (ignoring the date and time):
Map the DigiMax ID to an otherwise unused housecode and unitcode
address with an ALIAS directive in your Heyu configuration file using module
type DIGIMAX.
Run ´heyu restart´ to incorporate this change into the running Heyu daemons. Then the next time the DigiMax makes a transmission you should see (with the above example) something like this:
Notes: The first dmxTemp signal after a start or restart will display the flag "NotSet" as the Heyu engine will not have recorded the Setpoint temperature until it receives the dmsSetpoint signal. It´s not clear whether the DigiMax thermostat will automatically swap On and Off signals if operated in "cool" mode (which requires cutting a jumper wire in the thermostat), or whether the swapping would be implemented in the base station which transmits On/Off powerline signals. User feedback is requested. The current implementation swaps the signals. STORED DIGIMAX DATAIf the Heyu Engine daemon is running, current DigiMax data is stored in the Heyu state tables and displayed in the Heyu log file (if thus configured). Stored data can be retrieved with the following Heyu state
commands, where Hu is the Housecode|Unit address to which the sensor has
been mapped in the ALIAS directive, or the alias label itself.
The command ´heyu show digimax´ will display stored data from all configured DigiMax units in tabular form. When DigiMax functions dmxOn and dmxOff are received, the normal Heyu state for the particular housecode and unit is set to "On" or "Off" respectively and will be reflected when state commands like ´heyu onstate Hu´ and ´heyu show housemap H´ are run. HEYU SCRIPTSHeyu scripts can be launched by the functions
"dmxsetpoint", "dmxtemp", "dmxon", and
"dmxoff" the same as any other Heyu function. The launch
conditions in the SCRIPT directive must include the source keyword
"RCVA" and may optionally include the keyword "changed",
any of the common flags, and the global security flags. They may also
optionally include the local flags.
Local flags for the DigiMax functions are:
SCRIPT ENVIRONMENTAny Heyu script has access to the stored DigiMax values through
environment variables linked to the housecode|unit (Hu) and its alias mapped
to each DigiMax unit.
If a Heyu script is launched by one of the functions
"dmxsetpoint", "dmxtemp", "dmxon" or
"dmxoff", the environment will additionally include variables for
flags and values without the "Hu" identification as follows:
No variable is created for data which is invalid or "not ready". CONFIGURATION DIRECTIVESIn addition to the ALIAS and scaling directives mentioned above, the following will also affect DigiMax data. See man page x10config(5). Directive HIDE_UNCHANGED YES|NO AUTHORSDigiMax support was added to Heyu by Charles W. Sullivan using the protocol gratefully provided by RFXCOM. SEE ALSOhttp://www.marmitek.com/en/manual/9431.pdf
|