I've just upgrade my pibeacon to 7.105.293 from a much older version, and I had a couple of issues.
a. I don't use any homeseer security (fear not - I have some reverse proxy's for internet access to homeseer). So in the 'master' config I have 'DIGEST, BASIC or no authentication' set to 'use do not use security...', and the 'userid and password both blank'. The plugin wouldn't set running until I entered a dummy username and password. Looks like the code in plugin.py around line 8787ish - perhaps this should 'break' if no security is set?
- Code: Select all
while True:
if self.userIdOfServer !="" and self.passwordOfServer !="" : break
self.indiLOG.log(20, u"userid or password not configured in config")
self.sleep(20)
b. Had some problems with exim! Eventually tracked this down to line 1425ish. of master.py
- Code: Select all
os.system("sudo chown -R pi:pi "+G.logDir)
I think this is a hangover from when the logFile was in /run/..., and the line should be something like
- Code: Select all
os.system("sudo chown -R pi:pi "+G.logDir+"piBeacon.log")
Otherwise, thanks for a v. useful plugin; I know have 6 beacons running and can locate my keyring to a room! (More seriously I use it as presence detection to set Home/Away automatically!
-- Paul --