Normal
HI Patrick,thx for the answers.still thinking how I'll do it .As I'll also have One-Wire temperature on the wrt54G with owfs, I must find a way to do things like http://ip?get=T1 which would then be parsed on the webserver, get the temperature of T1 and Answers in text. (like 25 °C or just 25).On the X10 part, my devices do not support reading their status Unless they have been modified by X10 commands on the net, the CM11 won't know (like AD10 being pushed by buttons).Heyu accomodates different commands (cfr below)Example:# heyu dimlevel m1100# heyu onstate F21# heyu onstate F30etc...heyu commands [Administrative commands (H = Housecode)] heyu info Display CM11A registers, clock, and upload status heyu date Return date in date(1) input format heyu erase Zero CM11A EEPROM, erasing all events and macros heyu help [command] This screen, or specific command help heyu syn Display built-in synonyms for direct commands heyu <label> Execute a scene or usersyn defined in the config file heyu show <option> (Enter 'heyu show' to see options) heyu monitor Monitor X10 activity (end with <BREAK>) heyu engine Start or restart the Heyu state engine heyu initstate [H] Zero entire state table or just housecode H heyu initothers Zero cumulative address table heyu reset [H] Reset interface to housecode H or default heyu setclock Set CM11A clock to system clock (per schedule) heyu readclock Display CM11A and system clocks (per schedule) heyu newbattery Reset CM11A battery timer to zero heyu purge Cancel pending delayed macros heyu clear Clear CM11A registers heyu list Display Lock and Spool directory names heyu stop Stop the current relay and state engine daemons heyu upload [check|croncheck] Upload schedule to CM11A or check schedule file heyu upload status|cronstatus Display status of uploaded schedule heyu catchup Emulate uploaded Timers from 0:00 to current time today heyu trigger Hu on|off Emulate Trigger in uploaded schedule heyu macro <label> Emulate Macro in uploaded schedule heyu utility <option> (Enter 'heyu utility' to see options) heyu logmsg <"text"> Display text message in log file and/or monitor heyu wait [timeout] Wait until macro execution is completed heyu cm10a_init Initialize CM10A interface. (For CM10A only!) heyu version Display the Heyu version and exit [State commands (H = Housecode, u = Single unit) - require heyu engine] heyu enginestate Display 1 if state engine is running, else 0 heyu flagstate n Boolian state of flag n heyu statusstate H Status-pending bitmap of H or boolian Hu heyu onstate H On-state bitmap of H or boolian Hu heyu dimstate H Dim-state bitmap of H or boolian Hu heyu chgstate H Changed-state bitmap of H or boolian Hu heyu addrstate H Addressed-state bitmap of H or boolian Hu heyu statestr H State mini-bitmaps of all units as ASCII string heyu dimlevel Hu Brighness level of module Hu as 0-100% heyu rawlevel Hu Native level (0-210, 1-32, or 0-63) of module Hu heyu memlevel Hu Stored level 0-100% for module Hu with memory heyu rawmemlevel Hu Stored native level for module Hu with memory heyu heyu_state Hu Heyu script environment state bitmap (as integer) heyu heyu_rawstate Hu Heyu script raw environment state bitmap (as integer) heyu xtend_state Hu Xtend script environment state bitmap (as integer) heyu fetchstate See man page heyu(1) [Direct commands (H = Housecode, U = Units list)] heyu on HU Turn units ON heyu off HU Turn units OFF heyu bright HU <level> Brighten units by <level> (1-22) heyu brightb HU <level> Brighten units by <level> (1-22) after full bright heyu dim HU <level> Dim units by <level> (1-22) heyu dimb HU <level> Dim units by <level> (1-22) after full bright heyu lightson H Turn All Lights ON heyu lightsoff H Turn All Lights OFF (**) heyu allon H Turn Units 1-16 ON heyu alloff H Turn All Units OFF heyu turn HU <command> Change state on|off|up|down [vv] heyu _turn HU <command> Legacy turn command as above (*) heyu preset HU <level> Preset units to <level> (1-32) (*) heyu mpreset HU <linked> Limited Preset for macros - see manpage heyu _preset HU <level> Legacy preset command as above (*) heyu preset_level <level> Preset to <level> (1-32) (function only) heyu status HU Request ON/OFF status (two-way modules) heyu _status HU Legacy status command as above (*) heyu status_on HU Status Acknowledge ON heyu status_off HU Status Acknowledge OFF heyu hail [H] Hail other devices heyu hailw [H] Hail other devices, await ack (*) heyu hail_ack [H] Hail Acknowledge heyu data_xfer H Data Transfer (function code 0xC) heyu xon HU Extended Turn Units Full ON (LM14A) heyu xoff HU Extended Turn Units Full OFF (LM14A) heyu xpreset HU <level> Extended Preset <level> (0-63) (LM14A) heyu xallon H Extended All Units ON (LM14A) heyu xalloff H Extended All Units OFF (LM14A) heyu xstatus HU Extended Status Request (LM14A) heyu xconfig HU <mode 0-3> Extended config auto status mode (LM14A) heyu xpowerup HU Extended module power-up signal (LM14A) heyu xfunc <T/F> HU <Data> Extended command - general heyu xfuncw <T/F> HU <Data> Extended command - general, await ack (*) heyu address HU [HU [...]] Send Housecode|Units addresses only (*) heyu function <command ...> Send command function only heyu kill_all_hc Send All_Units_Off to All Housecodes heyu pause N.NNN Pause for N.NNN seconds (*) heyu rcs_req <query_command> Request RCS compatible status (*) heyu temp_req <query_command> Request temperature (RCS compatible) (*) heyu setflag n[,n...] Set one or more flags (n = 1-16) (@) (*) heyu clrflag n[,n...] Clear one or more flags (n = 1-16) (@) (*) heyu clrstatus H Clear status-pending flags (@) (*)heyu show options: a[liases] Aliases defined in config file s[cenes] Scenes defined in config file u[sersyns] Usersyns defined in config file m[odules] H Module attributes, housecode H l[aunchers] [H] Launchers, all or only housecode H or -p h[ousemap] [H] Overall system state, or details housecode H (*) d[imlevels] Dim levels of modules as percent (*) r[awlevels] Native levels of modules (*) f[lags] Flag states (*) o[thers] Cumulative received address map (*) - clear with 'heyu initothers' or 'heyu initstate' (*) Require the heyu state engine to be runningthx
HI Patrick,
thx for the answers.
still thinking how I'll do it .
As I'll also have One-Wire temperature on the wrt54G with owfs, I must find a way to do things like http://ip?get=T1 which would then be parsed on the webserver, get the temperature of T1 and Answers in text. (like 25 °C or just 25).
On the X10 part, my devices do not support reading their status
Unless they have been modified by X10 commands on the net, the CM11 won't know (like AD10 being pushed by buttons).
Heyu accomodates different commands (cfr below)
Example:
# heyu dimlevel m1
100
# heyu onstate F2
1
# heyu onstate F3
0
etc...
heyu commands
[Administrative commands (H = Housecode)]
heyu info Display CM11A registers, clock, and upload status
heyu date Return date in date(1) input format
heyu erase Zero CM11A EEPROM, erasing all events and macros
heyu help [command] This screen, or specific command help
heyu syn Display built-in synonyms for direct commands
heyu <label> Execute a scene or usersyn defined in the config file
heyu show <option> (Enter 'heyu show' to see options)
heyu monitor Monitor X10 activity (end with <BREAK>)
heyu engine Start or restart the Heyu state engine
heyu initstate [H] Zero entire state table or just housecode H
heyu initothers Zero cumulative address table
heyu reset [H] Reset interface to housecode H or default
heyu setclock Set CM11A clock to system clock (per schedule)
heyu readclock Display CM11A and system clocks (per schedule)
heyu newbattery Reset CM11A battery timer to zero
heyu purge Cancel pending delayed macros
heyu clear Clear CM11A registers
heyu list Display Lock and Spool directory names
heyu stop Stop the current relay and state engine daemons
heyu upload [check|croncheck] Upload schedule to CM11A or check schedule file
heyu upload status|cronstatus Display status of uploaded schedule
heyu catchup Emulate uploaded Timers from 0:00 to current time today
heyu trigger Hu on|off Emulate Trigger in uploaded schedule
heyu macro <label> Emulate Macro in uploaded schedule
heyu utility <option> (Enter 'heyu utility' to see options)
heyu logmsg <"text"> Display text message in log file and/or monitor
heyu wait [timeout] Wait until macro execution is completed
heyu cm10a_init Initialize CM10A interface. (For CM10A only!)
heyu version Display the Heyu version and exit
[State commands (H = Housecode, u = Single unit) - require heyu engine]
heyu enginestate Display 1 if state engine is running, else 0
heyu flagstate n Boolian state of flag n
heyu statusstate H Status-pending bitmap of H or boolian Hu
heyu onstate H On-state bitmap of H or boolian Hu
heyu dimstate H Dim-state bitmap of H or boolian Hu
heyu chgstate H Changed-state bitmap of H or boolian Hu
heyu addrstate H Addressed-state bitmap of H or boolian Hu
heyu statestr H State mini-bitmaps of all units as ASCII string
heyu dimlevel Hu Brighness level of module Hu as 0-100%
heyu rawlevel Hu Native level (0-210, 1-32, or 0-63) of module Hu
heyu memlevel Hu Stored level 0-100% for module Hu with memory
heyu rawmemlevel Hu Stored native level for module Hu with memory
heyu heyu_state Hu Heyu script environment state bitmap (as integer)
heyu heyu_rawstate Hu Heyu script raw environment state bitmap (as integer)
heyu xtend_state Hu Xtend script environment state bitmap (as integer)
heyu fetchstate See man page heyu(1)
[Direct commands (H = Housecode, U = Units list)]
heyu on HU Turn units ON
heyu off HU Turn units OFF
heyu bright HU <level> Brighten units by <level> (1-22)
heyu brightb HU <level> Brighten units by <level> (1-22) after full bright
heyu dim HU <level> Dim units by <level> (1-22)
heyu dimb HU <level> Dim units by <level> (1-22) after full bright
heyu lightson H Turn All Lights ON
heyu lightsoff H Turn All Lights OFF (**)
heyu allon H Turn Units 1-16 ON
heyu alloff H Turn All Units OFF
heyu turn HU <command> Change state on|off|up|down [vv]
heyu _turn HU <command> Legacy turn command as above (*)
heyu preset HU <level> Preset units to <level> (1-32) (*)
heyu mpreset HU <linked> Limited Preset for macros - see manpage
heyu _preset HU <level> Legacy preset command as above (*)
heyu preset_level <level> Preset to <level> (1-32) (function only)
heyu status HU Request ON/OFF status (two-way modules)
heyu _status HU Legacy status command as above (*)
heyu status_on HU Status Acknowledge ON
heyu status_off HU Status Acknowledge OFF
heyu hail [H] Hail other devices
heyu hailw [H] Hail other devices, await ack (*)
heyu hail_ack [H] Hail Acknowledge
heyu data_xfer H Data Transfer (function code 0xC)
heyu xon HU Extended Turn Units Full ON (LM14A)
heyu xoff HU Extended Turn Units Full OFF (LM14A)
heyu xpreset HU <level> Extended Preset <level> (0-63) (LM14A)
heyu xallon H Extended All Units ON (LM14A)
heyu xalloff H Extended All Units OFF (LM14A)
heyu xstatus HU Extended Status Request (LM14A)
heyu xconfig HU <mode 0-3> Extended config auto status mode (LM14A)
heyu xpowerup HU Extended module power-up signal (LM14A)
heyu xfunc <T/F> HU <Data> Extended command - general
heyu xfuncw <T/F> HU <Data> Extended command - general, await ack (*)
heyu address HU [HU [...]] Send Housecode|Units addresses only (*)
heyu function <command ...> Send command function only
heyu kill_all_hc Send All_Units_Off to All Housecodes
heyu pause N.NNN Pause for N.NNN seconds (*)
heyu rcs_req <query_command> Request RCS compatible status (*)
heyu temp_req <query_command> Request temperature (RCS compatible) (*)
heyu setflag n[,n...] Set one or more flags (n = 1-16) (@) (*)
heyu clrflag n[,n...] Clear one or more flags (n = 1-16) (@) (*)
heyu clrstatus H Clear status-pending flags (@) (*)
heyu show options:
a[liases] Aliases defined in config file
s[cenes] Scenes defined in config file
u[sersyns] Usersyns defined in config file
m[odules] H Module attributes, housecode H
l[aunchers] [H] Launchers, all or only housecode H or -p
h[ousemap] [H] Overall system state, or details housecode H (*)
d[imlevels] Dim levels of modules as percent (*)
r[awlevels] Native levels of modules (*)
f[lags] Flag states (*)
o[thers] Cumulative received address map (*) - clear with
'heyu initothers' or 'heyu initstate'
(*) Require the heyu state engine to be running
thx