home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Basic Home Automation via xAP BSC enabled devices (updated 9-01-2008)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="migube" data-source="post: 203915" data-attributes="member: 59895"><p>HI Patrick,</p><p></p><p>thx for the answers.</p><p></p><p>still thinking how I'll do it <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />.</p><p>As I'll also have One-Wire temperature on the wrt54G with owfs, I must find a way to do things like <a href="http://ip?get=T1" target="_blank">http://ip?get=T1</a> which would then be parsed on the webserver, get the temperature of T1 and Answers in text. (like 25 °C or just 25).</p><p></p><p>On the X10 part, my devices do not support reading their status <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> </p><p>Unless they have been modified by X10 commands on the net, the CM11 won't know (like AD10 being pushed by buttons). </p><p>Heyu accomodates different commands (cfr below)</p><p>Example:</p><p># heyu dimlevel m1</p><p>100</p><p># heyu onstate F2</p><p>1</p><p># heyu onstate F3</p><p>0</p><p></p><p>etc...</p><p></p><p></p><p>heyu commands</p><p> [Administrative commands (H = Housecode)]</p><p> heyu info Display CM11A registers, clock, and upload status</p><p> heyu date Return date in date(1) input format</p><p> heyu erase Zero CM11A EEPROM, erasing all events and macros</p><p> heyu help [command] This screen, or specific command help</p><p> heyu syn Display built-in synonyms for direct commands</p><p> heyu <label> Execute a scene or usersyn defined in the config file</p><p> heyu show <option> (Enter 'heyu show' to see options)</p><p> heyu monitor Monitor X10 activity (end with <BREAK>)</p><p> heyu engine Start or restart the Heyu state engine</p><p> heyu initstate [H] Zero entire state table or just housecode H</p><p> heyu initothers Zero cumulative address table</p><p> heyu reset [H] Reset interface to housecode H or default</p><p> heyu setclock Set CM11A clock to system clock (per schedule)</p><p> heyu readclock Display CM11A and system clocks (per schedule)</p><p> heyu newbattery Reset CM11A battery timer to zero</p><p> heyu purge Cancel pending delayed macros</p><p> heyu clear Clear CM11A registers</p><p> heyu list Display Lock and Spool directory names</p><p> heyu stop Stop the current relay and state engine daemons</p><p> heyu upload [check|croncheck] Upload schedule to CM11A or check schedule file</p><p> heyu upload status|cronstatus Display status of uploaded schedule</p><p> heyu catchup Emulate uploaded Timers from 0:00 to current time today</p><p> heyu trigger Hu on|off Emulate Trigger in uploaded schedule</p><p> heyu macro <label> Emulate Macro in uploaded schedule</p><p> heyu utility <option> (Enter 'heyu utility' to see options)</p><p> heyu logmsg <"text"> Display text message in log file and/or monitor</p><p> heyu wait [timeout] Wait until macro execution is completed</p><p> heyu cm10a_init Initialize CM10A interface. (For CM10A only!)</p><p> heyu version Display the Heyu version and exit</p><p></p><p> [State commands (H = Housecode, u = Single unit) - require heyu engine]</p><p> heyu enginestate Display 1 if state engine is running, else 0</p><p> heyu flagstate n Boolian state of flag n</p><p> heyu statusstate H<u> Status-pending bitmap of H or boolian Hu</u></p><p><u> heyu onstate H<u> On-state bitmap of H or boolian Hu</u></u></p><p><u><u> heyu dimstate H<u> Dim-state bitmap of H or boolian Hu</u></u></u></p><p><u><u><u> heyu chgstate H<u> Changed-state bitmap of H or boolian Hu</u></u></u></u></p><p><u><u><u><u> heyu addrstate H<u> Addressed-state bitmap of H or boolian Hu</u></u></u></u></u></p><p><u><u><u><u><u> heyu statestr H State mini-bitmaps of all units as ASCII string</u></u></u></u></u></p><p><u><u><u><u><u> heyu dimlevel Hu Brighness level of module Hu as 0-100%</u></u></u></u></u></p><p><u><u><u><u><u> heyu rawlevel Hu Native level (0-210, 1-32, or 0-63) of module Hu</u></u></u></u></u></p><p><u><u><u><u><u> heyu memlevel Hu Stored level 0-100% for module Hu with memory</u></u></u></u></u></p><p><u><u><u><u><u> heyu rawmemlevel Hu Stored native level for module Hu with memory</u></u></u></u></u></p><p><u><u><u><u><u> heyu heyu_state Hu Heyu script environment state bitmap (as integer)</u></u></u></u></u></p><p><u><u><u><u><u> heyu heyu_rawstate Hu Heyu script raw environment state bitmap (as integer)</u></u></u></u></u></p><p><u><u><u><u><u> heyu xtend_state Hu Xtend script environment state bitmap (as integer)</u></u></u></u></u></p><p><u><u><u><u><u> heyu fetchstate See man page heyu(1)</u></u></u></u></u></p><p><u><u><u><u><u></u></u></u></u></u></p><p> <u><u><u><u><u>[Direct commands (H = Housecode, U = Units list)]</u></u></u></u></u></p><p><u><u><u><u><u> heyu on HU Turn units ON</u></u></u></u></u></p><p><u><u><u><u><u> heyu off HU Turn units OFF</u></u></u></u></u></p><p><u><u><u><u><u> heyu bright HU <level> Brighten units by <level> (1-22)</u></u></u></u></u></p><p><u><u><u><u><u> heyu brightb HU <level> Brighten units by <level> (1-22) after full bright</u></u></u></u></u></p><p><u><u><u><u><u> heyu dim HU <level> Dim units by <level> (1-22)</u></u></u></u></u></p><p><u><u><u><u><u> heyu dimb HU <level> Dim units by <level> (1-22) after full bright</u></u></u></u></u></p><p><u><u><u><u><u> heyu lightson H Turn All Lights ON</u></u></u></u></u></p><p><u><u><u><u><u> heyu lightsoff H Turn All Lights OFF (**)</u></u></u></u></u></p><p><u><u><u><u><u> heyu allon H Turn Units 1-16 ON</u></u></u></u></u></p><p><u><u><u><u><u> heyu alloff H Turn All Units OFF</u></u></u></u></u></p><p><u><u><u><u><u> heyu turn HU <command> Change state on|off|up|down [vv]</u></u></u></u></u></p><p><u><u><u><u><u> heyu _turn HU <command> Legacy turn command as above (*)</u></u></u></u></u></p><p><u><u><u><u><u> heyu preset HU <level> Preset units to <level> (1-32) (*)</u></u></u></u></u></p><p><u><u><u><u><u> heyu mpreset HU <linked> Limited Preset for macros - see manpage</u></u></u></u></u></p><p><u><u><u><u><u> heyu _preset HU <level> Legacy preset command as above (*)</u></u></u></u></u></p><p><u><u><u><u><u> heyu preset_level <level> Preset to <level> (1-32) (function only)</u></u></u></u></u></p><p><u><u><u><u><u> heyu status HU Request ON/OFF status (two-way modules)</u></u></u></u></u></p><p><u><u><u><u><u> heyu _status HU Legacy status command as above (*)</u></u></u></u></u></p><p><u><u><u><u><u> heyu status_on HU Status Acknowledge ON</u></u></u></u></u></p><p><u><u><u><u><u> heyu status_off HU Status Acknowledge OFF</u></u></u></u></u></p><p><u><u><u><u><u> heyu hail [H] Hail other devices</u></u></u></u></u></p><p><u><u><u><u><u> heyu hailw [H] Hail other devices, await ack (*)</u></u></u></u></u></p><p><u><u><u><u><u> heyu hail_ack [H] Hail Acknowledge</u></u></u></u></u></p><p><u><u><u><u><u> heyu data_xfer H Data Transfer (function code 0xC)</u></u></u></u></u></p><p><u><u><u><u><u> heyu xon HU Extended Turn Units Full ON (LM14A)</u></u></u></u></u></p><p><u><u><u><u><u> heyu xoff HU Extended Turn Units Full OFF (LM14A)</u></u></u></u></u></p><p><u><u><u><u><u> heyu xpreset HU <level> Extended Preset <level> (0-63) (LM14A)</u></u></u></u></u></p><p><u><u><u><u><u> heyu xallon H Extended All Units ON (LM14A)</u></u></u></u></u></p><p><u><u><u><u><u> heyu xalloff H Extended All Units OFF (LM14A)</u></u></u></u></u></p><p><u><u><u><u><u> heyu xstatus HU Extended Status Request (LM14A)</u></u></u></u></u></p><p><u><u><u><u><u> heyu xconfig HU <mode 0-3> Extended config auto status mode (LM14A)</u></u></u></u></u></p><p><u><u><u><u><u> heyu xpowerup HU Extended module power-up signal (LM14A)</u></u></u></u></u></p><p><u><u><u><u><u> heyu xfunc <T/F> HU <Data> Extended command - general</u></u></u></u></u></p><p><u><u><u><u><u> heyu xfuncw <T/F> HU <Data> Extended command - general, await ack (*)</u></u></u></u></u></p><p><u><u><u><u><u> heyu address HU [HU [...]] Send Housecode|Units addresses only (*)</u></u></u></u></u></p><p><u><u><u><u><u> heyu function <command ...> Send command function only</u></u></u></u></u></p><p><u><u><u><u><u> heyu kill_all_hc Send All_Units_Off to All Housecodes</u></u></u></u></u></p><p><u><u><u><u><u> heyu pause N.NNN Pause for N.NNN seconds (*)</u></u></u></u></u></p><p><u><u><u><u><u> heyu rcs_req <query_command> Request RCS compatible status (*)</u></u></u></u></u></p><p><u><u><u><u><u> heyu temp_req <query_command> Request temperature (RCS compatible) (*)</u></u></u></u></u></p><p><u><u><u><u><u> heyu setflag n[,n...] Set one or more flags (n = 1-16) (@) (*)</u></u></u></u></u></p><p><u><u><u><u><u> heyu clrflag n[,n...] Clear one or more flags (n = 1-16) (@) (*)</u></u></u></u></u></p><p><u><u><u><u><u> heyu clrstatus H<u> Clear status-pending flags (@) (*)</u></u></u></u></u></u></p><p><u><u><u><u><u><u></u></u></u></u></u></u></p><p><u><u><u><u><u><u></u></u></u></u></u></u></p><p><u><u><u><u><u><u></u></u></u></u></u></u></p><p><u><u><u><u><u><u>heyu show options:</u></u></u></u></u></u></p><p><u><u><u><u><u><u> a[liases] Aliases defined in config file</u></u></u></u></u></u></p><p><u><u><u><u><u><u> s[cenes] Scenes defined in config file</u></u></u></u></u></u></p><p><u><u><u><u><u><u> u[sersyns] Usersyns defined in config file</u></u></u></u></u></u></p><p><u><u><u><u><u><u> m[odules] H Module attributes, housecode H</u></u></u></u></u></u></p><p><u><u><u><u><u><u> l[aunchers] [H] Launchers, all or only housecode H or -p</u></u></u></u></u></u></p><p><u><u><u><u><u><u> h[ousemap] [H] Overall system state, or details housecode H (*)</u></u></u></u></u></u></p><p><u><u><u><u><u><u> d[imlevels] Dim levels of modules as percent (*)</u></u></u></u></u></u></p><p><u><u><u><u><u><u> r[awlevels] Native levels of modules (*)</u></u></u></u></u></u></p><p><u><u><u><u><u><u> f[lags] Flag states (*)</u></u></u></u></u></u></p><p><u><u><u><u><u><u> o[thers] Cumulative received address map (*) - clear with</u></u></u></u></u></u></p><p><u><u><u><u><u><u> 'heyu initothers' or 'heyu initstate'</u></u></u></u></u></u></p><p><u><u><u><u><u><u> (*) Require the heyu state engine to be running</u></u></u></u></u></u></p><p><u><u><u><u><u><u></u></u></u></u></u></u></p><p><u><u><u><u><u><u>thx</u></u></u></u></u></u></p></blockquote><p></p>
[QUOTE="migube, post: 203915, member: 59895"] 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 [url]http://ip?get=T1[/url] 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[u] Status-pending bitmap of H or boolian Hu heyu onstate H[u] On-state bitmap of H or boolian Hu heyu dimstate H[u] Dim-state bitmap of H or boolian Hu heyu chgstate H[u] Changed-state bitmap of H or boolian Hu heyu addrstate H[u] 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[U] 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[/U][/u][/u][/u][/u][/u] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Basic Home Automation via xAP BSC enabled devices (updated 9-01-2008)
Contact us
RSS
Top
Bottom