I've had some great success using Eventghost and appreciate all the help I've had from Forum Posts.
I'm not a developer so apologies for my newbie query.
I get all events listed for my Oregan Sensor, I now want to be more selective and have configured for Monitor Change only events. However I still get all events.
By adding some "print" I have followed the plugin code to this section at Line 519.
Code: Select all
def SaveOregonTHSensor(self, msg, m_key):
#Make status data persistent if it has changed
m = msg
#print 'm: ', m
tr_e = False
try:
if msg != self.sensor_state_memory[m_key]:
self.sensor_state_memory[m_key] = msg
tr_e = True
Code: Select all
except KeyError:
if self.bDebug:
print self.text.keyAdded
self.sensor_state_memory[m_key] = msg
tr_e = True
Many thanks for looking at this
PJ