1
Users / Re: Web Orbiter Ulta Blank Buttons
« on: May 01, 2012, 11:12:01 pm »
1004 I have done a full regen, but no dice.
-Gregg
-Gregg
Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Trippleg,
Since you're appearantly familiar with the PLM code, could you tell me/us if it presently supports Insteon scenes? If so, would it support creating a scene in LinuxMCE that gets pushed into the devices, or merely triggering a scene that already exists in the devices (e.g. Manually linked scenes)?
Thanks!
/Mike
Thanks trippleg
http://wiki.linuxmce.org/index.php/Insteon_-_Setting_Up_PLM_Template
GSD-Sleep Post 280 : 0 <0xb7113b90>
05 11/17/11 7:55:31.169 _QueueProc Post - 280 : 0 <0xb7113b90>
05 11/17/11 7:56:27.069 GSDMessageTranslator isCmdImplemented = false <0xb5910b90>
05 11/17/11 7:56:27.072 #### Pre-Process Queue = 1 <0xb5910b90>
05 11/17/11 7:56:27.105 _QueueProc Pre - 280 : 0 <0xb7113b90>
05 11/17/11 7:56:27.106 GSD-Sleep Pre 280 : 0 <0xb7113b90>
05 11/17/11 7:56:27.106 Process Queue = 1 <0xb7113b90><0xb5910b90>
when 0x05 # Climate Control
case $childdatabases[insteonID][0][2..3].hex
when 0x00; @work += 'Broan SMSC080 Exhaust Fan'
when 0x01; @work += 'Simplehomenet EZTherm'
when 0x02; @work += 'Broan SMSC110 Exhaust Fan'
when 0x03; @work += 'Venstar RF Thermostat Module'
when 0x04; @work += 'Simplehomenet EZStat Thermostat'
when 0x6B; @work += 'Venstar RF Thermostat Module'
end
@work += "\t\t4" # Set Template 4
I have this code in the Tellstick code:
cmdTo = cmd.devidto_ # Device ID in LinuxMCE
devPort = device_.childdevices_[cmdTo].devdata_[12] # 12 contains a port/channel
childType = device_.childdevices_[cmdTo].devtemplid_ # Template ID to know type of device
Hope it helps.
/Joakim
#### Written by Dan Damron
#### #760 Send Command to Child ####
@insteonID = id.chomp.split('.')
@parameters = parameters
@command = pk_command
@cmd = cmd
childtype =device_.childdevices_[cmdTo].devtemplid_ # find out device type
log('#760:id=' + id.inspect)
log('#760:parameters=' + parameters.inspect)
log('#760:pk_command=' + pk_command.inspect)
log('#760:cmd=' + cmd.inspect)
### ok, I get the insteonID in @insteonID
# pk_command has one of THREE values, 192, 193, or NOTHING
# when I click 50%, I get in parameters: 76
# but NOTHING in pk_command.
case pk_command
when '193' #OFF
when childtype == 4 #used when Device is Thermostat
param = {'Command' => 'SndIns',
'Parameter1' => @insteonID[0],
'Parameter2' => @insteonID[1],
'Parameter3' => @insteonID[2],
'Parameter4' => '0F',
'Parameter5' => '6B',
'Parameter6' => '09'} #OFF
when childtype != 4 #used when Device not Thermostat
param = {'Command' => 'SndIns',
'Parameter1' => @insteonID[0],
'Parameter2' => @insteonID[1],
'Parameter3' => @insteonID[2],
'Parameter4' => '0F',
'Parameter5' => '13', #OFF
'Parameter6' => '00'}
$cmdqueue << param
SndIns()