matthiku Posted January 14, 2015 at 02:11 PM Share Posted January 14, 2015 at 02:11 PM I have 2 Master Bricks with a Dual Relay, temp sensor, LCD and more temp sensors attached, all connected to a Raspberry Pi, and usually working fine. Based on the "rugged example", I've a Python script that uses callbacks to get the temp values and a simple DR_get to read the Dual Relay status. Occasionally, the connection to one or the other Master Bricks gets lost, but usually recovers. However, when it doesn't, why does a Linux Reboot resolves the situation but a restart (even a "force-reload") of the Brick daemon doesn't help? Is there any other option to help recovering from this situation? Quote Link to comment Share on other sites More sharing options...
photron Posted January 14, 2015 at 02:33 PM Share Posted January 14, 2015 at 02:33 PM Maybe the Master Brick itself get's restarted if you reboot the Linux, which doesn't happen if you just restart brickd. You could test to manually reset the Master Brick with its reset button if the problem occurs again to check this. Does the problem occur when you switch the Dual Relay Bricklet? Quote Link to comment Share on other sites More sharing options...
matthiku Posted January 14, 2015 at 04:09 PM Author Share Posted January 14, 2015 at 04:09 PM Hm, that could be an explanation. I will test it, but I have to wait until I'm back in the building. The problem seems to be independent from the Dual Relay Bricklet being switched or not, but I have to also watch this more closely. Meanwhile I wonder - is a software reset of the Master Brick ( Master.reset() ) the same as hardware reset? Quote Link to comment Share on other sites More sharing options...
photron Posted January 14, 2015 at 04:49 PM Share Posted January 14, 2015 at 04:49 PM Meanwhile I wonder - is a software reset of the Master Brick ( Master.reset() ) the same as hardware reset? Yes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.