Don't continuous send data to domoticz

Sun, 25 Jun 2017 13:02:06 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 25 Jun 2017 13:02:06 +0200
changeset 516
65299c11774b
parent 515
7ab5cf2afc0c
child 517
5fd12d9f3f84

Don't continuous send data to domoticz

thermferm/thermferm.c file | annotate | diff | comparison | revisions
--- a/thermferm/thermferm.c	Sat Jun 10 23:43:56 2017 +0200
+++ b/thermferm/thermferm.c	Sun Jun 25 13:02:06 2017 +0200
@@ -1679,10 +1679,8 @@
 			}
 			if (unit->door_state) {
 			    device_out(unit->heater_address, unit->heater_state);
-			    pub_domoticz_output(unit->heater_idx, unit->heater_state);
 			} else {
 			    device_out(unit->heater_address, 0);
-			    pub_domoticz_output(unit->heater_idx, 0);
 			}
 		    }
 
@@ -1715,10 +1713,8 @@
 			}
 			if (unit->door_state) {
 			    device_out(unit->cooler_address, unit->cooler_state);
-			    pub_domoticz_output(unit->cooler_idx, unit->cooler_state);
 			} else {
 			    device_out(unit->cooler_address, 0);
-			    pub_domoticz_output(unit->cooler_idx, 0);
 			}
 		    }
 		    if (debug)

mercurial