Skip to content
Discussion options

You must be logged in to vote

Well, I got something that worked for me. I used:
http://web.archive.org/web/20131017130434/http://www.jejik.com/files/examples/daemon3x.py

Made an subclass of Daemon before main() in my mini_device.py, adding the bacpypes.core.run() in the run method of the subclass:
class TheDaemon(Daemon):
def run(self):
run()

Replaced where the run() method is called in mini_device.py with:
daemon = TheDaemon('/tmp/daemon-example.pid')
daemon.start()

Just wanted to let the next person in need know what I found and keep someone from doing an unnecessary write up trying to help me.

Keep calm and carry on.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cadam01
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants