Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Reboot Linux to solve connection issue vs. simply restarting BrickD

Featured Replies

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
  • Autor

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...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.