Components

24 Twig Components
135 Render Count
1047 ms Render Time
14.0 MiB Memory Usage

Components

Name Metadata Render Count Render Time
user_avatar
"App\Twig\Components\UserAvatarComponent"
components/user_avatar.html.twig
16 16.88ms
settings_row_switch
"App\Twig\Components\SettingsRowSwitchComponent"
components/_settings_row_switch.html.twig
15 2.52ms
date
"App\Twig\Components\DateComponent"
components/date.html.twig
14 3.32ms
user_inline
"App\Twig\Components\UserInlineComponent"
components/user_inline.html.twig
13 4.96ms
date_edited
"App\Twig\Components\DateEditedComponent"
components/date_edited.html.twig
12 1.89ms
vote
"App\Twig\Components\VoteComponent"
components/vote.html.twig
12 9.92ms
boost
"App\Twig\Components\BoostComponent"
components/boost.html.twig
12 10.26ms
entry_comment
"App\Twig\Components\EntryCommentComponent"
components/entry_comment.html.twig
11 513.45ms
entry_comments_nested
"App\Twig\Components\EntryCommentsNestedComponent"
components/_cached.html.twig
11 361.75ms
user_settings_row_switch
"App\Twig\Components\UserSettingsRowSwitchComponent"
components/_user_settings_row_switch.html.twig
4 10.45ms
settings_row_enum
"App\Twig\Components\SettingsRowEnumComponent"
components/_settings_row_enum.html.twig
2 0.48ms
entry
"App\Twig\Components\EntryComponent"
components/_cached.html.twig
1 21.68ms
entries_cross
"App\Twig\Components\EntriesCrossComponent"
components/_cached.html.twig
1 61.25ms
editor_toolbar
"App\Twig\Components\EditorToolbarComponent"
components/editor_toolbar.html.twig
1 0.39ms
user_actions
"App\Twig\Components\UserActionsComponent"
components/user_actions.html.twig
1 0.47ms
magazine_box
"App\Twig\Components\MagazineBoxComponent"
components/magazine_box.html.twig
1 7.10ms
magazine_sub
"App\Twig\Components\MagazineSubComponent"
components/magazine_sub.html.twig
1 0.49ms
related_magazines
"App\Twig\Components\RelatedMagazinesComponent"
components/_cached.html.twig
1 8.36ms
active_users
"App\Twig\Components\ActiveUsersComponent"
components/_cached.html.twig
1 660.67ms
related_categories
"App\Twig\Components\RelatedCategoriesComponent"
components/_cached.html.twig
1 19.47ms
related_posts
"App\Twig\Components\RelatedPostsComponent"
components/_cached.html.twig
1 12.07ms
related_entries
"App\Twig\Components\RelatedEntriesComponent"
components/_cached.html.twig
1 17.51ms
support_us_block
"App\Twig\Components\SupportUsBlock"
components/_cached.html.twig
1 0.24ms
featured_magazines
"App\Twig\Components\FeaturedMagazinesComponent"
components/_cached.html.twig
1 0.71ms

Render calls

entry App\Twig\Components\EntryComponent 14.0 MiB 21.68 ms
Input props
[
  "entry" => App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
    +title: "RPi Pico "disconnects" after a few minutes to days"
    +url: null
    +body: """
      I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
      \n
      It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
      \n
      I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
      \n
      The error modes I could observe are:\n
      \n
      1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
      2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
      \n
      My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
      \n
      My current ideas why it could fail (but I’m not an electronics guy at all):\n
      \n
      - There is some kind of “rogue current” messing with some IC.\n
      - Some component is broken\n
      - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
      \n
      For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 6
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1696250329 {#2410
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 2392
    -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
    -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1696036696
    +visibility: "visible             "
    +apId: "https://feddit.de/post/3954651"
    +editedAt: null
    +createdAt: DateTimeImmutable @1695986696 {#1850
      date: 2023-09-29 13:24:56.0 +02:00
    }
  }
  "isSingle" => true
  "showShortSentence" => false
  "showBody" => true
]
Attributes
[
  "class" => "entry--single section--top"
]
Component
App\Twig\Components\EntryComponent {#2954
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
  -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2955 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
    +title: "RPi Pico "disconnects" after a few minutes to days"
    +url: null
    +body: """
      I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
      \n
      It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
      \n
      I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
      \n
      The error modes I could observe are:\n
      \n
      1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
      2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
      \n
      My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
      \n
      My current ideas why it could fail (but I’m not an electronics guy at all):\n
      \n
      - There is some kind of “rogue current” messing with some IC.\n
      - Some component is broken\n
      - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
      \n
      For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 6
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1696250329 {#2410
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 2392
    -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
    -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1696036696
    +visibility: "visible             "
    +apId: "https://feddit.de/post/3954651"
    +editedAt: null
    +createdAt: DateTimeImmutable @1695986696 {#1850
      date: 2023-09-29 13:24:56.0 +02:00
    }
  }
  +isSingle: true
  +showShortSentence: false
  +showBody: true
  +showMagazineName: false
  +canSeeTrash: false
  +newComments: 0
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.41 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#3176
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.40 ms
Input props
[
  "date" => DateTimeImmutable @1695986696 {#1850
    date: 2023-09-29 13:24:56.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#3246
  +date: DateTimeImmutable @1695986696 {#1850
    date: 2023-09-29 13:24:56.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.15 ms
Input props
[
  "createdAt" => DateTimeImmutable @1695986696 {#1850
    date: 2023-09-29 13:24:56.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#3310
  +createdAt: DateTimeImmutable @1695986696 {#1850
    date: 2023-09-29 13:24:56.0 +02:00
  }
  +editedAt: null
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.53 ms
Input props
[
  "subject" => App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
    +title: "RPi Pico "disconnects" after a few minutes to days"
    +url: null
    +body: """
      I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
      \n
      It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
      \n
      I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
      \n
      The error modes I could observe are:\n
      \n
      1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
      2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
      \n
      My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
      \n
      My current ideas why it could fail (but I’m not an electronics guy at all):\n
      \n
      - There is some kind of “rogue current” messing with some IC.\n
      - Some component is broken\n
      - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
      \n
      For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 6
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1696250329 {#2410
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 2392
    -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
    -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1696036696
    +visibility: "visible             "
    +apId: "https://feddit.de/post/3954651"
    +editedAt: null
    +createdAt: DateTimeImmutable @1695986696 {#1850
      date: 2023-09-29 13:24:56.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#3375
  +subject: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
    +title: "RPi Pico "disconnects" after a few minutes to days"
    +url: null
    +body: """
      I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
      \n
      It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
      \n
      I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
      \n
      The error modes I could observe are:\n
      \n
      1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
      2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
      \n
      My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
      \n
      My current ideas why it could fail (but I’m not an electronics guy at all):\n
      \n
      - There is some kind of “rogue current” messing with some IC.\n
      - Some component is broken\n
      - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
      \n
      For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 6
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1696250329 {#2410
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 2392
    -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
    -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1696036696
    +visibility: "visible             "
    +apId: "https://feddit.de/post/3954651"
    +editedAt: null
    +createdAt: DateTimeImmutable @1695986696 {#1850
      date: 2023-09-29 13:24:56.0 +02:00
    }
  }
  +formDest: "entry"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 1.74 ms
Input props
[
  "subject" => App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
    +title: "RPi Pico "disconnects" after a few minutes to days"
    +url: null
    +body: """
      I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
      \n
      It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
      \n
      I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
      \n
      The error modes I could observe are:\n
      \n
      1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
      2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
      \n
      My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
      \n
      My current ideas why it could fail (but I’m not an electronics guy at all):\n
      \n
      - There is some kind of “rogue current” messing with some IC.\n
      - Some component is broken\n
      - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
      \n
      For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 6
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1696250329 {#2410
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 2392
    -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
    -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1696036696
    +visibility: "visible             "
    +apId: "https://feddit.de/post/3954651"
    +editedAt: null
    +createdAt: DateTimeImmutable @1695986696 {#1850
      date: 2023-09-29 13:24:56.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3441
  +formDest: "entry"
  +subject: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
    +title: "RPi Pico "disconnects" after a few minutes to days"
    +url: null
    +body: """
      I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
      \n
      It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
      \n
      I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
      \n
      The error modes I could observe are:\n
      \n
      1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
      2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
      \n
      My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
      \n
      My current ideas why it could fail (but I’m not an electronics guy at all):\n
      \n
      - There is some kind of “rogue current” messing with some IC.\n
      - Some component is broken\n
      - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
      \n
      For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 6
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1696250329 {#2410
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 2392
    -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
    -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1696036696
    +visibility: "visible             "
    +apId: "https://feddit.de/post/3954651"
    +editedAt: null
    +createdAt: DateTimeImmutable @1695986696 {#1850
      date: 2023-09-29 13:24:56.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entries_cross App\Twig\Components\EntriesCrossComponent 14.0 MiB 61.25 ms
Input props
[
  "entry" => App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
    +title: "RPi Pico "disconnects" after a few minutes to days"
    +url: null
    +body: """
      I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
      \n
      It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
      \n
      I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
      \n
      The error modes I could observe are:\n
      \n
      1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
      2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
      \n
      My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
      \n
      My current ideas why it could fail (but I’m not an electronics guy at all):\n
      \n
      - There is some kind of “rogue current” messing with some IC.\n
      - Some component is broken\n
      - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
      \n
      For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 6
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1696250329 {#2410
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 2392
    -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
    -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1696036696
    +visibility: "visible             "
    +apId: "https://feddit.de/post/3954651"
    +editedAt: null
    +createdAt: DateTimeImmutable @1695986696 {#1850
      date: 2023-09-29 13:24:56.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\EntriesCrossComponent {#3755
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
    +title: "RPi Pico "disconnects" after a few minutes to days"
    +url: null
    +body: """
      I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
      \n
      It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
      \n
      I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
      \n
      The error modes I could observe are:\n
      \n
      1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
      2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
      \n
      My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
      \n
      My current ideas why it could fail (but I’m not an electronics guy at all):\n
      \n
      - There is some kind of “rogue current” messing with some IC.\n
      - Some component is broken\n
      - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
      \n
      For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 11
    +favouriteCount: 6
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1696250329 {#2410
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 2392
    -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
    -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1696036696
    +visibility: "visible             "
    +apId: "https://feddit.de/post/3954651"
    +editedAt: null
    +createdAt: DateTimeImmutable @1695986696 {#1850
      date: 2023-09-29 13:24:56.0 +02:00
    }
  }
  -repository: App\Repository\EntryRepository {#271 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
}
editor_toolbar App\Twig\Components\EditorToolbarComponent 14.0 MiB 0.39 ms
Input props
[
  "id" => "entry_comment_67bd95aac50826.29049326_body"
]
Attributes
[]
Component
App\Twig\Components\EditorToolbarComponent {#3880
  +id: "entry_comment_67bd95aac50826.29049326_body"
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 111.04 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4083
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Perhaps slightly adjust your logic a little and see what it does.\n
      \n
      Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
      \n
      Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1696250251 {#4093
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4081 …}
    +nested: Doctrine\ORM\PersistentCollection {#4079 …}
    +votes: Doctrine\ORM\PersistentCollection {#4077 …}
    +reports: Doctrine\ORM\PersistentCollection {#4075 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
    -id: 30108
    -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3008325"
    +editedAt: DateTimeImmutable @1696033693 {#4025
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4092
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#4329
  +comment: App\Entity\EntryComment {#4083
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Perhaps slightly adjust your logic a little and see what it does.\n
      \n
      Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
      \n
      Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1696250251 {#4093
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4081 …}
    +nested: Doctrine\ORM\PersistentCollection {#4079 …}
    +votes: Doctrine\ORM\PersistentCollection {#4077 …}
    +reports: Doctrine\ORM\PersistentCollection {#4075 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
    -id: 30108
    -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3008325"
    +editedAt: DateTimeImmutable @1696033693 {#4025
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4092
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.18 ms
Input props
[
  "user" => App\Entity\User {#4032
    +avatar: null
    +cover: null
    +email: "dgriffith@aussie.zone"
    +username: "@dgriffith@aussie.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I’m a technical kinda guy, doing technical kinda stuff."
    +lastActive: DateTime @1729552629 {#4088
      date: 2024-10-22 01:17:09.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
    +entries: Doctrine\ORM\PersistentCollection {#4026 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
    +posts: Doctrine\ORM\PersistentCollection {#4016 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
    +follows: Doctrine\ORM\PersistentCollection {#4002 …}
    +followers: Doctrine\ORM\PersistentCollection {#4000 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
    +violations: Doctrine\ORM\PersistentCollection {#4149 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
    +awards: Doctrine\ORM\PersistentCollection {#4143 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
    +categories: Doctrine\ORM\PersistentCollection {#4141 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
    +apId: "dgriffith@aussie.zone"
    +apProfileId: "https://aussie.zone/u/dgriffith"
    +apPublicUrl: "https://aussie.zone/u/dgriffith"
    +apFollowersUrl: null
    +apInboxUrl: "https://aussie.zone/inbox"
    +apDomain: "aussie.zone"
    +apPreferredUsername: "dgriffith"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1706718291 {#4086
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4085
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#4475
  +user: App\Entity\User {#4032
    +avatar: null
    +cover: null
    +email: "dgriffith@aussie.zone"
    +username: "@dgriffith@aussie.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I’m a technical kinda guy, doing technical kinda stuff."
    +lastActive: DateTime @1729552629 {#4088
      date: 2024-10-22 01:17:09.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
    +entries: Doctrine\ORM\PersistentCollection {#4026 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
    +posts: Doctrine\ORM\PersistentCollection {#4016 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
    +follows: Doctrine\ORM\PersistentCollection {#4002 …}
    +followers: Doctrine\ORM\PersistentCollection {#4000 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
    +violations: Doctrine\ORM\PersistentCollection {#4149 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
    +awards: Doctrine\ORM\PersistentCollection {#4143 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
    +categories: Doctrine\ORM\PersistentCollection {#4141 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
    +apId: "dgriffith@aussie.zone"
    +apProfileId: "https://aussie.zone/u/dgriffith"
    +apPublicUrl: "https://aussie.zone/u/dgriffith"
    +apFollowersUrl: null
    +apInboxUrl: "https://aussie.zone/inbox"
    +apDomain: "aussie.zone"
    +apPreferredUsername: "dgriffith"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1706718291 {#4086
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4085
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.19 ms
Input props
[
  "date" => DateTimeImmutable @1696022917 {#4092
    date: 2023-09-29 23:28:37.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#4530
  +date: DateTimeImmutable @1696022917 {#4092
    date: 2023-09-29 23:28:37.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.16 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696022917 {#4092
    date: 2023-09-29 23:28:37.0 +02:00
  }
  "editedAt" => DateTimeImmutable @1696033693 {#4025
    date: 2023-09-30 02:28:13.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#4584
  +createdAt: DateTimeImmutable @1696022917 {#4092
    date: 2023-09-29 23:28:37.0 +02:00
  }
  +editedAt: DateTimeImmutable @1696033693 {#4025
    date: 2023-09-30 02:28:13.0 +02:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 6.86 ms
Input props
[
  "user" => App\Entity\User {#4032
    +avatar: null
    +cover: null
    +email: "dgriffith@aussie.zone"
    +username: "@dgriffith@aussie.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I’m a technical kinda guy, doing technical kinda stuff."
    +lastActive: DateTime @1729552629 {#4088
      date: 2024-10-22 01:17:09.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
    +entries: Doctrine\ORM\PersistentCollection {#4026 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
    +posts: Doctrine\ORM\PersistentCollection {#4016 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
    +follows: Doctrine\ORM\PersistentCollection {#4002 …}
    +followers: Doctrine\ORM\PersistentCollection {#4000 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
    +violations: Doctrine\ORM\PersistentCollection {#4149 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
    +awards: Doctrine\ORM\PersistentCollection {#4143 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
    +categories: Doctrine\ORM\PersistentCollection {#4141 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
    +apId: "dgriffith@aussie.zone"
    +apProfileId: "https://aussie.zone/u/dgriffith"
    +apPublicUrl: "https://aussie.zone/u/dgriffith"
    +apFollowersUrl: null
    +apInboxUrl: "https://aussie.zone/inbox"
    +apDomain: "aussie.zone"
    +apPreferredUsername: "dgriffith"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1706718291 {#4086
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4085
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#4640
  +width: 40
  +height: 40
  +user: App\Entity\User {#4032
    +avatar: null
    +cover: null
    +email: "dgriffith@aussie.zone"
    +username: "@dgriffith@aussie.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I’m a technical kinda guy, doing technical kinda stuff."
    +lastActive: DateTime @1729552629 {#4088
      date: 2024-10-22 01:17:09.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
    +entries: Doctrine\ORM\PersistentCollection {#4026 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
    +posts: Doctrine\ORM\PersistentCollection {#4016 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
    +follows: Doctrine\ORM\PersistentCollection {#4002 …}
    +followers: Doctrine\ORM\PersistentCollection {#4000 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
    +violations: Doctrine\ORM\PersistentCollection {#4149 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
    +awards: Doctrine\ORM\PersistentCollection {#4143 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
    +categories: Doctrine\ORM\PersistentCollection {#4141 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
    +apId: "dgriffith@aussie.zone"
    +apProfileId: "https://aussie.zone/u/dgriffith"
    +apPublicUrl: "https://aussie.zone/u/dgriffith"
    +apFollowersUrl: null
    +apInboxUrl: "https://aussie.zone/inbox"
    +apDomain: "aussie.zone"
    +apPreferredUsername: "dgriffith"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1706718291 {#4086
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4085
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.63 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4083
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Perhaps slightly adjust your logic a little and see what it does.\n
      \n
      Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
      \n
      Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1696250251 {#4093
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4081 …}
    +nested: Doctrine\ORM\PersistentCollection {#4079 …}
    +votes: Doctrine\ORM\PersistentCollection {#4077 …}
    +reports: Doctrine\ORM\PersistentCollection {#4075 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
    -id: 30108
    -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3008325"
    +editedAt: DateTimeImmutable @1696033693 {#4025
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4092
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#4731
  +subject: App\Entity\EntryComment {#4083
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Perhaps slightly adjust your logic a little and see what it does.\n
      \n
      Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
      \n
      Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1696250251 {#4093
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4081 …}
    +nested: Doctrine\ORM\PersistentCollection {#4079 …}
    +votes: Doctrine\ORM\PersistentCollection {#4077 …}
    +reports: Doctrine\ORM\PersistentCollection {#4075 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
    -id: 30108
    -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3008325"
    +editedAt: DateTimeImmutable @1696033693 {#4025
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4092
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.78 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4083
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Perhaps slightly adjust your logic a little and see what it does.\n
      \n
      Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
      \n
      Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1696250251 {#4093
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4081 …}
    +nested: Doctrine\ORM\PersistentCollection {#4079 …}
    +votes: Doctrine\ORM\PersistentCollection {#4077 …}
    +reports: Doctrine\ORM\PersistentCollection {#4075 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
    -id: 30108
    -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3008325"
    +editedAt: DateTimeImmutable @1696033693 {#4025
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4092
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#4788
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4083
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Perhaps slightly adjust your logic a little and see what it does.\n
      \n
      Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
      \n
      Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1696250251 {#4093
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4081 …}
    +nested: Doctrine\ORM\PersistentCollection {#4079 …}
    +votes: Doctrine\ORM\PersistentCollection {#4077 …}
    +reports: Doctrine\ORM\PersistentCollection {#4075 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
    -id: 30108
    -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3008325"
    +editedAt: DateTimeImmutable @1696033693 {#4025
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4092
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 80.90 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4083
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Perhaps slightly adjust your logic a little and see what it does.\n
      \n
      Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
      \n
      Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1696250251 {#4093
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4081 …}
    +nested: Doctrine\ORM\PersistentCollection {#4079 …}
    +votes: Doctrine\ORM\PersistentCollection {#4077 …}
    +reports: Doctrine\ORM\PersistentCollection {#4075 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
    -id: 30108
    -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3008325"
    +editedAt: DateTimeImmutable @1696033693 {#4025
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4092
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#5035
  +comment: App\Entity\EntryComment {#4083
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Perhaps slightly adjust your logic a little and see what it does.\n
      \n
      Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
      \n
      Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1696250251 {#4093
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4081 …}
    +nested: Doctrine\ORM\PersistentCollection {#4079 …}
    +votes: Doctrine\ORM\PersistentCollection {#4077 …}
    +reports: Doctrine\ORM\PersistentCollection {#4075 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
    -id: 30108
    -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3008325"
    +editedAt: DateTimeImmutable @1696033693 {#4025
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4092
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
  +nestedComments: [
    30446 => App\Entity\EntryComment {#4365
      +user: App\Entity\User {#4032}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4296
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4083}
        +root: App\Entity\EntryComment {#4083}
        +body: """
          I tried that. The loop was:\n
          \n
          1. Read sensor\n
          2. Prepare message\n
          3. Wifi on\n
          4. Send message\n
          5. Wifi off\n
          \n
          That should nicely separate everything, but it still ran into similar issues.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696235814 {#4294
          date: 2023-10-02 10:36:54.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@dgriffith@aussie.zone"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4297 …}
        +nested: Doctrine\ORM\PersistentCollection {#4299 …}
        +votes: Doctrine\ORM\PersistentCollection {#4301 …}
        +reports: Doctrine\ORM\PersistentCollection {#4303 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
        -id: 30423
        -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3390105"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696235814 {#4295
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
        \n
        The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696244837 {#4362
        date: 2023-10-02 13:07:17.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4366 …}
      +nested: Doctrine\ORM\PersistentCollection {#4368 …}
      +votes: Doctrine\ORM\PersistentCollection {#4370 …}
      +reports: Doctrine\ORM\PersistentCollection {#4372 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
      -id: 30446
      -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3064018"
      +editedAt: DateTimeImmutable @1696245290 {#4363
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4364
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    30449 => App\Entity\EntryComment {#4403
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4365}
      +root: App\Entity\EntryComment {#4083}
      +body: """
        > can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
        \n
        Not really, at least I wouldn’t really know how. The sensor needs +3V, GND and two data pins, and the pico only has one 3V out, that seems to connect directly to the voltage regulator. I guess, I could try to use a GPIO pin as a switchable 3V out, but that seems rather hacky.\n
        \n
        > The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state\n
        \n
        Unfortunately, a simple machine.reset() seems not to be enough. I didn’t use “real” watchdogs, but what a Java dev knows: try/catch. I wrapped the entire loop in a try/except block and simply call machine.reset() if something goes wrong. That does work sometimes, but not always. Of course the possibilities are a) some exception isn’t getting caught b) there is some electronic issue, maybe the SPI interface to the DHT is “stuck” or not properly reset. I can resolve the problems by completely disconnecting the device for a while from power.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696250249 {#4401
        date: 2023-10-02 14:37:29.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4404 …}
      +nested: Doctrine\ORM\PersistentCollection {#4406 …}
      +votes: Doctrine\ORM\PersistentCollection {#4408 …}
      +reports: Doctrine\ORM\PersistentCollection {#4410 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4412 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4414 …}
      -id: 30449
      -bodyTs: "'+3':35 '3v':48,72 'also':81 'alway':166 'b':179 'back':116 'block':151 'call':154 'caught':178 'complet':204 'connect':53 'could':62,86 'cours':109,168 'cycl':16 'data':40 'dev':140 'devic':207 'dht':191 'didn':131 'direct':54 'disconnect':205 'doesn':103 'electron':183 'enough':129 'entir':146 'except':174 'get':114,177 'give':91 'gnd':37 'goe':158 'gpio':67 'guess':60 'hacki':78 'interfac':188 'isn':175 'issu':107,184 'java':139 'know':30,141 'least':10,25,112 'loop':147 'machine.reset':124,155 'mayb':185 'need':20,34 'one':47 'pico':44,80 'pin':8,41,68 'possibl':170 'power':3,15,212 'problem':202 'programmat':14 'proper':196 'rather':77 'real':134 'realli':23,29 'reboot':94 'regul':58 'reset':197 'resolv':200 'respond':99 'seem':51,76,125 'sensor':5,33 'set':87 'simpl':123 'simpli':153 'solv':105 'someth':157 'sometim':163 'spi':187 'state':120 'stuck':193 'switchabl':71 'thing':96 'time':101 'tri':63 'try/catch':142 'try/except':150 'two':39 'unfortun':121 'use':65,133 'v':36 'voltag':57 'watchdog':84,135 'work':162 'workabl':119 'wouldn':27 'wrap':144 'wrong':159"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3394212"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696250249 {#4402
        date: 2023-10-02 14:37:29.0 +02:00
      }
    }
    30423 => App\Entity\EntryComment {#4296}
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 65.00 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4296
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4083
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Perhaps slightly adjust your logic a little and see what it does.\n
        \n
        Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
        \n
        Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1696250251 {#4093
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4081 …}
      +nested: Doctrine\ORM\PersistentCollection {#4079 …}
      +votes: Doctrine\ORM\PersistentCollection {#4077 …}
      +reports: Doctrine\ORM\PersistentCollection {#4075 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
      -id: 30108
      -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3008325"
      +editedAt: DateTimeImmutable @1696033693 {#4025
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4092
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      I tried that. The loop was:\n
      \n
      1. Read sensor\n
      2. Prepare message\n
      3. Wifi on\n
      4. Send message\n
      5. Wifi off\n
      \n
      That should nicely separate everything, but it still ran into similar issues.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696235814 {#4294
      date: 2023-10-02 10:36:54.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4297 …}
    +nested: Doctrine\ORM\PersistentCollection {#4299 …}
    +votes: Doctrine\ORM\PersistentCollection {#4301 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 30423
    -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390105"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235814 {#4295
      date: 2023-10-02 10:36:54.0 +02:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5109
  +comment: App\Entity\EntryComment {#4296
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4083
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Perhaps slightly adjust your logic a little and see what it does.\n
        \n
        Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
        \n
        Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1696250251 {#4093
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4081 …}
      +nested: Doctrine\ORM\PersistentCollection {#4079 …}
      +votes: Doctrine\ORM\PersistentCollection {#4077 …}
      +reports: Doctrine\ORM\PersistentCollection {#4075 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
      -id: 30108
      -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3008325"
      +editedAt: DateTimeImmutable @1696033693 {#4025
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4092
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      I tried that. The loop was:\n
      \n
      1. Read sensor\n
      2. Prepare message\n
      3. Wifi on\n
      4. Send message\n
      5. Wifi off\n
      \n
      That should nicely separate everything, but it still ran into similar issues.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696235814 {#4294
      date: 2023-10-02 10:36:54.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4297 …}
    +nested: Doctrine\ORM\PersistentCollection {#4299 …}
    +votes: Doctrine\ORM\PersistentCollection {#4301 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 30423
    -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390105"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235814 {#4295
      date: 2023-10-02 10:36:54.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 2
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.16 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5156
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1696235814 {#4295
    date: 2023-10-02 10:36:54.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5211
  +date: DateTimeImmutable @1696235814 {#4295
    date: 2023-10-02 10:36:54.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.12 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696235814 {#4295
    date: 2023-10-02 10:36:54.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5265
  +createdAt: DateTimeImmutable @1696235814 {#4295
    date: 2023-10-02 10:36:54.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.16 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#5319
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.48 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4296
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4083
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Perhaps slightly adjust your logic a little and see what it does.\n
        \n
        Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
        \n
        Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1696250251 {#4093
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4081 …}
      +nested: Doctrine\ORM\PersistentCollection {#4079 …}
      +votes: Doctrine\ORM\PersistentCollection {#4077 …}
      +reports: Doctrine\ORM\PersistentCollection {#4075 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
      -id: 30108
      -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3008325"
      +editedAt: DateTimeImmutable @1696033693 {#4025
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4092
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      I tried that. The loop was:\n
      \n
      1. Read sensor\n
      2. Prepare message\n
      3. Wifi on\n
      4. Send message\n
      5. Wifi off\n
      \n
      That should nicely separate everything, but it still ran into similar issues.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696235814 {#4294
      date: 2023-10-02 10:36:54.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4297 …}
    +nested: Doctrine\ORM\PersistentCollection {#4299 …}
    +votes: Doctrine\ORM\PersistentCollection {#4301 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 30423
    -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390105"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235814 {#4295
      date: 2023-10-02 10:36:54.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#5429
  +subject: App\Entity\EntryComment {#4296
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4083
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Perhaps slightly adjust your logic a little and see what it does.\n
        \n
        Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
        \n
        Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1696250251 {#4093
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4081 …}
      +nested: Doctrine\ORM\PersistentCollection {#4079 …}
      +votes: Doctrine\ORM\PersistentCollection {#4077 …}
      +reports: Doctrine\ORM\PersistentCollection {#4075 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
      -id: 30108
      -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3008325"
      +editedAt: DateTimeImmutable @1696033693 {#4025
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4092
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      I tried that. The loop was:\n
      \n
      1. Read sensor\n
      2. Prepare message\n
      3. Wifi on\n
      4. Send message\n
      5. Wifi off\n
      \n
      That should nicely separate everything, but it still ran into similar issues.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696235814 {#4294
      date: 2023-10-02 10:36:54.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4297 …}
    +nested: Doctrine\ORM\PersistentCollection {#4299 …}
    +votes: Doctrine\ORM\PersistentCollection {#4301 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 30423
    -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390105"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235814 {#4295
      date: 2023-10-02 10:36:54.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.78 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4296
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4083
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Perhaps slightly adjust your logic a little and see what it does.\n
        \n
        Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
        \n
        Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1696250251 {#4093
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4081 …}
      +nested: Doctrine\ORM\PersistentCollection {#4079 …}
      +votes: Doctrine\ORM\PersistentCollection {#4077 …}
      +reports: Doctrine\ORM\PersistentCollection {#4075 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
      -id: 30108
      -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3008325"
      +editedAt: DateTimeImmutable @1696033693 {#4025
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4092
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      I tried that. The loop was:\n
      \n
      1. Read sensor\n
      2. Prepare message\n
      3. Wifi on\n
      4. Send message\n
      5. Wifi off\n
      \n
      That should nicely separate everything, but it still ran into similar issues.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696235814 {#4294
      date: 2023-10-02 10:36:54.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4297 …}
    +nested: Doctrine\ORM\PersistentCollection {#4299 …}
    +votes: Doctrine\ORM\PersistentCollection {#4301 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 30423
    -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390105"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235814 {#4295
      date: 2023-10-02 10:36:54.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#5486
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4296
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4083
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Perhaps slightly adjust your logic a little and see what it does.\n
        \n
        Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
        \n
        Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1696250251 {#4093
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4081 …}
      +nested: Doctrine\ORM\PersistentCollection {#4079 …}
      +votes: Doctrine\ORM\PersistentCollection {#4077 …}
      +reports: Doctrine\ORM\PersistentCollection {#4075 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
      -id: 30108
      -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3008325"
      +editedAt: DateTimeImmutable @1696033693 {#4025
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4092
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      I tried that. The loop was:\n
      \n
      1. Read sensor\n
      2. Prepare message\n
      3. Wifi on\n
      4. Send message\n
      5. Wifi off\n
      \n
      That should nicely separate everything, but it still ran into similar issues.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696235814 {#4294
      date: 2023-10-02 10:36:54.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4297 …}
    +nested: Doctrine\ORM\PersistentCollection {#4299 …}
    +votes: Doctrine\ORM\PersistentCollection {#4301 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 30423
    -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390105"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235814 {#4295
      date: 2023-10-02 10:36:54.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 58.97 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4296
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4083
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Perhaps slightly adjust your logic a little and see what it does.\n
        \n
        Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
        \n
        Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1696250251 {#4093
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4081 …}
      +nested: Doctrine\ORM\PersistentCollection {#4079 …}
      +votes: Doctrine\ORM\PersistentCollection {#4077 …}
      +reports: Doctrine\ORM\PersistentCollection {#4075 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
      -id: 30108
      -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3008325"
      +editedAt: DateTimeImmutable @1696033693 {#4025
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4092
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      I tried that. The loop was:\n
      \n
      1. Read sensor\n
      2. Prepare message\n
      3. Wifi on\n
      4. Send message\n
      5. Wifi off\n
      \n
      That should nicely separate everything, but it still ran into similar issues.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696235814 {#4294
      date: 2023-10-02 10:36:54.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4297 …}
    +nested: Doctrine\ORM\PersistentCollection {#4299 …}
    +votes: Doctrine\ORM\PersistentCollection {#4301 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 30423
    -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390105"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235814 {#4295
      date: 2023-10-02 10:36:54.0 +02:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#5726
  +comment: App\Entity\EntryComment {#4296
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4083
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Perhaps slightly adjust your logic a little and see what it does.\n
        \n
        Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
        \n
        Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1696250251 {#4093
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4081 …}
      +nested: Doctrine\ORM\PersistentCollection {#4079 …}
      +votes: Doctrine\ORM\PersistentCollection {#4077 …}
      +reports: Doctrine\ORM\PersistentCollection {#4075 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
      -id: 30108
      -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3008325"
      +editedAt: DateTimeImmutable @1696033693 {#4025
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4092
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      I tried that. The loop was:\n
      \n
      1. Read sensor\n
      2. Prepare message\n
      3. Wifi on\n
      4. Send message\n
      5. Wifi off\n
      \n
      That should nicely separate everything, but it still ran into similar issues.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696235814 {#4294
      date: 2023-10-02 10:36:54.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4297 …}
    +nested: Doctrine\ORM\PersistentCollection {#4299 …}
    +votes: Doctrine\ORM\PersistentCollection {#4301 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 30423
    -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390105"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235814 {#4295
      date: 2023-10-02 10:36:54.0 +02:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 55.39 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4365
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4296
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4083
        +user: App\Entity\User {#4032}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Perhaps slightly adjust your logic a little and see what it does.\n
          \n
          Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
          \n
          Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1696250251 {#4093
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4081 …}
        +nested: Doctrine\ORM\PersistentCollection {#4079 …}
        +votes: Doctrine\ORM\PersistentCollection {#4077 …}
        +reports: Doctrine\ORM\PersistentCollection {#4075 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
        -id: 30108
        -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://aussie.zone/comment/3008325"
        +editedAt: DateTimeImmutable @1696033693 {#4025
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4092
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        I tried that. The loop was:\n
        \n
        1. Read sensor\n
        2. Prepare message\n
        3. Wifi on\n
        4. Send message\n
        5. Wifi off\n
        \n
        That should nicely separate everything, but it still ran into similar issues.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696235814 {#4294
        date: 2023-10-02 10:36:54.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4297 …}
      +nested: Doctrine\ORM\PersistentCollection {#4299 …}
      +votes: Doctrine\ORM\PersistentCollection {#4301 …}
      +reports: Doctrine\ORM\PersistentCollection {#4303 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
      -id: 30423
      -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390105"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235814 {#4295
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696244837 {#4362
      date: 2023-10-02 13:07:17.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4366 …}
    +nested: Doctrine\ORM\PersistentCollection {#4368 …}
    +votes: Doctrine\ORM\PersistentCollection {#4370 …}
    +reports: Doctrine\ORM\PersistentCollection {#4372 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
    -id: 30446
    -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3064018"
    +editedAt: DateTimeImmutable @1696245290 {#4363
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4364
      date: 2023-10-02 13:07:17.0 +02:00
    }
  }
  "showNested" => true
  "level" => 3
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5781
  +comment: App\Entity\EntryComment {#4365
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4296
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4083
        +user: App\Entity\User {#4032}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Perhaps slightly adjust your logic a little and see what it does.\n
          \n
          Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
          \n
          Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1696250251 {#4093
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4081 …}
        +nested: Doctrine\ORM\PersistentCollection {#4079 …}
        +votes: Doctrine\ORM\PersistentCollection {#4077 …}
        +reports: Doctrine\ORM\PersistentCollection {#4075 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
        -id: 30108
        -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://aussie.zone/comment/3008325"
        +editedAt: DateTimeImmutable @1696033693 {#4025
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4092
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        I tried that. The loop was:\n
        \n
        1. Read sensor\n
        2. Prepare message\n
        3. Wifi on\n
        4. Send message\n
        5. Wifi off\n
        \n
        That should nicely separate everything, but it still ran into similar issues.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696235814 {#4294
        date: 2023-10-02 10:36:54.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4297 …}
      +nested: Doctrine\ORM\PersistentCollection {#4299 …}
      +votes: Doctrine\ORM\PersistentCollection {#4301 …}
      +reports: Doctrine\ORM\PersistentCollection {#4303 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
      -id: 30423
      -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390105"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235814 {#4295
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696244837 {#4362
      date: 2023-10-02 13:07:17.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4366 …}
    +nested: Doctrine\ORM\PersistentCollection {#4368 …}
    +votes: Doctrine\ORM\PersistentCollection {#4370 …}
    +reports: Doctrine\ORM\PersistentCollection {#4372 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
    -id: 30446
    -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3064018"
    +editedAt: DateTimeImmutable @1696245290 {#4363
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4364
      date: 2023-10-02 13:07:17.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 3
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.18 ms
Input props
[
  "user" => App\Entity\User {#4032
    +avatar: null
    +cover: null
    +email: "dgriffith@aussie.zone"
    +username: "@dgriffith@aussie.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I’m a technical kinda guy, doing technical kinda stuff."
    +lastActive: DateTime @1729552629 {#4088
      date: 2024-10-22 01:17:09.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
    +entries: Doctrine\ORM\PersistentCollection {#4026 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
    +posts: Doctrine\ORM\PersistentCollection {#4016 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
    +follows: Doctrine\ORM\PersistentCollection {#4002 …}
    +followers: Doctrine\ORM\PersistentCollection {#4000 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
    +violations: Doctrine\ORM\PersistentCollection {#4149 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
    +awards: Doctrine\ORM\PersistentCollection {#4143 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
    +categories: Doctrine\ORM\PersistentCollection {#4141 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
    +apId: "dgriffith@aussie.zone"
    +apProfileId: "https://aussie.zone/u/dgriffith"
    +apPublicUrl: "https://aussie.zone/u/dgriffith"
    +apFollowersUrl: null
    +apInboxUrl: "https://aussie.zone/inbox"
    +apDomain: "aussie.zone"
    +apPreferredUsername: "dgriffith"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1706718291 {#4086
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4085
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5826
  +user: App\Entity\User {#4032
    +avatar: null
    +cover: null
    +email: "dgriffith@aussie.zone"
    +username: "@dgriffith@aussie.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I’m a technical kinda guy, doing technical kinda stuff."
    +lastActive: DateTime @1729552629 {#4088
      date: 2024-10-22 01:17:09.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
    +entries: Doctrine\ORM\PersistentCollection {#4026 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
    +posts: Doctrine\ORM\PersistentCollection {#4016 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
    +follows: Doctrine\ORM\PersistentCollection {#4002 …}
    +followers: Doctrine\ORM\PersistentCollection {#4000 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
    +violations: Doctrine\ORM\PersistentCollection {#4149 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
    +awards: Doctrine\ORM\PersistentCollection {#4143 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
    +categories: Doctrine\ORM\PersistentCollection {#4141 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
    +apId: "dgriffith@aussie.zone"
    +apProfileId: "https://aussie.zone/u/dgriffith"
    +apPublicUrl: "https://aussie.zone/u/dgriffith"
    +apFollowersUrl: null
    +apInboxUrl: "https://aussie.zone/inbox"
    +apDomain: "aussie.zone"
    +apPreferredUsername: "dgriffith"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1706718291 {#4086
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4085
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.16 ms
Input props
[
  "date" => DateTimeImmutable @1696244837 {#4364
    date: 2023-10-02 13:07:17.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5881
  +date: DateTimeImmutable @1696244837 {#4364
    date: 2023-10-02 13:07:17.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.15 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696244837 {#4364
    date: 2023-10-02 13:07:17.0 +02:00
  }
  "editedAt" => DateTimeImmutable @1696245290 {#4363
    date: 2023-10-02 13:14:50.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5935
  +createdAt: DateTimeImmutable @1696244837 {#4364
    date: 2023-10-02 13:07:17.0 +02:00
  }
  +editedAt: DateTimeImmutable @1696245290 {#4363
    date: 2023-10-02 13:14:50.0 +02:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4032
    +avatar: null
    +cover: null
    +email: "dgriffith@aussie.zone"
    +username: "@dgriffith@aussie.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I’m a technical kinda guy, doing technical kinda stuff."
    +lastActive: DateTime @1729552629 {#4088
      date: 2024-10-22 01:17:09.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
    +entries: Doctrine\ORM\PersistentCollection {#4026 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
    +posts: Doctrine\ORM\PersistentCollection {#4016 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
    +follows: Doctrine\ORM\PersistentCollection {#4002 …}
    +followers: Doctrine\ORM\PersistentCollection {#4000 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
    +violations: Doctrine\ORM\PersistentCollection {#4149 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
    +awards: Doctrine\ORM\PersistentCollection {#4143 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
    +categories: Doctrine\ORM\PersistentCollection {#4141 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
    +apId: "dgriffith@aussie.zone"
    +apProfileId: "https://aussie.zone/u/dgriffith"
    +apPublicUrl: "https://aussie.zone/u/dgriffith"
    +apFollowersUrl: null
    +apInboxUrl: "https://aussie.zone/inbox"
    +apDomain: "aussie.zone"
    +apPreferredUsername: "dgriffith"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1706718291 {#4086
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4085
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#5989
  +width: 40
  +height: 40
  +user: App\Entity\User {#4032
    +avatar: null
    +cover: null
    +email: "dgriffith@aussie.zone"
    +username: "@dgriffith@aussie.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I’m a technical kinda guy, doing technical kinda stuff."
    +lastActive: DateTime @1729552629 {#4088
      date: 2024-10-22 01:17:09.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
    +entries: Doctrine\ORM\PersistentCollection {#4026 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
    +posts: Doctrine\ORM\PersistentCollection {#4016 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
    +follows: Doctrine\ORM\PersistentCollection {#4002 …}
    +followers: Doctrine\ORM\PersistentCollection {#4000 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
    +violations: Doctrine\ORM\PersistentCollection {#4149 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
    +awards: Doctrine\ORM\PersistentCollection {#4143 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
    +categories: Doctrine\ORM\PersistentCollection {#4141 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
    +apId: "dgriffith@aussie.zone"
    +apProfileId: "https://aussie.zone/u/dgriffith"
    +apPublicUrl: "https://aussie.zone/u/dgriffith"
    +apFollowersUrl: null
    +apInboxUrl: "https://aussie.zone/inbox"
    +apDomain: "aussie.zone"
    +apPreferredUsername: "dgriffith"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1706718291 {#4086
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4085
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.50 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4365
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4296
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4083
        +user: App\Entity\User {#4032}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Perhaps slightly adjust your logic a little and see what it does.\n
          \n
          Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
          \n
          Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1696250251 {#4093
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4081 …}
        +nested: Doctrine\ORM\PersistentCollection {#4079 …}
        +votes: Doctrine\ORM\PersistentCollection {#4077 …}
        +reports: Doctrine\ORM\PersistentCollection {#4075 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
        -id: 30108
        -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://aussie.zone/comment/3008325"
        +editedAt: DateTimeImmutable @1696033693 {#4025
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4092
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        I tried that. The loop was:\n
        \n
        1. Read sensor\n
        2. Prepare message\n
        3. Wifi on\n
        4. Send message\n
        5. Wifi off\n
        \n
        That should nicely separate everything, but it still ran into similar issues.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696235814 {#4294
        date: 2023-10-02 10:36:54.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4297 …}
      +nested: Doctrine\ORM\PersistentCollection {#4299 …}
      +votes: Doctrine\ORM\PersistentCollection {#4301 …}
      +reports: Doctrine\ORM\PersistentCollection {#4303 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
      -id: 30423
      -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390105"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235814 {#4295
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696244837 {#4362
      date: 2023-10-02 13:07:17.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4366 …}
    +nested: Doctrine\ORM\PersistentCollection {#4368 …}
    +votes: Doctrine\ORM\PersistentCollection {#4370 …}
    +reports: Doctrine\ORM\PersistentCollection {#4372 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
    -id: 30446
    -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3064018"
    +editedAt: DateTimeImmutable @1696245290 {#4363
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4364
      date: 2023-10-02 13:07:17.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#6062
  +subject: App\Entity\EntryComment {#4365
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4296
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4083
        +user: App\Entity\User {#4032}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Perhaps slightly adjust your logic a little and see what it does.\n
          \n
          Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
          \n
          Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1696250251 {#4093
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4081 …}
        +nested: Doctrine\ORM\PersistentCollection {#4079 …}
        +votes: Doctrine\ORM\PersistentCollection {#4077 …}
        +reports: Doctrine\ORM\PersistentCollection {#4075 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
        -id: 30108
        -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://aussie.zone/comment/3008325"
        +editedAt: DateTimeImmutable @1696033693 {#4025
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4092
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        I tried that. The loop was:\n
        \n
        1. Read sensor\n
        2. Prepare message\n
        3. Wifi on\n
        4. Send message\n
        5. Wifi off\n
        \n
        That should nicely separate everything, but it still ran into similar issues.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696235814 {#4294
        date: 2023-10-02 10:36:54.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4297 …}
      +nested: Doctrine\ORM\PersistentCollection {#4299 …}
      +votes: Doctrine\ORM\PersistentCollection {#4301 …}
      +reports: Doctrine\ORM\PersistentCollection {#4303 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
      -id: 30423
      -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390105"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235814 {#4295
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696244837 {#4362
      date: 2023-10-02 13:07:17.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4366 …}
    +nested: Doctrine\ORM\PersistentCollection {#4368 …}
    +votes: Doctrine\ORM\PersistentCollection {#4370 …}
    +reports: Doctrine\ORM\PersistentCollection {#4372 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
    -id: 30446
    -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3064018"
    +editedAt: DateTimeImmutable @1696245290 {#4363
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4364
      date: 2023-10-02 13:07:17.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.77 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4365
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4296
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4083
        +user: App\Entity\User {#4032}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Perhaps slightly adjust your logic a little and see what it does.\n
          \n
          Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
          \n
          Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1696250251 {#4093
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4081 …}
        +nested: Doctrine\ORM\PersistentCollection {#4079 …}
        +votes: Doctrine\ORM\PersistentCollection {#4077 …}
        +reports: Doctrine\ORM\PersistentCollection {#4075 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
        -id: 30108
        -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://aussie.zone/comment/3008325"
        +editedAt: DateTimeImmutable @1696033693 {#4025
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4092
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        I tried that. The loop was:\n
        \n
        1. Read sensor\n
        2. Prepare message\n
        3. Wifi on\n
        4. Send message\n
        5. Wifi off\n
        \n
        That should nicely separate everything, but it still ran into similar issues.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696235814 {#4294
        date: 2023-10-02 10:36:54.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4297 …}
      +nested: Doctrine\ORM\PersistentCollection {#4299 …}
      +votes: Doctrine\ORM\PersistentCollection {#4301 …}
      +reports: Doctrine\ORM\PersistentCollection {#4303 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
      -id: 30423
      -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390105"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235814 {#4295
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696244837 {#4362
      date: 2023-10-02 13:07:17.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4366 …}
    +nested: Doctrine\ORM\PersistentCollection {#4368 …}
    +votes: Doctrine\ORM\PersistentCollection {#4370 …}
    +reports: Doctrine\ORM\PersistentCollection {#4372 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
    -id: 30446
    -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3064018"
    +editedAt: DateTimeImmutable @1696245290 {#4363
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4364
      date: 2023-10-02 13:07:17.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6119
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4365
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4296
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4083
        +user: App\Entity\User {#4032}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Perhaps slightly adjust your logic a little and see what it does.\n
          \n
          Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
          \n
          Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1696250251 {#4093
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4081 …}
        +nested: Doctrine\ORM\PersistentCollection {#4079 …}
        +votes: Doctrine\ORM\PersistentCollection {#4077 …}
        +reports: Doctrine\ORM\PersistentCollection {#4075 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
        -id: 30108
        -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://aussie.zone/comment/3008325"
        +editedAt: DateTimeImmutable @1696033693 {#4025
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4092
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        I tried that. The loop was:\n
        \n
        1. Read sensor\n
        2. Prepare message\n
        3. Wifi on\n
        4. Send message\n
        5. Wifi off\n
        \n
        That should nicely separate everything, but it still ran into similar issues.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696235814 {#4294
        date: 2023-10-02 10:36:54.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4297 …}
      +nested: Doctrine\ORM\PersistentCollection {#4299 …}
      +votes: Doctrine\ORM\PersistentCollection {#4301 …}
      +reports: Doctrine\ORM\PersistentCollection {#4303 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
      -id: 30423
      -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390105"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235814 {#4295
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696244837 {#4362
      date: 2023-10-02 13:07:17.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4366 …}
    +nested: Doctrine\ORM\PersistentCollection {#4368 …}
    +votes: Doctrine\ORM\PersistentCollection {#4370 …}
    +reports: Doctrine\ORM\PersistentCollection {#4372 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
    -id: 30446
    -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3064018"
    +editedAt: DateTimeImmutable @1696245290 {#4363
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4364
      date: 2023-10-02 13:07:17.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 44.33 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4365
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4296
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4083
        +user: App\Entity\User {#4032}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Perhaps slightly adjust your logic a little and see what it does.\n
          \n
          Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
          \n
          Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1696250251 {#4093
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4081 …}
        +nested: Doctrine\ORM\PersistentCollection {#4079 …}
        +votes: Doctrine\ORM\PersistentCollection {#4077 …}
        +reports: Doctrine\ORM\PersistentCollection {#4075 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
        -id: 30108
        -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://aussie.zone/comment/3008325"
        +editedAt: DateTimeImmutable @1696033693 {#4025
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4092
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        I tried that. The loop was:\n
        \n
        1. Read sensor\n
        2. Prepare message\n
        3. Wifi on\n
        4. Send message\n
        5. Wifi off\n
        \n
        That should nicely separate everything, but it still ran into similar issues.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696235814 {#4294
        date: 2023-10-02 10:36:54.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4297 …}
      +nested: Doctrine\ORM\PersistentCollection {#4299 …}
      +votes: Doctrine\ORM\PersistentCollection {#4301 …}
      +reports: Doctrine\ORM\PersistentCollection {#4303 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
      -id: 30423
      -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390105"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235814 {#4295
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696244837 {#4362
      date: 2023-10-02 13:07:17.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4366 …}
    +nested: Doctrine\ORM\PersistentCollection {#4368 …}
    +votes: Doctrine\ORM\PersistentCollection {#4370 …}
    +reports: Doctrine\ORM\PersistentCollection {#4372 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
    -id: 30446
    -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3064018"
    +editedAt: DateTimeImmutable @1696245290 {#4363
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4364
      date: 2023-10-02 13:07:17.0 +02:00
    }
  }
  "level" => 3
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6359
  +comment: App\Entity\EntryComment {#4365
    +user: App\Entity\User {#4032
      +avatar: null
      +cover: null
      +email: "dgriffith@aussie.zone"
      +username: "@dgriffith@aussie.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "I’m a technical kinda guy, doing technical kinda stuff."
      +lastActive: DateTime @1729552629 {#4088
        date: 2024-10-22 01:17:09.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
      +entries: Doctrine\ORM\PersistentCollection {#4026 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
      +posts: Doctrine\ORM\PersistentCollection {#4016 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
      +follows: Doctrine\ORM\PersistentCollection {#4002 …}
      +followers: Doctrine\ORM\PersistentCollection {#4000 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
      +awards: Doctrine\ORM\PersistentCollection {#4143 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
      +categories: Doctrine\ORM\PersistentCollection {#4141 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "dgriffith@aussie.zone"
      +apProfileId: "https://aussie.zone/u/dgriffith"
      +apPublicUrl: "https://aussie.zone/u/dgriffith"
      +apFollowersUrl: null
      +apInboxUrl: "https://aussie.zone/inbox"
      +apDomain: "aussie.zone"
      +apPreferredUsername: "dgriffith"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1706718291 {#4086
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4085
        date: 2023-09-29 23:28:42.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4296
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4083
        +user: App\Entity\User {#4032}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Perhaps slightly adjust your logic a little and see what it does.\n
          \n
          Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
          \n
          Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1696250251 {#4093
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4081 …}
        +nested: Doctrine\ORM\PersistentCollection {#4079 …}
        +votes: Doctrine\ORM\PersistentCollection {#4077 …}
        +reports: Doctrine\ORM\PersistentCollection {#4075 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
        -id: 30108
        -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://aussie.zone/comment/3008325"
        +editedAt: DateTimeImmutable @1696033693 {#4025
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4092
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        I tried that. The loop was:\n
        \n
        1. Read sensor\n
        2. Prepare message\n
        3. Wifi on\n
        4. Send message\n
        5. Wifi off\n
        \n
        That should nicely separate everything, but it still ran into similar issues.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696235814 {#4294
        date: 2023-10-02 10:36:54.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4297 …}
      +nested: Doctrine\ORM\PersistentCollection {#4299 …}
      +votes: Doctrine\ORM\PersistentCollection {#4301 …}
      +reports: Doctrine\ORM\PersistentCollection {#4303 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
      -id: 30423
      -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390105"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235814 {#4295
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696244837 {#4362
      date: 2023-10-02 13:07:17.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4366 …}
    +nested: Doctrine\ORM\PersistentCollection {#4368 …}
    +votes: Doctrine\ORM\PersistentCollection {#4370 …}
    +reports: Doctrine\ORM\PersistentCollection {#4372 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
    -id: 30446
    -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://aussie.zone/comment/3064018"
    +editedAt: DateTimeImmutable @1696245290 {#4363
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4364
      date: 2023-10-02 13:07:17.0 +02:00
    }
  }
  +nestedComments: []
  +level: 3
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 28.25 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4403
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4365
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4296
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4083
          +user: App\Entity\User {#4032}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Perhaps slightly adjust your logic a little and see what it does.\n
            \n
            Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
            \n
            Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1696250251 {#4093
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4081 …}
          +nested: Doctrine\ORM\PersistentCollection {#4079 …}
          +votes: Doctrine\ORM\PersistentCollection {#4077 …}
          +reports: Doctrine\ORM\PersistentCollection {#4075 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
          -id: 30108
          -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://aussie.zone/comment/3008325"
          +editedAt: DateTimeImmutable @1696033693 {#4025
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4092
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4083}
        +body: """
          I tried that. The loop was:\n
          \n
          1. Read sensor\n
          2. Prepare message\n
          3. Wifi on\n
          4. Send message\n
          5. Wifi off\n
          \n
          That should nicely separate everything, but it still ran into similar issues.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696235814 {#4294
          date: 2023-10-02 10:36:54.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@dgriffith@aussie.zone"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4297 …}
        +nested: Doctrine\ORM\PersistentCollection {#4299 …}
        +votes: Doctrine\ORM\PersistentCollection {#4301 …}
        +reports: Doctrine\ORM\PersistentCollection {#4303 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
        -id: 30423
        -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3390105"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696235814 {#4295
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
        \n
        The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696244837 {#4362
        date: 2023-10-02 13:07:17.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4366 …}
      +nested: Doctrine\ORM\PersistentCollection {#4368 …}
      +votes: Doctrine\ORM\PersistentCollection {#4370 …}
      +reports: Doctrine\ORM\PersistentCollection {#4372 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
      -id: 30446
      -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3064018"
      +editedAt: DateTimeImmutable @1696245290 {#4363
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4364
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      > can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      Not really, at least I wouldn’t really know how. The sensor needs +3V, GND and two data pins, and the pico only has one 3V out, that seems to connect directly to the voltage regulator. I guess, I could try to use a GPIO pin as a switchable 3V out, but that seems rather hacky.\n
      \n
      > The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state\n
      \n
      Unfortunately, a simple machine.reset() seems not to be enough. I didn’t use “real” watchdogs, but what a Java dev knows: try/catch. I wrapped the entire loop in a try/except block and simply call machine.reset() if something goes wrong. That does work sometimes, but not always. Of course the possibilities are a) some exception isn’t getting caught b) there is some electronic issue, maybe the SPI interface to the DHT is “stuck” or not properly reset. I can resolve the problems by completely disconnecting the device for a while from power.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696250249 {#4401
      date: 2023-10-02 14:37:29.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4404 …}
    +nested: Doctrine\ORM\PersistentCollection {#4406 …}
    +votes: Doctrine\ORM\PersistentCollection {#4408 …}
    +reports: Doctrine\ORM\PersistentCollection {#4410 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4412 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4414 …}
    -id: 30449
    -bodyTs: "'+3':35 '3v':48,72 'also':81 'alway':166 'b':179 'back':116 'block':151 'call':154 'caught':178 'complet':204 'connect':53 'could':62,86 'cours':109,168 'cycl':16 'data':40 'dev':140 'devic':207 'dht':191 'didn':131 'direct':54 'disconnect':205 'doesn':103 'electron':183 'enough':129 'entir':146 'except':174 'get':114,177 'give':91 'gnd':37 'goe':158 'gpio':67 'guess':60 'hacki':78 'interfac':188 'isn':175 'issu':107,184 'java':139 'know':30,141 'least':10,25,112 'loop':147 'machine.reset':124,155 'mayb':185 'need':20,34 'one':47 'pico':44,80 'pin':8,41,68 'possibl':170 'power':3,15,212 'problem':202 'programmat':14 'proper':196 'rather':77 'real':134 'realli':23,29 'reboot':94 'regul':58 'reset':197 'resolv':200 'respond':99 'seem':51,76,125 'sensor':5,33 'set':87 'simpl':123 'simpli':153 'solv':105 'someth':157 'sometim':163 'spi':187 'state':120 'stuck':193 'switchabl':71 'thing':96 'time':101 'tri':63 'try/catch':142 'try/except':150 'two':39 'unfortun':121 'use':65,133 'v':36 'voltag':57 'watchdog':84,135 'work':162 'workabl':119 'wouldn':27 'wrap':144 'wrong':159"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394212"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696250249 {#4402
      date: 2023-10-02 14:37:29.0 +02:00
    }
  }
  "showNested" => true
  "level" => 4
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6414
  +comment: App\Entity\EntryComment {#4403
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4365
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4296
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4083
          +user: App\Entity\User {#4032}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Perhaps slightly adjust your logic a little and see what it does.\n
            \n
            Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
            \n
            Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1696250251 {#4093
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4081 …}
          +nested: Doctrine\ORM\PersistentCollection {#4079 …}
          +votes: Doctrine\ORM\PersistentCollection {#4077 …}
          +reports: Doctrine\ORM\PersistentCollection {#4075 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
          -id: 30108
          -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://aussie.zone/comment/3008325"
          +editedAt: DateTimeImmutable @1696033693 {#4025
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4092
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4083}
        +body: """
          I tried that. The loop was:\n
          \n
          1. Read sensor\n
          2. Prepare message\n
          3. Wifi on\n
          4. Send message\n
          5. Wifi off\n
          \n
          That should nicely separate everything, but it still ran into similar issues.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696235814 {#4294
          date: 2023-10-02 10:36:54.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@dgriffith@aussie.zone"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4297 …}
        +nested: Doctrine\ORM\PersistentCollection {#4299 …}
        +votes: Doctrine\ORM\PersistentCollection {#4301 …}
        +reports: Doctrine\ORM\PersistentCollection {#4303 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
        -id: 30423
        -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3390105"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696235814 {#4295
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
        \n
        The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696244837 {#4362
        date: 2023-10-02 13:07:17.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4366 …}
      +nested: Doctrine\ORM\PersistentCollection {#4368 …}
      +votes: Doctrine\ORM\PersistentCollection {#4370 …}
      +reports: Doctrine\ORM\PersistentCollection {#4372 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
      -id: 30446
      -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3064018"
      +editedAt: DateTimeImmutable @1696245290 {#4363
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4364
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      > can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      Not really, at least I wouldn’t really know how. The sensor needs +3V, GND and two data pins, and the pico only has one 3V out, that seems to connect directly to the voltage regulator. I guess, I could try to use a GPIO pin as a switchable 3V out, but that seems rather hacky.\n
      \n
      > The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state\n
      \n
      Unfortunately, a simple machine.reset() seems not to be enough. I didn’t use “real” watchdogs, but what a Java dev knows: try/catch. I wrapped the entire loop in a try/except block and simply call machine.reset() if something goes wrong. That does work sometimes, but not always. Of course the possibilities are a) some exception isn’t getting caught b) there is some electronic issue, maybe the SPI interface to the DHT is “stuck” or not properly reset. I can resolve the problems by completely disconnecting the device for a while from power.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696250249 {#4401
      date: 2023-10-02 14:37:29.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4404 …}
    +nested: Doctrine\ORM\PersistentCollection {#4406 …}
    +votes: Doctrine\ORM\PersistentCollection {#4408 …}
    +reports: Doctrine\ORM\PersistentCollection {#4410 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4412 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4414 …}
    -id: 30449
    -bodyTs: "'+3':35 '3v':48,72 'also':81 'alway':166 'b':179 'back':116 'block':151 'call':154 'caught':178 'complet':204 'connect':53 'could':62,86 'cours':109,168 'cycl':16 'data':40 'dev':140 'devic':207 'dht':191 'didn':131 'direct':54 'disconnect':205 'doesn':103 'electron':183 'enough':129 'entir':146 'except':174 'get':114,177 'give':91 'gnd':37 'goe':158 'gpio':67 'guess':60 'hacki':78 'interfac':188 'isn':175 'issu':107,184 'java':139 'know':30,141 'least':10,25,112 'loop':147 'machine.reset':124,155 'mayb':185 'need':20,34 'one':47 'pico':44,80 'pin':8,41,68 'possibl':170 'power':3,15,212 'problem':202 'programmat':14 'proper':196 'rather':77 'real':134 'realli':23,29 'reboot':94 'regul':58 'reset':197 'resolv':200 'respond':99 'seem':51,76,125 'sensor':5,33 'set':87 'simpl':123 'simpli':153 'solv':105 'someth':157 'sometim':163 'spi':187 'state':120 'stuck':193 'switchabl':71 'thing':96 'time':101 'tri':63 'try/catch':142 'try/except':150 'two':39 'unfortun':121 'use':65,133 'v':36 'voltag':57 'watchdog':84,135 'work':162 'workabl':119 'wouldn':27 'wrap':144 'wrong':159"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394212"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696250249 {#4402
      date: 2023-10-02 14:37:29.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 4
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.16 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#6459
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1696250249 {#4402
    date: 2023-10-02 14:37:29.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#6514
  +date: DateTimeImmutable @1696250249 {#4402
    date: 2023-10-02 14:37:29.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.10 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696250249 {#4402
    date: 2023-10-02 14:37:29.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#6568
  +createdAt: DateTimeImmutable @1696250249 {#4402
    date: 2023-10-02 14:37:29.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.14 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#6622
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.60 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4403
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4365
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4296
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4083
          +user: App\Entity\User {#4032}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Perhaps slightly adjust your logic a little and see what it does.\n
            \n
            Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
            \n
            Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1696250251 {#4093
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4081 …}
          +nested: Doctrine\ORM\PersistentCollection {#4079 …}
          +votes: Doctrine\ORM\PersistentCollection {#4077 …}
          +reports: Doctrine\ORM\PersistentCollection {#4075 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
          -id: 30108
          -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://aussie.zone/comment/3008325"
          +editedAt: DateTimeImmutable @1696033693 {#4025
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4092
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4083}
        +body: """
          I tried that. The loop was:\n
          \n
          1. Read sensor\n
          2. Prepare message\n
          3. Wifi on\n
          4. Send message\n
          5. Wifi off\n
          \n
          That should nicely separate everything, but it still ran into similar issues.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696235814 {#4294
          date: 2023-10-02 10:36:54.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@dgriffith@aussie.zone"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4297 …}
        +nested: Doctrine\ORM\PersistentCollection {#4299 …}
        +votes: Doctrine\ORM\PersistentCollection {#4301 …}
        +reports: Doctrine\ORM\PersistentCollection {#4303 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
        -id: 30423
        -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3390105"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696235814 {#4295
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
        \n
        The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696244837 {#4362
        date: 2023-10-02 13:07:17.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4366 …}
      +nested: Doctrine\ORM\PersistentCollection {#4368 …}
      +votes: Doctrine\ORM\PersistentCollection {#4370 …}
      +reports: Doctrine\ORM\PersistentCollection {#4372 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
      -id: 30446
      -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3064018"
      +editedAt: DateTimeImmutable @1696245290 {#4363
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4364
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      > can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      Not really, at least I wouldn’t really know how. The sensor needs +3V, GND and two data pins, and the pico only has one 3V out, that seems to connect directly to the voltage regulator. I guess, I could try to use a GPIO pin as a switchable 3V out, but that seems rather hacky.\n
      \n
      > The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state\n
      \n
      Unfortunately, a simple machine.reset() seems not to be enough. I didn’t use “real” watchdogs, but what a Java dev knows: try/catch. I wrapped the entire loop in a try/except block and simply call machine.reset() if something goes wrong. That does work sometimes, but not always. Of course the possibilities are a) some exception isn’t getting caught b) there is some electronic issue, maybe the SPI interface to the DHT is “stuck” or not properly reset. I can resolve the problems by completely disconnecting the device for a while from power.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696250249 {#4401
      date: 2023-10-02 14:37:29.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4404 …}
    +nested: Doctrine\ORM\PersistentCollection {#4406 …}
    +votes: Doctrine\ORM\PersistentCollection {#4408 …}
    +reports: Doctrine\ORM\PersistentCollection {#4410 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4412 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4414 …}
    -id: 30449
    -bodyTs: "'+3':35 '3v':48,72 'also':81 'alway':166 'b':179 'back':116 'block':151 'call':154 'caught':178 'complet':204 'connect':53 'could':62,86 'cours':109,168 'cycl':16 'data':40 'dev':140 'devic':207 'dht':191 'didn':131 'direct':54 'disconnect':205 'doesn':103 'electron':183 'enough':129 'entir':146 'except':174 'get':114,177 'give':91 'gnd':37 'goe':158 'gpio':67 'guess':60 'hacki':78 'interfac':188 'isn':175 'issu':107,184 'java':139 'know':30,141 'least':10,25,112 'loop':147 'machine.reset':124,155 'mayb':185 'need':20,34 'one':47 'pico':44,80 'pin':8,41,68 'possibl':170 'power':3,15,212 'problem':202 'programmat':14 'proper':196 'rather':77 'real':134 'realli':23,29 'reboot':94 'regul':58 'reset':197 'resolv':200 'respond':99 'seem':51,76,125 'sensor':5,33 'set':87 'simpl':123 'simpli':153 'solv':105 'someth':157 'sometim':163 'spi':187 'state':120 'stuck':193 'switchabl':71 'thing':96 'time':101 'tri':63 'try/catch':142 'try/except':150 'two':39 'unfortun':121 'use':65,133 'v':36 'voltag':57 'watchdog':84,135 'work':162 'workabl':119 'wouldn':27 'wrap':144 'wrong':159"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394212"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696250249 {#4402
      date: 2023-10-02 14:37:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#6707
  +subject: App\Entity\EntryComment {#4403
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4365
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4296
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4083
          +user: App\Entity\User {#4032}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Perhaps slightly adjust your logic a little and see what it does.\n
            \n
            Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
            \n
            Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1696250251 {#4093
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4081 …}
          +nested: Doctrine\ORM\PersistentCollection {#4079 …}
          +votes: Doctrine\ORM\PersistentCollection {#4077 …}
          +reports: Doctrine\ORM\PersistentCollection {#4075 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
          -id: 30108
          -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://aussie.zone/comment/3008325"
          +editedAt: DateTimeImmutable @1696033693 {#4025
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4092
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4083}
        +body: """
          I tried that. The loop was:\n
          \n
          1. Read sensor\n
          2. Prepare message\n
          3. Wifi on\n
          4. Send message\n
          5. Wifi off\n
          \n
          That should nicely separate everything, but it still ran into similar issues.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696235814 {#4294
          date: 2023-10-02 10:36:54.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@dgriffith@aussie.zone"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4297 …}
        +nested: Doctrine\ORM\PersistentCollection {#4299 …}
        +votes: Doctrine\ORM\PersistentCollection {#4301 …}
        +reports: Doctrine\ORM\PersistentCollection {#4303 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
        -id: 30423
        -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3390105"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696235814 {#4295
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
        \n
        The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696244837 {#4362
        date: 2023-10-02 13:07:17.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4366 …}
      +nested: Doctrine\ORM\PersistentCollection {#4368 …}
      +votes: Doctrine\ORM\PersistentCollection {#4370 …}
      +reports: Doctrine\ORM\PersistentCollection {#4372 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
      -id: 30446
      -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3064018"
      +editedAt: DateTimeImmutable @1696245290 {#4363
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4364
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      > can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      Not really, at least I wouldn’t really know how. The sensor needs +3V, GND and two data pins, and the pico only has one 3V out, that seems to connect directly to the voltage regulator. I guess, I could try to use a GPIO pin as a switchable 3V out, but that seems rather hacky.\n
      \n
      > The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state\n
      \n
      Unfortunately, a simple machine.reset() seems not to be enough. I didn’t use “real” watchdogs, but what a Java dev knows: try/catch. I wrapped the entire loop in a try/except block and simply call machine.reset() if something goes wrong. That does work sometimes, but not always. Of course the possibilities are a) some exception isn’t getting caught b) there is some electronic issue, maybe the SPI interface to the DHT is “stuck” or not properly reset. I can resolve the problems by completely disconnecting the device for a while from power.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696250249 {#4401
      date: 2023-10-02 14:37:29.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4404 …}
    +nested: Doctrine\ORM\PersistentCollection {#4406 …}
    +votes: Doctrine\ORM\PersistentCollection {#4408 …}
    +reports: Doctrine\ORM\PersistentCollection {#4410 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4412 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4414 …}
    -id: 30449
    -bodyTs: "'+3':35 '3v':48,72 'also':81 'alway':166 'b':179 'back':116 'block':151 'call':154 'caught':178 'complet':204 'connect':53 'could':62,86 'cours':109,168 'cycl':16 'data':40 'dev':140 'devic':207 'dht':191 'didn':131 'direct':54 'disconnect':205 'doesn':103 'electron':183 'enough':129 'entir':146 'except':174 'get':114,177 'give':91 'gnd':37 'goe':158 'gpio':67 'guess':60 'hacki':78 'interfac':188 'isn':175 'issu':107,184 'java':139 'know':30,141 'least':10,25,112 'loop':147 'machine.reset':124,155 'mayb':185 'need':20,34 'one':47 'pico':44,80 'pin':8,41,68 'possibl':170 'power':3,15,212 'problem':202 'programmat':14 'proper':196 'rather':77 'real':134 'realli':23,29 'reboot':94 'regul':58 'reset':197 'resolv':200 'respond':99 'seem':51,76,125 'sensor':5,33 'set':87 'simpl':123 'simpli':153 'solv':105 'someth':157 'sometim':163 'spi':187 'state':120 'stuck':193 'switchabl':71 'thing':96 'time':101 'tri':63 'try/catch':142 'try/except':150 'two':39 'unfortun':121 'use':65,133 'v':36 'voltag':57 'watchdog':84,135 'work':162 'workabl':119 'wouldn':27 'wrap':144 'wrong':159"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394212"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696250249 {#4402
      date: 2023-10-02 14:37:29.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.90 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4403
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4365
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4296
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4083
          +user: App\Entity\User {#4032}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Perhaps slightly adjust your logic a little and see what it does.\n
            \n
            Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
            \n
            Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1696250251 {#4093
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4081 …}
          +nested: Doctrine\ORM\PersistentCollection {#4079 …}
          +votes: Doctrine\ORM\PersistentCollection {#4077 …}
          +reports: Doctrine\ORM\PersistentCollection {#4075 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
          -id: 30108
          -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://aussie.zone/comment/3008325"
          +editedAt: DateTimeImmutable @1696033693 {#4025
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4092
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4083}
        +body: """
          I tried that. The loop was:\n
          \n
          1. Read sensor\n
          2. Prepare message\n
          3. Wifi on\n
          4. Send message\n
          5. Wifi off\n
          \n
          That should nicely separate everything, but it still ran into similar issues.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696235814 {#4294
          date: 2023-10-02 10:36:54.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@dgriffith@aussie.zone"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4297 …}
        +nested: Doctrine\ORM\PersistentCollection {#4299 …}
        +votes: Doctrine\ORM\PersistentCollection {#4301 …}
        +reports: Doctrine\ORM\PersistentCollection {#4303 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
        -id: 30423
        -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3390105"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696235814 {#4295
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
        \n
        The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696244837 {#4362
        date: 2023-10-02 13:07:17.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4366 …}
      +nested: Doctrine\ORM\PersistentCollection {#4368 …}
      +votes: Doctrine\ORM\PersistentCollection {#4370 …}
      +reports: Doctrine\ORM\PersistentCollection {#4372 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
      -id: 30446
      -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3064018"
      +editedAt: DateTimeImmutable @1696245290 {#4363
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4364
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      > can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      Not really, at least I wouldn’t really know how. The sensor needs +3V, GND and two data pins, and the pico only has one 3V out, that seems to connect directly to the voltage regulator. I guess, I could try to use a GPIO pin as a switchable 3V out, but that seems rather hacky.\n
      \n
      > The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state\n
      \n
      Unfortunately, a simple machine.reset() seems not to be enough. I didn’t use “real” watchdogs, but what a Java dev knows: try/catch. I wrapped the entire loop in a try/except block and simply call machine.reset() if something goes wrong. That does work sometimes, but not always. Of course the possibilities are a) some exception isn’t getting caught b) there is some electronic issue, maybe the SPI interface to the DHT is “stuck” or not properly reset. I can resolve the problems by completely disconnecting the device for a while from power.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696250249 {#4401
      date: 2023-10-02 14:37:29.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4404 …}
    +nested: Doctrine\ORM\PersistentCollection {#4406 …}
    +votes: Doctrine\ORM\PersistentCollection {#4408 …}
    +reports: Doctrine\ORM\PersistentCollection {#4410 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4412 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4414 …}
    -id: 30449
    -bodyTs: "'+3':35 '3v':48,72 'also':81 'alway':166 'b':179 'back':116 'block':151 'call':154 'caught':178 'complet':204 'connect':53 'could':62,86 'cours':109,168 'cycl':16 'data':40 'dev':140 'devic':207 'dht':191 'didn':131 'direct':54 'disconnect':205 'doesn':103 'electron':183 'enough':129 'entir':146 'except':174 'get':114,177 'give':91 'gnd':37 'goe':158 'gpio':67 'guess':60 'hacki':78 'interfac':188 'isn':175 'issu':107,184 'java':139 'know':30,141 'least':10,25,112 'loop':147 'machine.reset':124,155 'mayb':185 'need':20,34 'one':47 'pico':44,80 'pin':8,41,68 'possibl':170 'power':3,15,212 'problem':202 'programmat':14 'proper':196 'rather':77 'real':134 'realli':23,29 'reboot':94 'regul':58 'reset':197 'resolv':200 'respond':99 'seem':51,76,125 'sensor':5,33 'set':87 'simpl':123 'simpli':153 'solv':105 'someth':157 'sometim':163 'spi':187 'state':120 'stuck':193 'switchabl':71 'thing':96 'time':101 'tri':63 'try/catch':142 'try/except':150 'two':39 'unfortun':121 'use':65,133 'v':36 'voltag':57 'watchdog':84,135 'work':162 'workabl':119 'wouldn':27 'wrap':144 'wrong':159"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394212"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696250249 {#4402
      date: 2023-10-02 14:37:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6764
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4403
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4365
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4296
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4083
          +user: App\Entity\User {#4032}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Perhaps slightly adjust your logic a little and see what it does.\n
            \n
            Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
            \n
            Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1696250251 {#4093
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4081 …}
          +nested: Doctrine\ORM\PersistentCollection {#4079 …}
          +votes: Doctrine\ORM\PersistentCollection {#4077 …}
          +reports: Doctrine\ORM\PersistentCollection {#4075 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
          -id: 30108
          -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://aussie.zone/comment/3008325"
          +editedAt: DateTimeImmutable @1696033693 {#4025
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4092
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4083}
        +body: """
          I tried that. The loop was:\n
          \n
          1. Read sensor\n
          2. Prepare message\n
          3. Wifi on\n
          4. Send message\n
          5. Wifi off\n
          \n
          That should nicely separate everything, but it still ran into similar issues.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696235814 {#4294
          date: 2023-10-02 10:36:54.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@dgriffith@aussie.zone"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4297 …}
        +nested: Doctrine\ORM\PersistentCollection {#4299 …}
        +votes: Doctrine\ORM\PersistentCollection {#4301 …}
        +reports: Doctrine\ORM\PersistentCollection {#4303 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
        -id: 30423
        -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3390105"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696235814 {#4295
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
        \n
        The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696244837 {#4362
        date: 2023-10-02 13:07:17.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4366 …}
      +nested: Doctrine\ORM\PersistentCollection {#4368 …}
      +votes: Doctrine\ORM\PersistentCollection {#4370 …}
      +reports: Doctrine\ORM\PersistentCollection {#4372 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
      -id: 30446
      -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3064018"
      +editedAt: DateTimeImmutable @1696245290 {#4363
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4364
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      > can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      Not really, at least I wouldn’t really know how. The sensor needs +3V, GND and two data pins, and the pico only has one 3V out, that seems to connect directly to the voltage regulator. I guess, I could try to use a GPIO pin as a switchable 3V out, but that seems rather hacky.\n
      \n
      > The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state\n
      \n
      Unfortunately, a simple machine.reset() seems not to be enough. I didn’t use “real” watchdogs, but what a Java dev knows: try/catch. I wrapped the entire loop in a try/except block and simply call machine.reset() if something goes wrong. That does work sometimes, but not always. Of course the possibilities are a) some exception isn’t getting caught b) there is some electronic issue, maybe the SPI interface to the DHT is “stuck” or not properly reset. I can resolve the problems by completely disconnecting the device for a while from power.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696250249 {#4401
      date: 2023-10-02 14:37:29.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4404 …}
    +nested: Doctrine\ORM\PersistentCollection {#4406 …}
    +votes: Doctrine\ORM\PersistentCollection {#4408 …}
    +reports: Doctrine\ORM\PersistentCollection {#4410 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4412 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4414 …}
    -id: 30449
    -bodyTs: "'+3':35 '3v':48,72 'also':81 'alway':166 'b':179 'back':116 'block':151 'call':154 'caught':178 'complet':204 'connect':53 'could':62,86 'cours':109,168 'cycl':16 'data':40 'dev':140 'devic':207 'dht':191 'didn':131 'direct':54 'disconnect':205 'doesn':103 'electron':183 'enough':129 'entir':146 'except':174 'get':114,177 'give':91 'gnd':37 'goe':158 'gpio':67 'guess':60 'hacki':78 'interfac':188 'isn':175 'issu':107,184 'java':139 'know':30,141 'least':10,25,112 'loop':147 'machine.reset':124,155 'mayb':185 'need':20,34 'one':47 'pico':44,80 'pin':8,41,68 'possibl':170 'power':3,15,212 'problem':202 'programmat':14 'proper':196 'rather':77 'real':134 'realli':23,29 'reboot':94 'regul':58 'reset':197 'resolv':200 'respond':99 'seem':51,76,125 'sensor':5,33 'set':87 'simpl':123 'simpli':153 'solv':105 'someth':157 'sometim':163 'spi':187 'state':120 'stuck':193 'switchabl':71 'thing':96 'time':101 'tri':63 'try/catch':142 'try/except':150 'two':39 'unfortun':121 'use':65,133 'v':36 'voltag':57 'watchdog':84,135 'work':162 'workabl':119 'wouldn':27 'wrap':144 'wrong':159"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394212"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696250249 {#4402
      date: 2023-10-02 14:37:29.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 7.50 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4403
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4365
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4296
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4083
          +user: App\Entity\User {#4032}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Perhaps slightly adjust your logic a little and see what it does.\n
            \n
            Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
            \n
            Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1696250251 {#4093
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4081 …}
          +nested: Doctrine\ORM\PersistentCollection {#4079 …}
          +votes: Doctrine\ORM\PersistentCollection {#4077 …}
          +reports: Doctrine\ORM\PersistentCollection {#4075 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
          -id: 30108
          -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://aussie.zone/comment/3008325"
          +editedAt: DateTimeImmutable @1696033693 {#4025
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4092
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4083}
        +body: """
          I tried that. The loop was:\n
          \n
          1. Read sensor\n
          2. Prepare message\n
          3. Wifi on\n
          4. Send message\n
          5. Wifi off\n
          \n
          That should nicely separate everything, but it still ran into similar issues.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696235814 {#4294
          date: 2023-10-02 10:36:54.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@dgriffith@aussie.zone"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4297 …}
        +nested: Doctrine\ORM\PersistentCollection {#4299 …}
        +votes: Doctrine\ORM\PersistentCollection {#4301 …}
        +reports: Doctrine\ORM\PersistentCollection {#4303 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
        -id: 30423
        -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3390105"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696235814 {#4295
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
        \n
        The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696244837 {#4362
        date: 2023-10-02 13:07:17.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4366 …}
      +nested: Doctrine\ORM\PersistentCollection {#4368 …}
      +votes: Doctrine\ORM\PersistentCollection {#4370 …}
      +reports: Doctrine\ORM\PersistentCollection {#4372 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
      -id: 30446
      -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3064018"
      +editedAt: DateTimeImmutable @1696245290 {#4363
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4364
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      > can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      Not really, at least I wouldn’t really know how. The sensor needs +3V, GND and two data pins, and the pico only has one 3V out, that seems to connect directly to the voltage regulator. I guess, I could try to use a GPIO pin as a switchable 3V out, but that seems rather hacky.\n
      \n
      > The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state\n
      \n
      Unfortunately, a simple machine.reset() seems not to be enough. I didn’t use “real” watchdogs, but what a Java dev knows: try/catch. I wrapped the entire loop in a try/except block and simply call machine.reset() if something goes wrong. That does work sometimes, but not always. Of course the possibilities are a) some exception isn’t getting caught b) there is some electronic issue, maybe the SPI interface to the DHT is “stuck” or not properly reset. I can resolve the problems by completely disconnecting the device for a while from power.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696250249 {#4401
      date: 2023-10-02 14:37:29.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4404 …}
    +nested: Doctrine\ORM\PersistentCollection {#4406 …}
    +votes: Doctrine\ORM\PersistentCollection {#4408 …}
    +reports: Doctrine\ORM\PersistentCollection {#4410 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4412 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4414 …}
    -id: 30449
    -bodyTs: "'+3':35 '3v':48,72 'also':81 'alway':166 'b':179 'back':116 'block':151 'call':154 'caught':178 'complet':204 'connect':53 'could':62,86 'cours':109,168 'cycl':16 'data':40 'dev':140 'devic':207 'dht':191 'didn':131 'direct':54 'disconnect':205 'doesn':103 'electron':183 'enough':129 'entir':146 'except':174 'get':114,177 'give':91 'gnd':37 'goe':158 'gpio':67 'guess':60 'hacki':78 'interfac':188 'isn':175 'issu':107,184 'java':139 'know':30,141 'least':10,25,112 'loop':147 'machine.reset':124,155 'mayb':185 'need':20,34 'one':47 'pico':44,80 'pin':8,41,68 'possibl':170 'power':3,15,212 'problem':202 'programmat':14 'proper':196 'rather':77 'real':134 'realli':23,29 'reboot':94 'regul':58 'reset':197 'resolv':200 'respond':99 'seem':51,76,125 'sensor':5,33 'set':87 'simpl':123 'simpli':153 'solv':105 'someth':157 'sometim':163 'spi':187 'state':120 'stuck':193 'switchabl':71 'thing':96 'time':101 'tri':63 'try/catch':142 'try/except':150 'two':39 'unfortun':121 'use':65,133 'v':36 'voltag':57 'watchdog':84,135 'work':162 'workabl':119 'wouldn':27 'wrap':144 'wrong':159"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394212"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696250249 {#4402
      date: 2023-10-02 14:37:29.0 +02:00
    }
  }
  "level" => 4
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#7004
  +comment: App\Entity\EntryComment {#4403
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4365
      +user: App\Entity\User {#4032
        +avatar: null
        +cover: null
        +email: "dgriffith@aussie.zone"
        +username: "@dgriffith@aussie.zone"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: "I’m a technical kinda guy, doing technical kinda stuff."
        +lastActive: DateTime @1729552629 {#4088
          date: 2024-10-22 01:17:09.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4033 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4035 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4028 …}
        +entries: Doctrine\ORM\PersistentCollection {#4026 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4023 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4021 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4018 …}
        +posts: Doctrine\ORM\PersistentCollection {#4016 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4014 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4011 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4009 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4007 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4004 …}
        +follows: Doctrine\ORM\PersistentCollection {#4002 …}
        +followers: Doctrine\ORM\PersistentCollection {#4000 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4148 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4144 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4133 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4152 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4146 …}
        +awards: Doctrine\ORM\PersistentCollection {#4143 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4142 …}
        +categories: Doctrine\ORM\PersistentCollection {#4141 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
        +apId: "dgriffith@aussie.zone"
        +apProfileId: "https://aussie.zone/u/dgriffith"
        +apPublicUrl: "https://aussie.zone/u/dgriffith"
        +apFollowersUrl: null
        +apInboxUrl: "https://aussie.zone/inbox"
        +apDomain: "aussie.zone"
        +apPreferredUsername: "dgriffith"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1706718291 {#4086
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4085
          date: 2023-09-29 23:28:42.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4296
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4083
          +user: App\Entity\User {#4032}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Perhaps slightly adjust your logic a little and see what it does.\n
            \n
            Read from the sensors first, then enable and connect to wifi, send the data, then disconnect. That would reduce the maximum power draw as only one function is active at once.\n
            \n
            Small edit: I have a MagTag ESP32 board with circuitpython that can’t read onewire devices while the wifi is active. Whether that’s because of supply instabilities when wifi is transmitting, or interrupt conflicts, or just plain poor programming in the onewire drivers or the wifi drivers, I don’t know. But reading the devices first and then connecting to wifi and sending the data afterwards works.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1696250251 {#4093
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4081 …}
          +nested: Doctrine\ORM\PersistentCollection {#4079 …}
          +votes: Doctrine\ORM\PersistentCollection {#4077 …}
          +reports: Doctrine\ORM\PersistentCollection {#4075 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4043 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4047 …}
          -id: 30108
          -bodyTs: "'activ':41,64 'adjust':3 'afterward':110 'board':51 'circuitpython':53 'conflict':78 'connect':21,103 'data':26,109 'devic':59,99 'disconnect':28 'draw':35 'driver':87,91 'edit':45 'enabl':19 'esp32':50 'first':17,100 'function':39 'instabl':71 'interrupt':77 'know':95 'littl':7 'logic':5 'magtag':49 'maximum':33 'one':38 'onewir':58,86 'perhap':1 'plain':81 'poor':82 'power':34 'program':83 'read':13,57,97 'reduc':31 'see':9 'send':24,107 'sensor':16 'slight':2 'small':44 'suppli':70 'transmit':75 'whether':65 'wifi':23,62,73,90,105 'work':111 'would':30"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://aussie.zone/comment/3008325"
          +editedAt: DateTimeImmutable @1696033693 {#4025
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4092
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4083}
        +body: """
          I tried that. The loop was:\n
          \n
          1. Read sensor\n
          2. Prepare message\n
          3. Wifi on\n
          4. Send message\n
          5. Wifi off\n
          \n
          That should nicely separate everything, but it still ran into similar issues.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696235814 {#4294
          date: 2023-10-02 10:36:54.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@dgriffith@aussie.zone"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4297 …}
        +nested: Doctrine\ORM\PersistentCollection {#4299 …}
        +votes: Doctrine\ORM\PersistentCollection {#4301 …}
        +reports: Doctrine\ORM\PersistentCollection {#4303 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
        -id: 30423
        -bodyTs: "'1':7 '2':10 '3':13 '4':16 '5':19 'everyth':26 'issu':33 'loop':5 'messag':12,18 'nice':24 'prepar':11 'ran':30 'read':8 'send':17 'sensor':9 'separ':25 'similar':32 'still':29 'tri':2 'wifi':14,20"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3390105"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696235814 {#4295
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4083}
      +body: """
        Hmm I’m not sure of the pin drive currents on the Pico, but can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
        \n
        The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state. And if the watchdog fails, or it works but there’s still no USB serial, then that would point towards power instabilities or somesuch.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696244837 {#4362
        date: 2023-10-02 13:07:17.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@dgriffith@aussie.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4366 …}
      +nested: Doctrine\ORM\PersistentCollection {#4368 …}
      +votes: Doctrine\ORM\PersistentCollection {#4370 …}
      +reports: Doctrine\ORM\PersistentCollection {#4372 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4374 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4376 …}
      -id: 30446
      -bodyTs: "'also':38 'back':73 'could':43 'cours':66 'current':10 'cycl':30 'doesn':60 'drive':9 'fail':82 'get':71 'give':48 'hmm':1 'instabl':99 'issu':64 'least':24,69 'm':3 'need':34 'pico':13,37 'pin':8,22 'point':96 'power':17,29,98 'programmat':28 'reboot':51 'respond':56 'sensor':19 'serial':92 'set':44 'solv':62 'somesuch':101 'state':77 'still':89 'sure':5 'thing':53 'time':58 'toward':97 'usb':91 'watchdog':41,81 'work':85 'workabl':76 'would':95"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://aussie.zone/comment/3064018"
      +editedAt: DateTimeImmutable @1696245290 {#4363
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4364
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4083}
    +body: """
      > can you power the sensors off a pin? At least then you can programmatically power cycle them if you need to.\n
      \n
      Not really, at least I wouldn’t really know how. The sensor needs +3V, GND and two data pins, and the pico only has one 3V out, that seems to connect directly to the voltage regulator. I guess, I could try to use a GPIO pin as a switchable 3V out, but that seems rather hacky.\n
      \n
      > The Pico also has a watchdog, you could set it up to give it a reboot if things don’t respond in time. It doesn’t solve the issues of course but at least it gets it back to a workable state\n
      \n
      Unfortunately, a simple machine.reset() seems not to be enough. I didn’t use “real” watchdogs, but what a Java dev knows: try/catch. I wrapped the entire loop in a try/except block and simply call machine.reset() if something goes wrong. That does work sometimes, but not always. Of course the possibilities are a) some exception isn’t getting caught b) there is some electronic issue, maybe the SPI interface to the DHT is “stuck” or not properly reset. I can resolve the problems by completely disconnecting the device for a while from power.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696250249 {#4401
      date: 2023-10-02 14:37:29.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@dgriffith@aussie.zone"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4404 …}
    +nested: Doctrine\ORM\PersistentCollection {#4406 …}
    +votes: Doctrine\ORM\PersistentCollection {#4408 …}
    +reports: Doctrine\ORM\PersistentCollection {#4410 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4412 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4414 …}
    -id: 30449
    -bodyTs: "'+3':35 '3v':48,72 'also':81 'alway':166 'b':179 'back':116 'block':151 'call':154 'caught':178 'complet':204 'connect':53 'could':62,86 'cours':109,168 'cycl':16 'data':40 'dev':140 'devic':207 'dht':191 'didn':131 'direct':54 'disconnect':205 'doesn':103 'electron':183 'enough':129 'entir':146 'except':174 'get':114,177 'give':91 'gnd':37 'goe':158 'gpio':67 'guess':60 'hacki':78 'interfac':188 'isn':175 'issu':107,184 'java':139 'know':30,141 'least':10,25,112 'loop':147 'machine.reset':124,155 'mayb':185 'need':20,34 'one':47 'pico':44,80 'pin':8,41,68 'possibl':170 'power':3,15,212 'problem':202 'programmat':14 'proper':196 'rather':77 'real':134 'realli':23,29 'reboot':94 'regul':58 'reset':197 'resolv':200 'respond':99 'seem':51,76,125 'sensor':5,33 'set':87 'simpl':123 'simpli':153 'solv':105 'someth':157 'sometim':163 'spi':187 'state':120 'stuck':193 'switchabl':71 'thing':96 'time':101 'tri':63 'try/catch':142 'try/except':150 'two':39 'unfortun':121 'use':65,133 'v':36 'voltag':57 'watchdog':84,135 'work':162 'workabl':119 'wouldn':27 'wrap':144 'wrong':159"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394212"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696250249 {#4402
      date: 2023-10-02 14:37:29.0 +02:00
    }
  }
  +nestedComments: []
  +level: 4
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 91.65 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
      \n
      Give that a try.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1696250331 {#4134
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4127 …}
    +nested: Doctrine\ORM\PersistentCollection {#4126 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4119 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
    -id: 30089
    -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294150"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696003426 {#4135
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#7102
  +comment: App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
      \n
      Give that a try.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1696250331 {#4134
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4127 …}
    +nested: Doctrine\ORM\PersistentCollection {#4126 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4119 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
    -id: 30089
    -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294150"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696003426 {#4135
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4112
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4132
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
    +entries: Doctrine\ORM\PersistentCollection {#4103 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
    +posts: Doctrine\ORM\PersistentCollection {#4095 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
    +follows: Doctrine\ORM\PersistentCollection {#4165 …}
    +followers: Doctrine\ORM\PersistentCollection {#4167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +violations: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    +awards: Doctrine\ORM\PersistentCollection {#4185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
    +categories: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4128
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4130
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7147
  +user: App\Entity\User {#4112
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4132
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
    +entries: Doctrine\ORM\PersistentCollection {#4103 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
    +posts: Doctrine\ORM\PersistentCollection {#4095 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
    +follows: Doctrine\ORM\PersistentCollection {#4165 …}
    +followers: Doctrine\ORM\PersistentCollection {#4167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +violations: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    +awards: Doctrine\ORM\PersistentCollection {#4185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
    +categories: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4128
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4130
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.44 ms
Input props
[
  "date" => DateTimeImmutable @1696003426 {#4135
    date: 2023-09-29 18:03:46.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7202
  +date: DateTimeImmutable @1696003426 {#4135
    date: 2023-09-29 18:03:46.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.10 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696003426 {#4135
    date: 2023-09-29 18:03:46.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7256
  +createdAt: DateTimeImmutable @1696003426 {#4135
    date: 2023-09-29 18:03:46.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4112
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4132
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
    +entries: Doctrine\ORM\PersistentCollection {#4103 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
    +posts: Doctrine\ORM\PersistentCollection {#4095 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
    +follows: Doctrine\ORM\PersistentCollection {#4165 …}
    +followers: Doctrine\ORM\PersistentCollection {#4167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +violations: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    +awards: Doctrine\ORM\PersistentCollection {#4185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
    +categories: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4128
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4130
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7310
  +width: 40
  +height: 40
  +user: App\Entity\User {#4112
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4132
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
    +entries: Doctrine\ORM\PersistentCollection {#4103 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
    +posts: Doctrine\ORM\PersistentCollection {#4095 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
    +follows: Doctrine\ORM\PersistentCollection {#4165 …}
    +followers: Doctrine\ORM\PersistentCollection {#4167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +violations: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    +awards: Doctrine\ORM\PersistentCollection {#4185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
    +categories: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4128
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4130
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 2.64 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
      \n
      Give that a try.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1696250331 {#4134
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4127 …}
    +nested: Doctrine\ORM\PersistentCollection {#4126 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4119 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
    -id: 30089
    -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294150"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696003426 {#4135
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7395
  +subject: App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
      \n
      Give that a try.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1696250331 {#4134
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4127 …}
    +nested: Doctrine\ORM\PersistentCollection {#4126 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4119 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
    -id: 30089
    -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294150"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696003426 {#4135
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.84 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
      \n
      Give that a try.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1696250331 {#4134
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4127 …}
    +nested: Doctrine\ORM\PersistentCollection {#4126 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4119 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
    -id: 30089
    -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294150"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696003426 {#4135
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#7452
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
      \n
      Give that a try.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1696250331 {#4134
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4127 …}
    +nested: Doctrine\ORM\PersistentCollection {#4126 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4119 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
    -id: 30089
    -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294150"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696003426 {#4135
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 76.89 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
      \n
      Give that a try.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1696250331 {#4134
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4127 …}
    +nested: Doctrine\ORM\PersistentCollection {#4126 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4119 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
    -id: 30089
    -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294150"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696003426 {#4135
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#3595
  +comment: App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
      \n
      Give that a try.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1696250331 {#4134
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4127 …}
    +nested: Doctrine\ORM\PersistentCollection {#4126 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4119 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
    -id: 30089
    -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294150"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696003426 {#4135
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
  +nestedComments: [
    30450 => App\Entity\EntryComment {#4385
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4334
        +user: App\Entity\User {#4112}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4282
          +user: Proxies\__CG__\App\Entity\User {#1943 …2}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4122}
          +root: App\Entity\EntryComment {#4122}
          +body: """
            I’ll give it try!\n
            \n
            Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 1
          +score: 0
          +lastActive: DateTime @1696005950 {#4283
            date: 2023-09-29 18:45:50.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
            "@drwho@beehaw.org"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4279 …}
          +nested: Doctrine\ORM\PersistentCollection {#4275 …}
          +votes: Doctrine\ORM\PersistentCollection {#4273 …}
          +reports: Doctrine\ORM\PersistentCollection {#4288 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
          -id: 30090
          -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://feddit.de/comment/3324775"
          +editedAt: null
          +createdAt: DateTimeImmutable @1696005950 {#4286
            date: 2023-09-29 18:45:50.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1696006077 {#4335
          date: 2023-09-29 18:47:57.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4331 …}
        +nested: Doctrine\ORM\PersistentCollection {#4327 …}
        +votes: Doctrine\ORM\PersistentCollection {#4325 …}
        +reports: Doctrine\ORM\PersistentCollection {#4340 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
        -id: 30091
        -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1294408"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696006077 {#4338
          date: 2023-09-29 18:47:57.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: """
        I “kind of” solved at least parts of the problem by simply not turning wifi off. It’s more stable than before, but not stable as such.\n
        \n
        Edit: I played around a bit and I think the problem is somewhere in the power supply. My workbench PC can drive the board just fine for hours, just plug it into the USB port, connect serial monitor and let it do its thing. However, if I’m plugging it into my router or a usb power supply, it stops working after a while again.\n
        \n
        My theory is, that the PSU/router thinks the device is dead, because it draws too little power? That would explain, why not shutting down wifi improves the stability - it draws more power.\n
        \n
        Now, that is just my naive theory, I’m not entirely sure, how to validate it. Maybe I’ll just add a useless busy-loop to increase power draw or add some power consuming components.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696250329 {#4389
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4382 …}
      +nested: Doctrine\ORM\PersistentCollection {#4380 …}
      +votes: Doctrine\ORM\PersistentCollection {#4384 …}
      +reports: Doctrine\ORM\PersistentCollection {#4395 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4397 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4399 …}
      -id: 30450
      -bodyTs: "'add':145,156 'around':31 'bit':33 'board':51 'busi':149 'busy-loop':148 'compon':160 'connect':63 'consum':159 'dead':103 'devic':101 'draw':106,122,154 'drive':49 'edit':28 'entir':135 'explain':112 'fine':53 'hour':55 'howev':72 'improv':118 'increas':152 'kind':2 'least':6 'let':67 'littl':108 'll':143 'loop':150 'm':75,133 'mayb':141 'monitor':65 'naiv':130 'part':7 'pc':47 'play':30 'plug':57,76 'port':62 'power':43,84,109,124,153,158 'problem':10,38 'psu/router':98 'router':80 'serial':64 'shut':115 'simpli':12 'solv':4 'somewher':40 'stabil':120 'stabl':20,25 'stop':87 'suppli':44,85 'sure':136 'theori':94,131 'thing':71 'think':36,99 'turn':14 'usb':61,83 'useless':147 'valid':139 'wifi':15,117 'work':88 'workbench':46 'would':111"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3394240"
      +editedAt: DateTimeImmutable @1696264714 {#4392
        date: 2023-10-02 18:38:34.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696250329 {#4388
        date: 2023-10-02 14:38:49.0 +02:00
      }
    }
    30091 => App\Entity\EntryComment {#4334}
    30090 => App\Entity\EntryComment {#4282}
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 56.45 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4282
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4122
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
        \n
        Give that a try.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1696250331 {#4134
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4127 …}
      +nested: Doctrine\ORM\PersistentCollection {#4126 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4119 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
      -id: 30089
      -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294150"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696003426 {#4135
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I’ll give it try!\n
      \n
      Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696005950 {#4283
      date: 2023-09-29 18:45:50.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4279 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4273 …}
    +reports: Doctrine\ORM\PersistentCollection {#4288 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
    -id: 30090
    -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3324775"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696005950 {#4286
      date: 2023-09-29 18:45:50.0 +02:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6859
  +comment: App\Entity\EntryComment {#4282
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4122
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
        \n
        Give that a try.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1696250331 {#4134
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4127 …}
      +nested: Doctrine\ORM\PersistentCollection {#4126 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4119 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
      -id: 30089
      -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294150"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696003426 {#4135
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I’ll give it try!\n
      \n
      Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696005950 {#4283
      date: 2023-09-29 18:45:50.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4279 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4273 …}
    +reports: Doctrine\ORM\PersistentCollection {#4288 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
    -id: 30090
    -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3324775"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696005950 {#4286
      date: 2023-09-29 18:45:50.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 2
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.16 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7514
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.16 ms
Input props
[
  "date" => DateTimeImmutable @1696005950 {#4286
    date: 2023-09-29 18:45:50.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7569
  +date: DateTimeImmutable @1696005950 {#4286
    date: 2023-09-29 18:45:50.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.10 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696005950 {#4286
    date: 2023-09-29 18:45:50.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7623
  +createdAt: DateTimeImmutable @1696005950 {#4286
    date: 2023-09-29 18:45:50.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.14 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7677
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.50 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4282
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4122
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
        \n
        Give that a try.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1696250331 {#4134
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4127 …}
      +nested: Doctrine\ORM\PersistentCollection {#4126 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4119 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
      -id: 30089
      -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294150"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696003426 {#4135
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I’ll give it try!\n
      \n
      Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696005950 {#4283
      date: 2023-09-29 18:45:50.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4279 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4273 …}
    +reports: Doctrine\ORM\PersistentCollection {#4288 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
    -id: 30090
    -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3324775"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696005950 {#4286
      date: 2023-09-29 18:45:50.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7750
  +subject: App\Entity\EntryComment {#4282
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4122
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
        \n
        Give that a try.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1696250331 {#4134
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4127 …}
      +nested: Doctrine\ORM\PersistentCollection {#4126 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4119 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
      -id: 30089
      -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294150"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696003426 {#4135
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I’ll give it try!\n
      \n
      Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696005950 {#4283
      date: 2023-09-29 18:45:50.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4279 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4273 …}
    +reports: Doctrine\ORM\PersistentCollection {#4288 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
    -id: 30090
    -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3324775"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696005950 {#4286
      date: 2023-09-29 18:45:50.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.66 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4282
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4122
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
        \n
        Give that a try.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1696250331 {#4134
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4127 …}
      +nested: Doctrine\ORM\PersistentCollection {#4126 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4119 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
      -id: 30089
      -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294150"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696003426 {#4135
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I’ll give it try!\n
      \n
      Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696005950 {#4283
      date: 2023-09-29 18:45:50.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4279 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4273 …}
    +reports: Doctrine\ORM\PersistentCollection {#4288 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
    -id: 30090
    -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3324775"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696005950 {#4286
      date: 2023-09-29 18:45:50.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#7807
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4282
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4122
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
        \n
        Give that a try.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1696250331 {#4134
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4127 …}
      +nested: Doctrine\ORM\PersistentCollection {#4126 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4119 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
      -id: 30089
      -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294150"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696003426 {#4135
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I’ll give it try!\n
      \n
      Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696005950 {#4283
      date: 2023-09-29 18:45:50.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4279 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4273 …}
    +reports: Doctrine\ORM\PersistentCollection {#4288 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
    -id: 30090
    -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3324775"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696005950 {#4286
      date: 2023-09-29 18:45:50.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 45.05 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4282
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4122
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
        \n
        Give that a try.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1696250331 {#4134
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4127 …}
      +nested: Doctrine\ORM\PersistentCollection {#4126 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4119 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
      -id: 30089
      -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294150"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696003426 {#4135
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I’ll give it try!\n
      \n
      Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696005950 {#4283
      date: 2023-09-29 18:45:50.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4279 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4273 …}
    +reports: Doctrine\ORM\PersistentCollection {#4288 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
    -id: 30090
    -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3324775"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696005950 {#4286
      date: 2023-09-29 18:45:50.0 +02:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8047
  +comment: App\Entity\EntryComment {#4282
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4122
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
        \n
        Give that a try.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1696250331 {#4134
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4127 …}
      +nested: Doctrine\ORM\PersistentCollection {#4126 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4119 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
      -id: 30089
      -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294150"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696003426 {#4135
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I’ll give it try!\n
      \n
      Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696005950 {#4283
      date: 2023-09-29 18:45:50.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4279 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4273 …}
    +reports: Doctrine\ORM\PersistentCollection {#4288 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
    -id: 30090
    -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3324775"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696005950 {#4286
      date: 2023-09-29 18:45:50.0 +02:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 42.83 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4334
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4282
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4122
        +user: App\Entity\User {#4112}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
          \n
          Give that a try.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1696250331 {#4134
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4127 …}
        +nested: Doctrine\ORM\PersistentCollection {#4126 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4119 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
        -id: 30089
        -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1294150"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696003426 {#4135
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: """
        I’ll give it try!\n
        \n
        Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696005950 {#4283
        date: 2023-09-29 18:45:50.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4279 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4273 …}
      +reports: Doctrine\ORM\PersistentCollection {#4288 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
      -id: 30090
      -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3324775"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696005950 {#4286
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696006077 {#4335
      date: 2023-09-29 18:47:57.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4325 …}
    +reports: Doctrine\ORM\PersistentCollection {#4340 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
    -id: 30091
    -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294408"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696006077 {#4338
      date: 2023-09-29 18:47:57.0 +02:00
    }
  }
  "showNested" => true
  "level" => 3
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#8102
  +comment: App\Entity\EntryComment {#4334
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4282
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4122
        +user: App\Entity\User {#4112}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
          \n
          Give that a try.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1696250331 {#4134
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4127 …}
        +nested: Doctrine\ORM\PersistentCollection {#4126 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4119 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
        -id: 30089
        -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1294150"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696003426 {#4135
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: """
        I’ll give it try!\n
        \n
        Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696005950 {#4283
        date: 2023-09-29 18:45:50.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4279 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4273 …}
      +reports: Doctrine\ORM\PersistentCollection {#4288 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
      -id: 30090
      -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3324775"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696005950 {#4286
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696006077 {#4335
      date: 2023-09-29 18:47:57.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4325 …}
    +reports: Doctrine\ORM\PersistentCollection {#4340 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
    -id: 30091
    -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294408"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696006077 {#4338
      date: 2023-09-29 18:47:57.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 3
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.71 ms
Input props
[
  "user" => App\Entity\User {#4112
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4132
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
    +entries: Doctrine\ORM\PersistentCollection {#4103 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
    +posts: Doctrine\ORM\PersistentCollection {#4095 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
    +follows: Doctrine\ORM\PersistentCollection {#4165 …}
    +followers: Doctrine\ORM\PersistentCollection {#4167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +violations: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    +awards: Doctrine\ORM\PersistentCollection {#4185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
    +categories: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4128
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4130
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8147
  +user: App\Entity\User {#4112
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4132
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
    +entries: Doctrine\ORM\PersistentCollection {#4103 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
    +posts: Doctrine\ORM\PersistentCollection {#4095 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
    +follows: Doctrine\ORM\PersistentCollection {#4165 …}
    +followers: Doctrine\ORM\PersistentCollection {#4167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +violations: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    +awards: Doctrine\ORM\PersistentCollection {#4185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
    +categories: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4128
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4130
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.73 ms
Input props
[
  "date" => DateTimeImmutable @1696006077 {#4338
    date: 2023-09-29 18:47:57.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#8202
  +date: DateTimeImmutable @1696006077 {#4338
    date: 2023-09-29 18:47:57.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.57 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696006077 {#4338
    date: 2023-09-29 18:47:57.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#8256
  +createdAt: DateTimeImmutable @1696006077 {#4338
    date: 2023-09-29 18:47:57.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.62 ms
Input props
[
  "user" => App\Entity\User {#4112
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4132
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
    +entries: Doctrine\ORM\PersistentCollection {#4103 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
    +posts: Doctrine\ORM\PersistentCollection {#4095 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
    +follows: Doctrine\ORM\PersistentCollection {#4165 …}
    +followers: Doctrine\ORM\PersistentCollection {#4167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +violations: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    +awards: Doctrine\ORM\PersistentCollection {#4185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
    +categories: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4128
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4130
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#8310
  +width: 40
  +height: 40
  +user: App\Entity\User {#4112
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4132
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
    +entries: Doctrine\ORM\PersistentCollection {#4103 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
    +posts: Doctrine\ORM\PersistentCollection {#4095 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
    +follows: Doctrine\ORM\PersistentCollection {#4165 …}
    +followers: Doctrine\ORM\PersistentCollection {#4167 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +violations: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    +awards: Doctrine\ORM\PersistentCollection {#4185 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
    +categories: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4128
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4130
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 1.90 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4334
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4282
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4122
        +user: App\Entity\User {#4112}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
          \n
          Give that a try.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1696250331 {#4134
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4127 …}
        +nested: Doctrine\ORM\PersistentCollection {#4126 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4119 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
        -id: 30089
        -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1294150"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696003426 {#4135
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: """
        I’ll give it try!\n
        \n
        Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696005950 {#4283
        date: 2023-09-29 18:45:50.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4279 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4273 …}
      +reports: Doctrine\ORM\PersistentCollection {#4288 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
      -id: 30090
      -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3324775"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696005950 {#4286
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696006077 {#4335
      date: 2023-09-29 18:47:57.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4325 …}
    +reports: Doctrine\ORM\PersistentCollection {#4340 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
    -id: 30091
    -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294408"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696006077 {#4338
      date: 2023-09-29 18:47:57.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#8379
  +subject: App\Entity\EntryComment {#4334
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4282
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4122
        +user: App\Entity\User {#4112}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
          \n
          Give that a try.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1696250331 {#4134
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4127 …}
        +nested: Doctrine\ORM\PersistentCollection {#4126 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4119 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
        -id: 30089
        -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1294150"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696003426 {#4135
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: """
        I’ll give it try!\n
        \n
        Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696005950 {#4283
        date: 2023-09-29 18:45:50.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4279 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4273 …}
      +reports: Doctrine\ORM\PersistentCollection {#4288 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
      -id: 30090
      -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3324775"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696005950 {#4286
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696006077 {#4335
      date: 2023-09-29 18:47:57.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4325 …}
    +reports: Doctrine\ORM\PersistentCollection {#4340 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
    -id: 30091
    -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294408"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696006077 {#4338
      date: 2023-09-29 18:47:57.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.69 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4334
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4282
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4122
        +user: App\Entity\User {#4112}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
          \n
          Give that a try.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1696250331 {#4134
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4127 …}
        +nested: Doctrine\ORM\PersistentCollection {#4126 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4119 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
        -id: 30089
        -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1294150"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696003426 {#4135
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: """
        I’ll give it try!\n
        \n
        Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696005950 {#4283
        date: 2023-09-29 18:45:50.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4279 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4273 …}
      +reports: Doctrine\ORM\PersistentCollection {#4288 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
      -id: 30090
      -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3324775"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696005950 {#4286
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696006077 {#4335
      date: 2023-09-29 18:47:57.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4325 …}
    +reports: Doctrine\ORM\PersistentCollection {#4340 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
    -id: 30091
    -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294408"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696006077 {#4338
      date: 2023-09-29 18:47:57.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#8436
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4334
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4282
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4122
        +user: App\Entity\User {#4112}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
          \n
          Give that a try.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1696250331 {#4134
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4127 …}
        +nested: Doctrine\ORM\PersistentCollection {#4126 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4119 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
        -id: 30089
        -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1294150"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696003426 {#4135
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: """
        I’ll give it try!\n
        \n
        Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696005950 {#4283
        date: 2023-09-29 18:45:50.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4279 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4273 …}
      +reports: Doctrine\ORM\PersistentCollection {#4288 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
      -id: 30090
      -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3324775"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696005950 {#4286
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696006077 {#4335
      date: 2023-09-29 18:47:57.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4325 …}
    +reports: Doctrine\ORM\PersistentCollection {#4340 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
    -id: 30091
    -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294408"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696006077 {#4338
      date: 2023-09-29 18:47:57.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 25.24 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4334
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4282
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4122
        +user: App\Entity\User {#4112}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
          \n
          Give that a try.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1696250331 {#4134
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4127 …}
        +nested: Doctrine\ORM\PersistentCollection {#4126 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4119 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
        -id: 30089
        -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1294150"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696003426 {#4135
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: """
        I’ll give it try!\n
        \n
        Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696005950 {#4283
        date: 2023-09-29 18:45:50.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4279 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4273 …}
      +reports: Doctrine\ORM\PersistentCollection {#4288 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
      -id: 30090
      -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3324775"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696005950 {#4286
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696006077 {#4335
      date: 2023-09-29 18:47:57.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4325 …}
    +reports: Doctrine\ORM\PersistentCollection {#4340 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
    -id: 30091
    -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294408"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696006077 {#4338
      date: 2023-09-29 18:47:57.0 +02:00
    }
  }
  "level" => 3
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8676
  +comment: App\Entity\EntryComment {#4334
    +user: App\Entity\User {#4112
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4132
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
      +entries: Doctrine\ORM\PersistentCollection {#4103 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
      +posts: Doctrine\ORM\PersistentCollection {#4095 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
      +follows: Doctrine\ORM\PersistentCollection {#4165 …}
      +followers: Doctrine\ORM\PersistentCollection {#4167 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
      +reports: Doctrine\ORM\PersistentCollection {#4177 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
      +violations: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      +awards: Doctrine\ORM\PersistentCollection {#4185 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
      +categories: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4128
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4130
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4282
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4122
        +user: App\Entity\User {#4112}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
          \n
          Give that a try.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1696250331 {#4134
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4127 …}
        +nested: Doctrine\ORM\PersistentCollection {#4126 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4119 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
        -id: 30089
        -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1294150"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696003426 {#4135
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: """
        I’ll give it try!\n
        \n
        Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696005950 {#4283
        date: 2023-09-29 18:45:50.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4279 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4273 …}
      +reports: Doctrine\ORM\PersistentCollection {#4288 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
      -id: 30090
      -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3324775"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696005950 {#4286
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696006077 {#4335
      date: 2023-09-29 18:47:57.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4331 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4325 …}
    +reports: Doctrine\ORM\PersistentCollection {#4340 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
    -id: 30091
    -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1294408"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696006077 {#4338
      date: 2023-09-29 18:47:57.0 +02:00
    }
  }
  +nestedComments: []
  +level: 3
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 20.98 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4385
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4334
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4282
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4122
          +user: App\Entity\User {#4112}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
            \n
            Give that a try.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 2
          +score: 0
          +lastActive: DateTime @1696250331 {#4134
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4127 …}
          +nested: Doctrine\ORM\PersistentCollection {#4126 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4119 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
          -id: 30089
          -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1294150"
          +editedAt: null
          +createdAt: DateTimeImmutable @1696003426 {#4135
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +body: """
          I’ll give it try!\n
          \n
          Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696005950 {#4283
          date: 2023-09-29 18:45:50.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4279 …}
        +nested: Doctrine\ORM\PersistentCollection {#4275 …}
        +votes: Doctrine\ORM\PersistentCollection {#4273 …}
        +reports: Doctrine\ORM\PersistentCollection {#4288 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
        -id: 30090
        -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3324775"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696005950 {#4286
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696006077 {#4335
        date: 2023-09-29 18:47:57.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4331 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4325 …}
      +reports: Doctrine\ORM\PersistentCollection {#4340 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
      -id: 30091
      -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294408"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696006077 {#4338
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I “kind of” solved at least parts of the problem by simply not turning wifi off. It’s more stable than before, but not stable as such.\n
      \n
      Edit: I played around a bit and I think the problem is somewhere in the power supply. My workbench PC can drive the board just fine for hours, just plug it into the USB port, connect serial monitor and let it do its thing. However, if I’m plugging it into my router or a usb power supply, it stops working after a while again.\n
      \n
      My theory is, that the PSU/router thinks the device is dead, because it draws too little power? That would explain, why not shutting down wifi improves the stability - it draws more power.\n
      \n
      Now, that is just my naive theory, I’m not entirely sure, how to validate it. Maybe I’ll just add a useless busy-loop to increase power draw or add some power consuming components.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696250329 {#4389
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4382 …}
    +nested: Doctrine\ORM\PersistentCollection {#4380 …}
    +votes: Doctrine\ORM\PersistentCollection {#4384 …}
    +reports: Doctrine\ORM\PersistentCollection {#4395 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4397 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4399 …}
    -id: 30450
    -bodyTs: "'add':145,156 'around':31 'bit':33 'board':51 'busi':149 'busy-loop':148 'compon':160 'connect':63 'consum':159 'dead':103 'devic':101 'draw':106,122,154 'drive':49 'edit':28 'entir':135 'explain':112 'fine':53 'hour':55 'howev':72 'improv':118 'increas':152 'kind':2 'least':6 'let':67 'littl':108 'll':143 'loop':150 'm':75,133 'mayb':141 'monitor':65 'naiv':130 'part':7 'pc':47 'play':30 'plug':57,76 'port':62 'power':43,84,109,124,153,158 'problem':10,38 'psu/router':98 'router':80 'serial':64 'shut':115 'simpli':12 'solv':4 'somewher':40 'stabil':120 'stabl':20,25 'stop':87 'suppli':44,85 'sure':136 'theori':94,131 'thing':71 'think':36,99 'turn':14 'usb':61,83 'useless':147 'valid':139 'wifi':15,117 'work':88 'workbench':46 'would':111"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394240"
    +editedAt: DateTimeImmutable @1696264714 {#4392
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4388
      date: 2023-10-02 14:38:49.0 +02:00
    }
  }
  "showNested" => true
  "level" => 4
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#8731
  +comment: App\Entity\EntryComment {#4385
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4334
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4282
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4122
          +user: App\Entity\User {#4112}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
            \n
            Give that a try.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 2
          +score: 0
          +lastActive: DateTime @1696250331 {#4134
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4127 …}
          +nested: Doctrine\ORM\PersistentCollection {#4126 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4119 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
          -id: 30089
          -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1294150"
          +editedAt: null
          +createdAt: DateTimeImmutable @1696003426 {#4135
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +body: """
          I’ll give it try!\n
          \n
          Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696005950 {#4283
          date: 2023-09-29 18:45:50.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4279 …}
        +nested: Doctrine\ORM\PersistentCollection {#4275 …}
        +votes: Doctrine\ORM\PersistentCollection {#4273 …}
        +reports: Doctrine\ORM\PersistentCollection {#4288 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
        -id: 30090
        -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3324775"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696005950 {#4286
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696006077 {#4335
        date: 2023-09-29 18:47:57.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4331 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4325 …}
      +reports: Doctrine\ORM\PersistentCollection {#4340 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
      -id: 30091
      -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294408"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696006077 {#4338
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I “kind of” solved at least parts of the problem by simply not turning wifi off. It’s more stable than before, but not stable as such.\n
      \n
      Edit: I played around a bit and I think the problem is somewhere in the power supply. My workbench PC can drive the board just fine for hours, just plug it into the USB port, connect serial monitor and let it do its thing. However, if I’m plugging it into my router or a usb power supply, it stops working after a while again.\n
      \n
      My theory is, that the PSU/router thinks the device is dead, because it draws too little power? That would explain, why not shutting down wifi improves the stability - it draws more power.\n
      \n
      Now, that is just my naive theory, I’m not entirely sure, how to validate it. Maybe I’ll just add a useless busy-loop to increase power draw or add some power consuming components.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696250329 {#4389
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4382 …}
    +nested: Doctrine\ORM\PersistentCollection {#4380 …}
    +votes: Doctrine\ORM\PersistentCollection {#4384 …}
    +reports: Doctrine\ORM\PersistentCollection {#4395 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4397 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4399 …}
    -id: 30450
    -bodyTs: "'add':145,156 'around':31 'bit':33 'board':51 'busi':149 'busy-loop':148 'compon':160 'connect':63 'consum':159 'dead':103 'devic':101 'draw':106,122,154 'drive':49 'edit':28 'entir':135 'explain':112 'fine':53 'hour':55 'howev':72 'improv':118 'increas':152 'kind':2 'least':6 'let':67 'littl':108 'll':143 'loop':150 'm':75,133 'mayb':141 'monitor':65 'naiv':130 'part':7 'pc':47 'play':30 'plug':57,76 'port':62 'power':43,84,109,124,153,158 'problem':10,38 'psu/router':98 'router':80 'serial':64 'shut':115 'simpli':12 'solv':4 'somewher':40 'stabil':120 'stabl':20,25 'stop':87 'suppli':44,85 'sure':136 'theori':94,131 'thing':71 'think':36,99 'turn':14 'usb':61,83 'useless':147 'valid':139 'wifi':15,117 'work':88 'workbench':46 'would':111"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394240"
    +editedAt: DateTimeImmutable @1696264714 {#4392
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4388
      date: 2023-10-02 14:38:49.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 4
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 1.69 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8776
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.20 ms
Input props
[
  "date" => DateTimeImmutable @1696250329 {#4388
    date: 2023-10-02 14:38:49.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#8831
  +date: DateTimeImmutable @1696250329 {#4388
    date: 2023-10-02 14:38:49.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.15 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696250329 {#4388
    date: 2023-10-02 14:38:49.0 +02:00
  }
  "editedAt" => DateTimeImmutable @1696264714 {#4392
    date: 2023-10-02 18:38:34.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#8885
  +createdAt: DateTimeImmutable @1696250329 {#4388
    date: 2023-10-02 14:38:49.0 +02:00
  }
  +editedAt: DateTimeImmutable @1696264714 {#4392
    date: 2023-10-02 18:38:34.0 +02:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.17 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#8939
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.59 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4385
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4334
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4282
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4122
          +user: App\Entity\User {#4112}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
            \n
            Give that a try.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 2
          +score: 0
          +lastActive: DateTime @1696250331 {#4134
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4127 …}
          +nested: Doctrine\ORM\PersistentCollection {#4126 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4119 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
          -id: 30089
          -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1294150"
          +editedAt: null
          +createdAt: DateTimeImmutable @1696003426 {#4135
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +body: """
          I’ll give it try!\n
          \n
          Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696005950 {#4283
          date: 2023-09-29 18:45:50.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4279 …}
        +nested: Doctrine\ORM\PersistentCollection {#4275 …}
        +votes: Doctrine\ORM\PersistentCollection {#4273 …}
        +reports: Doctrine\ORM\PersistentCollection {#4288 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
        -id: 30090
        -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3324775"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696005950 {#4286
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696006077 {#4335
        date: 2023-09-29 18:47:57.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4331 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4325 …}
      +reports: Doctrine\ORM\PersistentCollection {#4340 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
      -id: 30091
      -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294408"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696006077 {#4338
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I “kind of” solved at least parts of the problem by simply not turning wifi off. It’s more stable than before, but not stable as such.\n
      \n
      Edit: I played around a bit and I think the problem is somewhere in the power supply. My workbench PC can drive the board just fine for hours, just plug it into the USB port, connect serial monitor and let it do its thing. However, if I’m plugging it into my router or a usb power supply, it stops working after a while again.\n
      \n
      My theory is, that the PSU/router thinks the device is dead, because it draws too little power? That would explain, why not shutting down wifi improves the stability - it draws more power.\n
      \n
      Now, that is just my naive theory, I’m not entirely sure, how to validate it. Maybe I’ll just add a useless busy-loop to increase power draw or add some power consuming components.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696250329 {#4389
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4382 …}
    +nested: Doctrine\ORM\PersistentCollection {#4380 …}
    +votes: Doctrine\ORM\PersistentCollection {#4384 …}
    +reports: Doctrine\ORM\PersistentCollection {#4395 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4397 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4399 …}
    -id: 30450
    -bodyTs: "'add':145,156 'around':31 'bit':33 'board':51 'busi':149 'busy-loop':148 'compon':160 'connect':63 'consum':159 'dead':103 'devic':101 'draw':106,122,154 'drive':49 'edit':28 'entir':135 'explain':112 'fine':53 'hour':55 'howev':72 'improv':118 'increas':152 'kind':2 'least':6 'let':67 'littl':108 'll':143 'loop':150 'm':75,133 'mayb':141 'monitor':65 'naiv':130 'part':7 'pc':47 'play':30 'plug':57,76 'port':62 'power':43,84,109,124,153,158 'problem':10,38 'psu/router':98 'router':80 'serial':64 'shut':115 'simpli':12 'solv':4 'somewher':40 'stabil':120 'stabl':20,25 'stop':87 'suppli':44,85 'sure':136 'theori':94,131 'thing':71 'think':36,99 'turn':14 'usb':61,83 'useless':147 'valid':139 'wifi':15,117 'work':88 'workbench':46 'would':111"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394240"
    +editedAt: DateTimeImmutable @1696264714 {#4392
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4388
      date: 2023-10-02 14:38:49.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#9020
  +subject: App\Entity\EntryComment {#4385
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4334
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4282
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4122
          +user: App\Entity\User {#4112}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
            \n
            Give that a try.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 2
          +score: 0
          +lastActive: DateTime @1696250331 {#4134
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4127 …}
          +nested: Doctrine\ORM\PersistentCollection {#4126 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4119 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
          -id: 30089
          -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1294150"
          +editedAt: null
          +createdAt: DateTimeImmutable @1696003426 {#4135
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +body: """
          I’ll give it try!\n
          \n
          Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696005950 {#4283
          date: 2023-09-29 18:45:50.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4279 …}
        +nested: Doctrine\ORM\PersistentCollection {#4275 …}
        +votes: Doctrine\ORM\PersistentCollection {#4273 …}
        +reports: Doctrine\ORM\PersistentCollection {#4288 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
        -id: 30090
        -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3324775"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696005950 {#4286
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696006077 {#4335
        date: 2023-09-29 18:47:57.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4331 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4325 …}
      +reports: Doctrine\ORM\PersistentCollection {#4340 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
      -id: 30091
      -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294408"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696006077 {#4338
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I “kind of” solved at least parts of the problem by simply not turning wifi off. It’s more stable than before, but not stable as such.\n
      \n
      Edit: I played around a bit and I think the problem is somewhere in the power supply. My workbench PC can drive the board just fine for hours, just plug it into the USB port, connect serial monitor and let it do its thing. However, if I’m plugging it into my router or a usb power supply, it stops working after a while again.\n
      \n
      My theory is, that the PSU/router thinks the device is dead, because it draws too little power? That would explain, why not shutting down wifi improves the stability - it draws more power.\n
      \n
      Now, that is just my naive theory, I’m not entirely sure, how to validate it. Maybe I’ll just add a useless busy-loop to increase power draw or add some power consuming components.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696250329 {#4389
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4382 …}
    +nested: Doctrine\ORM\PersistentCollection {#4380 …}
    +votes: Doctrine\ORM\PersistentCollection {#4384 …}
    +reports: Doctrine\ORM\PersistentCollection {#4395 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4397 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4399 …}
    -id: 30450
    -bodyTs: "'add':145,156 'around':31 'bit':33 'board':51 'busi':149 'busy-loop':148 'compon':160 'connect':63 'consum':159 'dead':103 'devic':101 'draw':106,122,154 'drive':49 'edit':28 'entir':135 'explain':112 'fine':53 'hour':55 'howev':72 'improv':118 'increas':152 'kind':2 'least':6 'let':67 'littl':108 'll':143 'loop':150 'm':75,133 'mayb':141 'monitor':65 'naiv':130 'part':7 'pc':47 'play':30 'plug':57,76 'port':62 'power':43,84,109,124,153,158 'problem':10,38 'psu/router':98 'router':80 'serial':64 'shut':115 'simpli':12 'solv':4 'somewher':40 'stabil':120 'stabl':20,25 'stop':87 'suppli':44,85 'sure':136 'theori':94,131 'thing':71 'think':36,99 'turn':14 'usb':61,83 'useless':147 'valid':139 'wifi':15,117 'work':88 'workbench':46 'would':111"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394240"
    +editedAt: DateTimeImmutable @1696264714 {#4392
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4388
      date: 2023-10-02 14:38:49.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.92 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4385
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4334
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4282
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4122
          +user: App\Entity\User {#4112}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
            \n
            Give that a try.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 2
          +score: 0
          +lastActive: DateTime @1696250331 {#4134
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4127 …}
          +nested: Doctrine\ORM\PersistentCollection {#4126 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4119 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
          -id: 30089
          -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1294150"
          +editedAt: null
          +createdAt: DateTimeImmutable @1696003426 {#4135
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +body: """
          I’ll give it try!\n
          \n
          Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696005950 {#4283
          date: 2023-09-29 18:45:50.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4279 …}
        +nested: Doctrine\ORM\PersistentCollection {#4275 …}
        +votes: Doctrine\ORM\PersistentCollection {#4273 …}
        +reports: Doctrine\ORM\PersistentCollection {#4288 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
        -id: 30090
        -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3324775"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696005950 {#4286
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696006077 {#4335
        date: 2023-09-29 18:47:57.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4331 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4325 …}
      +reports: Doctrine\ORM\PersistentCollection {#4340 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
      -id: 30091
      -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294408"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696006077 {#4338
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I “kind of” solved at least parts of the problem by simply not turning wifi off. It’s more stable than before, but not stable as such.\n
      \n
      Edit: I played around a bit and I think the problem is somewhere in the power supply. My workbench PC can drive the board just fine for hours, just plug it into the USB port, connect serial monitor and let it do its thing. However, if I’m plugging it into my router or a usb power supply, it stops working after a while again.\n
      \n
      My theory is, that the PSU/router thinks the device is dead, because it draws too little power? That would explain, why not shutting down wifi improves the stability - it draws more power.\n
      \n
      Now, that is just my naive theory, I’m not entirely sure, how to validate it. Maybe I’ll just add a useless busy-loop to increase power draw or add some power consuming components.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696250329 {#4389
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4382 …}
    +nested: Doctrine\ORM\PersistentCollection {#4380 …}
    +votes: Doctrine\ORM\PersistentCollection {#4384 …}
    +reports: Doctrine\ORM\PersistentCollection {#4395 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4397 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4399 …}
    -id: 30450
    -bodyTs: "'add':145,156 'around':31 'bit':33 'board':51 'busi':149 'busy-loop':148 'compon':160 'connect':63 'consum':159 'dead':103 'devic':101 'draw':106,122,154 'drive':49 'edit':28 'entir':135 'explain':112 'fine':53 'hour':55 'howev':72 'improv':118 'increas':152 'kind':2 'least':6 'let':67 'littl':108 'll':143 'loop':150 'm':75,133 'mayb':141 'monitor':65 'naiv':130 'part':7 'pc':47 'play':30 'plug':57,76 'port':62 'power':43,84,109,124,153,158 'problem':10,38 'psu/router':98 'router':80 'serial':64 'shut':115 'simpli':12 'solv':4 'somewher':40 'stabil':120 'stabl':20,25 'stop':87 'suppli':44,85 'sure':136 'theori':94,131 'thing':71 'think':36,99 'turn':14 'usb':61,83 'useless':147 'valid':139 'wifi':15,117 'work':88 'workbench':46 'would':111"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394240"
    +editedAt: DateTimeImmutable @1696264714 {#4392
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4388
      date: 2023-10-02 14:38:49.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#9077
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4385
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4334
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4282
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4122
          +user: App\Entity\User {#4112}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
            \n
            Give that a try.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 2
          +score: 0
          +lastActive: DateTime @1696250331 {#4134
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4127 …}
          +nested: Doctrine\ORM\PersistentCollection {#4126 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4119 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
          -id: 30089
          -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1294150"
          +editedAt: null
          +createdAt: DateTimeImmutable @1696003426 {#4135
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +body: """
          I’ll give it try!\n
          \n
          Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696005950 {#4283
          date: 2023-09-29 18:45:50.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4279 …}
        +nested: Doctrine\ORM\PersistentCollection {#4275 …}
        +votes: Doctrine\ORM\PersistentCollection {#4273 …}
        +reports: Doctrine\ORM\PersistentCollection {#4288 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
        -id: 30090
        -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3324775"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696005950 {#4286
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696006077 {#4335
        date: 2023-09-29 18:47:57.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4331 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4325 …}
      +reports: Doctrine\ORM\PersistentCollection {#4340 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
      -id: 30091
      -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294408"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696006077 {#4338
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I “kind of” solved at least parts of the problem by simply not turning wifi off. It’s more stable than before, but not stable as such.\n
      \n
      Edit: I played around a bit and I think the problem is somewhere in the power supply. My workbench PC can drive the board just fine for hours, just plug it into the USB port, connect serial monitor and let it do its thing. However, if I’m plugging it into my router or a usb power supply, it stops working after a while again.\n
      \n
      My theory is, that the PSU/router thinks the device is dead, because it draws too little power? That would explain, why not shutting down wifi improves the stability - it draws more power.\n
      \n
      Now, that is just my naive theory, I’m not entirely sure, how to validate it. Maybe I’ll just add a useless busy-loop to increase power draw or add some power consuming components.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696250329 {#4389
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4382 …}
    +nested: Doctrine\ORM\PersistentCollection {#4380 …}
    +votes: Doctrine\ORM\PersistentCollection {#4384 …}
    +reports: Doctrine\ORM\PersistentCollection {#4395 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4397 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4399 …}
    -id: 30450
    -bodyTs: "'add':145,156 'around':31 'bit':33 'board':51 'busi':149 'busy-loop':148 'compon':160 'connect':63 'consum':159 'dead':103 'devic':101 'draw':106,122,154 'drive':49 'edit':28 'entir':135 'explain':112 'fine':53 'hour':55 'howev':72 'improv':118 'increas':152 'kind':2 'least':6 'let':67 'littl':108 'll':143 'loop':150 'm':75,133 'mayb':141 'monitor':65 'naiv':130 'part':7 'pc':47 'play':30 'plug':57,76 'port':62 'power':43,84,109,124,153,158 'problem':10,38 'psu/router':98 'router':80 'serial':64 'shut':115 'simpli':12 'solv':4 'somewher':40 'stabil':120 'stabl':20,25 'stop':87 'suppli':44,85 'sure':136 'theori':94,131 'thing':71 'think':36,99 'turn':14 'usb':61,83 'useless':147 'valid':139 'wifi':15,117 'work':88 'workbench':46 'would':111"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394240"
    +editedAt: DateTimeImmutable @1696264714 {#4392
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4388
      date: 2023-10-02 14:38:49.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 0.50 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4385
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4334
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4282
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4122
          +user: App\Entity\User {#4112}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
            \n
            Give that a try.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 2
          +score: 0
          +lastActive: DateTime @1696250331 {#4134
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4127 …}
          +nested: Doctrine\ORM\PersistentCollection {#4126 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4119 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
          -id: 30089
          -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1294150"
          +editedAt: null
          +createdAt: DateTimeImmutable @1696003426 {#4135
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +body: """
          I’ll give it try!\n
          \n
          Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696005950 {#4283
          date: 2023-09-29 18:45:50.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4279 …}
        +nested: Doctrine\ORM\PersistentCollection {#4275 …}
        +votes: Doctrine\ORM\PersistentCollection {#4273 …}
        +reports: Doctrine\ORM\PersistentCollection {#4288 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
        -id: 30090
        -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3324775"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696005950 {#4286
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696006077 {#4335
        date: 2023-09-29 18:47:57.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4331 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4325 …}
      +reports: Doctrine\ORM\PersistentCollection {#4340 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
      -id: 30091
      -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294408"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696006077 {#4338
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I “kind of” solved at least parts of the problem by simply not turning wifi off. It’s more stable than before, but not stable as such.\n
      \n
      Edit: I played around a bit and I think the problem is somewhere in the power supply. My workbench PC can drive the board just fine for hours, just plug it into the USB port, connect serial monitor and let it do its thing. However, if I’m plugging it into my router or a usb power supply, it stops working after a while again.\n
      \n
      My theory is, that the PSU/router thinks the device is dead, because it draws too little power? That would explain, why not shutting down wifi improves the stability - it draws more power.\n
      \n
      Now, that is just my naive theory, I’m not entirely sure, how to validate it. Maybe I’ll just add a useless busy-loop to increase power draw or add some power consuming components.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696250329 {#4389
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4382 …}
    +nested: Doctrine\ORM\PersistentCollection {#4380 …}
    +votes: Doctrine\ORM\PersistentCollection {#4384 …}
    +reports: Doctrine\ORM\PersistentCollection {#4395 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4397 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4399 …}
    -id: 30450
    -bodyTs: "'add':145,156 'around':31 'bit':33 'board':51 'busi':149 'busy-loop':148 'compon':160 'connect':63 'consum':159 'dead':103 'devic':101 'draw':106,122,154 'drive':49 'edit':28 'entir':135 'explain':112 'fine':53 'hour':55 'howev':72 'improv':118 'increas':152 'kind':2 'least':6 'let':67 'littl':108 'll':143 'loop':150 'm':75,133 'mayb':141 'monitor':65 'naiv':130 'part':7 'pc':47 'play':30 'plug':57,76 'port':62 'power':43,84,109,124,153,158 'problem':10,38 'psu/router':98 'router':80 'serial':64 'shut':115 'simpli':12 'solv':4 'somewher':40 'stabil':120 'stabl':20,25 'stop':87 'suppli':44,85 'sure':136 'theori':94,131 'thing':71 'think':36,99 'turn':14 'usb':61,83 'useless':147 'valid':139 'wifi':15,117 'work':88 'workbench':46 'would':111"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394240"
    +editedAt: DateTimeImmutable @1696264714 {#4392
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4388
      date: 2023-10-02 14:38:49.0 +02:00
    }
  }
  "level" => 4
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#9317
  +comment: App\Entity\EntryComment {#4385
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4334
      +user: App\Entity\User {#4112
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4132
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4109 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4107 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4105 …}
        +entries: Doctrine\ORM\PersistentCollection {#4103 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4101 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4099 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4097 …}
        +posts: Doctrine\ORM\PersistentCollection {#4095 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4157 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4161 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4163 …}
        +follows: Doctrine\ORM\PersistentCollection {#4165 …}
        +followers: Doctrine\ORM\PersistentCollection {#4167 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4169 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4171 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4173 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4175 …}
        +reports: Doctrine\ORM\PersistentCollection {#4177 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
        +violations: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        +awards: Doctrine\ORM\PersistentCollection {#4185 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4187 …}
        +categories: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4191 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4128
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4130
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4282
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4122
          +user: App\Entity\User {#4112}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            I had something similar happen in one of my ESP8266 projects (also running MicroPython). What I wound up doing was, every five wall clock minutes (maybe a bit sooner than that, for your case) I had my firmware do a `local_networks = wifi.scan()` just to exercise the wifi functionality. If that failed I have the code do `gc.collect()` followed by `sys.exit(1)`, which causes the 8266 to reboot automatically.\n
            \n
            Give that a try.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 2
          +score: 0
          +lastActive: DateTime @1696250331 {#4134
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4127 …}
          +nested: Doctrine\ORM\PersistentCollection {#4126 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4119 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4117 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4115 …}
          -id: 30089
          -bodyTs: "'1':62 '8266':66 'also':12 'automat':69 'bit':28 'case':34 'caus':64 'clock':24 'code':56 'esp8266':10 'everi':21 'exercis':46 'fail':52 'firmwar':38 'five':22 'follow':59 'function':49 'gc.collect':58 'give':70 'happen':5 'local':41 'mayb':26 'micropython':14 'minut':25 'network':42 'one':7 'project':11 'reboot':68 'run':13 'similar':4 'someth':3 'sooner':29 'sys.exit':61 'tri':73 'wall':23 'wifi':48 'wifi.scan':43 'wound':17"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1294150"
          +editedAt: null
          +createdAt: DateTimeImmutable @1696003426 {#4135
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +body: """
          I’ll give it try!\n
          \n
          Do you have any idea, what’s causing the issue? Is it specifically the scanning part that’s relevant here? I’m starting/stopping wifi each minute, so the chip shouldn’t just idle around all the time.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1696005950 {#4283
          date: 2023-09-29 18:45:50.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4279 …}
        +nested: Doctrine\ORM\PersistentCollection {#4275 …}
        +votes: Doctrine\ORM\PersistentCollection {#4273 …}
        +reports: Doctrine\ORM\PersistentCollection {#4288 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4290 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4292 …}
        -id: 30090
        -bodyTs: "'around':39 'caus':13 'chip':34 'give':3 'idea':10 'idl':38 'issu':15 'll':2 'm':27 'minut':31 'part':21 'relev':24 'scan':20 'shouldn':35 'specif':18 'starting/stopping':28 'time':42 'tri':5 'wifi':29"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.de/comment/3324775"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696005950 {#4286
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +body: "No, I don’t. My best informed guess is that the wifi connection’s state machine gets stuck once in a while, it misses a couple of packets, and then sits there doing nothing. So, by kicking it a little it doesn’t get a chance to freeze up."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696006077 {#4335
        date: 2023-09-29 18:47:57.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4331 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4325 …}
      +reports: Doctrine\ORM\PersistentCollection {#4340 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4342 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4344 …}
      -id: 30091
      -bodyTs: "'best':6 'chanc':46 'connect':13 'coupl':26 'doesn':42 'freez':48 'get':17,44 'guess':8 'inform':7 'kick':37 'littl':40 'machin':16 'miss':24 'noth':34 'packet':28 'sit':31 'state':15 'stuck':18 'wifi':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1294408"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696006077 {#4338
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +body: """
      I “kind of” solved at least parts of the problem by simply not turning wifi off. It’s more stable than before, but not stable as such.\n
      \n
      Edit: I played around a bit and I think the problem is somewhere in the power supply. My workbench PC can drive the board just fine for hours, just plug it into the USB port, connect serial monitor and let it do its thing. However, if I’m plugging it into my router or a usb power supply, it stops working after a while again.\n
      \n
      My theory is, that the PSU/router thinks the device is dead, because it draws too little power? That would explain, why not shutting down wifi improves the stability - it draws more power.\n
      \n
      Now, that is just my naive theory, I’m not entirely sure, how to validate it. Maybe I’ll just add a useless busy-loop to increase power draw or add some power consuming components.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696250329 {#4389
      date: 2023-10-02 14:38:49.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4382 …}
    +nested: Doctrine\ORM\PersistentCollection {#4380 …}
    +votes: Doctrine\ORM\PersistentCollection {#4384 …}
    +reports: Doctrine\ORM\PersistentCollection {#4395 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4397 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4399 …}
    -id: 30450
    -bodyTs: "'add':145,156 'around':31 'bit':33 'board':51 'busi':149 'busy-loop':148 'compon':160 'connect':63 'consum':159 'dead':103 'devic':101 'draw':106,122,154 'drive':49 'edit':28 'entir':135 'explain':112 'fine':53 'hour':55 'howev':72 'improv':118 'increas':152 'kind':2 'least':6 'let':67 'littl':108 'll':143 'loop':150 'm':75,133 'mayb':141 'monitor':65 'naiv':130 'part':7 'pc':47 'play':30 'plug':57,76 'port':62 'power':43,84,109,124,153,158 'problem':10,38 'psu/router':98 'router':80 'serial':64 'shut':115 'simpli':12 'solv':4 'somewher':40 'stabil':120 'stabl':20,25 'stop':87 'suppli':44,85 'sure':136 'theori':94,131 'thing':71 'think':36,99 'turn':14 'usb':61,83 'useless':147 'valid':139 'wifi':15,117 'work':88 'workbench':46 'would':111"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3394240"
    +editedAt: DateTimeImmutable @1696264714 {#4392
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4388
      date: 2023-10-02 14:38:49.0 +02:00
    }
  }
  +nestedComments: []
  +level: 4
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 21.63 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4198
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
      \n
      Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696239984 {#4193
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4201 …}
    +votes: Doctrine\ORM\PersistentCollection {#4203 …}
    +reports: Doctrine\ORM\PersistentCollection {#4205 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
    -id: 30298
    -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3975498"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696187333 {#4194
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#9415
  +comment: App\Entity\EntryComment {#4198
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
      \n
      Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696239984 {#4193
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4201 …}
    +votes: Doctrine\ORM\PersistentCollection {#4203 …}
    +reports: Doctrine\ORM\PersistentCollection {#4205 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
    -id: 30298
    -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3975498"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696187333 {#4194
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4211
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4195
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
    +entries: Doctrine\ORM\PersistentCollection {#4218 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
    +posts: Doctrine\ORM\PersistentCollection {#4226 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
    +follows: Doctrine\ORM\PersistentCollection {#4238 …}
    +followers: Doctrine\ORM\PersistentCollection {#4240 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
    +reports: Doctrine\ORM\PersistentCollection {#4250 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
    +violations: Doctrine\ORM\PersistentCollection {#4254 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
    +awards: Doctrine\ORM\PersistentCollection {#4258 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
    +categories: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
    +apId: "JoCrichton@lemmy.world"
    +apProfileId: "https://lemmy.world/u/JoCrichton"
    +apPublicUrl: "https://lemmy.world/u/JoCrichton"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "JoCrichton"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1696239984 {#4196
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4197
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#9460
  +user: App\Entity\User {#4211
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4195
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
    +entries: Doctrine\ORM\PersistentCollection {#4218 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
    +posts: Doctrine\ORM\PersistentCollection {#4226 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
    +follows: Doctrine\ORM\PersistentCollection {#4238 …}
    +followers: Doctrine\ORM\PersistentCollection {#4240 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
    +reports: Doctrine\ORM\PersistentCollection {#4250 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
    +violations: Doctrine\ORM\PersistentCollection {#4254 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
    +awards: Doctrine\ORM\PersistentCollection {#4258 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
    +categories: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
    +apId: "JoCrichton@lemmy.world"
    +apProfileId: "https://lemmy.world/u/JoCrichton"
    +apPublicUrl: "https://lemmy.world/u/JoCrichton"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "JoCrichton"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1696239984 {#4196
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4197
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1696187333 {#4194
    date: 2023-10-01 21:08:53.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#9515
  +date: DateTimeImmutable @1696187333 {#4194
    date: 2023-10-01 21:08:53.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696187333 {#4194
    date: 2023-10-01 21:08:53.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#9569
  +createdAt: DateTimeImmutable @1696187333 {#4194
    date: 2023-10-01 21:08:53.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4211
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4195
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
    +entries: Doctrine\ORM\PersistentCollection {#4218 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
    +posts: Doctrine\ORM\PersistentCollection {#4226 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
    +follows: Doctrine\ORM\PersistentCollection {#4238 …}
    +followers: Doctrine\ORM\PersistentCollection {#4240 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
    +reports: Doctrine\ORM\PersistentCollection {#4250 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
    +violations: Doctrine\ORM\PersistentCollection {#4254 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
    +awards: Doctrine\ORM\PersistentCollection {#4258 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
    +categories: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
    +apId: "JoCrichton@lemmy.world"
    +apProfileId: "https://lemmy.world/u/JoCrichton"
    +apPublicUrl: "https://lemmy.world/u/JoCrichton"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "JoCrichton"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1696239984 {#4196
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4197
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#9623
  +width: 40
  +height: 40
  +user: App\Entity\User {#4211
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4195
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
    +entries: Doctrine\ORM\PersistentCollection {#4218 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
    +posts: Doctrine\ORM\PersistentCollection {#4226 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
    +follows: Doctrine\ORM\PersistentCollection {#4238 …}
    +followers: Doctrine\ORM\PersistentCollection {#4240 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
    +reports: Doctrine\ORM\PersistentCollection {#4250 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
    +violations: Doctrine\ORM\PersistentCollection {#4254 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
    +awards: Doctrine\ORM\PersistentCollection {#4258 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
    +categories: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
    +apId: "JoCrichton@lemmy.world"
    +apProfileId: "https://lemmy.world/u/JoCrichton"
    +apPublicUrl: "https://lemmy.world/u/JoCrichton"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "JoCrichton"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1696239984 {#4196
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4197
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.62 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4198
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
      \n
      Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696239984 {#4193
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4201 …}
    +votes: Doctrine\ORM\PersistentCollection {#4203 …}
    +reports: Doctrine\ORM\PersistentCollection {#4205 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
    -id: 30298
    -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3975498"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696187333 {#4194
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#9696
  +subject: App\Entity\EntryComment {#4198
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
      \n
      Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696239984 {#4193
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4201 …}
    +votes: Doctrine\ORM\PersistentCollection {#4203 …}
    +reports: Doctrine\ORM\PersistentCollection {#4205 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
    -id: 30298
    -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3975498"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696187333 {#4194
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.69 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4198
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
      \n
      Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696239984 {#4193
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4201 …}
    +votes: Doctrine\ORM\PersistentCollection {#4203 …}
    +reports: Doctrine\ORM\PersistentCollection {#4205 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
    -id: 30298
    -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3975498"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696187333 {#4194
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#9753
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4198
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
      \n
      Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696239984 {#4193
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4201 …}
    +votes: Doctrine\ORM\PersistentCollection {#4203 …}
    +reports: Doctrine\ORM\PersistentCollection {#4205 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
    -id: 30298
    -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3975498"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696187333 {#4194
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 14.71 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4198
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
      \n
      Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696239984 {#4193
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4201 …}
    +votes: Doctrine\ORM\PersistentCollection {#4203 …}
    +reports: Doctrine\ORM\PersistentCollection {#4205 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
    -id: 30298
    -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3975498"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696187333 {#4194
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#9993
  +comment: App\Entity\EntryComment {#4198
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
      \n
      Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696239984 {#4193
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4199 …}
    +nested: Doctrine\ORM\PersistentCollection {#4201 …}
    +votes: Doctrine\ORM\PersistentCollection {#4203 …}
    +reports: Doctrine\ORM\PersistentCollection {#4205 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
    -id: 30298
    -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3975498"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696187333 {#4194
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
  +nestedComments: [
    30421 => App\Entity\EntryComment {#4311
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4198}
      +root: App\Entity\EntryComment {#4198}
      +body: """
        I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
        \n
        There it says:\n
        \n
        > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
        \n
        This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696235411 {#4309
        date: 2023-10-02 10:30:11.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@JoCrichton@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4312 …}
      +nested: Doctrine\ORM\PersistentCollection {#4314 …}
      +votes: Doctrine\ORM\PersistentCollection {#4316 …}
      +reports: Doctrine\ORM\PersistentCollection {#4318 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
      -id: 30421
      -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390020"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235411 {#4310
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    30428 => App\Entity\EntryComment {#4349
      +user: App\Entity\User {#4211}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4311}
      +root: App\Entity\EntryComment {#4198}
      +body: """
        Yeah on that specific board it looks like it’s included . I was just going from experience. I just wired such a sensor to an Arduino the other day and I was having problems without the pull up. I was seeing garbled data packets on the data line.\n
        \n
        edit: you can easily confirm this by measuring the resistance between VCC and Data on the sensor.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1696239982 {#4346
        date: 2023-10-02 11:46:22.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@JoCrichton@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4350 …}
      +nested: Doctrine\ORM\PersistentCollection {#4352 …}
      +votes: Doctrine\ORM\PersistentCollection {#4354 …}
      +reports: Doctrine\ORM\PersistentCollection {#4356 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4358 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4360 …}
      -id: 30428
      -bodyTs: "'arduino':26 'board':5 'confirm':53 'data':43,47,62 'day':29 'easili':52 'edit':49 'experi':17 'garbl':42 'go':15 'includ':11 'like':8 'line':48 'look':7 'measur':56 'packet':44 'problem':34 'pull':37 'resist':58 'see':41 'sensor':23,65 'specif':4 'vcc':60 'wire':20 'without':35 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/3992091"
      +editedAt: DateTimeImmutable @1696240119 {#4347
        date: 2023-10-02 11:48:39.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696239982 {#4348
        date: 2023-10-02 11:46:22.0 +02:00
      }
    }
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 13.61 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4311
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4195
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
        +entries: Doctrine\ORM\PersistentCollection {#4218 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
        +posts: Doctrine\ORM\PersistentCollection {#4226 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
        +follows: Doctrine\ORM\PersistentCollection {#4238 …}
        +followers: Doctrine\ORM\PersistentCollection {#4240 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
        +reports: Doctrine\ORM\PersistentCollection {#4250 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
        +violations: Doctrine\ORM\PersistentCollection {#4254 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
        +awards: Doctrine\ORM\PersistentCollection {#4258 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
        +categories: Doctrine\ORM\PersistentCollection {#4262 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
        +apId: "JoCrichton@lemmy.world"
        +apProfileId: "https://lemmy.world/u/JoCrichton"
        +apPublicUrl: "https://lemmy.world/u/JoCrichton"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "JoCrichton"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1696239984 {#4196
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4197
          date: 2023-10-01 21:08:54.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
        \n
        Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696239984 {#4193
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 30298
      -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/3975498"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696187333 {#4194
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
      \n
      There it says:\n
      \n
      > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
      \n
      This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696235411 {#4309
      date: 2023-10-02 10:30:11.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4314 …}
    +votes: Doctrine\ORM\PersistentCollection {#4316 …}
    +reports: Doctrine\ORM\PersistentCollection {#4318 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
    -id: 30421
    -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390020"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235411 {#4310
      date: 2023-10-02 10:30:11.0 +02:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#10053
  +comment: App\Entity\EntryComment {#4311
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4195
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
        +entries: Doctrine\ORM\PersistentCollection {#4218 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
        +posts: Doctrine\ORM\PersistentCollection {#4226 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
        +follows: Doctrine\ORM\PersistentCollection {#4238 …}
        +followers: Doctrine\ORM\PersistentCollection {#4240 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
        +reports: Doctrine\ORM\PersistentCollection {#4250 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
        +violations: Doctrine\ORM\PersistentCollection {#4254 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
        +awards: Doctrine\ORM\PersistentCollection {#4258 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
        +categories: Doctrine\ORM\PersistentCollection {#4262 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
        +apId: "JoCrichton@lemmy.world"
        +apProfileId: "https://lemmy.world/u/JoCrichton"
        +apPublicUrl: "https://lemmy.world/u/JoCrichton"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "JoCrichton"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1696239984 {#4196
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4197
          date: 2023-10-01 21:08:54.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
        \n
        Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696239984 {#4193
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 30298
      -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/3975498"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696187333 {#4194
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
      \n
      There it says:\n
      \n
      > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
      \n
      This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696235411 {#4309
      date: 2023-10-02 10:30:11.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4314 …}
    +votes: Doctrine\ORM\PersistentCollection {#4316 …}
    +reports: Doctrine\ORM\PersistentCollection {#4318 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
    -id: 30421
    -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390020"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235411 {#4310
      date: 2023-10-02 10:30:11.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 2
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.25 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#10098
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.16 ms
Input props
[
  "date" => DateTimeImmutable @1696235411 {#4310
    date: 2023-10-02 10:30:11.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10153
  +date: DateTimeImmutable @1696235411 {#4310
    date: 2023-10-02 10:30:11.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.10 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696235411 {#4310
    date: 2023-10-02 10:30:11.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#10207
  +createdAt: DateTimeImmutable @1696235411 {#4310
    date: 2023-10-02 10:30:11.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.16 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#10261
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.45 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4311
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4195
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
        +entries: Doctrine\ORM\PersistentCollection {#4218 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
        +posts: Doctrine\ORM\PersistentCollection {#4226 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
        +follows: Doctrine\ORM\PersistentCollection {#4238 …}
        +followers: Doctrine\ORM\PersistentCollection {#4240 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
        +reports: Doctrine\ORM\PersistentCollection {#4250 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
        +violations: Doctrine\ORM\PersistentCollection {#4254 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
        +awards: Doctrine\ORM\PersistentCollection {#4258 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
        +categories: Doctrine\ORM\PersistentCollection {#4262 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
        +apId: "JoCrichton@lemmy.world"
        +apProfileId: "https://lemmy.world/u/JoCrichton"
        +apPublicUrl: "https://lemmy.world/u/JoCrichton"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "JoCrichton"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1696239984 {#4196
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4197
          date: 2023-10-01 21:08:54.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
        \n
        Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696239984 {#4193
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 30298
      -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/3975498"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696187333 {#4194
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
      \n
      There it says:\n
      \n
      > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
      \n
      This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696235411 {#4309
      date: 2023-10-02 10:30:11.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4314 …}
    +votes: Doctrine\ORM\PersistentCollection {#4316 …}
    +reports: Doctrine\ORM\PersistentCollection {#4318 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
    -id: 30421
    -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390020"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235411 {#4310
      date: 2023-10-02 10:30:11.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#10350
  +subject: App\Entity\EntryComment {#4311
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4195
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
        +entries: Doctrine\ORM\PersistentCollection {#4218 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
        +posts: Doctrine\ORM\PersistentCollection {#4226 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
        +follows: Doctrine\ORM\PersistentCollection {#4238 …}
        +followers: Doctrine\ORM\PersistentCollection {#4240 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
        +reports: Doctrine\ORM\PersistentCollection {#4250 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
        +violations: Doctrine\ORM\PersistentCollection {#4254 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
        +awards: Doctrine\ORM\PersistentCollection {#4258 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
        +categories: Doctrine\ORM\PersistentCollection {#4262 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
        +apId: "JoCrichton@lemmy.world"
        +apProfileId: "https://lemmy.world/u/JoCrichton"
        +apPublicUrl: "https://lemmy.world/u/JoCrichton"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "JoCrichton"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1696239984 {#4196
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4197
          date: 2023-10-01 21:08:54.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
        \n
        Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696239984 {#4193
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 30298
      -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/3975498"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696187333 {#4194
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
      \n
      There it says:\n
      \n
      > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
      \n
      This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696235411 {#4309
      date: 2023-10-02 10:30:11.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4314 …}
    +votes: Doctrine\ORM\PersistentCollection {#4316 …}
    +reports: Doctrine\ORM\PersistentCollection {#4318 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
    -id: 30421
    -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390020"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235411 {#4310
      date: 2023-10-02 10:30:11.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.72 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4311
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4195
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
        +entries: Doctrine\ORM\PersistentCollection {#4218 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
        +posts: Doctrine\ORM\PersistentCollection {#4226 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
        +follows: Doctrine\ORM\PersistentCollection {#4238 …}
        +followers: Doctrine\ORM\PersistentCollection {#4240 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
        +reports: Doctrine\ORM\PersistentCollection {#4250 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
        +violations: Doctrine\ORM\PersistentCollection {#4254 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
        +awards: Doctrine\ORM\PersistentCollection {#4258 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
        +categories: Doctrine\ORM\PersistentCollection {#4262 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
        +apId: "JoCrichton@lemmy.world"
        +apProfileId: "https://lemmy.world/u/JoCrichton"
        +apPublicUrl: "https://lemmy.world/u/JoCrichton"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "JoCrichton"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1696239984 {#4196
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4197
          date: 2023-10-01 21:08:54.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
        \n
        Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696239984 {#4193
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 30298
      -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/3975498"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696187333 {#4194
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
      \n
      There it says:\n
      \n
      > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
      \n
      This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696235411 {#4309
      date: 2023-10-02 10:30:11.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4314 …}
    +votes: Doctrine\ORM\PersistentCollection {#4316 …}
    +reports: Doctrine\ORM\PersistentCollection {#4318 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
    -id: 30421
    -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390020"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235411 {#4310
      date: 2023-10-02 10:30:11.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#10407
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4311
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4195
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
        +entries: Doctrine\ORM\PersistentCollection {#4218 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
        +posts: Doctrine\ORM\PersistentCollection {#4226 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
        +follows: Doctrine\ORM\PersistentCollection {#4238 …}
        +followers: Doctrine\ORM\PersistentCollection {#4240 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
        +reports: Doctrine\ORM\PersistentCollection {#4250 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
        +violations: Doctrine\ORM\PersistentCollection {#4254 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
        +awards: Doctrine\ORM\PersistentCollection {#4258 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
        +categories: Doctrine\ORM\PersistentCollection {#4262 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
        +apId: "JoCrichton@lemmy.world"
        +apProfileId: "https://lemmy.world/u/JoCrichton"
        +apPublicUrl: "https://lemmy.world/u/JoCrichton"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "JoCrichton"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1696239984 {#4196
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4197
          date: 2023-10-01 21:08:54.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
        \n
        Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696239984 {#4193
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 30298
      -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/3975498"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696187333 {#4194
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
      \n
      There it says:\n
      \n
      > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
      \n
      This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696235411 {#4309
      date: 2023-10-02 10:30:11.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4314 …}
    +votes: Doctrine\ORM\PersistentCollection {#4316 …}
    +reports: Doctrine\ORM\PersistentCollection {#4318 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
    -id: 30421
    -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390020"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235411 {#4310
      date: 2023-10-02 10:30:11.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 7.26 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4311
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4195
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
        +entries: Doctrine\ORM\PersistentCollection {#4218 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
        +posts: Doctrine\ORM\PersistentCollection {#4226 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
        +follows: Doctrine\ORM\PersistentCollection {#4238 …}
        +followers: Doctrine\ORM\PersistentCollection {#4240 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
        +reports: Doctrine\ORM\PersistentCollection {#4250 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
        +violations: Doctrine\ORM\PersistentCollection {#4254 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
        +awards: Doctrine\ORM\PersistentCollection {#4258 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
        +categories: Doctrine\ORM\PersistentCollection {#4262 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
        +apId: "JoCrichton@lemmy.world"
        +apProfileId: "https://lemmy.world/u/JoCrichton"
        +apPublicUrl: "https://lemmy.world/u/JoCrichton"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "JoCrichton"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1696239984 {#4196
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4197
          date: 2023-10-01 21:08:54.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
        \n
        Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696239984 {#4193
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 30298
      -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/3975498"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696187333 {#4194
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
      \n
      There it says:\n
      \n
      > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
      \n
      This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696235411 {#4309
      date: 2023-10-02 10:30:11.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4314 …}
    +votes: Doctrine\ORM\PersistentCollection {#4316 …}
    +reports: Doctrine\ORM\PersistentCollection {#4318 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
    -id: 30421
    -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390020"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235411 {#4310
      date: 2023-10-02 10:30:11.0 +02:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#10647
  +comment: App\Entity\EntryComment {#4311
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "agressivelyPassive@feddit.de"
      +username: "@agressivelyPassive@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721484890 {#1537
        date: 2024-07-20 16:14:50.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
      +entries: Doctrine\ORM\PersistentCollection {#1623 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
      +posts: Doctrine\ORM\PersistentCollection {#1657 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
      +follows: Doctrine\ORM\PersistentCollection {#1635 …}
      +followers: Doctrine\ORM\PersistentCollection {#1633 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
      +reports: Doctrine\ORM\PersistentCollection {#1419 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
      +violations: Doctrine\ORM\PersistentCollection {#1429 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
      +awards: Doctrine\ORM\PersistentCollection {#1435 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
      +categories: Doctrine\ORM\PersistentCollection {#1647 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
      +apId: "agressivelyPassive@feddit.de"
      +apProfileId: "https://feddit.de/u/agressivelyPassive"
      +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "agressivelyPassive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721229311 {#1536
        date: 2024-07-17 17:15:11.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687554488 {#1515
        date: 2023-06-23 23:08:08.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4198
      +user: App\Entity\User {#4211
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4195
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
        +entries: Doctrine\ORM\PersistentCollection {#4218 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
        +posts: Doctrine\ORM\PersistentCollection {#4226 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
        +follows: Doctrine\ORM\PersistentCollection {#4238 …}
        +followers: Doctrine\ORM\PersistentCollection {#4240 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
        +reports: Doctrine\ORM\PersistentCollection {#4250 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
        +violations: Doctrine\ORM\PersistentCollection {#4254 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
        +awards: Doctrine\ORM\PersistentCollection {#4258 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
        +categories: Doctrine\ORM\PersistentCollection {#4262 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
        +apId: "JoCrichton@lemmy.world"
        +apProfileId: "https://lemmy.world/u/JoCrichton"
        +apPublicUrl: "https://lemmy.world/u/JoCrichton"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "JoCrichton"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1696239984 {#4196
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4197
          date: 2023-10-01 21:08:54.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
        \n
        Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696239984 {#4193
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4199 …}
      +nested: Doctrine\ORM\PersistentCollection {#4201 …}
      +votes: Doctrine\ORM\PersistentCollection {#4203 …}
      +reports: Doctrine\ORM\PersistentCollection {#4205 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
      -id: 30298
      -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/3975498"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696187333 {#4194
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
      \n
      There it says:\n
      \n
      > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
      \n
      This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1696235411 {#4309
      date: 2023-10-02 10:30:11.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4314 …}
    +votes: Doctrine\ORM\PersistentCollection {#4316 …}
    +reports: Doctrine\ORM\PersistentCollection {#4318 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
    -id: 30421
    -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/3390020"
    +editedAt: null
    +createdAt: DateTimeImmutable @1696235411 {#4310
      date: 2023-10-02 10:30:11.0 +02:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 6.62 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4349
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4311
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4198
        +user: App\Entity\User {#4211}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
          \n
          Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1696239984 {#4193
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4199 …}
        +nested: Doctrine\ORM\PersistentCollection {#4201 …}
        +votes: Doctrine\ORM\PersistentCollection {#4203 …}
        +reports: Doctrine\ORM\PersistentCollection {#4205 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
        -id: 30298
        -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/3975498"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696187333 {#4194
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4198}
      +body: """
        I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
        \n
        There it says:\n
        \n
        > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
        \n
        This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696235411 {#4309
        date: 2023-10-02 10:30:11.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@JoCrichton@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4312 …}
      +nested: Doctrine\ORM\PersistentCollection {#4314 …}
      +votes: Doctrine\ORM\PersistentCollection {#4316 …}
      +reports: Doctrine\ORM\PersistentCollection {#4318 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
      -id: 30421
      -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390020"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235411 {#4310
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      Yeah on that specific board it looks like it’s included . I was just going from experience. I just wired such a sensor to an Arduino the other day and I was having problems without the pull up. I was seeing garbled data packets on the data line.\n
      \n
      edit: you can easily confirm this by measuring the resistance between VCC and Data on the sensor.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696239982 {#4346
      date: 2023-10-02 11:46:22.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4350 …}
    +nested: Doctrine\ORM\PersistentCollection {#4352 …}
    +votes: Doctrine\ORM\PersistentCollection {#4354 …}
    +reports: Doctrine\ORM\PersistentCollection {#4356 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4358 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4360 …}
    -id: 30428
    -bodyTs: "'arduino':26 'board':5 'confirm':53 'data':43,47,62 'day':29 'easili':52 'edit':49 'experi':17 'garbl':42 'go':15 'includ':11 'like':8 'line':48 'look':7 'measur':56 'packet':44 'problem':34 'pull':37 'resist':58 'see':41 'sensor':23,65 'specif':4 'vcc':60 'wire':20 'without':35 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3992091"
    +editedAt: DateTimeImmutable @1696240119 {#4347
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4348
      date: 2023-10-02 11:46:22.0 +02:00
    }
  }
  "showNested" => true
  "level" => 3
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#10702
  +comment: App\Entity\EntryComment {#4349
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4311
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4198
        +user: App\Entity\User {#4211}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
          \n
          Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1696239984 {#4193
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4199 …}
        +nested: Doctrine\ORM\PersistentCollection {#4201 …}
        +votes: Doctrine\ORM\PersistentCollection {#4203 …}
        +reports: Doctrine\ORM\PersistentCollection {#4205 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
        -id: 30298
        -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/3975498"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696187333 {#4194
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4198}
      +body: """
        I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
        \n
        There it says:\n
        \n
        > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
        \n
        This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696235411 {#4309
        date: 2023-10-02 10:30:11.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@JoCrichton@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4312 …}
      +nested: Doctrine\ORM\PersistentCollection {#4314 …}
      +votes: Doctrine\ORM\PersistentCollection {#4316 …}
      +reports: Doctrine\ORM\PersistentCollection {#4318 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
      -id: 30421
      -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390020"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235411 {#4310
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      Yeah on that specific board it looks like it’s included . I was just going from experience. I just wired such a sensor to an Arduino the other day and I was having problems without the pull up. I was seeing garbled data packets on the data line.\n
      \n
      edit: you can easily confirm this by measuring the resistance between VCC and Data on the sensor.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696239982 {#4346
      date: 2023-10-02 11:46:22.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4350 …}
    +nested: Doctrine\ORM\PersistentCollection {#4352 …}
    +votes: Doctrine\ORM\PersistentCollection {#4354 …}
    +reports: Doctrine\ORM\PersistentCollection {#4356 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4358 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4360 …}
    -id: 30428
    -bodyTs: "'arduino':26 'board':5 'confirm':53 'data':43,47,62 'day':29 'easili':52 'edit':49 'experi':17 'garbl':42 'go':15 'includ':11 'like':8 'line':48 'look':7 'measur':56 'packet':44 'problem':34 'pull':37 'resist':58 'see':41 'sensor':23,65 'specif':4 'vcc':60 'wire':20 'without':35 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3992091"
    +editedAt: DateTimeImmutable @1696240119 {#4347
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4348
      date: 2023-10-02 11:46:22.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 3
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.16 ms
Input props
[
  "user" => App\Entity\User {#4211
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4195
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
    +entries: Doctrine\ORM\PersistentCollection {#4218 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
    +posts: Doctrine\ORM\PersistentCollection {#4226 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
    +follows: Doctrine\ORM\PersistentCollection {#4238 …}
    +followers: Doctrine\ORM\PersistentCollection {#4240 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
    +reports: Doctrine\ORM\PersistentCollection {#4250 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
    +violations: Doctrine\ORM\PersistentCollection {#4254 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
    +awards: Doctrine\ORM\PersistentCollection {#4258 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
    +categories: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
    +apId: "JoCrichton@lemmy.world"
    +apProfileId: "https://lemmy.world/u/JoCrichton"
    +apPublicUrl: "https://lemmy.world/u/JoCrichton"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "JoCrichton"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1696239984 {#4196
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4197
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#10747
  +user: App\Entity\User {#4211
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4195
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
    +entries: Doctrine\ORM\PersistentCollection {#4218 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
    +posts: Doctrine\ORM\PersistentCollection {#4226 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
    +follows: Doctrine\ORM\PersistentCollection {#4238 …}
    +followers: Doctrine\ORM\PersistentCollection {#4240 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
    +reports: Doctrine\ORM\PersistentCollection {#4250 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
    +violations: Doctrine\ORM\PersistentCollection {#4254 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
    +awards: Doctrine\ORM\PersistentCollection {#4258 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
    +categories: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
    +apId: "JoCrichton@lemmy.world"
    +apProfileId: "https://lemmy.world/u/JoCrichton"
    +apPublicUrl: "https://lemmy.world/u/JoCrichton"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "JoCrichton"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1696239984 {#4196
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4197
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.16 ms
Input props
[
  "date" => DateTimeImmutable @1696239982 {#4348
    date: 2023-10-02 11:46:22.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10802
  +date: DateTimeImmutable @1696239982 {#4348
    date: 2023-10-02 11:46:22.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.11 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696239982 {#4348
    date: 2023-10-02 11:46:22.0 +02:00
  }
  "editedAt" => DateTimeImmutable @1696240119 {#4347
    date: 2023-10-02 11:48:39.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#10856
  +createdAt: DateTimeImmutable @1696239982 {#4348
    date: 2023-10-02 11:46:22.0 +02:00
  }
  +editedAt: DateTimeImmutable @1696240119 {#4347
    date: 2023-10-02 11:48:39.0 +02:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4211
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4195
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
    +entries: Doctrine\ORM\PersistentCollection {#4218 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
    +posts: Doctrine\ORM\PersistentCollection {#4226 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
    +follows: Doctrine\ORM\PersistentCollection {#4238 …}
    +followers: Doctrine\ORM\PersistentCollection {#4240 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
    +reports: Doctrine\ORM\PersistentCollection {#4250 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
    +violations: Doctrine\ORM\PersistentCollection {#4254 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
    +awards: Doctrine\ORM\PersistentCollection {#4258 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
    +categories: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
    +apId: "JoCrichton@lemmy.world"
    +apProfileId: "https://lemmy.world/u/JoCrichton"
    +apPublicUrl: "https://lemmy.world/u/JoCrichton"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "JoCrichton"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1696239984 {#4196
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4197
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#10910
  +width: 40
  +height: 40
  +user: App\Entity\User {#4211
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4195
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
    +entries: Doctrine\ORM\PersistentCollection {#4218 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
    +posts: Doctrine\ORM\PersistentCollection {#4226 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
    +follows: Doctrine\ORM\PersistentCollection {#4238 …}
    +followers: Doctrine\ORM\PersistentCollection {#4240 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
    +reports: Doctrine\ORM\PersistentCollection {#4250 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
    +violations: Doctrine\ORM\PersistentCollection {#4254 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
    +awards: Doctrine\ORM\PersistentCollection {#4258 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
    +categories: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
    +apId: "JoCrichton@lemmy.world"
    +apProfileId: "https://lemmy.world/u/JoCrichton"
    +apPublicUrl: "https://lemmy.world/u/JoCrichton"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "JoCrichton"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1696239984 {#4196
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4197
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.47 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4349
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4311
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4198
        +user: App\Entity\User {#4211}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
          \n
          Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1696239984 {#4193
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4199 …}
        +nested: Doctrine\ORM\PersistentCollection {#4201 …}
        +votes: Doctrine\ORM\PersistentCollection {#4203 …}
        +reports: Doctrine\ORM\PersistentCollection {#4205 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
        -id: 30298
        -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/3975498"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696187333 {#4194
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4198}
      +body: """
        I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
        \n
        There it says:\n
        \n
        > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
        \n
        This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696235411 {#4309
        date: 2023-10-02 10:30:11.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@JoCrichton@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4312 …}
      +nested: Doctrine\ORM\PersistentCollection {#4314 …}
      +votes: Doctrine\ORM\PersistentCollection {#4316 …}
      +reports: Doctrine\ORM\PersistentCollection {#4318 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
      -id: 30421
      -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390020"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235411 {#4310
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      Yeah on that specific board it looks like it’s included . I was just going from experience. I just wired such a sensor to an Arduino the other day and I was having problems without the pull up. I was seeing garbled data packets on the data line.\n
      \n
      edit: you can easily confirm this by measuring the resistance between VCC and Data on the sensor.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696239982 {#4346
      date: 2023-10-02 11:46:22.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4350 …}
    +nested: Doctrine\ORM\PersistentCollection {#4352 …}
    +votes: Doctrine\ORM\PersistentCollection {#4354 …}
    +reports: Doctrine\ORM\PersistentCollection {#4356 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4358 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4360 …}
    -id: 30428
    -bodyTs: "'arduino':26 'board':5 'confirm':53 'data':43,47,62 'day':29 'easili':52 'edit':49 'experi':17 'garbl':42 'go':15 'includ':11 'like':8 'line':48 'look':7 'measur':56 'packet':44 'problem':34 'pull':37 'resist':58 'see':41 'sensor':23,65 'specif':4 'vcc':60 'wire':20 'without':35 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3992091"
    +editedAt: DateTimeImmutable @1696240119 {#4347
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4348
      date: 2023-10-02 11:46:22.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#10983
  +subject: App\Entity\EntryComment {#4349
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4311
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4198
        +user: App\Entity\User {#4211}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
          \n
          Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1696239984 {#4193
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4199 …}
        +nested: Doctrine\ORM\PersistentCollection {#4201 …}
        +votes: Doctrine\ORM\PersistentCollection {#4203 …}
        +reports: Doctrine\ORM\PersistentCollection {#4205 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
        -id: 30298
        -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/3975498"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696187333 {#4194
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4198}
      +body: """
        I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
        \n
        There it says:\n
        \n
        > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
        \n
        This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696235411 {#4309
        date: 2023-10-02 10:30:11.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@JoCrichton@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4312 …}
      +nested: Doctrine\ORM\PersistentCollection {#4314 …}
      +votes: Doctrine\ORM\PersistentCollection {#4316 …}
      +reports: Doctrine\ORM\PersistentCollection {#4318 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
      -id: 30421
      -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390020"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235411 {#4310
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      Yeah on that specific board it looks like it’s included . I was just going from experience. I just wired such a sensor to an Arduino the other day and I was having problems without the pull up. I was seeing garbled data packets on the data line.\n
      \n
      edit: you can easily confirm this by measuring the resistance between VCC and Data on the sensor.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696239982 {#4346
      date: 2023-10-02 11:46:22.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4350 …}
    +nested: Doctrine\ORM\PersistentCollection {#4352 …}
    +votes: Doctrine\ORM\PersistentCollection {#4354 …}
    +reports: Doctrine\ORM\PersistentCollection {#4356 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4358 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4360 …}
    -id: 30428
    -bodyTs: "'arduino':26 'board':5 'confirm':53 'data':43,47,62 'day':29 'easili':52 'edit':49 'experi':17 'garbl':42 'go':15 'includ':11 'like':8 'line':48 'look':7 'measur':56 'packet':44 'problem':34 'pull':37 'resist':58 'see':41 'sensor':23,65 'specif':4 'vcc':60 'wire':20 'without':35 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3992091"
    +editedAt: DateTimeImmutable @1696240119 {#4347
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4348
      date: 2023-10-02 11:46:22.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.77 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4349
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4311
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4198
        +user: App\Entity\User {#4211}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
          \n
          Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1696239984 {#4193
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4199 …}
        +nested: Doctrine\ORM\PersistentCollection {#4201 …}
        +votes: Doctrine\ORM\PersistentCollection {#4203 …}
        +reports: Doctrine\ORM\PersistentCollection {#4205 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
        -id: 30298
        -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/3975498"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696187333 {#4194
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4198}
      +body: """
        I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
        \n
        There it says:\n
        \n
        > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
        \n
        This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696235411 {#4309
        date: 2023-10-02 10:30:11.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@JoCrichton@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4312 …}
      +nested: Doctrine\ORM\PersistentCollection {#4314 …}
      +votes: Doctrine\ORM\PersistentCollection {#4316 …}
      +reports: Doctrine\ORM\PersistentCollection {#4318 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
      -id: 30421
      -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390020"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235411 {#4310
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      Yeah on that specific board it looks like it’s included . I was just going from experience. I just wired such a sensor to an Arduino the other day and I was having problems without the pull up. I was seeing garbled data packets on the data line.\n
      \n
      edit: you can easily confirm this by measuring the resistance between VCC and Data on the sensor.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696239982 {#4346
      date: 2023-10-02 11:46:22.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4350 …}
    +nested: Doctrine\ORM\PersistentCollection {#4352 …}
    +votes: Doctrine\ORM\PersistentCollection {#4354 …}
    +reports: Doctrine\ORM\PersistentCollection {#4356 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4358 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4360 …}
    -id: 30428
    -bodyTs: "'arduino':26 'board':5 'confirm':53 'data':43,47,62 'day':29 'easili':52 'edit':49 'experi':17 'garbl':42 'go':15 'includ':11 'like':8 'line':48 'look':7 'measur':56 'packet':44 'problem':34 'pull':37 'resist':58 'see':41 'sensor':23,65 'specif':4 'vcc':60 'wire':20 'without':35 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3992091"
    +editedAt: DateTimeImmutable @1696240119 {#4347
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4348
      date: 2023-10-02 11:46:22.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#11040
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4349
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4311
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4198
        +user: App\Entity\User {#4211}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
          \n
          Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1696239984 {#4193
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4199 …}
        +nested: Doctrine\ORM\PersistentCollection {#4201 …}
        +votes: Doctrine\ORM\PersistentCollection {#4203 …}
        +reports: Doctrine\ORM\PersistentCollection {#4205 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
        -id: 30298
        -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/3975498"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696187333 {#4194
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4198}
      +body: """
        I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
        \n
        There it says:\n
        \n
        > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
        \n
        This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696235411 {#4309
        date: 2023-10-02 10:30:11.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@JoCrichton@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4312 …}
      +nested: Doctrine\ORM\PersistentCollection {#4314 …}
      +votes: Doctrine\ORM\PersistentCollection {#4316 …}
      +reports: Doctrine\ORM\PersistentCollection {#4318 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
      -id: 30421
      -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390020"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235411 {#4310
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      Yeah on that specific board it looks like it’s included . I was just going from experience. I just wired such a sensor to an Arduino the other day and I was having problems without the pull up. I was seeing garbled data packets on the data line.\n
      \n
      edit: you can easily confirm this by measuring the resistance between VCC and Data on the sensor.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696239982 {#4346
      date: 2023-10-02 11:46:22.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4350 …}
    +nested: Doctrine\ORM\PersistentCollection {#4352 …}
    +votes: Doctrine\ORM\PersistentCollection {#4354 …}
    +reports: Doctrine\ORM\PersistentCollection {#4356 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4358 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4360 …}
    -id: 30428
    -bodyTs: "'arduino':26 'board':5 'confirm':53 'data':43,47,62 'day':29 'easili':52 'edit':49 'experi':17 'garbl':42 'go':15 'includ':11 'like':8 'line':48 'look':7 'measur':56 'packet':44 'problem':34 'pull':37 'resist':58 'see':41 'sensor':23,65 'specif':4 'vcc':60 'wire':20 'without':35 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3992091"
    +editedAt: DateTimeImmutable @1696240119 {#4347
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4348
      date: 2023-10-02 11:46:22.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 0.40 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4349
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4311
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4198
        +user: App\Entity\User {#4211}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
          \n
          Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1696239984 {#4193
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4199 …}
        +nested: Doctrine\ORM\PersistentCollection {#4201 …}
        +votes: Doctrine\ORM\PersistentCollection {#4203 …}
        +reports: Doctrine\ORM\PersistentCollection {#4205 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
        -id: 30298
        -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/3975498"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696187333 {#4194
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4198}
      +body: """
        I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
        \n
        There it says:\n
        \n
        > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
        \n
        This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696235411 {#4309
        date: 2023-10-02 10:30:11.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@JoCrichton@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4312 …}
      +nested: Doctrine\ORM\PersistentCollection {#4314 …}
      +votes: Doctrine\ORM\PersistentCollection {#4316 …}
      +reports: Doctrine\ORM\PersistentCollection {#4318 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
      -id: 30421
      -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390020"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235411 {#4310
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      Yeah on that specific board it looks like it’s included . I was just going from experience. I just wired such a sensor to an Arduino the other day and I was having problems without the pull up. I was seeing garbled data packets on the data line.\n
      \n
      edit: you can easily confirm this by measuring the resistance between VCC and Data on the sensor.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696239982 {#4346
      date: 2023-10-02 11:46:22.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4350 …}
    +nested: Doctrine\ORM\PersistentCollection {#4352 …}
    +votes: Doctrine\ORM\PersistentCollection {#4354 …}
    +reports: Doctrine\ORM\PersistentCollection {#4356 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4358 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4360 …}
    -id: 30428
    -bodyTs: "'arduino':26 'board':5 'confirm':53 'data':43,47,62 'day':29 'easili':52 'edit':49 'experi':17 'garbl':42 'go':15 'includ':11 'like':8 'line':48 'look':7 'measur':56 'packet':44 'problem':34 'pull':37 'resist':58 'see':41 'sensor':23,65 'specif':4 'vcc':60 'wire':20 'without':35 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3992091"
    +editedAt: DateTimeImmutable @1696240119 {#4347
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4348
      date: 2023-10-02 11:46:22.0 +02:00
    }
  }
  "level" => 3
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#11280
  +comment: App\Entity\EntryComment {#4349
    +user: App\Entity\User {#4211
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4195
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4212 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4214 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4216 …}
      +entries: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4222 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +posts: Doctrine\ORM\PersistentCollection {#4226 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4230 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4232 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4234 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4236 …}
      +follows: Doctrine\ORM\PersistentCollection {#4238 …}
      +followers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4244 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4246 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4248 …}
      +reports: Doctrine\ORM\PersistentCollection {#4250 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4252 …}
      +violations: Doctrine\ORM\PersistentCollection {#4254 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4256 …}
      +awards: Doctrine\ORM\PersistentCollection {#4258 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4260 …}
      +categories: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4264 …}
      +apId: "JoCrichton@lemmy.world"
      +apProfileId: "https://lemmy.world/u/JoCrichton"
      +apPublicUrl: "https://lemmy.world/u/JoCrichton"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "JoCrichton"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1696239984 {#4196
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4197
        date: 2023-10-01 21:08:54.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "agressivelyPassive@feddit.de"
        +username: "@agressivelyPassive@feddit.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1721484890 {#1537
          date: 2024-07-20 16:14:50.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
        +entries: Doctrine\ORM\PersistentCollection {#1623 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
        +posts: Doctrine\ORM\PersistentCollection {#1657 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
        +follows: Doctrine\ORM\PersistentCollection {#1635 …}
        +followers: Doctrine\ORM\PersistentCollection {#1633 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
        +reports: Doctrine\ORM\PersistentCollection {#1419 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
        +violations: Doctrine\ORM\PersistentCollection {#1429 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
        +awards: Doctrine\ORM\PersistentCollection {#1435 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
        +categories: Doctrine\ORM\PersistentCollection {#1647 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
        +apId: "agressivelyPassive@feddit.de"
        +apProfileId: "https://feddit.de/u/agressivelyPassive"
        +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
        +apFollowersUrl: null
        +apInboxUrl: "https://feddit.de/inbox"
        +apDomain: "feddit.de"
        +apPreferredUsername: "agressivelyPassive"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1721229311 {#1536
          date: 2024-07-17 17:15:11.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687554488 {#1515
          date: 2023-06-23 23:08:08.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "RPi-Pico-disconnects-after-a-few-minutes-to-days"
      +title: "RPi Pico "disconnects" after a few minutes to days"
      +url: null
      +body: """
        I’m trying to use an RPi Pico W as a temp/humidity sensor using a DHT20.\n
        \n
        It kind of works - at least sometimes, but I keep “losing” sensors more or less randomly.\n
        \n
        I connected everything up like here (using MicroPython): [github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)There are currently 4 sensor-boards, 3 soldered, one on a breadboard.\n
        \n
        The error modes I could observe are:\n
        \n
        1. DHT20 fails to init - sometimes after the first read, sometimes after days. Resetting the machine works sometimes, if not, power cycling usually does the trick\n
        2. The board just “stops” after about 5min - the serial console just says “device disconnected”. Power cycling is the only option.\n
        \n
        My measurement work by having a timer fire every minute, connect to wifi, read from the sensor, and then send an mqtt message (either the values or an error message) and shutdown wifi again.\n
        \n
        My current ideas why it could fail (but I’m not an electronics guy at all):\n
        \n
        - There is some kind of “rogue current” messing with some IC.\n
        - Some component is broken\n
        - Maybe the power draw is too low or issuing sleep() messes with the USB-power connection somehow?\n
        \n
        For me the problem is, I don’t really know where to look for errors. The software works in principle, the soldering seems to be good enough to sometimes work for days, and looking too deep into the whole electronics side is beyond my capabilities.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 11
      +favouriteCount: 6
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1696250329 {#2410
        date: 2023-10-02 14:38:49.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1978 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
      +badges: Doctrine\ORM\PersistentCollection {#2426 …}
      +children: []
      -id: 2392
      -titleTs: "'day':9 'disconnect':3 'minut':7 'pico':2 'rpi':1"
      -bodyTs: "'/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':43 '1':63 '2':89 '3':50 '4':46 '5min':96 'beyond':235 'board':49,91 'breadboard':55 'broken':174 'capabl':237 'compon':172 'connect':34,120,191 'consol':99 'could':60,149 'current':45,145,166 'cycl':84,105 'day':75,224 'deep':228 'devic':102 'dht20':16,64 'disconnect':103 'draw':178 'either':133 'electron':156,232 'enough':219 'error':57,138,207 'everi':118 'everyth':35 'fail':65,150 'fire':117 'first':71 'github.com':42 'github.com/flrrth/pico-dht20](https://github.com/flrrth/pico-dht20)there':41 'good':218 'guy':157 'ic':170 'idea':146 'init':67 'issu':183 'keep':26 'kind':18,163 'know':202 'least':22 'less':31 'like':37 'look':205,226 'lose':27 'low':181 'm':2,153 'machin':78 'mayb':175 'measur':111 'mess':167,185 'messag':132,139 'micropython':40 'minut':119 'mode':58 'mqtt':131 'observ':61 'one':52 'option':109 'pico':8 'power':83,104,177,190 'principl':212 'problem':196 'random':32 'read':72,123 'realli':201 'reset':76 'rogu':165 'rpi':7 'say':101 'seem':215 'send':129 'sensor':13,28,48,126 'sensor-board':47 'serial':98 'shutdown':141 'side':233 'sleep':184 'softwar':209 'solder':51,214 'somehow':192 'sometim':23,68,73,80,221 'stop':93 'temp/humidity':12 'timer':116 'tri':3 'trick':88 'usb':189 'usb-pow':188 'use':5,14,39 'usual':85 'valu':135 'w':9 'whole':231 'wifi':122,142 'work':20,79,112,210,222"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1696036696
      +visibility: "visible             "
      +apId: "https://feddit.de/post/3954651"
      +editedAt: null
      +createdAt: DateTimeImmutable @1695986696 {#1850
        date: 2023-09-29 13:24:56.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4311
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4198
        +user: App\Entity\User {#4211}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Do you have a pull up on the DHT20? If not that could explain the reliability issues. 4.7k is needed according to the datasheet.\n
          \n
          Not too familiar with the RPi Pico but you might need to disable the internal pull ups if you do that but they are likely too weak so I wouldn’t rely on them.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1696239984 {#4193
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4199 …}
        +nested: Doctrine\ORM\PersistentCollection {#4201 …}
        +votes: Doctrine\ORM\PersistentCollection {#4203 …}
        +reports: Doctrine\ORM\PersistentCollection {#4205 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4207 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4209 …}
        -id: 30298
        -bodyTs: "'4.7':18 'accord':22 'could':13 'datasheet':25 'dht20':9 'disabl':38 'explain':14 'familiar':28 'intern':40 'issu':17 'k':19 'like':50 'might':35 'need':21,36 'pico':32 'pull':5,41 'reli':57 'reliabl':16 'rpi':31 'up':42 'weak':52 'wouldn':55"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/3975498"
        +editedAt: null
        +createdAt: DateTimeImmutable @1696187333 {#4194
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4198}
      +body: """
        I looked it up here: [aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf) (I guess that’s the same datasheet you used)\n
        \n
        There it says:\n
        \n
        > To avoid signal conflicts, the microprocessor (MCU) must only drive SDA and SCL at low level. An external pull-up resistor (for example: 4.7kΩ) is required to pull the signal to a high level. The pull-up resistor has been included in the I/O circuit of the DHT20 microprocessor.\n
        \n
        This sounds to me like it’s already present in the package? I also haven’t seen any tutorial using any resistors (though that may be just an “error” made by all of them to keep it simple).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1696235411 {#4309
        date: 2023-10-02 10:30:11.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
        "@JoCrichton@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4312 …}
      +nested: Doctrine\ORM\PersistentCollection {#4314 …}
      +votes: Doctrine\ORM\PersistentCollection {#4316 …}
      +reports: Doctrine\ORM\PersistentCollection {#4318 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
      -id: 30421
      -bodyTs: "'/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':8 '4.7':45 'alreadi':80 'also':86 'aqicn.org':7 'aqicn.org/air/sensor/spec/asair-dht20.pdf](https://aqicn.org/air/sensor/spec/asair-dht20.pdf)':6 'avoid':22 'circuit':68 'conflict':24 'datasheet':15 'dht20':71 'drive':30 'error':101 'exampl':44 'extern':38 'guess':10 'haven':87 'high':55 'i/o':67 'includ':64 'keep':108 'kω':46 'level':36,56 'like':77 'look':2 'low':35 'made':102 'may':97 'mcu':27 'microprocessor':26,72 'must':28 'packag':84 'present':81 'pull':40,50,59 'pull-up':39,58 'requir':48 'resistor':42,61,94 'say':20 'scl':33 'sda':31 'seen':89 'signal':23,52 'simpl':110 'sound':74 'though':95 'tutori':91 'use':17,92"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/3390020"
      +editedAt: null
      +createdAt: DateTimeImmutable @1696235411 {#4310
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4198}
    +body: """
      Yeah on that specific board it looks like it’s included . I was just going from experience. I just wired such a sensor to an Arduino the other day and I was having problems without the pull up. I was seeing garbled data packets on the data line.\n
      \n
      edit: you can easily confirm this by measuring the resistance between VCC and Data on the sensor.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1696239982 {#4346
      date: 2023-10-02 11:46:22.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
      "@JoCrichton@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4350 …}
    +nested: Doctrine\ORM\PersistentCollection {#4352 …}
    +votes: Doctrine\ORM\PersistentCollection {#4354 …}
    +reports: Doctrine\ORM\PersistentCollection {#4356 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4358 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4360 …}
    -id: 30428
    -bodyTs: "'arduino':26 'board':5 'confirm':53 'data':43,47,62 'day':29 'easili':52 'edit':49 'experi':17 'garbl':42 'go':15 'includ':11 'like':8 'line':48 'look':7 'measur':56 'packet':44 'problem':34 'pull':37 'resist':58 'see':41 'sensor':23,65 'specif':4 'vcc':60 'wire':20 'without':35 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3992091"
    +editedAt: DateTimeImmutable @1696240119 {#4347
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4348
      date: 2023-10-02 11:46:22.0 +02:00
    }
  }
  +nestedComments: []
  +level: 3
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 14.0 MiB 0.30 ms
Input props
[
  "label" => "Sidebar position"
  "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION"
  "values" => [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  "defaultValue" => "RIGHT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#11422
  +label: "Sidebar position"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION"
  +values: [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  +defaultValue: "RIGHT"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.22 ms
Input props
[
  "label" => "Dynamic lists"
  "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11486
  +label: "Dynamic lists"
  +help: ""
  +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.16 ms
Input props
[
  "label" => "Rounded edges"
  "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11551
  +label: "Rounded edges"
  +help: ""
  +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.13 ms
Input props
[
  "label" => "Infinite scrolling"
  "help" => "Automatically load more content when you reach the bottom of the page."
  "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11607
  +label: "Infinite scrolling"
  +help: "Automatically load more content when you reach the bottom of the page."
  +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.26 ms
Input props
[
  "label" => "Sticky navbar"
  "help" => "The navbar will stick to the top of the page when you scroll down."
  "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11666
  +label: "Sticky navbar"
  +help: "The navbar will stick to the top of the page when you scroll down."
  +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.16 ms
Input props
[
  "label" => "Show top bar"
  "settingsKey" => "KBIN_GENERAL_TOPBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11722
  +label: "Show top bar"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TOPBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.16 ms
Input props
[
  "label" => "Turbo mode (experimental)"
  "settingsKey" => "KBIN_GENERAL_TURBO"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11778
  +label: "Turbo mode (experimental)"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TURBO"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 14.0 MiB 0.27 ms
Input props
[
  "label" => "Mark new comments"
  "settingsKey" => "KBIN_MARK_NEW_COMMENTS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#11836
  +label: "Mark new comments"
  +help: ""
  +settingsKey: "KBIN_MARK_NEW_COMMENTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.12 ms
Input props
[
  "label" => "Show "Support Us" block"
  "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11899
  +label: "Show "Support Us" block"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK"
  +defaultValue: true
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 14.0 MiB 0.15 ms
Input props
[
  "label" => "Show subscribed users"
  "settingsKey" => "KBIN_SUB_CHANNEL_USERS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#11957
  +label: "Show subscribed users"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_USERS"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 14.0 MiB 0.18 ms
Input props
[
  "label" => "Show subscribed magazines"
  "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#12013
  +label: "Show subscribed magazines"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 14.0 MiB 9.85 ms
Input props
[
  "label" => "Show subscribed domains"
  "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#12069
  +label: "Show subscribed domains"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.17 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12125
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.15 ms
Input props
[
  "label" => "Compact view"
  "settingsKey" => "KBIN_ENTRIES_COMPACT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12181
  +label: "Compact view"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_COMPACT"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.13 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12237
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.18 ms
Input props
[
  "label" => "Show magazines’ icons"
  "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12293
  +label: "Show magazines’ icons"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.13 ms
Input props
[
  "label" => "Show thumbnails"
  "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12349
  +label: "Show thumbnails"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.16 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12405
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_POSTS_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.14 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12461
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 14.0 MiB 0.18 ms
Input props
[
  "label" => "Comment reply position"
  "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION"
  "values" => [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  "defaultValue" => "TOP"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#12517
  +label: "Comment reply position"
  +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  +settingsKey: "KBIN_COMMENTS_REPLY_POSITION"
  +values: [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  +defaultValue: "TOP"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.24 ms
Input props
[
  "label" => "Show Comment Avatars"
  "help" => "Display/hide user avatars when viewing comments on a single thread or post."
  "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12575
  +label: "Show Comment Avatars"
  +help: "Display/hide user avatars when viewing comments on a single thread or post."
  +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR"
  +defaultValue: true
  +reloadRequired: true
}
user_actions App\Twig\Components\UserActionsComponent 14.0 MiB 0.47 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserActionsComponent {#12652
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "agressivelyPassive@feddit.de"
    +username: "@agressivelyPassive@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721484890 {#1537
      date: 2024-07-20 16:14:50.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …}
    +entries: Doctrine\ORM\PersistentCollection {#1623 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1713 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …}
    +posts: Doctrine\ORM\PersistentCollection {#1657 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1488 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …}
    +follows: Doctrine\ORM\PersistentCollection {#1635 …}
    +followers: Doctrine\ORM\PersistentCollection {#1633 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1418 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1411 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …}
    +reports: Doctrine\ORM\PersistentCollection {#1419 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1428 …}
    +violations: Doctrine\ORM\PersistentCollection {#1429 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1694 …}
    +awards: Doctrine\ORM\PersistentCollection {#1435 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …}
    +categories: Doctrine\ORM\PersistentCollection {#1647 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …}
    +apId: "agressivelyPassive@feddit.de"
    +apProfileId: "https://feddit.de/u/agressivelyPassive"
    +apPublicUrl: "https://feddit.de/u/agressivelyPassive"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "agressivelyPassive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721229311 {#1536
      date: 2024-07-17 17:15:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687554488 {#1515
      date: 2023-06-23 23:08:08.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
}
date App\Twig\Components\DateComponent 14.0 MiB 0.15 ms
Input props
[
  "date" => DateTimeImmutable @1695986696 {#1850
    date: 2023-09-29 13:24:56.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#12713
  +date: DateTimeImmutable @1695986696 {#1850
    date: 2023-09-29 13:24:56.0 +02:00
  }
}
magazine_box App\Twig\Components\MagazineBoxComponent 14.0 MiB 7.10 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  "showSectionTitle" => true
]
Attributes
[]
Component
App\Twig\Components\MagazineBoxComponent {#12769
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +showCover: true
  +showDescription: true
  +showRules: true
  +showSubscribeButton: true
  +showInfo: true
  +showMeta: true
  +showSectionTitle: true
  +stretchedLink: true
}
magazine_sub App\Twig\Components\MagazineSubComponent 14.0 MiB 0.49 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\MagazineSubComponent {#12827
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
}
date App\Twig\Components\DateComponent 14.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1687144409 {#272
    date: 2023-06-19 05:13:29.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#12939
  +date: DateTimeImmutable @1687144409 {#272
    date: 2023-06-19 05:13:29.0 +02:00
  }
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.62 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#12998
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#13045
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13047 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13049 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13051 …}
    +entries: Doctrine\ORM\PersistentCollection {#13053 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13055 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13057 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13059 …}
    +posts: Doctrine\ORM\PersistentCollection {#13061 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13063 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13065 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13067 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13069 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13071 …}
    +follows: Doctrine\ORM\PersistentCollection {#13073 …}
    +followers: Doctrine\ORM\PersistentCollection {#13075 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13077 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13079 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13081 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13083 …}
    +reports: Doctrine\ORM\PersistentCollection {#13085 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13087 …}
    +violations: Doctrine\ORM\PersistentCollection {#13089 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13091 …}
    +awards: Doctrine\ORM\PersistentCollection {#13093 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13095 …}
    +categories: Doctrine\ORM\PersistentCollection {#13097 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13099 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#13046
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#13016
  +user: Proxies\__CG__\App\Entity\User {#12998
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#13045
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13047 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13049 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13051 …}
    +entries: Doctrine\ORM\PersistentCollection {#13053 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13055 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13057 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13059 …}
    +posts: Doctrine\ORM\PersistentCollection {#13061 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13063 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13065 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13067 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13069 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13071 …}
    +follows: Doctrine\ORM\PersistentCollection {#13073 …}
    +followers: Doctrine\ORM\PersistentCollection {#13075 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13077 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13079 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13081 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13083 …}
    +reports: Doctrine\ORM\PersistentCollection {#13085 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13087 …}
    +violations: Doctrine\ORM\PersistentCollection {#13089 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13091 …}
    +awards: Doctrine\ORM\PersistentCollection {#13093 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13095 …}
    +categories: Doctrine\ORM\PersistentCollection {#13097 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13099 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#13046
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: true
}
related_magazines App\Twig\Components\RelatedMagazinesComponent 14.0 MiB 8.36 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedMagazinesComponent {#13207
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "magazine"
  +title: "related_magazines"
  +refreshedRandom: false
  -repository: App\Repository\MagazineRepository {#334 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
active_users App\Twig\Components\ActiveUsersComponent 14.0 MiB 660.67 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\ActiveUsersComponent {#13333
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  -userRepository: App\Repository\UserRepository {#603 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.53 ms
Input props
[
  "user" => App\Entity\User {#13583
    +avatar: Proxies\__CG__\App\Entity\Image {#13582 …}
    +cover: null
    +email: "jarrodsfarrell@hoosier.social"
    +username: "@jarrodsfarrell@hoosier.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Grounded tech enthusiast, Linux enjoyer, and Indy 500 wannabe that lives in south-east Indiana.  \n
      Go pride. [#LGBTQ](https://hoosier.social/tags/LGBTQ)
      """
    +lastActive: DateTime @1690728142 {#13586
      date: 2023-07-30 16:42:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13581 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13579 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13577 …}
    +entries: Doctrine\ORM\PersistentCollection {#13575 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13573 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13571 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13569 …}
    +posts: Doctrine\ORM\PersistentCollection {#13567 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13565 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13563 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13561 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13559 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13557 …}
    +follows: Doctrine\ORM\PersistentCollection {#13555 …}
    +followers: Doctrine\ORM\PersistentCollection {#13553 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13551 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13549 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13547 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13545 …}
    +reports: Doctrine\ORM\PersistentCollection {#13543 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13541 …}
    +violations: Doctrine\ORM\PersistentCollection {#13539 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13537 …}
    +awards: Doctrine\ORM\PersistentCollection {#13535 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13533 …}
    +categories: Doctrine\ORM\PersistentCollection {#13531 …}
    -id: 20657
    -password: "$2y$13$XNERcrvg1/EZkZQbKQ6R6efd5bjo3rlAJRSz0lDRnfkNCV76hr5Me"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13529 …}
    +apId: "jarrodsfarrell@hoosier.social"
    +apProfileId: "https://hoosier.social/users/jarrodsfarrell"
    +apPublicUrl: "https://hoosier.social/@jarrodsfarrell"
    +apFollowersUrl: "https://hoosier.social/users/jarrodsfarrell/followers"
    +apInboxUrl: "https://hoosier.social/inbox"
    +apDomain: "hoosier.social"
    +apPreferredUsername: "jarrodsfarrell"
    +apDiscoverable: false
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690726862 {#13585
      date: 2023-07-30 16:21:02.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688878027 {#13584
      date: 2023-07-09 06:47:07.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#13389
  +width: 65
  +height: 65
  +user: App\Entity\User {#13583
    +avatar: Proxies\__CG__\App\Entity\Image {#13582 …}
    +cover: null
    +email: "jarrodsfarrell@hoosier.social"
    +username: "@jarrodsfarrell@hoosier.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Grounded tech enthusiast, Linux enjoyer, and Indy 500 wannabe that lives in south-east Indiana.  \n
      Go pride. [#LGBTQ](https://hoosier.social/tags/LGBTQ)
      """
    +lastActive: DateTime @1690728142 {#13586
      date: 2023-07-30 16:42:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13581 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13579 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13577 …}
    +entries: Doctrine\ORM\PersistentCollection {#13575 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13573 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13571 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13569 …}
    +posts: Doctrine\ORM\PersistentCollection {#13567 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13565 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13563 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13561 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13559 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13557 …}
    +follows: Doctrine\ORM\PersistentCollection {#13555 …}
    +followers: Doctrine\ORM\PersistentCollection {#13553 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13551 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13549 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13547 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13545 …}
    +reports: Doctrine\ORM\PersistentCollection {#13543 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13541 …}
    +violations: Doctrine\ORM\PersistentCollection {#13539 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13537 …}
    +awards: Doctrine\ORM\PersistentCollection {#13535 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13533 …}
    +categories: Doctrine\ORM\PersistentCollection {#13531 …}
    -id: 20657
    -password: "$2y$13$XNERcrvg1/EZkZQbKQ6R6efd5bjo3rlAJRSz0lDRnfkNCV76hr5Me"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13529 …}
    +apId: "jarrodsfarrell@hoosier.social"
    +apProfileId: "https://hoosier.social/users/jarrodsfarrell"
    +apPublicUrl: "https://hoosier.social/@jarrodsfarrell"
    +apFollowersUrl: "https://hoosier.social/users/jarrodsfarrell/followers"
    +apInboxUrl: "https://hoosier.social/inbox"
    +apDomain: "hoosier.social"
    +apPreferredUsername: "jarrodsfarrell"
    +apDiscoverable: false
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690726862 {#13585
      date: 2023-07-30 16:21:02.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688878027 {#13584
      date: 2023-07-09 06:47:07.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.47 ms
Input props
[
  "user" => App\Entity\User {#13780
    +avatar: Proxies\__CG__\App\Entity\Image {#13777 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13778 …}
    +email: "TCB13@lemmy.world"
    +username: "@TCB13@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: ""
    +lastActive: DateTime @1729518803 {#13600
      date: 2024-10-21 15:53:23.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13775 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13773 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13771 …}
    +entries: Doctrine\ORM\PersistentCollection {#13769 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13767 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13765 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13763 …}
    +posts: Doctrine\ORM\PersistentCollection {#13761 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13759 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13757 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13755 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13753 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13751 …}
    +follows: Doctrine\ORM\PersistentCollection {#13749 …}
    +followers: Doctrine\ORM\PersistentCollection {#13747 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13745 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13743 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13741 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13739 …}
    +reports: Doctrine\ORM\PersistentCollection {#13737 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13735 …}
    +violations: Doctrine\ORM\PersistentCollection {#13733 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13731 …}
    +awards: Doctrine\ORM\PersistentCollection {#13729 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13727 …}
    +categories: Doctrine\ORM\PersistentCollection {#13725 …}
    -id: 43677
    -password: "$2y$13$67WvGuLt4FPbc4trvxnH0ODZHTvTlMWI7kaafAJZUzYiSsXw.KDqi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13723 …}
    +apId: "TCB13@lemmy.world"
    +apProfileId: "https://lemmy.world/u/TCB13"
    +apPublicUrl: "https://lemmy.world/u/TCB13"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "TCB13"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729566764 {#13781
      date: 2024-10-22 05:12:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1693492241 {#13779
      date: 2023-08-31 16:30:41.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#13669
  +width: 65
  +height: 65
  +user: App\Entity\User {#13780
    +avatar: Proxies\__CG__\App\Entity\Image {#13777 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13778 …}
    +email: "TCB13@lemmy.world"
    +username: "@TCB13@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: ""
    +lastActive: DateTime @1729518803 {#13600
      date: 2024-10-21 15:53:23.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13775 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13773 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13771 …}
    +entries: Doctrine\ORM\PersistentCollection {#13769 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13767 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13765 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13763 …}
    +posts: Doctrine\ORM\PersistentCollection {#13761 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13759 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13757 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13755 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13753 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13751 …}
    +follows: Doctrine\ORM\PersistentCollection {#13749 …}
    +followers: Doctrine\ORM\PersistentCollection {#13747 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13745 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13743 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13741 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13739 …}
    +reports: Doctrine\ORM\PersistentCollection {#13737 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13735 …}
    +violations: Doctrine\ORM\PersistentCollection {#13733 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13731 …}
    +awards: Doctrine\ORM\PersistentCollection {#13729 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13727 …}
    +categories: Doctrine\ORM\PersistentCollection {#13725 …}
    -id: 43677
    -password: "$2y$13$67WvGuLt4FPbc4trvxnH0ODZHTvTlMWI7kaafAJZUzYiSsXw.KDqi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13723 …}
    +apId: "TCB13@lemmy.world"
    +apProfileId: "https://lemmy.world/u/TCB13"
    +apPublicUrl: "https://lemmy.world/u/TCB13"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "TCB13"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729566764 {#13781
      date: 2024-10-22 05:12:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1693492241 {#13779
      date: 2023-08-31 16:30:41.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 2.36 ms
Input props
[
  "user" => App\Entity\User {#13406
    +avatar: Proxies\__CG__\App\Entity\Image {#13405 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13404 …}
    +email: "vfrmedia@social.tchncs.de"
    +username: "@vfrmedia@social.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Old roaming Tom Cat (zwerfkater) but still young at heart. Toots EN, (NL,FR,DE). [#DevOpa](https://social.tchncs.de/tags/DevOpa) - interested more in retro tech / culture / aesthetics than new stuff. Also transport and public infrastructure in general (with a UK/European focus)\n
      \n
      Welcome to the secret goose shed!\n
      \n
      Avatar is a tabby point Siamese cat - header picture is a Stentor FM radio transmitter designed in the Netherlands; popular with small pirate radio broadcasters in late 1980s
      """
    +lastActive: DateTime @1692636225 {#13409
      date: 2023-08-21 18:43:45.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13403 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13401 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13351 …}
    +entries: Doctrine\ORM\PersistentCollection {#13353 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13360 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13361 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13363 …}
    +posts: Doctrine\ORM\PersistentCollection {#13365 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13362 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13355 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13373 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13370 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13378 …}
    +follows: Doctrine\ORM\PersistentCollection {#13375 …}
    +followers: Doctrine\ORM\PersistentCollection {#13383 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13385 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13387 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13795 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13789 …}
    +reports: Doctrine\ORM\PersistentCollection {#13602 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13591 …}
    +violations: Doctrine\ORM\PersistentCollection {#13797 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13796 …}
    +awards: Doctrine\ORM\PersistentCollection {#13793 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13790 …}
    +categories: Doctrine\ORM\PersistentCollection {#13787 …}
    -id: 41651
    -password: "$2y$13$MR/jvQLw20snj7dhCUOzrerIeJOUi.vmMEXqlAliA6M/KYuWQH.Sa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13786 …}
    +apId: "vfrmedia@social.tchncs.de"
    +apProfileId: "https://social.tchncs.de/users/vfrmedia"
    +apPublicUrl: "https://social.tchncs.de/@vfrmedia"
    +apFollowersUrl: "https://social.tchncs.de/users/vfrmedia/followers"
    +apInboxUrl: "https://social.tchncs.de/inbox"
    +apDomain: "social.tchncs.de"
    +apPreferredUsername: "vfrmedia"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1692636225 {#13408
      date: 2023-08-21 18:43:45.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692554254 {#13407
      date: 2023-08-20 19:57:34.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#13614
  +width: 65
  +height: 65
  +user: App\Entity\User {#13406
    +avatar: Proxies\__CG__\App\Entity\Image {#13405 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13404 …}
    +email: "vfrmedia@social.tchncs.de"
    +username: "@vfrmedia@social.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Old roaming Tom Cat (zwerfkater) but still young at heart. Toots EN, (NL,FR,DE). [#DevOpa](https://social.tchncs.de/tags/DevOpa) - interested more in retro tech / culture / aesthetics than new stuff. Also transport and public infrastructure in general (with a UK/European focus)\n
      \n
      Welcome to the secret goose shed!\n
      \n
      Avatar is a tabby point Siamese cat - header picture is a Stentor FM radio transmitter designed in the Netherlands; popular with small pirate radio broadcasters in late 1980s
      """
    +lastActive: DateTime @1692636225 {#13409
      date: 2023-08-21 18:43:45.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13403 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13401 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13351 …}
    +entries: Doctrine\ORM\PersistentCollection {#13353 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13360 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13361 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13363 …}
    +posts: Doctrine\ORM\PersistentCollection {#13365 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13362 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13355 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13373 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13370 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13378 …}
    +follows: Doctrine\ORM\PersistentCollection {#13375 …}
    +followers: Doctrine\ORM\PersistentCollection {#13383 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13385 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13387 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13795 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13789 …}
    +reports: Doctrine\ORM\PersistentCollection {#13602 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13591 …}
    +violations: Doctrine\ORM\PersistentCollection {#13797 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13796 …}
    +awards: Doctrine\ORM\PersistentCollection {#13793 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13790 …}
    +categories: Doctrine\ORM\PersistentCollection {#13787 …}
    -id: 41651
    -password: "$2y$13$MR/jvQLw20snj7dhCUOzrerIeJOUi.vmMEXqlAliA6M/KYuWQH.Sa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13786 …}
    +apId: "vfrmedia@social.tchncs.de"
    +apProfileId: "https://social.tchncs.de/users/vfrmedia"
    +apPublicUrl: "https://social.tchncs.de/@vfrmedia"
    +apFollowersUrl: "https://social.tchncs.de/users/vfrmedia/followers"
    +apInboxUrl: "https://social.tchncs.de/inbox"
    +apDomain: "social.tchncs.de"
    +apPreferredUsername: "vfrmedia"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1692636225 {#13408
      date: 2023-08-21 18:43:45.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692554254 {#13407
      date: 2023-08-20 19:57:34.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 4.17 ms
Input props
[
  "user" => App\Entity\User {#13524
    +avatar: Proxies\__CG__\App\Entity\Image {#13523 …}
    +cover: null
    +email: "birdcat@lemmy.ml"
    +username: "@birdcat@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Appreciate and upvote every reply to my comments/posts if I can detect any effort being put into it; even if I think you completely missed what I tried to say or strongly disagree with your opinion.\n
      \n
      Occasionally I cannot resist shitposting, hyperbolic, ironic, sarcastic or populist rhetoric; no /s
      """
    +lastActive: DateTime @1696696022 {#13527
      date: 2023-10-07 18:27:02.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13522 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13518 …}
    +entries: Doctrine\ORM\PersistentCollection {#13516 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13514 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13512 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13510 …}
    +posts: Doctrine\ORM\PersistentCollection {#13508 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13506 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13504 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13502 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13500 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13498 …}
    +follows: Doctrine\ORM\PersistentCollection {#13496 …}
    +followers: Doctrine\ORM\PersistentCollection {#13494 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13492 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13490 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13488 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13486 …}
    +reports: Doctrine\ORM\PersistentCollection {#13484 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13482 …}
    +violations: Doctrine\ORM\PersistentCollection {#13480 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13478 …}
    +awards: Doctrine\ORM\PersistentCollection {#13476 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13474 …}
    +categories: Doctrine\ORM\PersistentCollection {#13472 …}
    -id: 21796
    -password: "$2y$13$ACNmoGKWwRgm/Njn146GG.b25O8.XXYtlu6ZukGNMl7KWiROcYuzK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13470 …}
    +apId: "birdcat@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/birdcat"
    +apPublicUrl: "https://lemmy.ml/u/birdcat"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "birdcat"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719824521 {#13526
      date: 2024-07-01 11:02:01.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689039812 {#13525
      date: 2023-07-11 03:43:32.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#13840
  +width: 65
  +height: 65
  +user: App\Entity\User {#13524
    +avatar: Proxies\__CG__\App\Entity\Image {#13523 …}
    +cover: null
    +email: "birdcat@lemmy.ml"
    +username: "@birdcat@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Appreciate and upvote every reply to my comments/posts if I can detect any effort being put into it; even if I think you completely missed what I tried to say or strongly disagree with your opinion.\n
      \n
      Occasionally I cannot resist shitposting, hyperbolic, ironic, sarcastic or populist rhetoric; no /s
      """
    +lastActive: DateTime @1696696022 {#13527
      date: 2023-10-07 18:27:02.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13522 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13518 …}
    +entries: Doctrine\ORM\PersistentCollection {#13516 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13514 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13512 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13510 …}
    +posts: Doctrine\ORM\PersistentCollection {#13508 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13506 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13504 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13502 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13500 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13498 …}
    +follows: Doctrine\ORM\PersistentCollection {#13496 …}
    +followers: Doctrine\ORM\PersistentCollection {#13494 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13492 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13490 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13488 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13486 …}
    +reports: Doctrine\ORM\PersistentCollection {#13484 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13482 …}
    +violations: Doctrine\ORM\PersistentCollection {#13480 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13478 …}
    +awards: Doctrine\ORM\PersistentCollection {#13476 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13474 …}
    +categories: Doctrine\ORM\PersistentCollection {#13472 …}
    -id: 21796
    -password: "$2y$13$ACNmoGKWwRgm/Njn146GG.b25O8.XXYtlu6ZukGNMl7KWiROcYuzK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13470 …}
    +apId: "birdcat@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/birdcat"
    +apPublicUrl: "https://lemmy.ml/u/birdcat"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "birdcat"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719824521 {#13526
      date: 2024-07-01 11:02:01.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689039812 {#13525
      date: 2023-07-11 03:43:32.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.54 ms
Input props
[
  "user" => App\Entity\User {#13465
    +avatar: Proxies\__CG__\App\Entity\Image {#13464 …}
    +cover: null
    +email: "skillissuer@discuss.tchncs.de"
    +username: "@skillissuer@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "i should be writing"
    +lastActive: DateTime @1721044672 {#13468
      date: 2024-07-15 13:57:52.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13463 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13461 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13459 …}
    +entries: Doctrine\ORM\PersistentCollection {#13457 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13455 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13453 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13451 …}
    +posts: Doctrine\ORM\PersistentCollection {#13449 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13447 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13445 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13443 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13441 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13439 …}
    +follows: Doctrine\ORM\PersistentCollection {#13437 …}
    +followers: Doctrine\ORM\PersistentCollection {#13435 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13433 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13431 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13429 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13427 …}
    +reports: Doctrine\ORM\PersistentCollection {#13425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13423 …}
    +violations: Doctrine\ORM\PersistentCollection {#13421 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13419 …}
    +awards: Doctrine\ORM\PersistentCollection {#13417 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13415 …}
    +categories: Doctrine\ORM\PersistentCollection {#13413 …}
    -id: 39464
    -password: "$2y$13$wQAP4Gif3ESopfZf00xAU.zwr9iTTX.ev3twB9omsse0v00sxuD/G"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13411 …}
    +apId: "skillissuer@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/skillissuer"
    +apPublicUrl: "https://discuss.tchncs.de/u/skillissuer"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "skillissuer"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728245617 {#13467
      date: 2024-10-06 22:13:37.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691480767 {#13466
      date: 2023-08-08 09:46:07.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#13897
  +width: 65
  +height: 65
  +user: App\Entity\User {#13465
    +avatar: Proxies\__CG__\App\Entity\Image {#13464 …}
    +cover: null
    +email: "skillissuer@discuss.tchncs.de"
    +username: "@skillissuer@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "i should be writing"
    +lastActive: DateTime @1721044672 {#13468
      date: 2024-07-15 13:57:52.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13463 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13461 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13459 …}
    +entries: Doctrine\ORM\PersistentCollection {#13457 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13455 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13453 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13451 …}
    +posts: Doctrine\ORM\PersistentCollection {#13449 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13447 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13445 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13443 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13441 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13439 …}
    +follows: Doctrine\ORM\PersistentCollection {#13437 …}
    +followers: Doctrine\ORM\PersistentCollection {#13435 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13433 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13431 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13429 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13427 …}
    +reports: Doctrine\ORM\PersistentCollection {#13425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13423 …}
    +violations: Doctrine\ORM\PersistentCollection {#13421 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13419 …}
    +awards: Doctrine\ORM\PersistentCollection {#13417 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13415 …}
    +categories: Doctrine\ORM\PersistentCollection {#13413 …}
    -id: 39464
    -password: "$2y$13$wQAP4Gif3ESopfZf00xAU.zwr9iTTX.ev3twB9omsse0v00sxuD/G"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13411 …}
    +apId: "skillissuer@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/skillissuer"
    +apPublicUrl: "https://discuss.tchncs.de/u/skillissuer"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "skillissuer"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728245617 {#13467
      date: 2024-10-06 22:13:37.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691480767 {#13466
      date: 2023-08-08 09:46:07.0 +02:00
    }
  }
  +asLink: true
}
related_categories App\Twig\Components\RelatedCategoriesComponent 14.0 MiB 19.47 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedCategoriesComponent {#13959
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "related"
  +title: "related_categories"
  +refreshedRandom: false
  -repository: App\Repository\CategoryRepository {#13960 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_posts App\Twig\Components\RelatedPostsComponent 14.0 MiB 12.07 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedPostsComponent {#9009
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "magazine"
  +post: null
  +title: "related_posts"
  +refreshedRandom: false
  -repository: App\Repository\PostRepository {#8999 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#390 …}
}
related_entries App\Twig\Components\RelatedEntriesComponent 14.0 MiB 17.51 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedEntriesComponent {#8973
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "magazine"
  +entry: null
  +title: "related_entries"
  +refreshedRandom: false
  -repository: App\Repository\EntryRepository {#271 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#390 …}
}
support_us_block App\Twig\Components\SupportUsBlock 14.0 MiB 0.24 ms
Input props
[]
Attributes
[]
Component
App\Twig\Components\SupportUsBlock {#11442
  +subject: ? App\Entity\Contracts\VotableInterface
  +url: ? string
  -twig: Twig\Environment {#1252 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -partnerBlockRepository: App\Repository\PartnerBlockRepository {#11441 …}
}
featured_magazines App\Twig\Components\FeaturedMagazinesComponent 14.0 MiB 0.71 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\FeaturedMagazinesComponent {#13117
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  -twig: Twig\Environment {#1252 …}
  -repository: App\Repository\MagazineRepository {#334 …}
}