diff --git a/lightwave/lightwave.py b/lightwave/lightwave.py
index <HASH>..<HASH> 100644
--- a/lightwave/lightwave.py
+++ b/lightwave/lightwave.py
@@ -67,6 +67,11 @@ class LWLink():
         msg = "!%sF0|Turn Off|%s" % (device_id, name)
         self._send_message(msg)
 
+    def set_temperature(self, device_id,  temp, name):
+        """Create the message to set the trv target temp."""
+        msg = '!%sF*tP%s|Set Target|%s' % (device_id, round(temp,1), name)
+        self._send_message(msg)
+
     def _send_queue(self):
         """If the queue is not empty, process the queue."""
         while not LWLink.the_queue.empty():
@@ -85,6 +90,8 @@ class LWLink():
                     as read_sock:
                 write_sock.setsockopt(
                     socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
+                read_sock.setsockopt(
+                    socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
                 read_sock.setsockopt(socket.SOL_SOCKET,
                                      socket.SO_BROADCAST, 1)
                 read_sock.settimeout(self.SOCKET_TIMEOUT)
Colin Robbins (#4)

* Add TRV support



* correct format error for <I> increments



* Revert "correct format error for <I> increments"



This reverts commit dac<I>cada6e<I>adf<I>d<I>fcad<I>e1.



* Added TRV support - try 2



* Fix transactin ID