craftbeerpi3
craftbeerpi3 copied to clipboard
Craftbeerpi refused to start.
I had a working setup using SSR for brewing and tp-link wireless for fermentation.
Next time I tried to make a brew after I had used fermentation it didn't work, without me having done anything. ( It refused connection on web interface )
SSH into the box, tried stop and start of Craftbeerpi, I also tried to run install again without that helping. Lastly I did clean the database and then it started working.
pi@raspberrypi:~/craftbeerpi3 $ sudo python run.py
INIT DB
/home/pi/craftbeerpi3/modules/buzzer/init.py:18: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(self.gpio, GPIO.OUT)
Traceback (most recent call last):
File "run.py", line 3, in
Looks like the TPLink Plugin needs some better error checking.
Were you using the TPLink cloud setup?
Looks like the cloud API returned an error message or something. i have submitted a pull request on the TPlink git hub, once its accepted you should update the plugin
@mrillies Yes I believe I was logged into to TP-link acount. Thanks for quick fix, hopefully it will fix the issue.
https://github.com/aravndal/TPLinkPlug/pull/3/commits/7824d4cb2a9c162f48c7327e0fb37fd9f51dc388
But ideally an Pluging should not hinder Craftbeerpi to start? If the plugin malfuncitons, craftbeerpi should simple disable it ?
Agreed, I’ve raised this as an issue before and hopefully it gets fixed in 3.1.
I could make changes now to fix it but don’t want to mess with what Manuel has planned for 3.1
On Tue, 2 Jan 2018 at 01:12, Ole-Petter [email protected] wrote:
@mrillies https://github.com/mrillies Yes I believe I was logged into to TP-link acount. Thanks for quick fix, hopefully it will fix the issue.
aravndal/TPLinkPlug@7824d4c https://github.com/aravndal/TPLinkPlug/commit/7824d4cb2a9c162f48c7327e0fb37fd9f51dc388
But ideally an Pluging should not hinder Craftbeerpi to start? If the plugin malfuncitons, craftbeerpi should simple disable it ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Manuel83/craftbeerpi3/issues/165#issuecomment-354655290, or mute the thread https://github.com/notifications/unsubscribe-auth/AD0dhB6dT8RCrqax02S6RlcPNTPeA7-nks5tGOe1gaJpZM4RPrrN .
@mrillies @Manuel83 Looks like this have not been merged to plugin github by the owner.
Is it really benificall to keep plugins on seperate Githubs ? This is fairly new already, and already there is "dead" plugins ?
Would it be better to keep plugins in master Github ?
Plugins are made by other authors most of the time. If they were maintained all in one repo, that means just the admins for this repo would be responsible for their development and maintenance and would destroy most of the point of having a plugin system.