Thanks for pointing that out. I'd been looking at pretty much every other GSD template I could find, but missed that one. DOH! I'd been sending to -1000 as that's what most of the code templates do, including some others that do work for me. Now that you've pointed out that code sample, specifically this bit:
def setdeviceconfig(insteonid, configurestring)
@deviceid = $children[insteonid]
@cmdfrom = device_.devid_
@cmdto = 4 #general info plugin
@priority = 1
@cmdid = 246
Now that I get the messaging aspect a bit better, I'll be reworking that code snippit to look like this (when I get home).
@data = ""
@data = get_data("/tstat/model").to_s
@data = @data.split(":")
#@model = (@data).to_s.gsub("}","").gsub! /"/, ''
@model = (@data).to_s.gsub("}","")
cmd = Command.new(device_.devid_, 4, 1, 1, 246)
cmd.params_ = (device_.devid_).to_s
cmd.params_ = '233'
cmd.params_ = @model.to_s
rescue => e
log("Error in get_model: " + e.message)
Once I get it all working, I'll write up some more re-usable functions like ddamron did in his drivers. I've been studying his EZServe and PLM drivers, and using them as the basis for my ISY driver; I'm taking a break from the ISY driver to work on something simpler (like the thermostat) to figure out some of these more complicated LMCE details like modifying other LMCE controlled data, and the whole sqlcvs thing.
Thanks for getting me back on the right track! Much appreciated!