comparison service/arduinoNode/devices.py @ 1139:db955e7943af

arduinonode reads config from etcd. use pushConfig.py to inform all nodes Ignore-this: 3155d873bb30ca82b48ace7531a550e5 darcs-hash:0b2be13fbb4dc2571bb1bb8ac97f6a1350f36e77
author drewp <drewp@bigasterisk.com>
date Sat, 03 Mar 2018 17:53:37 -0800
parents 1e43ec4a5f23
children 3010238b94a0
comparison
equal deleted inserted replaced
1138:08615804ee0e 1139:db955e7943af
68 input (e.g. IR receiver). 68 input (e.g. IR receiver).
69 Returns rdf statements. 69 Returns rdf statements.
70 """ 70 """
71 raise NotImplementedError('readFromPoll in %s' % self.__class__) 71 raise NotImplementedError('readFromPoll in %s' % self.__class__)
72 72
73 def wantIdleOutput(self):
74 return False
75
76 def outputIdle(self, write):
77 return
78
73 def hostStatements(self): 79 def hostStatements(self):
74 """ 80 """
75 Like readFromPoll but these statements come from the host-side 81 Like readFromPoll but these statements come from the host-side
76 python code, not the connected device. Include output state 82 python code, not the connected device. Include output state
77 (e.g. light brightness) if its master version is in this 83 (e.g. light brightness) if its master version is in this