Hi
I can make some of it Work..
I can get and set, and I can turn the burner off, but i cant turn it on Again :/
p.setItem('burner_off', '0') <-- turns it off
p.setItem('burner_off', '1') <--- does nothing
p.setItem('burner_on', '0') <--- does nothing
p.setItem('burner_on', '1') <--- does nothing
How do I turn the burner on Again?
And another thing, if i run the scrip to fast after last execution i get this:
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
File "/usr/local/etc/pelletsystem/src/protocol.py", line 184, in run
File "/usr/lib/python2.7/Queue.py", line 168, in get
File "/usr/lib/python2.7/threading.py", line 237, in wait
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
Is that some thread I have to close?