Jump to content

Reboot Linux to solve connection issue vs. simply restarting BrickD


Recommended Posts

Geschrieben

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?

Geschrieben

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?

Geschrieben

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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...