Ok updated both repos on my PI.
Put my VERA IP in.
I still needed to do the python path piece, cause I wasnt sure exactly what to do with the source env.sh.
Didn’t want to pollute our troubleshooting (your doin all the hard work) with my lack of knowledge.
Anyways I think we are further. Its pretty obvious now what went wrong this time:
Traceback (most recent call last):
File "./run_scanner.py", line 25, in <module>
v = vera.VeraLocal(VERA_IP)
File "/srv/pyvera/vera.py", line 1718, in __init__
Vera.__init__(self)
File "/srv/pyvera/vera.py", line 1338, in __init__
self.update_state()
File "/srv/pyvera/vera.py", line 1411, in update_state
s.definition = SceneDefinition.parse(self, i)
File "/srv/pyvera/vera.py", line 1047, in parse
sd.actions.append(Group.parse(vera, i))
File "/srv/pyvera/vera.py", line 955, in parse
aset.actions.append(Action.parse(vera, i))
File "/srv/pyvera/vera.py", line 592, in parse
s["service"]
RuntimeError: Don't know how to handle service urn:futzle-com:serviceId:CountdownTimer1
That is my countdowntimer pluggin.
I have quite a list of custom plugins:
CountdownTimer
PLEG
SONOS
UPNP
Weather
Temperature
Multiswitch
CombinationSwitch
So I went ahead and added
“urn:futzle-com:serviceId:CountdownTimer1”,
“urn:micasaverde-com:serviceId:MediaNavigation1”,
in the line 581 function.
That got my even further to another error:
root@raspberrypi:/srv/scanner# ./run_scanner.py
Traceback (most recent call last):
File "./run_scanner.py", line 25, in <module>
v = vera.VeraLocal(VERA_IP)
File "/srv/pyvera/vera.py", line 1720, in __init__
Vera.__init__(self)
File "/srv/pyvera/vera.py", line 1340, in __init__
self.update_state()
File "/srv/pyvera/vera.py", line 1413, in update_state
s.definition = SceneDefinition.parse(self, i)
File "/srv/pyvera/vera.py", line 1040, in parse
for i in s["triggers"]:
KeyError: 'triggers'
So I added a print statement right before line 1040.
I attached a doc with those results.
I think it may be choking on the fact I have LUA in a lot of my scenes?
I wasnt sure how to debug:
for i in s[“triggers”]:
sd.triggers.append(Trigger.parse(vera, i))
Thanks in advance if you have time to look into this.