Thermostat Device
Eric,
I have a SMARTHOME TempLinc which is supposed to be compatable with the RCS TX15-B control protocol. I would love to test it with your plugin once you have it working. I would be willing to help with testing and debug. It has been a long time since I did much coding so I'm not sure I could help there. I would still be interested in seeing the code to see how one implements a device plugin like this. Maybe I'll brush off my software skills and attempt to code a plugin.
Mark
Info on TempLink can be found here:
http://www.smarthome.com/1625.html
http://www.smarthome.com/manuals/1625_web.pdf
I have a SMARTHOME TempLinc which is supposed to be compatable with the RCS TX15-B control protocol. I would love to test it with your plugin once you have it working. I would be willing to help with testing and debug. It has been a long time since I did much coding so I'm not sure I could help there. I would still be interested in seeing the code to see how one implements a device plugin like this. Maybe I'll brush off my software skills and attempt to code a plugin.
Mark
Info on TempLink can be found here:
http://www.smarthome.com/1625.html
http://www.smarthome.com/manuals/1625_web.pdf
If you look at the Beep Device, you can see an example.
The method of changing a value may seem a bit odd, since it takes several steps. It gives you a bit more flexibility by having the property values as discrete objects, so you can do a bit more with them.
To change the value, you first have to create a new value to change it to. Generally you call CreatePropertyValue() on the Property that you are wanting to change.
You can then call either ChangeRequestCompleted() or ChangeRequestFailed() on the new property. Since you created the value yourself in the plugin, you probably want to call ChangeRequestCompleted().
Lastly, delete the object.
Goes like this.
The method of changing a value may seem a bit odd, since it takes several steps. It gives you a bit more flexibility by having the property values as discrete objects, so you can do a bit more with them.
To change the value, you first have to create a new value to change it to. Generally you call CreatePropertyValue() on the Property that you are wanting to change.
You can then call either ChangeRequestCompleted() or ChangeRequestFailed() on the new property. Since you created the value yourself in the plugin, you probably want to call ChangeRequestCompleted().
Lastly, delete the object.
Goes like this.
Code: Select all
// Change the value to "No".
CPropertyValue* pNoValue = m_pYesOrNo->CreatePropertyValue( "No" );
if (pNoValue)
{
pNoValue->ChangeRequestCompleted();
delete pNoValue;
}
Scott
RCTX15B vs. RCTX16B
Eric,
I installed your plug-in and I'm considering buying a RCTX15B thermostat but then I saw there's also a RCTX16B available. Is the 16B compatible with your plug-in ? Does anyone know what the difference is with the 15B ?
I installed your plug-in and I'm considering buying a RCTX15B thermostat but then I saw there's also a RCTX16B available. Is the 16B compatible with your plug-in ? Does anyone know what the difference is with the 15B ?
Kind regards,
Bram
Bram
One of the main differences between the TX15B and TX16B is that the latter has heat and cool setpoints. There are some other minor differences but I don't remember exactly what they are. You can set the TX16B in TX15B mode so they should be compatible but I don't have a TX16B to test with.
If you get a TX16B and have troubles let me know and I will try to add some code to the plug-in to get it working.
Eric
If you get a TX16B and have troubles let me know and I will try to add some code to the plug-in to get it working.
Eric