Components

24 Twig Components
135 Render Count
754 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 9.21ms
settings_row_switch
"App\Twig\Components\SettingsRowSwitchComponent"
components/_settings_row_switch.html.twig
15 3.26ms
date
"App\Twig\Components\DateComponent"
components/date.html.twig
14 2.82ms
user_inline
"App\Twig\Components\UserInlineComponent"
components/user_inline.html.twig
13 3.98ms
date_edited
"App\Twig\Components\DateEditedComponent"
components/date_edited.html.twig
12 3.17ms
vote
"App\Twig\Components\VoteComponent"
components/vote.html.twig
12 9.94ms
boost
"App\Twig\Components\BoostComponent"
components/boost.html.twig
12 12.85ms
entry_comment
"App\Twig\Components\EntryCommentComponent"
components/entry_comment.html.twig
11 388.56ms
entry_comments_nested
"App\Twig\Components\EntryCommentsNestedComponent"
components/_cached.html.twig
11 235.67ms
user_settings_row_switch
"App\Twig\Components\UserSettingsRowSwitchComponent"
components/_user_settings_row_switch.html.twig
4 1.08ms
settings_row_enum
"App\Twig\Components\SettingsRowEnumComponent"
components/_settings_row_enum.html.twig
2 0.70ms
entry
"App\Twig\Components\EntryComponent"
components/_cached.html.twig
1 201.07ms
entries_cross
"App\Twig\Components\EntriesCrossComponent"
components/_cached.html.twig
1 186.57ms
editor_toolbar
"App\Twig\Components\EditorToolbarComponent"
components/editor_toolbar.html.twig
1 0.67ms
user_actions
"App\Twig\Components\UserActionsComponent"
components/user_actions.html.twig
1 0.43ms
magazine_box
"App\Twig\Components\MagazineBoxComponent"
components/magazine_box.html.twig
1 6.92ms
magazine_sub
"App\Twig\Components\MagazineSubComponent"
components/magazine_sub.html.twig
1 0.44ms
related_magazines
"App\Twig\Components\RelatedMagazinesComponent"
components/_cached.html.twig
1 9.26ms
active_users
"App\Twig\Components\ActiveUsersComponent"
components/_cached.html.twig
1 99.43ms
related_categories
"App\Twig\Components\RelatedCategoriesComponent"
components/_cached.html.twig
1 9.85ms
related_posts
"App\Twig\Components\RelatedPostsComponent"
components/_cached.html.twig
1 4.97ms
related_entries
"App\Twig\Components\RelatedEntriesComponent"
components/_cached.html.twig
1 18.41ms
support_us_block
"App\Twig\Components\SupportUsBlock"
components/_cached.html.twig
1 0.32ms
featured_magazines
"App\Twig\Components\FeaturedMagazinesComponent"
components/_cached.html.twig
1 0.93ms

Render calls

entry App\Twig\Components\EntryComponent 12.0 MiB 201.07 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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#2959
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
  -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2960 …}
  -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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 12.0 MiB 0.48 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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 {#3181
  +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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 12.0 MiB 0.55 ms
Input props
[
  "date" => DateTimeImmutable @1695986696 {#1850
    date: 2023-09-29 13:24:56.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#3251
  +date: DateTimeImmutable @1695986696 {#1850
    date: 2023-09-29 13:24:56.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.27 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 {#3315
  +createdAt: DateTimeImmutable @1695986696 {#1850
    date: 2023-09-29 13:24:56.0 +02:00
  }
  +editedAt: null
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.82 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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#3380
  +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 12.0 MiB 1.95 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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#3446
  +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 12.0 MiB 186.57 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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#3760
  +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 12.0 MiB 0.67 ms
Input props
[
  "id" => "entry_comment_683150ac61c7d1.00013095_body"
]
Attributes
[]
Component
App\Twig\Components\EditorToolbarComponent {#3885
  +id: "entry_comment_683150ac61c7d1.00013095_body"
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 75.84 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4085
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4094
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4083 …}
    +nested: Doctrine\ORM\PersistentCollection {#4081 …}
    +votes: Doctrine\ORM\PersistentCollection {#4079 …}
    +reports: Doctrine\ORM\PersistentCollection {#4077 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
    -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 {#4030
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#4334
  +comment: App\Entity\EntryComment {#4085
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4094
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4083 …}
    +nested: Doctrine\ORM\PersistentCollection {#4081 …}
    +votes: Doctrine\ORM\PersistentCollection {#4079 …}
    +reports: Doctrine\ORM\PersistentCollection {#4077 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
    -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 {#4030
      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 12.0 MiB 0.22 ms
Input props
[
  "user" => App\Entity\User {#4033
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4093
      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 {#4034 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
    +entries: Doctrine\ORM\PersistentCollection {#4027 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
    +posts: Doctrine\ORM\PersistentCollection {#4017 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
    +follows: Doctrine\ORM\PersistentCollection {#4149 …}
    +followers: Doctrine\ORM\PersistentCollection {#4145 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
    +reports: Doctrine\ORM\PersistentCollection {#4148 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
    +violations: Doctrine\ORM\PersistentCollection {#4138 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
    +awards: Doctrine\ORM\PersistentCollection {#4139 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
    +categories: Doctrine\ORM\PersistentCollection {#4136 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
    +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 {#4089
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4087
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#4480
  +user: App\Entity\User {#4033
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4093
      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 {#4034 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
    +entries: Doctrine\ORM\PersistentCollection {#4027 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
    +posts: Doctrine\ORM\PersistentCollection {#4017 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
    +follows: Doctrine\ORM\PersistentCollection {#4149 …}
    +followers: Doctrine\ORM\PersistentCollection {#4145 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
    +reports: Doctrine\ORM\PersistentCollection {#4148 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
    +violations: Doctrine\ORM\PersistentCollection {#4138 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
    +awards: Doctrine\ORM\PersistentCollection {#4139 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
    +categories: Doctrine\ORM\PersistentCollection {#4136 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
    +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 {#4089
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4087
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.23 ms
Input props
[
  "date" => DateTimeImmutable @1696187333 {#4030
    date: 2023-10-01 21:08:53.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#4535
  +date: DateTimeImmutable @1696187333 {#4030
    date: 2023-10-01 21:08:53.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.14 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696187333 {#4030
    date: 2023-10-01 21:08:53.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#4589
  +createdAt: DateTimeImmutable @1696187333 {#4030
    date: 2023-10-01 21:08:53.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.38 ms
Input props
[
  "user" => App\Entity\User {#4033
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4093
      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 {#4034 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
    +entries: Doctrine\ORM\PersistentCollection {#4027 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
    +posts: Doctrine\ORM\PersistentCollection {#4017 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
    +follows: Doctrine\ORM\PersistentCollection {#4149 …}
    +followers: Doctrine\ORM\PersistentCollection {#4145 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
    +reports: Doctrine\ORM\PersistentCollection {#4148 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
    +violations: Doctrine\ORM\PersistentCollection {#4138 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
    +awards: Doctrine\ORM\PersistentCollection {#4139 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
    +categories: Doctrine\ORM\PersistentCollection {#4136 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
    +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 {#4089
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4087
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#4645
  +width: 40
  +height: 40
  +user: App\Entity\User {#4033
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4093
      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 {#4034 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
    +entries: Doctrine\ORM\PersistentCollection {#4027 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
    +posts: Doctrine\ORM\PersistentCollection {#4017 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
    +follows: Doctrine\ORM\PersistentCollection {#4149 …}
    +followers: Doctrine\ORM\PersistentCollection {#4145 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
    +reports: Doctrine\ORM\PersistentCollection {#4148 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
    +violations: Doctrine\ORM\PersistentCollection {#4138 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
    +awards: Doctrine\ORM\PersistentCollection {#4139 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
    +categories: Doctrine\ORM\PersistentCollection {#4136 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
    +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 {#4089
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4087
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.78 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4085
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4094
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4083 …}
    +nested: Doctrine\ORM\PersistentCollection {#4081 …}
    +votes: Doctrine\ORM\PersistentCollection {#4079 …}
    +reports: Doctrine\ORM\PersistentCollection {#4077 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
    -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 {#4030
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#4732
  +subject: App\Entity\EntryComment {#4085
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4094
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4083 …}
    +nested: Doctrine\ORM\PersistentCollection {#4081 …}
    +votes: Doctrine\ORM\PersistentCollection {#4079 …}
    +reports: Doctrine\ORM\PersistentCollection {#4077 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
    -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 {#4030
      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 12.0 MiB 1.12 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4085
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4094
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4083 …}
    +nested: Doctrine\ORM\PersistentCollection {#4081 …}
    +votes: Doctrine\ORM\PersistentCollection {#4079 …}
    +reports: Doctrine\ORM\PersistentCollection {#4077 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
    -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 {#4030
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#4789
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4085
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4094
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4083 …}
    +nested: Doctrine\ORM\PersistentCollection {#4081 …}
    +votes: Doctrine\ORM\PersistentCollection {#4079 …}
    +reports: Doctrine\ORM\PersistentCollection {#4077 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
    -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 {#4030
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 35.94 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4085
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4094
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4083 …}
    +nested: Doctrine\ORM\PersistentCollection {#4081 …}
    +votes: Doctrine\ORM\PersistentCollection {#4079 …}
    +reports: Doctrine\ORM\PersistentCollection {#4077 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
    -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 {#4030
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#5036
  +comment: App\Entity\EntryComment {#4085
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4094
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4083 …}
    +nested: Doctrine\ORM\PersistentCollection {#4081 …}
    +votes: Doctrine\ORM\PersistentCollection {#4079 …}
    +reports: Doctrine\ORM\PersistentCollection {#4077 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
    -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 {#4030
      date: 2023-10-01 21:08:53.0 +02:00
    }
  }
  +nestedComments: [
    30421 => App\Entity\EntryComment {#4316
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4085}
      +root: App\Entity\EntryComment {#4085}
      +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 {#4314
        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 {#4317 …}
      +nested: Doctrine\ORM\PersistentCollection {#4319 …}
      +votes: Doctrine\ORM\PersistentCollection {#4321 …}
      +reports: Doctrine\ORM\PersistentCollection {#4323 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
      -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 {#4315
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    30428 => App\Entity\EntryComment {#4354
      +user: App\Entity\User {#4033}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4316}
      +root: App\Entity\EntryComment {#4085}
      +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 {#4351
        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 {#4355 …}
      +nested: Doctrine\ORM\PersistentCollection {#4357 …}
      +votes: Doctrine\ORM\PersistentCollection {#4359 …}
      +reports: Doctrine\ORM\PersistentCollection {#4361 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4363 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4365 …}
      -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 {#4352
        date: 2023-10-02 11:48:39.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696239982 {#4353
        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 12.0 MiB 16.51 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4316
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4085
      +user: App\Entity\User {#4033
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4093
          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 {#4034 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
        +entries: Doctrine\ORM\PersistentCollection {#4027 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
        +posts: Doctrine\ORM\PersistentCollection {#4017 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
        +follows: Doctrine\ORM\PersistentCollection {#4149 …}
        +followers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
        +reports: Doctrine\ORM\PersistentCollection {#4148 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
        +violations: Doctrine\ORM\PersistentCollection {#4138 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
        +awards: Doctrine\ORM\PersistentCollection {#4139 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
        +categories: Doctrine\ORM\PersistentCollection {#4136 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
        +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 {#4089
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4087
          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 {#4094
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4083 …}
      +nested: Doctrine\ORM\PersistentCollection {#4081 …}
      +votes: Doctrine\ORM\PersistentCollection {#4079 …}
      +reports: Doctrine\ORM\PersistentCollection {#4077 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
      -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 {#4030
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4314
      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 {#4317 …}
    +nested: Doctrine\ORM\PersistentCollection {#4319 …}
    +votes: Doctrine\ORM\PersistentCollection {#4321 …}
    +reports: Doctrine\ORM\PersistentCollection {#4323 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
    -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 {#4315
      date: 2023-10-02 10:30:11.0 +02:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5110
  +comment: App\Entity\EntryComment {#4316
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4085
      +user: App\Entity\User {#4033
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4093
          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 {#4034 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
        +entries: Doctrine\ORM\PersistentCollection {#4027 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
        +posts: Doctrine\ORM\PersistentCollection {#4017 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
        +follows: Doctrine\ORM\PersistentCollection {#4149 …}
        +followers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
        +reports: Doctrine\ORM\PersistentCollection {#4148 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
        +violations: Doctrine\ORM\PersistentCollection {#4138 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
        +awards: Doctrine\ORM\PersistentCollection {#4139 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
        +categories: Doctrine\ORM\PersistentCollection {#4136 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
        +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 {#4089
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4087
          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 {#4094
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4083 …}
      +nested: Doctrine\ORM\PersistentCollection {#4081 …}
      +votes: Doctrine\ORM\PersistentCollection {#4079 …}
      +reports: Doctrine\ORM\PersistentCollection {#4077 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
      -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 {#4030
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4314
      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 {#4317 …}
    +nested: Doctrine\ORM\PersistentCollection {#4319 …}
    +votes: Doctrine\ORM\PersistentCollection {#4321 …}
    +reports: Doctrine\ORM\PersistentCollection {#4323 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
    -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 {#4315
      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 12.0 MiB 0.20 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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 {#5157
  +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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 12.0 MiB 0.18 ms
Input props
[
  "date" => DateTimeImmutable @1696235411 {#4315
    date: 2023-10-02 10:30:11.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5212
  +date: DateTimeImmutable @1696235411 {#4315
    date: 2023-10-02 10:30:11.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.13 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696235411 {#4315
    date: 2023-10-02 10:30:11.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5266
  +createdAt: DateTimeImmutable @1696235411 {#4315
    date: 2023-10-02 10:30:11.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.22 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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 {#5320
  +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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 12.0 MiB 1.35 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4316
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4085
      +user: App\Entity\User {#4033
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4093
          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 {#4034 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
        +entries: Doctrine\ORM\PersistentCollection {#4027 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
        +posts: Doctrine\ORM\PersistentCollection {#4017 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
        +follows: Doctrine\ORM\PersistentCollection {#4149 …}
        +followers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
        +reports: Doctrine\ORM\PersistentCollection {#4148 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
        +violations: Doctrine\ORM\PersistentCollection {#4138 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
        +awards: Doctrine\ORM\PersistentCollection {#4139 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
        +categories: Doctrine\ORM\PersistentCollection {#4136 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
        +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 {#4089
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4087
          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 {#4094
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4083 …}
      +nested: Doctrine\ORM\PersistentCollection {#4081 …}
      +votes: Doctrine\ORM\PersistentCollection {#4079 …}
      +reports: Doctrine\ORM\PersistentCollection {#4077 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
      -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 {#4030
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4314
      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 {#4317 …}
    +nested: Doctrine\ORM\PersistentCollection {#4319 …}
    +votes: Doctrine\ORM\PersistentCollection {#4321 …}
    +reports: Doctrine\ORM\PersistentCollection {#4323 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
    -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 {#4315
      date: 2023-10-02 10:30:11.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#5409
  +subject: App\Entity\EntryComment {#4316
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4085
      +user: App\Entity\User {#4033
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4093
          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 {#4034 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
        +entries: Doctrine\ORM\PersistentCollection {#4027 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
        +posts: Doctrine\ORM\PersistentCollection {#4017 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
        +follows: Doctrine\ORM\PersistentCollection {#4149 …}
        +followers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
        +reports: Doctrine\ORM\PersistentCollection {#4148 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
        +violations: Doctrine\ORM\PersistentCollection {#4138 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
        +awards: Doctrine\ORM\PersistentCollection {#4139 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
        +categories: Doctrine\ORM\PersistentCollection {#4136 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
        +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 {#4089
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4087
          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 {#4094
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4083 …}
      +nested: Doctrine\ORM\PersistentCollection {#4081 …}
      +votes: Doctrine\ORM\PersistentCollection {#4079 …}
      +reports: Doctrine\ORM\PersistentCollection {#4077 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
      -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 {#4030
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4314
      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 {#4317 …}
    +nested: Doctrine\ORM\PersistentCollection {#4319 …}
    +votes: Doctrine\ORM\PersistentCollection {#4321 …}
    +reports: Doctrine\ORM\PersistentCollection {#4323 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
    -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 {#4315
      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 12.0 MiB 0.95 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4316
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4085
      +user: App\Entity\User {#4033
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4093
          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 {#4034 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
        +entries: Doctrine\ORM\PersistentCollection {#4027 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
        +posts: Doctrine\ORM\PersistentCollection {#4017 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
        +follows: Doctrine\ORM\PersistentCollection {#4149 …}
        +followers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
        +reports: Doctrine\ORM\PersistentCollection {#4148 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
        +violations: Doctrine\ORM\PersistentCollection {#4138 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
        +awards: Doctrine\ORM\PersistentCollection {#4139 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
        +categories: Doctrine\ORM\PersistentCollection {#4136 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
        +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 {#4089
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4087
          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 {#4094
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4083 …}
      +nested: Doctrine\ORM\PersistentCollection {#4081 …}
      +votes: Doctrine\ORM\PersistentCollection {#4079 …}
      +reports: Doctrine\ORM\PersistentCollection {#4077 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
      -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 {#4030
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4314
      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 {#4317 …}
    +nested: Doctrine\ORM\PersistentCollection {#4319 …}
    +votes: Doctrine\ORM\PersistentCollection {#4321 …}
    +reports: Doctrine\ORM\PersistentCollection {#4323 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
    -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 {#4315
      date: 2023-10-02 10:30:11.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#5466
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4316
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4085
      +user: App\Entity\User {#4033
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4093
          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 {#4034 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
        +entries: Doctrine\ORM\PersistentCollection {#4027 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
        +posts: Doctrine\ORM\PersistentCollection {#4017 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
        +follows: Doctrine\ORM\PersistentCollection {#4149 …}
        +followers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
        +reports: Doctrine\ORM\PersistentCollection {#4148 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
        +violations: Doctrine\ORM\PersistentCollection {#4138 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
        +awards: Doctrine\ORM\PersistentCollection {#4139 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
        +categories: Doctrine\ORM\PersistentCollection {#4136 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
        +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 {#4089
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4087
          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 {#4094
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4083 …}
      +nested: Doctrine\ORM\PersistentCollection {#4081 …}
      +votes: Doctrine\ORM\PersistentCollection {#4079 …}
      +reports: Doctrine\ORM\PersistentCollection {#4077 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
      -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 {#4030
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4314
      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 {#4317 …}
    +nested: Doctrine\ORM\PersistentCollection {#4319 …}
    +votes: Doctrine\ORM\PersistentCollection {#4321 …}
    +reports: Doctrine\ORM\PersistentCollection {#4323 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
    -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 {#4315
      date: 2023-10-02 10:30:11.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 7.94 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4316
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4085
      +user: App\Entity\User {#4033
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4093
          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 {#4034 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
        +entries: Doctrine\ORM\PersistentCollection {#4027 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
        +posts: Doctrine\ORM\PersistentCollection {#4017 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
        +follows: Doctrine\ORM\PersistentCollection {#4149 …}
        +followers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
        +reports: Doctrine\ORM\PersistentCollection {#4148 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
        +violations: Doctrine\ORM\PersistentCollection {#4138 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
        +awards: Doctrine\ORM\PersistentCollection {#4139 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
        +categories: Doctrine\ORM\PersistentCollection {#4136 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
        +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 {#4089
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4087
          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 {#4094
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4083 …}
      +nested: Doctrine\ORM\PersistentCollection {#4081 …}
      +votes: Doctrine\ORM\PersistentCollection {#4079 …}
      +reports: Doctrine\ORM\PersistentCollection {#4077 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
      -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 {#4030
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4314
      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 {#4317 …}
    +nested: Doctrine\ORM\PersistentCollection {#4319 …}
    +votes: Doctrine\ORM\PersistentCollection {#4321 …}
    +reports: Doctrine\ORM\PersistentCollection {#4323 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
    -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 {#4315
      date: 2023-10-02 10:30:11.0 +02:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#5706
  +comment: App\Entity\EntryComment {#4316
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4085
      +user: App\Entity\User {#4033
        +avatar: null
        +cover: null
        +email: "JoCrichton@lemmy.world"
        +username: "@JoCrichton@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1696239984 {#4093
          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 {#4034 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
        +entries: Doctrine\ORM\PersistentCollection {#4027 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
        +posts: Doctrine\ORM\PersistentCollection {#4017 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
        +follows: Doctrine\ORM\PersistentCollection {#4149 …}
        +followers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
        +reports: Doctrine\ORM\PersistentCollection {#4148 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
        +violations: Doctrine\ORM\PersistentCollection {#4138 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
        +awards: Doctrine\ORM\PersistentCollection {#4139 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
        +categories: Doctrine\ORM\PersistentCollection {#4136 …}
        -id: 47649
        -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
        +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 {#4089
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696187334 {#4087
          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 {#4094
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4083 …}
      +nested: Doctrine\ORM\PersistentCollection {#4081 …}
      +votes: Doctrine\ORM\PersistentCollection {#4079 …}
      +reports: Doctrine\ORM\PersistentCollection {#4077 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
      -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 {#4030
        date: 2023-10-01 21:08:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4314
      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 {#4317 …}
    +nested: Doctrine\ORM\PersistentCollection {#4319 …}
    +votes: Doctrine\ORM\PersistentCollection {#4321 …}
    +reports: Doctrine\ORM\PersistentCollection {#4323 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
    -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 {#4315
      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 12.0 MiB 7.18 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4354
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4316
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4085
        +user: App\Entity\User {#4033}
        +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 {#4094
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4083 …}
        +nested: Doctrine\ORM\PersistentCollection {#4081 …}
        +votes: Doctrine\ORM\PersistentCollection {#4079 …}
        +reports: Doctrine\ORM\PersistentCollection {#4077 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
        -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 {#4030
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4085}
      +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 {#4314
        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 {#4317 …}
      +nested: Doctrine\ORM\PersistentCollection {#4319 …}
      +votes: Doctrine\ORM\PersistentCollection {#4321 …}
      +reports: Doctrine\ORM\PersistentCollection {#4323 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
      -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 {#4315
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4351
      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 {#4355 …}
    +nested: Doctrine\ORM\PersistentCollection {#4357 …}
    +votes: Doctrine\ORM\PersistentCollection {#4359 …}
    +reports: Doctrine\ORM\PersistentCollection {#4361 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4363 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4365 …}
    -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 {#4352
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4353
      date: 2023-10-02 11:46:22.0 +02:00
    }
  }
  "showNested" => true
  "level" => 3
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5761
  +comment: App\Entity\EntryComment {#4354
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4316
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4085
        +user: App\Entity\User {#4033}
        +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 {#4094
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4083 …}
        +nested: Doctrine\ORM\PersistentCollection {#4081 …}
        +votes: Doctrine\ORM\PersistentCollection {#4079 …}
        +reports: Doctrine\ORM\PersistentCollection {#4077 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
        -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 {#4030
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4085}
      +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 {#4314
        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 {#4317 …}
      +nested: Doctrine\ORM\PersistentCollection {#4319 …}
      +votes: Doctrine\ORM\PersistentCollection {#4321 …}
      +reports: Doctrine\ORM\PersistentCollection {#4323 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
      -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 {#4315
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4351
      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 {#4355 …}
    +nested: Doctrine\ORM\PersistentCollection {#4357 …}
    +votes: Doctrine\ORM\PersistentCollection {#4359 …}
    +reports: Doctrine\ORM\PersistentCollection {#4361 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4363 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4365 …}
    -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 {#4352
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4353
      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 12.0 MiB 0.12 ms
Input props
[
  "user" => App\Entity\User {#4033
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4093
      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 {#4034 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
    +entries: Doctrine\ORM\PersistentCollection {#4027 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
    +posts: Doctrine\ORM\PersistentCollection {#4017 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
    +follows: Doctrine\ORM\PersistentCollection {#4149 …}
    +followers: Doctrine\ORM\PersistentCollection {#4145 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
    +reports: Doctrine\ORM\PersistentCollection {#4148 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
    +violations: Doctrine\ORM\PersistentCollection {#4138 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
    +awards: Doctrine\ORM\PersistentCollection {#4139 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
    +categories: Doctrine\ORM\PersistentCollection {#4136 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
    +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 {#4089
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4087
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5806
  +user: App\Entity\User {#4033
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4093
      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 {#4034 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
    +entries: Doctrine\ORM\PersistentCollection {#4027 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
    +posts: Doctrine\ORM\PersistentCollection {#4017 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
    +follows: Doctrine\ORM\PersistentCollection {#4149 …}
    +followers: Doctrine\ORM\PersistentCollection {#4145 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
    +reports: Doctrine\ORM\PersistentCollection {#4148 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
    +violations: Doctrine\ORM\PersistentCollection {#4138 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
    +awards: Doctrine\ORM\PersistentCollection {#4139 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
    +categories: Doctrine\ORM\PersistentCollection {#4136 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
    +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 {#4089
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4087
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.12 ms
Input props
[
  "date" => DateTimeImmutable @1696239982 {#4353
    date: 2023-10-02 11:46:22.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5861
  +date: DateTimeImmutable @1696239982 {#4353
    date: 2023-10-02 11:46:22.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.10 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696239982 {#4353
    date: 2023-10-02 11:46:22.0 +02:00
  }
  "editedAt" => DateTimeImmutable @1696240119 {#4352
    date: 2023-10-02 11:48:39.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5915
  +createdAt: DateTimeImmutable @1696239982 {#4353
    date: 2023-10-02 11:46:22.0 +02:00
  }
  +editedAt: DateTimeImmutable @1696240119 {#4352
    date: 2023-10-02 11:48:39.0 +02:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.16 ms
Input props
[
  "user" => App\Entity\User {#4033
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4093
      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 {#4034 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
    +entries: Doctrine\ORM\PersistentCollection {#4027 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
    +posts: Doctrine\ORM\PersistentCollection {#4017 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
    +follows: Doctrine\ORM\PersistentCollection {#4149 …}
    +followers: Doctrine\ORM\PersistentCollection {#4145 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
    +reports: Doctrine\ORM\PersistentCollection {#4148 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
    +violations: Doctrine\ORM\PersistentCollection {#4138 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
    +awards: Doctrine\ORM\PersistentCollection {#4139 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
    +categories: Doctrine\ORM\PersistentCollection {#4136 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
    +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 {#4089
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4087
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#5969
  +width: 40
  +height: 40
  +user: App\Entity\User {#4033
    +avatar: null
    +cover: null
    +email: "JoCrichton@lemmy.world"
    +username: "@JoCrichton@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1696239984 {#4093
      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 {#4034 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
    +entries: Doctrine\ORM\PersistentCollection {#4027 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
    +posts: Doctrine\ORM\PersistentCollection {#4017 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
    +follows: Doctrine\ORM\PersistentCollection {#4149 …}
    +followers: Doctrine\ORM\PersistentCollection {#4145 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
    +reports: Doctrine\ORM\PersistentCollection {#4148 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
    +violations: Doctrine\ORM\PersistentCollection {#4138 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
    +awards: Doctrine\ORM\PersistentCollection {#4139 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
    +categories: Doctrine\ORM\PersistentCollection {#4136 …}
    -id: 47649
    -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
    +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 {#4089
      date: 2023-10-02 11:46:24.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696187334 {#4087
      date: 2023-10-01 21:08:54.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.41 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4354
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4316
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4085
        +user: App\Entity\User {#4033}
        +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 {#4094
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4083 …}
        +nested: Doctrine\ORM\PersistentCollection {#4081 …}
        +votes: Doctrine\ORM\PersistentCollection {#4079 …}
        +reports: Doctrine\ORM\PersistentCollection {#4077 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
        -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 {#4030
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4085}
      +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 {#4314
        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 {#4317 …}
      +nested: Doctrine\ORM\PersistentCollection {#4319 …}
      +votes: Doctrine\ORM\PersistentCollection {#4321 …}
      +reports: Doctrine\ORM\PersistentCollection {#4323 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
      -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 {#4315
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4351
      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 {#4355 …}
    +nested: Doctrine\ORM\PersistentCollection {#4357 …}
    +votes: Doctrine\ORM\PersistentCollection {#4359 …}
    +reports: Doctrine\ORM\PersistentCollection {#4361 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4363 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4365 …}
    -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 {#4352
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4353
      date: 2023-10-02 11:46:22.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#6042
  +subject: App\Entity\EntryComment {#4354
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4316
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4085
        +user: App\Entity\User {#4033}
        +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 {#4094
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4083 …}
        +nested: Doctrine\ORM\PersistentCollection {#4081 …}
        +votes: Doctrine\ORM\PersistentCollection {#4079 …}
        +reports: Doctrine\ORM\PersistentCollection {#4077 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
        -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 {#4030
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4085}
      +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 {#4314
        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 {#4317 …}
      +nested: Doctrine\ORM\PersistentCollection {#4319 …}
      +votes: Doctrine\ORM\PersistentCollection {#4321 …}
      +reports: Doctrine\ORM\PersistentCollection {#4323 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
      -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 {#4315
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4351
      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 {#4355 …}
    +nested: Doctrine\ORM\PersistentCollection {#4357 …}
    +votes: Doctrine\ORM\PersistentCollection {#4359 …}
    +reports: Doctrine\ORM\PersistentCollection {#4361 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4363 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4365 …}
    -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 {#4352
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4353
      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 12.0 MiB 0.68 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4354
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4316
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4085
        +user: App\Entity\User {#4033}
        +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 {#4094
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4083 …}
        +nested: Doctrine\ORM\PersistentCollection {#4081 …}
        +votes: Doctrine\ORM\PersistentCollection {#4079 …}
        +reports: Doctrine\ORM\PersistentCollection {#4077 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
        -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 {#4030
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4085}
      +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 {#4314
        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 {#4317 …}
      +nested: Doctrine\ORM\PersistentCollection {#4319 …}
      +votes: Doctrine\ORM\PersistentCollection {#4321 …}
      +reports: Doctrine\ORM\PersistentCollection {#4323 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
      -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 {#4315
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4351
      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 {#4355 …}
    +nested: Doctrine\ORM\PersistentCollection {#4357 …}
    +votes: Doctrine\ORM\PersistentCollection {#4359 …}
    +reports: Doctrine\ORM\PersistentCollection {#4361 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4363 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4365 …}
    -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 {#4352
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4353
      date: 2023-10-02 11:46:22.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6099
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4354
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4316
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4085
        +user: App\Entity\User {#4033}
        +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 {#4094
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4083 …}
        +nested: Doctrine\ORM\PersistentCollection {#4081 …}
        +votes: Doctrine\ORM\PersistentCollection {#4079 …}
        +reports: Doctrine\ORM\PersistentCollection {#4077 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
        -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 {#4030
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4085}
      +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 {#4314
        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 {#4317 …}
      +nested: Doctrine\ORM\PersistentCollection {#4319 …}
      +votes: Doctrine\ORM\PersistentCollection {#4321 …}
      +reports: Doctrine\ORM\PersistentCollection {#4323 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
      -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 {#4315
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4351
      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 {#4355 …}
    +nested: Doctrine\ORM\PersistentCollection {#4357 …}
    +votes: Doctrine\ORM\PersistentCollection {#4359 …}
    +reports: Doctrine\ORM\PersistentCollection {#4361 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4363 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4365 …}
    -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 {#4352
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4353
      date: 2023-10-02 11:46:22.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 0.30 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4354
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4316
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4085
        +user: App\Entity\User {#4033}
        +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 {#4094
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4083 …}
        +nested: Doctrine\ORM\PersistentCollection {#4081 …}
        +votes: Doctrine\ORM\PersistentCollection {#4079 …}
        +reports: Doctrine\ORM\PersistentCollection {#4077 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
        -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 {#4030
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4085}
      +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 {#4314
        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 {#4317 …}
      +nested: Doctrine\ORM\PersistentCollection {#4319 …}
      +votes: Doctrine\ORM\PersistentCollection {#4321 …}
      +reports: Doctrine\ORM\PersistentCollection {#4323 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
      -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 {#4315
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4351
      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 {#4355 …}
    +nested: Doctrine\ORM\PersistentCollection {#4357 …}
    +votes: Doctrine\ORM\PersistentCollection {#4359 …}
    +reports: Doctrine\ORM\PersistentCollection {#4361 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4363 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4365 …}
    -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 {#4352
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4353
      date: 2023-10-02 11:46:22.0 +02:00
    }
  }
  "level" => 3
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6339
  +comment: App\Entity\EntryComment {#4354
    +user: App\Entity\User {#4033
      +avatar: null
      +cover: null
      +email: "JoCrichton@lemmy.world"
      +username: "@JoCrichton@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1696239984 {#4093
        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 {#4034 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4037 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4029 …}
      +entries: Doctrine\ORM\PersistentCollection {#4027 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4025 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4022 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4020 …}
      +posts: Doctrine\ORM\PersistentCollection {#4017 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4015 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4013 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4010 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4008 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4006 …}
      +follows: Doctrine\ORM\PersistentCollection {#4149 …}
      +followers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4134 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4125 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4151 …}
      +reports: Doctrine\ORM\PersistentCollection {#4148 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4111 …}
      +violations: Doctrine\ORM\PersistentCollection {#4138 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4141 …}
      +awards: Doctrine\ORM\PersistentCollection {#4139 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4137 …}
      +categories: Doctrine\ORM\PersistentCollection {#4136 …}
      -id: 47649
      -password: "$2y$13$kE8bBtWjMHdylLj3Iastc.LxPTOmaGWpM6/h8Z8MD7.v5QNvKo.Se"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4129 …}
      +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 {#4089
        date: 2023-10-02 11:46:24.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696187334 {#4087
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4316
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4085
        +user: App\Entity\User {#4033}
        +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 {#4094
          date: 2023-10-02 11:46:24.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4083 …}
        +nested: Doctrine\ORM\PersistentCollection {#4081 …}
        +votes: Doctrine\ORM\PersistentCollection {#4079 …}
        +reports: Doctrine\ORM\PersistentCollection {#4077 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4045 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4049 …}
        -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 {#4030
          date: 2023-10-01 21:08:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4085}
      +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 {#4314
        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 {#4317 …}
      +nested: Doctrine\ORM\PersistentCollection {#4319 …}
      +votes: Doctrine\ORM\PersistentCollection {#4321 …}
      +reports: Doctrine\ORM\PersistentCollection {#4323 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4325 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4327 …}
      -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 {#4315
        date: 2023-10-02 10:30:11.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4085}
    +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 {#4351
      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 {#4355 …}
    +nested: Doctrine\ORM\PersistentCollection {#4357 …}
    +votes: Doctrine\ORM\PersistentCollection {#4359 …}
    +reports: Doctrine\ORM\PersistentCollection {#4361 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4363 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4365 …}
    -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 {#4352
      date: 2023-10-02 11:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696239982 {#4353
      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 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 74.29 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4123
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4120 …}
    +nested: Doctrine\ORM\PersistentCollection {#4118 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
    -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 {#4128
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4126
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6426
  +comment: App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4123
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4120 …}
    +nested: Doctrine\ORM\PersistentCollection {#4118 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
    -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 {#4128
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4126
      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 12.0 MiB 0.20 ms
Input props
[
  "user" => App\Entity\User {#4105
    +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 {#4127
      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 {#4104 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
    +entries: Doctrine\ORM\PersistentCollection {#4098 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +posts: Doctrine\ORM\PersistentCollection {#4158 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
    +follows: Doctrine\ORM\PersistentCollection {#4170 …}
    +followers: Doctrine\ORM\PersistentCollection {#4172 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
    +reports: Doctrine\ORM\PersistentCollection {#4182 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
    +violations: Doctrine\ORM\PersistentCollection {#4186 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
    +awards: Doctrine\ORM\PersistentCollection {#4190 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
    +categories: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
    +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 {#4124
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4117
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#6471
  +user: App\Entity\User {#4105
    +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 {#4127
      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 {#4104 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
    +entries: Doctrine\ORM\PersistentCollection {#4098 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +posts: Doctrine\ORM\PersistentCollection {#4158 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
    +follows: Doctrine\ORM\PersistentCollection {#4170 …}
    +followers: Doctrine\ORM\PersistentCollection {#4172 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
    +reports: Doctrine\ORM\PersistentCollection {#4182 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
    +violations: Doctrine\ORM\PersistentCollection {#4186 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
    +awards: Doctrine\ORM\PersistentCollection {#4190 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
    +categories: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
    +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 {#4124
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4117
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.19 ms
Input props
[
  "date" => DateTimeImmutable @1696022917 {#4126
    date: 2023-09-29 23:28:37.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#6526
  +date: DateTimeImmutable @1696022917 {#4126
    date: 2023-09-29 23:28:37.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.23 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696022917 {#4126
    date: 2023-09-29 23:28:37.0 +02:00
  }
  "editedAt" => DateTimeImmutable @1696033693 {#4128
    date: 2023-09-30 02:28:13.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#6580
  +createdAt: DateTimeImmutable @1696022917 {#4126
    date: 2023-09-29 23:28:37.0 +02:00
  }
  +editedAt: DateTimeImmutable @1696033693 {#4128
    date: 2023-09-30 02:28:13.0 +02:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.25 ms
Input props
[
  "user" => App\Entity\User {#4105
    +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 {#4127
      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 {#4104 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
    +entries: Doctrine\ORM\PersistentCollection {#4098 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +posts: Doctrine\ORM\PersistentCollection {#4158 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
    +follows: Doctrine\ORM\PersistentCollection {#4170 …}
    +followers: Doctrine\ORM\PersistentCollection {#4172 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
    +reports: Doctrine\ORM\PersistentCollection {#4182 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
    +violations: Doctrine\ORM\PersistentCollection {#4186 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
    +awards: Doctrine\ORM\PersistentCollection {#4190 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
    +categories: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
    +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 {#4124
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4117
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#6634
  +width: 40
  +height: 40
  +user: App\Entity\User {#4105
    +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 {#4127
      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 {#4104 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
    +entries: Doctrine\ORM\PersistentCollection {#4098 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +posts: Doctrine\ORM\PersistentCollection {#4158 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
    +follows: Doctrine\ORM\PersistentCollection {#4170 …}
    +followers: Doctrine\ORM\PersistentCollection {#4172 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
    +reports: Doctrine\ORM\PersistentCollection {#4182 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
    +violations: Doctrine\ORM\PersistentCollection {#4186 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
    +awards: Doctrine\ORM\PersistentCollection {#4190 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
    +categories: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
    +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 {#4124
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4117
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.52 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4123
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4120 …}
    +nested: Doctrine\ORM\PersistentCollection {#4118 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
    -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 {#4128
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4126
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#6711
  +subject: App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4123
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4120 …}
    +nested: Doctrine\ORM\PersistentCollection {#4118 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
    -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 {#4128
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4126
      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 12.0 MiB 0.94 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4123
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4120 …}
    +nested: Doctrine\ORM\PersistentCollection {#4118 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
    -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 {#4128
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4126
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6768
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4123
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4120 …}
    +nested: Doctrine\ORM\PersistentCollection {#4118 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
    -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 {#4128
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4126
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 63.37 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4123
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4120 …}
    +nested: Doctrine\ORM\PersistentCollection {#4118 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
    -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 {#4128
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4126
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#7008
  +comment: App\Entity\EntryComment {#4122
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4123
      date: 2023-10-02 14:37:31.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4120 …}
    +nested: Doctrine\ORM\PersistentCollection {#4118 …}
    +votes: Doctrine\ORM\PersistentCollection {#4116 …}
    +reports: Doctrine\ORM\PersistentCollection {#4113 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
    -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 {#4128
      date: 2023-09-30 02:28:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696022917 {#4126
      date: 2023-09-29 23:28:37.0 +02:00
    }
  }
  +nestedComments: [
    30446 => App\Entity\EntryComment {#4370
      +user: App\Entity\User {#4105}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4301
        +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 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 {#4299
          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 {#4302 …}
        +nested: Doctrine\ORM\PersistentCollection {#4304 …}
        +votes: Doctrine\ORM\PersistentCollection {#4306 …}
        +reports: Doctrine\ORM\PersistentCollection {#4308 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
        -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 {#4300
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4367
        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 {#4371 …}
      +nested: Doctrine\ORM\PersistentCollection {#4373 …}
      +votes: Doctrine\ORM\PersistentCollection {#4375 …}
      +reports: Doctrine\ORM\PersistentCollection {#4377 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
      -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 {#4368
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4369
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    30449 => App\Entity\EntryComment {#4408
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4370}
      +root: App\Entity\EntryComment {#4122}
      +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 {#4406
        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 {#4409 …}
      +nested: Doctrine\ORM\PersistentCollection {#4411 …}
      +votes: Doctrine\ORM\PersistentCollection {#4413 …}
      +reports: Doctrine\ORM\PersistentCollection {#4415 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
      -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 {#4407
        date: 2023-10-02 14:37:29.0 +02:00
      }
    }
    30423 => App\Entity\EntryComment {#4301}
  ]
  +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 12.0 MiB 49.14 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4301
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4123
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4120 …}
      +nested: Doctrine\ORM\PersistentCollection {#4118 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
      -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 {#4128
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4126
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4299
      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 {#4302 …}
    +nested: Doctrine\ORM\PersistentCollection {#4304 …}
    +votes: Doctrine\ORM\PersistentCollection {#4306 …}
    +reports: Doctrine\ORM\PersistentCollection {#4308 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
    -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 {#4300
      date: 2023-10-02 10:36:54.0 +02:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#7068
  +comment: App\Entity\EntryComment {#4301
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4123
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4120 …}
      +nested: Doctrine\ORM\PersistentCollection {#4118 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
      -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 {#4128
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4126
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4299
      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 {#4302 …}
    +nested: Doctrine\ORM\PersistentCollection {#4304 …}
    +votes: Doctrine\ORM\PersistentCollection {#4306 …}
    +reports: Doctrine\ORM\PersistentCollection {#4308 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
    -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 {#4300
      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 12.0 MiB 0.15 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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 {#7113
  +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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 12.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1696235814 {#4300
    date: 2023-10-02 10:36:54.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7168
  +date: DateTimeImmutable @1696235814 {#4300
    date: 2023-10-02 10:36:54.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696235814 {#4300
    date: 2023-10-02 10:36:54.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7222
  +createdAt: DateTimeImmutable @1696235814 {#4300
    date: 2023-10-02 10:36:54.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 {#7276
  +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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 12.0 MiB 0.73 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4301
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4123
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4120 …}
      +nested: Doctrine\ORM\PersistentCollection {#4118 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
      -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 {#4128
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4126
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4299
      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 {#4302 …}
    +nested: Doctrine\ORM\PersistentCollection {#4304 …}
    +votes: Doctrine\ORM\PersistentCollection {#4306 …}
    +reports: Doctrine\ORM\PersistentCollection {#4308 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
    -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 {#4300
      date: 2023-10-02 10:36:54.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7386
  +subject: App\Entity\EntryComment {#4301
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4123
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4120 …}
      +nested: Doctrine\ORM\PersistentCollection {#4118 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
      -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 {#4128
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4126
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4299
      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 {#4302 …}
    +nested: Doctrine\ORM\PersistentCollection {#4304 …}
    +votes: Doctrine\ORM\PersistentCollection {#4306 …}
    +reports: Doctrine\ORM\PersistentCollection {#4308 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
    -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 {#4300
      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 12.0 MiB 1.38 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4301
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4123
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4120 …}
      +nested: Doctrine\ORM\PersistentCollection {#4118 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
      -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 {#4128
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4126
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4299
      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 {#4302 …}
    +nested: Doctrine\ORM\PersistentCollection {#4304 …}
    +votes: Doctrine\ORM\PersistentCollection {#4306 …}
    +reports: Doctrine\ORM\PersistentCollection {#4308 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
    -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 {#4300
      date: 2023-10-02 10:36:54.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#7443
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4301
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4123
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4120 …}
      +nested: Doctrine\ORM\PersistentCollection {#4118 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
      -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 {#4128
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4126
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4299
      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 {#4302 …}
    +nested: Doctrine\ORM\PersistentCollection {#4304 …}
    +votes: Doctrine\ORM\PersistentCollection {#4306 …}
    +reports: Doctrine\ORM\PersistentCollection {#4308 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
    -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 {#4300
      date: 2023-10-02 10:36:54.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 30.86 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4301
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4123
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4120 …}
      +nested: Doctrine\ORM\PersistentCollection {#4118 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
      -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 {#4128
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4126
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4299
      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 {#4302 …}
    +nested: Doctrine\ORM\PersistentCollection {#4304 …}
    +votes: Doctrine\ORM\PersistentCollection {#4306 …}
    +reports: Doctrine\ORM\PersistentCollection {#4308 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
    -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 {#4300
      date: 2023-10-02 10:36:54.0 +02:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#4514
  +comment: App\Entity\EntryComment {#4301
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4123
        date: 2023-10-02 14:37:31.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4120 …}
      +nested: Doctrine\ORM\PersistentCollection {#4118 …}
      +votes: Doctrine\ORM\PersistentCollection {#4116 …}
      +reports: Doctrine\ORM\PersistentCollection {#4113 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
      -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 {#4128
        date: 2023-09-30 02:28:13.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696022917 {#4126
        date: 2023-09-29 23:28:37.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4299
      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 {#4302 …}
    +nested: Doctrine\ORM\PersistentCollection {#4304 …}
    +votes: Doctrine\ORM\PersistentCollection {#4306 …}
    +reports: Doctrine\ORM\PersistentCollection {#4308 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
    -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 {#4300
      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 12.0 MiB 29.86 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4370
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4301
      +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 {#4105}
        +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 {#4123
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4120 …}
        +nested: Doctrine\ORM\PersistentCollection {#4118 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
        -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 {#4128
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4126
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4299
        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 {#4302 …}
      +nested: Doctrine\ORM\PersistentCollection {#4304 …}
      +votes: Doctrine\ORM\PersistentCollection {#4306 …}
      +reports: Doctrine\ORM\PersistentCollection {#4308 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
      -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 {#4300
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4367
      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 {#4371 …}
    +nested: Doctrine\ORM\PersistentCollection {#4373 …}
    +votes: Doctrine\ORM\PersistentCollection {#4375 …}
    +reports: Doctrine\ORM\PersistentCollection {#4377 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
    -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 {#4368
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4369
      date: 2023-10-02 13:07:17.0 +02:00
    }
  }
  "showNested" => true
  "level" => 3
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#7378
  +comment: App\Entity\EntryComment {#4370
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4301
      +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 {#4105}
        +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 {#4123
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4120 …}
        +nested: Doctrine\ORM\PersistentCollection {#4118 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
        -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 {#4128
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4126
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4299
        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 {#4302 …}
      +nested: Doctrine\ORM\PersistentCollection {#4304 …}
      +votes: Doctrine\ORM\PersistentCollection {#4306 …}
      +reports: Doctrine\ORM\PersistentCollection {#4308 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
      -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 {#4300
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4367
      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 {#4371 …}
    +nested: Doctrine\ORM\PersistentCollection {#4373 …}
    +votes: Doctrine\ORM\PersistentCollection {#4375 …}
    +reports: Doctrine\ORM\PersistentCollection {#4377 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
    -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 {#4368
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4369
      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 12.0 MiB 1.22 ms
Input props
[
  "user" => App\Entity\User {#4105
    +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 {#4127
      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 {#4104 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
    +entries: Doctrine\ORM\PersistentCollection {#4098 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +posts: Doctrine\ORM\PersistentCollection {#4158 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
    +follows: Doctrine\ORM\PersistentCollection {#4170 …}
    +followers: Doctrine\ORM\PersistentCollection {#4172 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
    +reports: Doctrine\ORM\PersistentCollection {#4182 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
    +violations: Doctrine\ORM\PersistentCollection {#4186 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
    +awards: Doctrine\ORM\PersistentCollection {#4190 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
    +categories: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
    +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 {#4124
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4117
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7508
  +user: App\Entity\User {#4105
    +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 {#4127
      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 {#4104 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
    +entries: Doctrine\ORM\PersistentCollection {#4098 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +posts: Doctrine\ORM\PersistentCollection {#4158 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
    +follows: Doctrine\ORM\PersistentCollection {#4170 …}
    +followers: Doctrine\ORM\PersistentCollection {#4172 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
    +reports: Doctrine\ORM\PersistentCollection {#4182 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
    +violations: Doctrine\ORM\PersistentCollection {#4186 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
    +awards: Doctrine\ORM\PersistentCollection {#4190 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
    +categories: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
    +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 {#4124
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4117
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.19 ms
Input props
[
  "date" => DateTimeImmutable @1696244837 {#4369
    date: 2023-10-02 13:07:17.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7563
  +date: DateTimeImmutable @1696244837 {#4369
    date: 2023-10-02 13:07:17.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.19 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696244837 {#4369
    date: 2023-10-02 13:07:17.0 +02:00
  }
  "editedAt" => DateTimeImmutable @1696245290 {#4368
    date: 2023-10-02 13:14:50.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7617
  +createdAt: DateTimeImmutable @1696244837 {#4369
    date: 2023-10-02 13:07:17.0 +02:00
  }
  +editedAt: DateTimeImmutable @1696245290 {#4368
    date: 2023-10-02 13:14:50.0 +02:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.19 ms
Input props
[
  "user" => App\Entity\User {#4105
    +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 {#4127
      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 {#4104 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
    +entries: Doctrine\ORM\PersistentCollection {#4098 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +posts: Doctrine\ORM\PersistentCollection {#4158 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
    +follows: Doctrine\ORM\PersistentCollection {#4170 …}
    +followers: Doctrine\ORM\PersistentCollection {#4172 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
    +reports: Doctrine\ORM\PersistentCollection {#4182 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
    +violations: Doctrine\ORM\PersistentCollection {#4186 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
    +awards: Doctrine\ORM\PersistentCollection {#4190 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
    +categories: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
    +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 {#4124
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4117
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7671
  +width: 40
  +height: 40
  +user: App\Entity\User {#4105
    +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 {#4127
      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 {#4104 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
    +entries: Doctrine\ORM\PersistentCollection {#4098 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
    +posts: Doctrine\ORM\PersistentCollection {#4158 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
    +follows: Doctrine\ORM\PersistentCollection {#4170 …}
    +followers: Doctrine\ORM\PersistentCollection {#4172 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
    +reports: Doctrine\ORM\PersistentCollection {#4182 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
    +violations: Doctrine\ORM\PersistentCollection {#4186 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
    +awards: Doctrine\ORM\PersistentCollection {#4190 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
    +categories: Doctrine\ORM\PersistentCollection {#4194 …}
    -id: 47433
    -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
    +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 {#4124
      date: 2024-01-31 17:24:51.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696022922 {#4117
      date: 2023-09-29 23:28:42.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 2.33 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4370
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4301
      +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 {#4105}
        +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 {#4123
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4120 …}
        +nested: Doctrine\ORM\PersistentCollection {#4118 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
        -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 {#4128
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4126
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4299
        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 {#4302 …}
      +nested: Doctrine\ORM\PersistentCollection {#4304 …}
      +votes: Doctrine\ORM\PersistentCollection {#4306 …}
      +reports: Doctrine\ORM\PersistentCollection {#4308 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
      -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 {#4300
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4367
      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 {#4371 …}
    +nested: Doctrine\ORM\PersistentCollection {#4373 …}
    +votes: Doctrine\ORM\PersistentCollection {#4375 …}
    +reports: Doctrine\ORM\PersistentCollection {#4377 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
    -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 {#4368
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4369
      date: 2023-10-02 13:07:17.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7744
  +subject: App\Entity\EntryComment {#4370
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4301
      +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 {#4105}
        +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 {#4123
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4120 …}
        +nested: Doctrine\ORM\PersistentCollection {#4118 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
        -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 {#4128
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4126
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4299
        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 {#4302 …}
      +nested: Doctrine\ORM\PersistentCollection {#4304 …}
      +votes: Doctrine\ORM\PersistentCollection {#4306 …}
      +reports: Doctrine\ORM\PersistentCollection {#4308 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
      -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 {#4300
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4367
      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 {#4371 …}
    +nested: Doctrine\ORM\PersistentCollection {#4373 …}
    +votes: Doctrine\ORM\PersistentCollection {#4375 …}
    +reports: Doctrine\ORM\PersistentCollection {#4377 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
    -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 {#4368
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4369
      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 12.0 MiB 1.22 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4370
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4301
      +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 {#4105}
        +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 {#4123
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4120 …}
        +nested: Doctrine\ORM\PersistentCollection {#4118 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
        -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 {#4128
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4126
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4299
        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 {#4302 …}
      +nested: Doctrine\ORM\PersistentCollection {#4304 …}
      +votes: Doctrine\ORM\PersistentCollection {#4306 …}
      +reports: Doctrine\ORM\PersistentCollection {#4308 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
      -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 {#4300
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4367
      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 {#4371 …}
    +nested: Doctrine\ORM\PersistentCollection {#4373 …}
    +votes: Doctrine\ORM\PersistentCollection {#4375 …}
    +reports: Doctrine\ORM\PersistentCollection {#4377 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
    -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 {#4368
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4369
      date: 2023-10-02 13:07:17.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#7801
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4370
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4301
      +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 {#4105}
        +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 {#4123
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4120 …}
        +nested: Doctrine\ORM\PersistentCollection {#4118 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
        -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 {#4128
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4126
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4299
        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 {#4302 …}
      +nested: Doctrine\ORM\PersistentCollection {#4304 …}
      +votes: Doctrine\ORM\PersistentCollection {#4306 …}
      +reports: Doctrine\ORM\PersistentCollection {#4308 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
      -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 {#4300
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4367
      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 {#4371 …}
    +nested: Doctrine\ORM\PersistentCollection {#4373 …}
    +votes: Doctrine\ORM\PersistentCollection {#4375 …}
    +reports: Doctrine\ORM\PersistentCollection {#4377 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
    -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 {#4368
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4369
      date: 2023-10-02 13:07:17.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 13.42 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4370
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4301
      +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 {#4105}
        +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 {#4123
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4120 …}
        +nested: Doctrine\ORM\PersistentCollection {#4118 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
        -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 {#4128
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4126
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4299
        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 {#4302 …}
      +nested: Doctrine\ORM\PersistentCollection {#4304 …}
      +votes: Doctrine\ORM\PersistentCollection {#4306 …}
      +reports: Doctrine\ORM\PersistentCollection {#4308 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
      -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 {#4300
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4367
      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 {#4371 …}
    +nested: Doctrine\ORM\PersistentCollection {#4373 …}
    +votes: Doctrine\ORM\PersistentCollection {#4375 …}
    +reports: Doctrine\ORM\PersistentCollection {#4377 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
    -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 {#4368
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4369
      date: 2023-10-02 13:07:17.0 +02:00
    }
  }
  "level" => 3
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8041
  +comment: App\Entity\EntryComment {#4370
    +user: App\Entity\User {#4105
      +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 {#4127
        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 {#4104 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
      +entries: Doctrine\ORM\PersistentCollection {#4098 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
      +posts: Doctrine\ORM\PersistentCollection {#4158 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
      +follows: Doctrine\ORM\PersistentCollection {#4170 …}
      +followers: Doctrine\ORM\PersistentCollection {#4172 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
      +reports: Doctrine\ORM\PersistentCollection {#4182 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
      +violations: Doctrine\ORM\PersistentCollection {#4186 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
      +awards: Doctrine\ORM\PersistentCollection {#4190 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
      +categories: Doctrine\ORM\PersistentCollection {#4194 …}
      -id: 47433
      -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
      +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 {#4124
        date: 2024-01-31 17:24:51.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696022922 {#4117
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4301
      +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 {#4105}
        +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 {#4123
          date: 2023-10-02 14:37:31.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4120 …}
        +nested: Doctrine\ORM\PersistentCollection {#4118 …}
        +votes: Doctrine\ORM\PersistentCollection {#4116 …}
        +reports: Doctrine\ORM\PersistentCollection {#4113 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
        -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 {#4128
          date: 2023-09-30 02:28:13.0 +02:00
        }
        +createdAt: DateTimeImmutable @1696022917 {#4126
          date: 2023-09-29 23:28:37.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4299
        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 {#4302 …}
      +nested: Doctrine\ORM\PersistentCollection {#4304 …}
      +votes: Doctrine\ORM\PersistentCollection {#4306 …}
      +reports: Doctrine\ORM\PersistentCollection {#4308 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
      -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 {#4300
        date: 2023-10-02 10:36:54.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4367
      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 {#4371 …}
    +nested: Doctrine\ORM\PersistentCollection {#4373 …}
    +votes: Doctrine\ORM\PersistentCollection {#4375 …}
    +reports: Doctrine\ORM\PersistentCollection {#4377 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
    -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 {#4368
      date: 2023-10-02 13:14:50.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696244837 {#4369
      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 12.0 MiB 12.32 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4408
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4370
      +user: App\Entity\User {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4301
        +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 {#4105}
          +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 {#4123
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4120 …}
          +nested: Doctrine\ORM\PersistentCollection {#4118 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4113 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
          -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 {#4128
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4126
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +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 {#4299
          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 {#4302 …}
        +nested: Doctrine\ORM\PersistentCollection {#4304 …}
        +votes: Doctrine\ORM\PersistentCollection {#4306 …}
        +reports: Doctrine\ORM\PersistentCollection {#4308 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
        -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 {#4300
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4367
        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 {#4371 …}
      +nested: Doctrine\ORM\PersistentCollection {#4373 …}
      +votes: Doctrine\ORM\PersistentCollection {#4375 …}
      +reports: Doctrine\ORM\PersistentCollection {#4377 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
      -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 {#4368
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4369
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4406
      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 {#4409 …}
    +nested: Doctrine\ORM\PersistentCollection {#4411 …}
    +votes: Doctrine\ORM\PersistentCollection {#4413 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -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 {#4407
      date: 2023-10-02 14:37:29.0 +02:00
    }
  }
  "showNested" => true
  "level" => 4
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#8096
  +comment: App\Entity\EntryComment {#4408
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4370
      +user: App\Entity\User {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4301
        +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 {#4105}
          +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 {#4123
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4120 …}
          +nested: Doctrine\ORM\PersistentCollection {#4118 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4113 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
          -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 {#4128
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4126
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +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 {#4299
          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 {#4302 …}
        +nested: Doctrine\ORM\PersistentCollection {#4304 …}
        +votes: Doctrine\ORM\PersistentCollection {#4306 …}
        +reports: Doctrine\ORM\PersistentCollection {#4308 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
        -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 {#4300
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4367
        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 {#4371 …}
      +nested: Doctrine\ORM\PersistentCollection {#4373 …}
      +votes: Doctrine\ORM\PersistentCollection {#4375 …}
      +reports: Doctrine\ORM\PersistentCollection {#4377 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
      -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 {#4368
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4369
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4406
      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 {#4409 …}
    +nested: Doctrine\ORM\PersistentCollection {#4411 …}
    +votes: Doctrine\ORM\PersistentCollection {#4413 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -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 {#4407
      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 12.0 MiB 0.19 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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 {#8141
  +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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 12.0 MiB 0.19 ms
Input props
[
  "date" => DateTimeImmutable @1696250249 {#4407
    date: 2023-10-02 14:37:29.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#8196
  +date: DateTimeImmutable @1696250249 {#4407
    date: 2023-10-02 14:37:29.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696250249 {#4407
    date: 2023-10-02 14:37:29.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#8250
  +createdAt: DateTimeImmutable @1696250249 {#4407
    date: 2023-10-02 14:37:29.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 {#8304
  +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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 12.0 MiB 0.95 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4408
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4370
      +user: App\Entity\User {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4301
        +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 {#4105}
          +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 {#4123
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4120 …}
          +nested: Doctrine\ORM\PersistentCollection {#4118 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4113 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
          -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 {#4128
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4126
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +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 {#4299
          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 {#4302 …}
        +nested: Doctrine\ORM\PersistentCollection {#4304 …}
        +votes: Doctrine\ORM\PersistentCollection {#4306 …}
        +reports: Doctrine\ORM\PersistentCollection {#4308 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
        -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 {#4300
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4367
        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 {#4371 …}
      +nested: Doctrine\ORM\PersistentCollection {#4373 …}
      +votes: Doctrine\ORM\PersistentCollection {#4375 …}
      +reports: Doctrine\ORM\PersistentCollection {#4377 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
      -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 {#4368
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4369
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4406
      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 {#4409 …}
    +nested: Doctrine\ORM\PersistentCollection {#4411 …}
    +votes: Doctrine\ORM\PersistentCollection {#4413 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -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 {#4407
      date: 2023-10-02 14:37:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#8389
  +subject: App\Entity\EntryComment {#4408
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4370
      +user: App\Entity\User {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4301
        +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 {#4105}
          +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 {#4123
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4120 …}
          +nested: Doctrine\ORM\PersistentCollection {#4118 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4113 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
          -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 {#4128
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4126
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +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 {#4299
          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 {#4302 …}
        +nested: Doctrine\ORM\PersistentCollection {#4304 …}
        +votes: Doctrine\ORM\PersistentCollection {#4306 …}
        +reports: Doctrine\ORM\PersistentCollection {#4308 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
        -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 {#4300
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4367
        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 {#4371 …}
      +nested: Doctrine\ORM\PersistentCollection {#4373 …}
      +votes: Doctrine\ORM\PersistentCollection {#4375 …}
      +reports: Doctrine\ORM\PersistentCollection {#4377 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
      -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 {#4368
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4369
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4406
      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 {#4409 …}
    +nested: Doctrine\ORM\PersistentCollection {#4411 …}
    +votes: Doctrine\ORM\PersistentCollection {#4413 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -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 {#4407
      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 12.0 MiB 1.27 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4408
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4370
      +user: App\Entity\User {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4301
        +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 {#4105}
          +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 {#4123
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4120 …}
          +nested: Doctrine\ORM\PersistentCollection {#4118 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4113 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
          -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 {#4128
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4126
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +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 {#4299
          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 {#4302 …}
        +nested: Doctrine\ORM\PersistentCollection {#4304 …}
        +votes: Doctrine\ORM\PersistentCollection {#4306 …}
        +reports: Doctrine\ORM\PersistentCollection {#4308 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
        -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 {#4300
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4367
        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 {#4371 …}
      +nested: Doctrine\ORM\PersistentCollection {#4373 …}
      +votes: Doctrine\ORM\PersistentCollection {#4375 …}
      +reports: Doctrine\ORM\PersistentCollection {#4377 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
      -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 {#4368
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4369
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4406
      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 {#4409 …}
    +nested: Doctrine\ORM\PersistentCollection {#4411 …}
    +votes: Doctrine\ORM\PersistentCollection {#4413 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -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 {#4407
      date: 2023-10-02 14:37:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#8446
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4408
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4370
      +user: App\Entity\User {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4301
        +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 {#4105}
          +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 {#4123
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4120 …}
          +nested: Doctrine\ORM\PersistentCollection {#4118 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4113 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
          -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 {#4128
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4126
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +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 {#4299
          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 {#4302 …}
        +nested: Doctrine\ORM\PersistentCollection {#4304 …}
        +votes: Doctrine\ORM\PersistentCollection {#4306 …}
        +reports: Doctrine\ORM\PersistentCollection {#4308 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
        -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 {#4300
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4367
        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 {#4371 …}
      +nested: Doctrine\ORM\PersistentCollection {#4373 …}
      +votes: Doctrine\ORM\PersistentCollection {#4375 …}
      +reports: Doctrine\ORM\PersistentCollection {#4377 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
      -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 {#4368
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4369
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4406
      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 {#4409 …}
    +nested: Doctrine\ORM\PersistentCollection {#4411 …}
    +votes: Doctrine\ORM\PersistentCollection {#4413 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -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 {#4407
      date: 2023-10-02 14:37:29.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 0.41 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4408
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4370
      +user: App\Entity\User {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4301
        +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 {#4105}
          +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 {#4123
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4120 …}
          +nested: Doctrine\ORM\PersistentCollection {#4118 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4113 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
          -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 {#4128
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4126
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +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 {#4299
          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 {#4302 …}
        +nested: Doctrine\ORM\PersistentCollection {#4304 …}
        +votes: Doctrine\ORM\PersistentCollection {#4306 …}
        +reports: Doctrine\ORM\PersistentCollection {#4308 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
        -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 {#4300
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4367
        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 {#4371 …}
      +nested: Doctrine\ORM\PersistentCollection {#4373 …}
      +votes: Doctrine\ORM\PersistentCollection {#4375 …}
      +reports: Doctrine\ORM\PersistentCollection {#4377 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
      -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 {#4368
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4369
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4406
      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 {#4409 …}
    +nested: Doctrine\ORM\PersistentCollection {#4411 …}
    +votes: Doctrine\ORM\PersistentCollection {#4413 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -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 {#4407
      date: 2023-10-02 14:37:29.0 +02:00
    }
  }
  "level" => 4
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8686
  +comment: App\Entity\EntryComment {#4408
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4370
      +user: App\Entity\User {#4105
        +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 {#4127
          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 {#4104 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4102 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4100 …}
        +entries: Doctrine\ORM\PersistentCollection {#4098 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4096 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4155 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4156 …}
        +posts: Doctrine\ORM\PersistentCollection {#4158 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4160 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4162 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4166 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4168 …}
        +follows: Doctrine\ORM\PersistentCollection {#4170 …}
        +followers: Doctrine\ORM\PersistentCollection {#4172 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4174 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4176 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4178 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4180 …}
        +reports: Doctrine\ORM\PersistentCollection {#4182 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4184 …}
        +violations: Doctrine\ORM\PersistentCollection {#4186 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4188 …}
        +awards: Doctrine\ORM\PersistentCollection {#4190 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4192 …}
        +categories: Doctrine\ORM\PersistentCollection {#4194 …}
        -id: 47433
        -password: "$2y$13$FQxJUGx6B6JQ01Gkjmoufur8fS2oHWt8L4XEJzYSRuVi3u4yOJ6N."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4196 …}
        +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 {#4124
          date: 2024-01-31 17:24:51.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1696022922 {#4117
          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 {#4301
        +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 {#4105}
          +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 {#4123
            date: 2023-10-02 14:37:31.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4120 …}
          +nested: Doctrine\ORM\PersistentCollection {#4118 …}
          +votes: Doctrine\ORM\PersistentCollection {#4116 …}
          +reports: Doctrine\ORM\PersistentCollection {#4113 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4109 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4107 …}
          -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 {#4128
            date: 2023-09-30 02:28:13.0 +02:00
          }
          +createdAt: DateTimeImmutable @1696022917 {#4126
            date: 2023-09-29 23:28:37.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4122}
        +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 {#4299
          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 {#4302 …}
        +nested: Doctrine\ORM\PersistentCollection {#4304 …}
        +votes: Doctrine\ORM\PersistentCollection {#4306 …}
        +reports: Doctrine\ORM\PersistentCollection {#4308 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
        -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 {#4300
          date: 2023-10-02 10:36:54.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4122}
      +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 {#4367
        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 {#4371 …}
      +nested: Doctrine\ORM\PersistentCollection {#4373 …}
      +votes: Doctrine\ORM\PersistentCollection {#4375 …}
      +reports: Doctrine\ORM\PersistentCollection {#4377 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4379 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4381 …}
      -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 {#4368
        date: 2023-10-02 13:14:50.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696244837 {#4369
        date: 2023-10-02 13:07:17.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4122}
    +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 {#4406
      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 {#4409 …}
    +nested: Doctrine\ORM\PersistentCollection {#4411 …}
    +votes: Doctrine\ORM\PersistentCollection {#4413 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -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 {#4407
      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 12.0 MiB 60.15 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4203
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4198
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4204 …}
    +nested: Doctrine\ORM\PersistentCollection {#4206 …}
    +votes: Doctrine\ORM\PersistentCollection {#4208 …}
    +reports: Doctrine\ORM\PersistentCollection {#4210 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
    -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 {#4199
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#8784
  +comment: App\Entity\EntryComment {#4203
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4198
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4204 …}
    +nested: Doctrine\ORM\PersistentCollection {#4206 …}
    +votes: Doctrine\ORM\PersistentCollection {#4208 …}
    +reports: Doctrine\ORM\PersistentCollection {#4210 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
    -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 {#4199
      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 12.0 MiB 0.22 ms
Input props
[
  "user" => App\Entity\User {#4216
    +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 {#4200
      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 {#4217 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
    +entries: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +posts: Doctrine\ORM\PersistentCollection {#4231 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
    +follows: Doctrine\ORM\PersistentCollection {#4243 …}
    +followers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4255 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
    +violations: Doctrine\ORM\PersistentCollection {#4259 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
    +awards: Doctrine\ORM\PersistentCollection {#4263 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
    +categories: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
    +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 {#4201
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4202
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8829
  +user: App\Entity\User {#4216
    +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 {#4200
      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 {#4217 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
    +entries: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +posts: Doctrine\ORM\PersistentCollection {#4231 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
    +follows: Doctrine\ORM\PersistentCollection {#4243 …}
    +followers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4255 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
    +violations: Doctrine\ORM\PersistentCollection {#4259 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
    +awards: Doctrine\ORM\PersistentCollection {#4263 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
    +categories: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
    +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 {#4201
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4202
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.25 ms
Input props
[
  "date" => DateTimeImmutable @1696003426 {#4199
    date: 2023-09-29 18:03:46.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#8884
  +date: DateTimeImmutable @1696003426 {#4199
    date: 2023-09-29 18:03:46.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 1.59 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696003426 {#4199
    date: 2023-09-29 18:03:46.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#8938
  +createdAt: DateTimeImmutable @1696003426 {#4199
    date: 2023-09-29 18:03:46.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.19 ms
Input props
[
  "user" => App\Entity\User {#4216
    +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 {#4200
      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 {#4217 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
    +entries: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +posts: Doctrine\ORM\PersistentCollection {#4231 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
    +follows: Doctrine\ORM\PersistentCollection {#4243 …}
    +followers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4255 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
    +violations: Doctrine\ORM\PersistentCollection {#4259 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
    +awards: Doctrine\ORM\PersistentCollection {#4263 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
    +categories: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
    +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 {#4201
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4202
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#8992
  +width: 40
  +height: 40
  +user: App\Entity\User {#4216
    +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 {#4200
      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 {#4217 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
    +entries: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +posts: Doctrine\ORM\PersistentCollection {#4231 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
    +follows: Doctrine\ORM\PersistentCollection {#4243 …}
    +followers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4255 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
    +violations: Doctrine\ORM\PersistentCollection {#4259 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
    +awards: Doctrine\ORM\PersistentCollection {#4263 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
    +categories: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
    +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 {#4201
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4202
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.45 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4203
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4198
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4204 …}
    +nested: Doctrine\ORM\PersistentCollection {#4206 …}
    +votes: Doctrine\ORM\PersistentCollection {#4208 …}
    +reports: Doctrine\ORM\PersistentCollection {#4210 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
    -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 {#4199
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#9077
  +subject: App\Entity\EntryComment {#4203
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4198
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4204 …}
    +nested: Doctrine\ORM\PersistentCollection {#4206 …}
    +votes: Doctrine\ORM\PersistentCollection {#4208 …}
    +reports: Doctrine\ORM\PersistentCollection {#4210 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
    -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 {#4199
      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 12.0 MiB 0.67 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4203
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4198
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4204 …}
    +nested: Doctrine\ORM\PersistentCollection {#4206 …}
    +votes: Doctrine\ORM\PersistentCollection {#4208 …}
    +reports: Doctrine\ORM\PersistentCollection {#4210 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
    -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 {#4199
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#9134
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4203
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4198
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4204 …}
    +nested: Doctrine\ORM\PersistentCollection {#4206 …}
    +votes: Doctrine\ORM\PersistentCollection {#4208 …}
    +reports: Doctrine\ORM\PersistentCollection {#4210 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
    -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 {#4199
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 49.65 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4203
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4198
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4204 …}
    +nested: Doctrine\ORM\PersistentCollection {#4206 …}
    +votes: Doctrine\ORM\PersistentCollection {#4208 …}
    +reports: Doctrine\ORM\PersistentCollection {#4210 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
    -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 {#4199
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#9374
  +comment: App\Entity\EntryComment {#4203
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4198
      date: 2023-10-02 14:38:51.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@agressivelyPassive@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4204 …}
    +nested: Doctrine\ORM\PersistentCollection {#4206 …}
    +votes: Doctrine\ORM\PersistentCollection {#4208 …}
    +reports: Doctrine\ORM\PersistentCollection {#4210 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
    -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 {#4199
      date: 2023-09-29 18:03:46.0 +02:00
    }
  }
  +nestedComments: [
    30450 => App\Entity\EntryComment {#4390
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4339
        +user: App\Entity\User {#4216}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4287
          +user: Proxies\__CG__\App\Entity\User {#1943 …2}
          +entry: App\Entity\Entry {#2388}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4203}
          +root: App\Entity\EntryComment {#4203}
          +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 {#4288
            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 {#4284 …}
          +nested: Doctrine\ORM\PersistentCollection {#4280 …}
          +votes: Doctrine\ORM\PersistentCollection {#4278 …}
          +reports: Doctrine\ORM\PersistentCollection {#4293 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
          -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 {#4291
            date: 2023-09-29 18:45:50.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4203}
        +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 {#4340
          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 {#4336 …}
        +nested: Doctrine\ORM\PersistentCollection {#4332 …}
        +votes: Doctrine\ORM\PersistentCollection {#4330 …}
        +reports: Doctrine\ORM\PersistentCollection {#4345 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
        -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 {#4343
          date: 2023-09-29 18:47:57.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4394
        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 {#4387 …}
      +nested: Doctrine\ORM\PersistentCollection {#4385 …}
      +votes: Doctrine\ORM\PersistentCollection {#4389 …}
      +reports: Doctrine\ORM\PersistentCollection {#4400 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4402 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4404 …}
      -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 {#4397
        date: 2023-10-02 18:38:34.0 +02:00
      }
      +createdAt: DateTimeImmutable @1696250329 {#4393
        date: 2023-10-02 14:38:49.0 +02:00
      }
    }
    30091 => App\Entity\EntryComment {#4339}
    30090 => App\Entity\EntryComment {#4287}
  ]
  +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 12.0 MiB 32.04 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4287
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4203
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4198
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4204 …}
      +nested: Doctrine\ORM\PersistentCollection {#4206 …}
      +votes: Doctrine\ORM\PersistentCollection {#4208 …}
      +reports: Doctrine\ORM\PersistentCollection {#4210 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
      -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 {#4199
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4288
      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 {#4284 …}
    +nested: Doctrine\ORM\PersistentCollection {#4280 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4293 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
    -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 {#4291
      date: 2023-09-29 18:45:50.0 +02:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#9434
  +comment: App\Entity\EntryComment {#4287
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4203
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4198
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4204 …}
      +nested: Doctrine\ORM\PersistentCollection {#4206 …}
      +votes: Doctrine\ORM\PersistentCollection {#4208 …}
      +reports: Doctrine\ORM\PersistentCollection {#4210 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
      -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 {#4199
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4288
      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 {#4284 …}
    +nested: Doctrine\ORM\PersistentCollection {#4280 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4293 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
    -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 {#4291
      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 12.0 MiB 0.15 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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 {#9479
  +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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 12.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1696005950 {#4291
    date: 2023-09-29 18:45:50.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#9534
  +date: DateTimeImmutable @1696005950 {#4291
    date: 2023-09-29 18:45:50.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696005950 {#4291
    date: 2023-09-29 18:45:50.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#9588
  +createdAt: DateTimeImmutable @1696005950 {#4291
    date: 2023-09-29 18:45:50.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 {#9642
  +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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 12.0 MiB 0.51 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4287
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4203
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4198
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4204 …}
      +nested: Doctrine\ORM\PersistentCollection {#4206 …}
      +votes: Doctrine\ORM\PersistentCollection {#4208 …}
      +reports: Doctrine\ORM\PersistentCollection {#4210 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
      -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 {#4199
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4288
      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 {#4284 …}
    +nested: Doctrine\ORM\PersistentCollection {#4280 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4293 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
    -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 {#4291
      date: 2023-09-29 18:45:50.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#9715
  +subject: App\Entity\EntryComment {#4287
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4203
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4198
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4204 …}
      +nested: Doctrine\ORM\PersistentCollection {#4206 …}
      +votes: Doctrine\ORM\PersistentCollection {#4208 …}
      +reports: Doctrine\ORM\PersistentCollection {#4210 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
      -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 {#4199
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4288
      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 {#4284 …}
    +nested: Doctrine\ORM\PersistentCollection {#4280 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4293 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
    -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 {#4291
      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 12.0 MiB 0.78 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4287
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4203
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4198
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4204 …}
      +nested: Doctrine\ORM\PersistentCollection {#4206 …}
      +votes: Doctrine\ORM\PersistentCollection {#4208 …}
      +reports: Doctrine\ORM\PersistentCollection {#4210 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
      -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 {#4199
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4288
      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 {#4284 …}
    +nested: Doctrine\ORM\PersistentCollection {#4280 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4293 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
    -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 {#4291
      date: 2023-09-29 18:45:50.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#9772
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4287
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4203
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4198
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4204 …}
      +nested: Doctrine\ORM\PersistentCollection {#4206 …}
      +votes: Doctrine\ORM\PersistentCollection {#4208 …}
      +reports: Doctrine\ORM\PersistentCollection {#4210 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
      -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 {#4199
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4288
      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 {#4284 …}
    +nested: Doctrine\ORM\PersistentCollection {#4280 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4293 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
    -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 {#4291
      date: 2023-09-29 18:45:50.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 25.45 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4287
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4203
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4198
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4204 …}
      +nested: Doctrine\ORM\PersistentCollection {#4206 …}
      +votes: Doctrine\ORM\PersistentCollection {#4208 …}
      +reports: Doctrine\ORM\PersistentCollection {#4210 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
      -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 {#4199
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4288
      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 {#4284 …}
    +nested: Doctrine\ORM\PersistentCollection {#4280 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4293 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
    -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 {#4291
      date: 2023-09-29 18:45:50.0 +02:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#10012
  +comment: App\Entity\EntryComment {#4287
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4203
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4198
        date: 2023-10-02 14:38:51.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@agressivelyPassive@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4204 …}
      +nested: Doctrine\ORM\PersistentCollection {#4206 …}
      +votes: Doctrine\ORM\PersistentCollection {#4208 …}
      +reports: Doctrine\ORM\PersistentCollection {#4210 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
      -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 {#4199
        date: 2023-09-29 18:03:46.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4288
      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 {#4284 …}
    +nested: Doctrine\ORM\PersistentCollection {#4280 …}
    +votes: Doctrine\ORM\PersistentCollection {#4278 …}
    +reports: Doctrine\ORM\PersistentCollection {#4293 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
    -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 {#4291
      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 12.0 MiB 24.14 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4339
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4287
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4203
        +user: App\Entity\User {#4216}
        +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 {#4198
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4204 …}
        +nested: Doctrine\ORM\PersistentCollection {#4206 …}
        +votes: Doctrine\ORM\PersistentCollection {#4208 …}
        +reports: Doctrine\ORM\PersistentCollection {#4210 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
        -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 {#4199
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4288
        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 {#4284 …}
      +nested: Doctrine\ORM\PersistentCollection {#4280 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -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 {#4291
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4340
      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 {#4336 …}
    +nested: Doctrine\ORM\PersistentCollection {#4332 …}
    +votes: Doctrine\ORM\PersistentCollection {#4330 …}
    +reports: Doctrine\ORM\PersistentCollection {#4345 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
    -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 {#4343
      date: 2023-09-29 18:47:57.0 +02:00
    }
  }
  "showNested" => true
  "level" => 3
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#10067
  +comment: App\Entity\EntryComment {#4339
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4287
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4203
        +user: App\Entity\User {#4216}
        +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 {#4198
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4204 …}
        +nested: Doctrine\ORM\PersistentCollection {#4206 …}
        +votes: Doctrine\ORM\PersistentCollection {#4208 …}
        +reports: Doctrine\ORM\PersistentCollection {#4210 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
        -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 {#4199
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4288
        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 {#4284 …}
      +nested: Doctrine\ORM\PersistentCollection {#4280 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -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 {#4291
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4340
      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 {#4336 …}
    +nested: Doctrine\ORM\PersistentCollection {#4332 …}
    +votes: Doctrine\ORM\PersistentCollection {#4330 …}
    +reports: Doctrine\ORM\PersistentCollection {#4345 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
    -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 {#4343
      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 12.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4216
    +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 {#4200
      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 {#4217 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
    +entries: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +posts: Doctrine\ORM\PersistentCollection {#4231 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
    +follows: Doctrine\ORM\PersistentCollection {#4243 …}
    +followers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4255 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
    +violations: Doctrine\ORM\PersistentCollection {#4259 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
    +awards: Doctrine\ORM\PersistentCollection {#4263 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
    +categories: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
    +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 {#4201
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4202
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#10112
  +user: App\Entity\User {#4216
    +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 {#4200
      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 {#4217 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
    +entries: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +posts: Doctrine\ORM\PersistentCollection {#4231 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
    +follows: Doctrine\ORM\PersistentCollection {#4243 …}
    +followers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4255 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
    +violations: Doctrine\ORM\PersistentCollection {#4259 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
    +awards: Doctrine\ORM\PersistentCollection {#4263 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
    +categories: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
    +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 {#4201
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4202
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1696006077 {#4343
    date: 2023-09-29 18:47:57.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10167
  +date: DateTimeImmutable @1696006077 {#4343
    date: 2023-09-29 18:47:57.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.10 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696006077 {#4343
    date: 2023-09-29 18:47:57.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#10221
  +createdAt: DateTimeImmutable @1696006077 {#4343
    date: 2023-09-29 18:47:57.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4216
    +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 {#4200
      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 {#4217 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
    +entries: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +posts: Doctrine\ORM\PersistentCollection {#4231 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
    +follows: Doctrine\ORM\PersistentCollection {#4243 …}
    +followers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4255 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
    +violations: Doctrine\ORM\PersistentCollection {#4259 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
    +awards: Doctrine\ORM\PersistentCollection {#4263 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
    +categories: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
    +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 {#4201
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4202
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#10275
  +width: 40
  +height: 40
  +user: App\Entity\User {#4216
    +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 {#4200
      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 {#4217 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
    +entries: Doctrine\ORM\PersistentCollection {#4223 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
    +posts: Doctrine\ORM\PersistentCollection {#4231 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
    +follows: Doctrine\ORM\PersistentCollection {#4243 …}
    +followers: Doctrine\ORM\PersistentCollection {#4245 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4255 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
    +violations: Doctrine\ORM\PersistentCollection {#4259 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
    +awards: Doctrine\ORM\PersistentCollection {#4263 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
    +categories: Doctrine\ORM\PersistentCollection {#4267 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
    +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 {#4201
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4202
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.51 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4339
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4287
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4203
        +user: App\Entity\User {#4216}
        +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 {#4198
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4204 …}
        +nested: Doctrine\ORM\PersistentCollection {#4206 …}
        +votes: Doctrine\ORM\PersistentCollection {#4208 …}
        +reports: Doctrine\ORM\PersistentCollection {#4210 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
        -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 {#4199
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4288
        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 {#4284 …}
      +nested: Doctrine\ORM\PersistentCollection {#4280 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -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 {#4291
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4340
      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 {#4336 …}
    +nested: Doctrine\ORM\PersistentCollection {#4332 …}
    +votes: Doctrine\ORM\PersistentCollection {#4330 …}
    +reports: Doctrine\ORM\PersistentCollection {#4345 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
    -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 {#4343
      date: 2023-09-29 18:47:57.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#10344
  +subject: App\Entity\EntryComment {#4339
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4287
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4203
        +user: App\Entity\User {#4216}
        +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 {#4198
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4204 …}
        +nested: Doctrine\ORM\PersistentCollection {#4206 …}
        +votes: Doctrine\ORM\PersistentCollection {#4208 …}
        +reports: Doctrine\ORM\PersistentCollection {#4210 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
        -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 {#4199
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4288
        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 {#4284 …}
      +nested: Doctrine\ORM\PersistentCollection {#4280 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -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 {#4291
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4340
      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 {#4336 …}
    +nested: Doctrine\ORM\PersistentCollection {#4332 …}
    +votes: Doctrine\ORM\PersistentCollection {#4330 …}
    +reports: Doctrine\ORM\PersistentCollection {#4345 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
    -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 {#4343
      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 12.0 MiB 1.09 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4339
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4287
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4203
        +user: App\Entity\User {#4216}
        +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 {#4198
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4204 …}
        +nested: Doctrine\ORM\PersistentCollection {#4206 …}
        +votes: Doctrine\ORM\PersistentCollection {#4208 …}
        +reports: Doctrine\ORM\PersistentCollection {#4210 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
        -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 {#4199
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4288
        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 {#4284 …}
      +nested: Doctrine\ORM\PersistentCollection {#4280 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -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 {#4291
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4340
      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 {#4336 …}
    +nested: Doctrine\ORM\PersistentCollection {#4332 …}
    +votes: Doctrine\ORM\PersistentCollection {#4330 …}
    +reports: Doctrine\ORM\PersistentCollection {#4345 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
    -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 {#4343
      date: 2023-09-29 18:47:57.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#10401
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4339
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4287
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4203
        +user: App\Entity\User {#4216}
        +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 {#4198
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4204 …}
        +nested: Doctrine\ORM\PersistentCollection {#4206 …}
        +votes: Doctrine\ORM\PersistentCollection {#4208 …}
        +reports: Doctrine\ORM\PersistentCollection {#4210 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
        -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 {#4199
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4288
        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 {#4284 …}
      +nested: Doctrine\ORM\PersistentCollection {#4280 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -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 {#4291
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4340
      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 {#4336 …}
    +nested: Doctrine\ORM\PersistentCollection {#4332 …}
    +votes: Doctrine\ORM\PersistentCollection {#4330 …}
    +reports: Doctrine\ORM\PersistentCollection {#4345 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
    -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 {#4343
      date: 2023-09-29 18:47:57.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 7.92 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4339
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4287
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4203
        +user: App\Entity\User {#4216}
        +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 {#4198
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4204 …}
        +nested: Doctrine\ORM\PersistentCollection {#4206 …}
        +votes: Doctrine\ORM\PersistentCollection {#4208 …}
        +reports: Doctrine\ORM\PersistentCollection {#4210 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
        -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 {#4199
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4288
        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 {#4284 …}
      +nested: Doctrine\ORM\PersistentCollection {#4280 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -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 {#4291
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4340
      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 {#4336 …}
    +nested: Doctrine\ORM\PersistentCollection {#4332 …}
    +votes: Doctrine\ORM\PersistentCollection {#4330 …}
    +reports: Doctrine\ORM\PersistentCollection {#4345 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
    -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 {#4343
      date: 2023-09-29 18:47:57.0 +02:00
    }
  }
  "level" => 3
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#10641
  +comment: App\Entity\EntryComment {#4339
    +user: App\Entity\User {#4216
      +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 {#4200
        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 {#4217 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
      +entries: Doctrine\ORM\PersistentCollection {#4223 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
      +posts: Doctrine\ORM\PersistentCollection {#4231 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
      +follows: Doctrine\ORM\PersistentCollection {#4243 …}
      +followers: Doctrine\ORM\PersistentCollection {#4245 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4255 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
      +violations: Doctrine\ORM\PersistentCollection {#4259 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
      +awards: Doctrine\ORM\PersistentCollection {#4263 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
      +categories: Doctrine\ORM\PersistentCollection {#4267 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
      +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 {#4201
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4202
        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 {#1516
          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 {#1632 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +entries: Doctrine\ORM\PersistentCollection {#1710 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
        +posts: Doctrine\ORM\PersistentCollection {#1746 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
        +follows: Doctrine\ORM\PersistentCollection {#1422 …}
        +followers: Doctrine\ORM\PersistentCollection {#1660 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
        +reports: Doctrine\ORM\PersistentCollection {#1461 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
        +violations: Doctrine\ORM\PersistentCollection {#1697 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
        +awards: Doctrine\ORM\PersistentCollection {#1429 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
        +categories: Doctrine\ORM\PersistentCollection {#1675 …}
        -id: 9676
        -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
        +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 {#1537
          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 {#4287
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4203
        +user: App\Entity\User {#4216}
        +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 {#4198
          date: 2023-10-02 14:38:51.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@agressivelyPassive@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4204 …}
        +nested: Doctrine\ORM\PersistentCollection {#4206 …}
        +votes: Doctrine\ORM\PersistentCollection {#4208 …}
        +reports: Doctrine\ORM\PersistentCollection {#4210 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
        -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 {#4199
          date: 2023-09-29 18:03:46.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4288
        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 {#4284 …}
      +nested: Doctrine\ORM\PersistentCollection {#4280 …}
      +votes: Doctrine\ORM\PersistentCollection {#4278 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -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 {#4291
        date: 2023-09-29 18:45:50.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4340
      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 {#4336 …}
    +nested: Doctrine\ORM\PersistentCollection {#4332 …}
    +votes: Doctrine\ORM\PersistentCollection {#4330 …}
    +reports: Doctrine\ORM\PersistentCollection {#4345 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
    -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 {#4343
      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 12.0 MiB 7.07 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4390
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4339
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4287
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4203
          +user: App\Entity\User {#4216}
          +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 {#4198
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4204 …}
          +nested: Doctrine\ORM\PersistentCollection {#4206 …}
          +votes: Doctrine\ORM\PersistentCollection {#4208 …}
          +reports: Doctrine\ORM\PersistentCollection {#4210 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
          -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 {#4199
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4203}
        +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 {#4288
          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 {#4284 …}
        +nested: Doctrine\ORM\PersistentCollection {#4280 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -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 {#4291
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4340
        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 {#4336 …}
      +nested: Doctrine\ORM\PersistentCollection {#4332 …}
      +votes: Doctrine\ORM\PersistentCollection {#4330 …}
      +reports: Doctrine\ORM\PersistentCollection {#4345 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
      -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 {#4343
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4394
      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 {#4387 …}
    +nested: Doctrine\ORM\PersistentCollection {#4385 …}
    +votes: Doctrine\ORM\PersistentCollection {#4389 …}
    +reports: Doctrine\ORM\PersistentCollection {#4400 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4402 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4404 …}
    -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 {#4397
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4393
      date: 2023-10-02 14:38:49.0 +02:00
    }
  }
  "showNested" => true
  "level" => 4
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#10696
  +comment: App\Entity\EntryComment {#4390
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4339
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4287
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4203
          +user: App\Entity\User {#4216}
          +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 {#4198
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4204 …}
          +nested: Doctrine\ORM\PersistentCollection {#4206 …}
          +votes: Doctrine\ORM\PersistentCollection {#4208 …}
          +reports: Doctrine\ORM\PersistentCollection {#4210 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
          -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 {#4199
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4203}
        +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 {#4288
          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 {#4284 …}
        +nested: Doctrine\ORM\PersistentCollection {#4280 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -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 {#4291
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4340
        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 {#4336 …}
      +nested: Doctrine\ORM\PersistentCollection {#4332 …}
      +votes: Doctrine\ORM\PersistentCollection {#4330 …}
      +reports: Doctrine\ORM\PersistentCollection {#4345 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
      -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 {#4343
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4394
      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 {#4387 …}
    +nested: Doctrine\ORM\PersistentCollection {#4385 …}
    +votes: Doctrine\ORM\PersistentCollection {#4389 …}
    +reports: Doctrine\ORM\PersistentCollection {#4400 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4402 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4404 …}
    -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 {#4397
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4393
      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 12.0 MiB 0.15 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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 {#10741
  +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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 12.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1696250329 {#4393
    date: 2023-10-02 14:38:49.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10796
  +date: DateTimeImmutable @1696250329 {#4393
    date: 2023-10-02 14:38:49.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.15 ms
Input props
[
  "createdAt" => DateTimeImmutable @1696250329 {#4393
    date: 2023-10-02 14:38:49.0 +02:00
  }
  "editedAt" => DateTimeImmutable @1696264714 {#4397
    date: 2023-10-02 18:38:34.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#10850
  +createdAt: DateTimeImmutable @1696250329 {#4393
    date: 2023-10-02 14:38:49.0 +02:00
  }
  +editedAt: DateTimeImmutable @1696264714 {#4397
    date: 2023-10-02 18:38:34.0 +02:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.18 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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 {#10904
  +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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 12.0 MiB 0.57 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4390
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4339
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4287
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4203
          +user: App\Entity\User {#4216}
          +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 {#4198
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4204 …}
          +nested: Doctrine\ORM\PersistentCollection {#4206 …}
          +votes: Doctrine\ORM\PersistentCollection {#4208 …}
          +reports: Doctrine\ORM\PersistentCollection {#4210 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
          -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 {#4199
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4203}
        +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 {#4288
          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 {#4284 …}
        +nested: Doctrine\ORM\PersistentCollection {#4280 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -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 {#4291
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4340
        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 {#4336 …}
      +nested: Doctrine\ORM\PersistentCollection {#4332 …}
      +votes: Doctrine\ORM\PersistentCollection {#4330 …}
      +reports: Doctrine\ORM\PersistentCollection {#4345 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
      -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 {#4343
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4394
      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 {#4387 …}
    +nested: Doctrine\ORM\PersistentCollection {#4385 …}
    +votes: Doctrine\ORM\PersistentCollection {#4389 …}
    +reports: Doctrine\ORM\PersistentCollection {#4400 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4402 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4404 …}
    -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 {#4397
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4393
      date: 2023-10-02 14:38:49.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#10985
  +subject: App\Entity\EntryComment {#4390
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4339
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4287
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4203
          +user: App\Entity\User {#4216}
          +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 {#4198
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4204 …}
          +nested: Doctrine\ORM\PersistentCollection {#4206 …}
          +votes: Doctrine\ORM\PersistentCollection {#4208 …}
          +reports: Doctrine\ORM\PersistentCollection {#4210 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
          -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 {#4199
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4203}
        +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 {#4288
          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 {#4284 …}
        +nested: Doctrine\ORM\PersistentCollection {#4280 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -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 {#4291
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4340
        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 {#4336 …}
      +nested: Doctrine\ORM\PersistentCollection {#4332 …}
      +votes: Doctrine\ORM\PersistentCollection {#4330 …}
      +reports: Doctrine\ORM\PersistentCollection {#4345 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
      -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 {#4343
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4394
      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 {#4387 …}
    +nested: Doctrine\ORM\PersistentCollection {#4385 …}
    +votes: Doctrine\ORM\PersistentCollection {#4389 …}
    +reports: Doctrine\ORM\PersistentCollection {#4400 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4402 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4404 …}
    -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 {#4397
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4393
      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 12.0 MiB 0.81 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4390
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4339
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4287
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4203
          +user: App\Entity\User {#4216}
          +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 {#4198
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4204 …}
          +nested: Doctrine\ORM\PersistentCollection {#4206 …}
          +votes: Doctrine\ORM\PersistentCollection {#4208 …}
          +reports: Doctrine\ORM\PersistentCollection {#4210 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
          -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 {#4199
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4203}
        +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 {#4288
          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 {#4284 …}
        +nested: Doctrine\ORM\PersistentCollection {#4280 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -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 {#4291
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4340
        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 {#4336 …}
      +nested: Doctrine\ORM\PersistentCollection {#4332 …}
      +votes: Doctrine\ORM\PersistentCollection {#4330 …}
      +reports: Doctrine\ORM\PersistentCollection {#4345 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
      -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 {#4343
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4394
      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 {#4387 …}
    +nested: Doctrine\ORM\PersistentCollection {#4385 …}
    +votes: Doctrine\ORM\PersistentCollection {#4389 …}
    +reports: Doctrine\ORM\PersistentCollection {#4400 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4402 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4404 …}
    -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 {#4397
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4393
      date: 2023-10-02 14:38:49.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#11042
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4390
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4339
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4287
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4203
          +user: App\Entity\User {#4216}
          +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 {#4198
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4204 …}
          +nested: Doctrine\ORM\PersistentCollection {#4206 …}
          +votes: Doctrine\ORM\PersistentCollection {#4208 …}
          +reports: Doctrine\ORM\PersistentCollection {#4210 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
          -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 {#4199
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4203}
        +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 {#4288
          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 {#4284 …}
        +nested: Doctrine\ORM\PersistentCollection {#4280 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -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 {#4291
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4340
        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 {#4336 …}
      +nested: Doctrine\ORM\PersistentCollection {#4332 …}
      +votes: Doctrine\ORM\PersistentCollection {#4330 …}
      +reports: Doctrine\ORM\PersistentCollection {#4345 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
      -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 {#4343
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4394
      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 {#4387 …}
    +nested: Doctrine\ORM\PersistentCollection {#4385 …}
    +votes: Doctrine\ORM\PersistentCollection {#4389 …}
    +reports: Doctrine\ORM\PersistentCollection {#4400 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4402 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4404 …}
    -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 {#4397
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4393
      date: 2023-10-02 14:38:49.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 0.42 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4390
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4339
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4287
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4203
          +user: App\Entity\User {#4216}
          +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 {#4198
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4204 …}
          +nested: Doctrine\ORM\PersistentCollection {#4206 …}
          +votes: Doctrine\ORM\PersistentCollection {#4208 …}
          +reports: Doctrine\ORM\PersistentCollection {#4210 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
          -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 {#4199
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4203}
        +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 {#4288
          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 {#4284 …}
        +nested: Doctrine\ORM\PersistentCollection {#4280 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -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 {#4291
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4340
        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 {#4336 …}
      +nested: Doctrine\ORM\PersistentCollection {#4332 …}
      +votes: Doctrine\ORM\PersistentCollection {#4330 …}
      +reports: Doctrine\ORM\PersistentCollection {#4345 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
      -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 {#4343
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4394
      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 {#4387 …}
    +nested: Doctrine\ORM\PersistentCollection {#4385 …}
    +votes: Doctrine\ORM\PersistentCollection {#4389 …}
    +reports: Doctrine\ORM\PersistentCollection {#4400 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4402 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4404 …}
    -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 {#4397
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4393
      date: 2023-10-02 14:38:49.0 +02:00
    }
  }
  "level" => 4
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#11282
  +comment: App\Entity\EntryComment {#4390
    +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 {#1516
        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 {#1632 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +entries: Doctrine\ORM\PersistentCollection {#1710 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
      +posts: Doctrine\ORM\PersistentCollection {#1746 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
      +follows: Doctrine\ORM\PersistentCollection {#1422 …}
      +followers: Doctrine\ORM\PersistentCollection {#1660 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
      +reports: Doctrine\ORM\PersistentCollection {#1461 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +violations: Doctrine\ORM\PersistentCollection {#1697 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
      +awards: Doctrine\ORM\PersistentCollection {#1429 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
      +categories: Doctrine\ORM\PersistentCollection {#1675 …}
      -id: 9676
      -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
      +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 {#1537
        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 {#4339
      +user: App\Entity\User {#4216
        +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 {#4200
          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 {#4217 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4219 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4221 …}
        +entries: Doctrine\ORM\PersistentCollection {#4223 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4225 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4227 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4229 …}
        +posts: Doctrine\ORM\PersistentCollection {#4231 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4233 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4235 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4239 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4241 …}
        +follows: Doctrine\ORM\PersistentCollection {#4243 …}
        +followers: Doctrine\ORM\PersistentCollection {#4245 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4247 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4249 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4251 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4253 …}
        +reports: Doctrine\ORM\PersistentCollection {#4255 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4257 …}
        +violations: Doctrine\ORM\PersistentCollection {#4259 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4261 …}
        +awards: Doctrine\ORM\PersistentCollection {#4263 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4265 …}
        +categories: Doctrine\ORM\PersistentCollection {#4267 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4269 …}
        +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 {#4201
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4202
          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 {#4287
        +user: Proxies\__CG__\App\Entity\User {#1943 …2}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4203
          +user: App\Entity\User {#4216}
          +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 {#4198
            date: 2023-10-02 14:38:51.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@agressivelyPassive@feddit.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4204 …}
          +nested: Doctrine\ORM\PersistentCollection {#4206 …}
          +votes: Doctrine\ORM\PersistentCollection {#4208 …}
          +reports: Doctrine\ORM\PersistentCollection {#4210 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4212 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4214 …}
          -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 {#4199
            date: 2023-09-29 18:03:46.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4203}
        +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 {#4288
          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 {#4284 …}
        +nested: Doctrine\ORM\PersistentCollection {#4280 …}
        +votes: Doctrine\ORM\PersistentCollection {#4278 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -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 {#4291
          date: 2023-09-29 18:45:50.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4203}
      +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 {#4340
        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 {#4336 …}
      +nested: Doctrine\ORM\PersistentCollection {#4332 …}
      +votes: Doctrine\ORM\PersistentCollection {#4330 …}
      +reports: Doctrine\ORM\PersistentCollection {#4345 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4347 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4349 …}
      -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 {#4343
        date: 2023-09-29 18:47:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4203}
    +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 {#4394
      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 {#4387 …}
    +nested: Doctrine\ORM\PersistentCollection {#4385 …}
    +votes: Doctrine\ORM\PersistentCollection {#4389 …}
    +reports: Doctrine\ORM\PersistentCollection {#4400 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4402 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4404 …}
    -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 {#4397
      date: 2023-10-02 18:38:34.0 +02:00
    }
    +createdAt: DateTimeImmutable @1696250329 {#4393
      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 …}
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 12.0 MiB 0.31 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 {#11435
  +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 12.0 MiB 0.27 ms
Input props
[
  "label" => "Dynamic lists"
  "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11499
  +label: "Dynamic lists"
  +help: ""
  +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.18 ms
Input props
[
  "label" => "Rounded edges"
  "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11564
  +label: "Rounded edges"
  +help: ""
  +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.20 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 {#11620
  +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 12.0 MiB 0.17 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 {#11679
  +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 12.0 MiB 0.20 ms
Input props
[
  "label" => "Show top bar"
  "settingsKey" => "KBIN_GENERAL_TOPBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11735
  +label: "Show top bar"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TOPBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.22 ms
Input props
[
  "label" => "Turbo mode (experimental)"
  "settingsKey" => "KBIN_GENERAL_TURBO"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11791
  +label: "Turbo mode (experimental)"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TURBO"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.36 ms
Input props
[
  "label" => "Mark new comments"
  "settingsKey" => "KBIN_MARK_NEW_COMMENTS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#11849
  +label: "Mark new comments"
  +help: ""
  +settingsKey: "KBIN_MARK_NEW_COMMENTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.21 ms
Input props
[
  "label" => "Show "Support Us" block"
  "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11912
  +label: "Show "Support Us" block"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK"
  +defaultValue: true
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.22 ms
Input props
[
  "label" => "Show subscribed users"
  "settingsKey" => "KBIN_SUB_CHANNEL_USERS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#11970
  +label: "Show subscribed users"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_USERS"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.22 ms
Input props
[
  "label" => "Show subscribed magazines"
  "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#12026
  +label: "Show subscribed magazines"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.27 ms
Input props
[
  "label" => "Show subscribed domains"
  "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#12082
  +label: "Show subscribed domains"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.16 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12138
  +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 12.0 MiB 0.17 ms
Input props
[
  "label" => "Compact view"
  "settingsKey" => "KBIN_ENTRIES_COMPACT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12194
  +label: "Compact view"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_COMPACT"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.27 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12250
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.23 ms
Input props
[
  "label" => "Show magazines’ icons"
  "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12306
  +label: "Show magazines’ icons"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.23 ms
Input props
[
  "label" => "Show thumbnails"
  "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12362
  +label: "Show thumbnails"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.22 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12418
  +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 12.0 MiB 0.31 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12474
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 12.0 MiB 0.39 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 {#12530
  +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 12.0 MiB 0.23 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 {#12588
  +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 12.0 MiB 0.43 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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 {#12665
  +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 {#1516
      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 {#1632 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1406 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +entries: Doctrine\ORM\PersistentCollection {#1710 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1470 …}
    +posts: Doctrine\ORM\PersistentCollection {#1746 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1490 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1772 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1622 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1758 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1450 …}
    +follows: Doctrine\ORM\PersistentCollection {#1422 …}
    +followers: Doctrine\ORM\PersistentCollection {#1660 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1454 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1425 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1439 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1428 …}
    +reports: Doctrine\ORM\PersistentCollection {#1461 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
    +violations: Doctrine\ORM\PersistentCollection {#1697 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1690 …}
    +awards: Doctrine\ORM\PersistentCollection {#1429 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1612 …}
    +categories: Doctrine\ORM\PersistentCollection {#1675 …}
    -id: 9676
    -password: "$2y$13$5W8L0JQxqLMgETDFtB793.tmrPqWP0cuoa/jjsj6OOVrsvqRpIxJG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1668 …}
    +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 {#1537
      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 12.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1695986696 {#1850
    date: 2023-09-29 13:24:56.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#12726
  +date: DateTimeImmutable @1695986696 {#1850
    date: 2023-09-29 13:24:56.0 +02:00
  }
}
magazine_box App\Twig\Components\MagazineBoxComponent 14.0 MiB 6.92 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 {#12782
  +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 12.0 MiB 0.44 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 {#12840
  +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.21 ms
Input props
[
  "date" => DateTimeImmutable @1687144409 {#272
    date: 2023-06-19 05:13:29.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#12952
  +date: DateTimeImmutable @1687144409 {#272
    date: 2023-06-19 05:13:29.0 +02:00
  }
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.53 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#13011
    +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 {#13058
      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 {#13060 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13062 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13064 …}
    +entries: Doctrine\ORM\PersistentCollection {#13066 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13068 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13070 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13072 …}
    +posts: Doctrine\ORM\PersistentCollection {#13074 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13076 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13078 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13080 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13082 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13084 …}
    +follows: Doctrine\ORM\PersistentCollection {#13086 …}
    +followers: Doctrine\ORM\PersistentCollection {#13088 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13090 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13092 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13094 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13096 …}
    +reports: Doctrine\ORM\PersistentCollection {#13098 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13100 …}
    +violations: Doctrine\ORM\PersistentCollection {#13102 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13104 …}
    +awards: Doctrine\ORM\PersistentCollection {#13106 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13108 …}
    +categories: Doctrine\ORM\PersistentCollection {#13110 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13112 …}
    +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 {#13059
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#13029
  +user: Proxies\__CG__\App\Entity\User {#13011
    +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 {#13058
      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 {#13060 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13062 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13064 …}
    +entries: Doctrine\ORM\PersistentCollection {#13066 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13068 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13070 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13072 …}
    +posts: Doctrine\ORM\PersistentCollection {#13074 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13076 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13078 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13080 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13082 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13084 …}
    +follows: Doctrine\ORM\PersistentCollection {#13086 …}
    +followers: Doctrine\ORM\PersistentCollection {#13088 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13090 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13092 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13094 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13096 …}
    +reports: Doctrine\ORM\PersistentCollection {#13098 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13100 …}
    +violations: Doctrine\ORM\PersistentCollection {#13102 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13104 …}
    +awards: Doctrine\ORM\PersistentCollection {#13106 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13108 …}
    +categories: Doctrine\ORM\PersistentCollection {#13110 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13112 …}
    +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 {#13059
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: true
}
related_magazines App\Twig\Components\RelatedMagazinesComponent 14.0 MiB 9.26 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedMagazinesComponent {#13220
  +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 99.43 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 {#13346
  +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.71 ms
Input props
[
  "user" => App\Entity\User {#13478
    +avatar: Proxies\__CG__\App\Entity\Image {#13477 …}
    +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 {#13481
      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 {#13476 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13474 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13472 …}
    +entries: Doctrine\ORM\PersistentCollection {#13470 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13468 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13466 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13464 …}
    +posts: Doctrine\ORM\PersistentCollection {#13462 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13460 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13458 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13456 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13454 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13452 …}
    +follows: Doctrine\ORM\PersistentCollection {#13450 …}
    +followers: Doctrine\ORM\PersistentCollection {#13448 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13446 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13444 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13442 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13440 …}
    +reports: Doctrine\ORM\PersistentCollection {#13438 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13436 …}
    +violations: Doctrine\ORM\PersistentCollection {#13434 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13432 …}
    +awards: Doctrine\ORM\PersistentCollection {#13430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13428 …}
    +categories: Doctrine\ORM\PersistentCollection {#13426 …}
    -id: 39464
    -password: "$2y$13$wQAP4Gif3ESopfZf00xAU.zwr9iTTX.ev3twB9omsse0v00sxuD/G"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13424 …}
    +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 {#13480
      date: 2024-10-06 22:13:37.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691480767 {#13479
      date: 2023-08-08 09:46:07.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#13402
  +width: 65
  +height: 65
  +user: App\Entity\User {#13478
    +avatar: Proxies\__CG__\App\Entity\Image {#13477 …}
    +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 {#13481
      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 {#13476 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13474 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13472 …}
    +entries: Doctrine\ORM\PersistentCollection {#13470 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13468 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13466 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13464 …}
    +posts: Doctrine\ORM\PersistentCollection {#13462 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13460 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13458 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13456 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13454 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13452 …}
    +follows: Doctrine\ORM\PersistentCollection {#13450 …}
    +followers: Doctrine\ORM\PersistentCollection {#13448 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13446 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13444 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13442 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13440 …}
    +reports: Doctrine\ORM\PersistentCollection {#13438 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13436 …}
    +violations: Doctrine\ORM\PersistentCollection {#13434 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13432 …}
    +awards: Doctrine\ORM\PersistentCollection {#13430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13428 …}
    +categories: Doctrine\ORM\PersistentCollection {#13426 …}
    -id: 39464
    -password: "$2y$13$wQAP4Gif3ESopfZf00xAU.zwr9iTTX.ev3twB9omsse0v00sxuD/G"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13424 …}
    +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 {#13480
      date: 2024-10-06 22:13:37.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691480767 {#13479
      date: 2023-08-08 09:46:07.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 4.09 ms
Input props
[
  "user" => App\Entity\User {#13596
    +avatar: Proxies\__CG__\App\Entity\Image {#13595 …}
    +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 {#13599
      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 {#13594 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13592 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13590 …}
    +entries: Doctrine\ORM\PersistentCollection {#13588 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13586 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13584 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13582 …}
    +posts: Doctrine\ORM\PersistentCollection {#13580 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13578 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13576 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13574 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13572 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13570 …}
    +follows: Doctrine\ORM\PersistentCollection {#13568 …}
    +followers: Doctrine\ORM\PersistentCollection {#13566 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13564 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13562 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13560 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13558 …}
    +reports: Doctrine\ORM\PersistentCollection {#13556 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13554 …}
    +violations: Doctrine\ORM\PersistentCollection {#13552 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13550 …}
    +awards: Doctrine\ORM\PersistentCollection {#13548 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13546 …}
    +categories: Doctrine\ORM\PersistentCollection {#13544 …}
    -id: 20657
    -password: "$2y$13$XNERcrvg1/EZkZQbKQ6R6efd5bjo3rlAJRSz0lDRnfkNCV76hr5Me"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13542 …}
    +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 {#13598
      date: 2023-07-30 16:21:02.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688878027 {#13597
      date: 2023-07-09 06:47:07.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#13682
  +width: 65
  +height: 65
  +user: App\Entity\User {#13596
    +avatar: Proxies\__CG__\App\Entity\Image {#13595 …}
    +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 {#13599
      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 {#13594 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13592 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13590 …}
    +entries: Doctrine\ORM\PersistentCollection {#13588 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13586 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13584 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13582 …}
    +posts: Doctrine\ORM\PersistentCollection {#13580 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13578 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13576 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13574 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13572 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13570 …}
    +follows: Doctrine\ORM\PersistentCollection {#13568 …}
    +followers: Doctrine\ORM\PersistentCollection {#13566 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13564 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13562 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13560 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13558 …}
    +reports: Doctrine\ORM\PersistentCollection {#13556 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13554 …}
    +violations: Doctrine\ORM\PersistentCollection {#13552 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13550 …}
    +awards: Doctrine\ORM\PersistentCollection {#13548 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13546 …}
    +categories: Doctrine\ORM\PersistentCollection {#13544 …}
    -id: 20657
    -password: "$2y$13$XNERcrvg1/EZkZQbKQ6R6efd5bjo3rlAJRSz0lDRnfkNCV76hr5Me"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13542 …}
    +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 {#13598
      date: 2023-07-30 16:21:02.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688878027 {#13597
      date: 2023-07-09 06:47:07.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.71 ms
Input props
[
  "user" => App\Entity\User {#13419
    +avatar: Proxies\__CG__\App\Entity\Image {#13418 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13417 …}
    +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 {#13422
      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 {#13416 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13414 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13364 …}
    +entries: Doctrine\ORM\PersistentCollection {#13366 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13373 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13374 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13376 …}
    +posts: Doctrine\ORM\PersistentCollection {#13378 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13375 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13368 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13386 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13383 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13391 …}
    +follows: Doctrine\ORM\PersistentCollection {#13388 …}
    +followers: Doctrine\ORM\PersistentCollection {#13396 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13398 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13400 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13808 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13802 …}
    +reports: Doctrine\ORM\PersistentCollection {#13615 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13604 …}
    +violations: Doctrine\ORM\PersistentCollection {#13810 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13809 …}
    +awards: Doctrine\ORM\PersistentCollection {#13806 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13803 …}
    +categories: Doctrine\ORM\PersistentCollection {#13800 …}
    -id: 41651
    -password: "$2y$13$MR/jvQLw20snj7dhCUOzrerIeJOUi.vmMEXqlAliA6M/KYuWQH.Sa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13799 …}
    +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 {#13421
      date: 2023-08-21 18:43:45.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692554254 {#13420
      date: 2023-08-20 19:57:34.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#13627
  +width: 65
  +height: 65
  +user: App\Entity\User {#13419
    +avatar: Proxies\__CG__\App\Entity\Image {#13418 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13417 …}
    +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 {#13422
      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 {#13416 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13414 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13364 …}
    +entries: Doctrine\ORM\PersistentCollection {#13366 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13373 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13374 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13376 …}
    +posts: Doctrine\ORM\PersistentCollection {#13378 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13375 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13368 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13386 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13383 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13391 …}
    +follows: Doctrine\ORM\PersistentCollection {#13388 …}
    +followers: Doctrine\ORM\PersistentCollection {#13396 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13398 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13400 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13808 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13802 …}
    +reports: Doctrine\ORM\PersistentCollection {#13615 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13604 …}
    +violations: Doctrine\ORM\PersistentCollection {#13810 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13809 …}
    +awards: Doctrine\ORM\PersistentCollection {#13806 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13803 …}
    +categories: Doctrine\ORM\PersistentCollection {#13800 …}
    -id: 41651
    -password: "$2y$13$MR/jvQLw20snj7dhCUOzrerIeJOUi.vmMEXqlAliA6M/KYuWQH.Sa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13799 …}
    +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 {#13421
      date: 2023-08-21 18:43:45.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692554254 {#13420
      date: 2023-08-20 19:57:34.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.63 ms
Input props
[
  "user" => App\Entity\User {#13537
    +avatar: Proxies\__CG__\App\Entity\Image {#13536 …}
    +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 {#13540
      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 {#13535 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13533 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13531 …}
    +entries: Doctrine\ORM\PersistentCollection {#13529 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13527 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13525 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13523 …}
    +posts: Doctrine\ORM\PersistentCollection {#13521 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13519 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13517 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13515 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13513 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13511 …}
    +follows: Doctrine\ORM\PersistentCollection {#13509 …}
    +followers: Doctrine\ORM\PersistentCollection {#13507 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13505 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13503 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13501 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13499 …}
    +reports: Doctrine\ORM\PersistentCollection {#13497 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13495 …}
    +violations: Doctrine\ORM\PersistentCollection {#13493 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13491 …}
    +awards: Doctrine\ORM\PersistentCollection {#13489 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13487 …}
    +categories: Doctrine\ORM\PersistentCollection {#13485 …}
    -id: 21796
    -password: "$2y$13$ACNmoGKWwRgm/Njn146GG.b25O8.XXYtlu6ZukGNMl7KWiROcYuzK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13483 …}
    +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 {#13539
      date: 2024-07-01 11:02:01.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689039812 {#13538
      date: 2023-07-11 03:43:32.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#13853
  +width: 65
  +height: 65
  +user: App\Entity\User {#13537
    +avatar: Proxies\__CG__\App\Entity\Image {#13536 …}
    +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 {#13540
      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 {#13535 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13533 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13531 …}
    +entries: Doctrine\ORM\PersistentCollection {#13529 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13527 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13525 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13523 …}
    +posts: Doctrine\ORM\PersistentCollection {#13521 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13519 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13517 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13515 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13513 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13511 …}
    +follows: Doctrine\ORM\PersistentCollection {#13509 …}
    +followers: Doctrine\ORM\PersistentCollection {#13507 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13505 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13503 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13501 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13499 …}
    +reports: Doctrine\ORM\PersistentCollection {#13497 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13495 …}
    +violations: Doctrine\ORM\PersistentCollection {#13493 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13491 …}
    +awards: Doctrine\ORM\PersistentCollection {#13489 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13487 …}
    +categories: Doctrine\ORM\PersistentCollection {#13485 …}
    -id: 21796
    -password: "$2y$13$ACNmoGKWwRgm/Njn146GG.b25O8.XXYtlu6ZukGNMl7KWiROcYuzK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13483 …}
    +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 {#13539
      date: 2024-07-01 11:02:01.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689039812 {#13538
      date: 2023-07-11 03:43:32.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.93 ms
Input props
[
  "user" => App\Entity\User {#13793
    +avatar: Proxies\__CG__\App\Entity\Image {#13790 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13791 …}
    +email: "TCB13@lemmy.world"
    +username: "@TCB13@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: ""
    +lastActive: DateTime @1729518803 {#13613
      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 {#13788 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13786 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13784 …}
    +entries: Doctrine\ORM\PersistentCollection {#13782 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13780 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13778 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13776 …}
    +posts: Doctrine\ORM\PersistentCollection {#13774 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13772 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13770 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13768 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13766 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13764 …}
    +follows: Doctrine\ORM\PersistentCollection {#13762 …}
    +followers: Doctrine\ORM\PersistentCollection {#13760 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13758 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13756 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13754 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13752 …}
    +reports: Doctrine\ORM\PersistentCollection {#13750 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13748 …}
    +violations: Doctrine\ORM\PersistentCollection {#13746 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13744 …}
    +awards: Doctrine\ORM\PersistentCollection {#13742 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13740 …}
    +categories: Doctrine\ORM\PersistentCollection {#13738 …}
    -id: 43677
    -password: "$2y$13$67WvGuLt4FPbc4trvxnH0ODZHTvTlMWI7kaafAJZUzYiSsXw.KDqi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13736 …}
    +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 {#13794
      date: 2024-10-22 05:12:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1693492241 {#13792
      date: 2023-08-31 16:30:41.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#13910
  +width: 65
  +height: 65
  +user: App\Entity\User {#13793
    +avatar: Proxies\__CG__\App\Entity\Image {#13790 …}
    +cover: Proxies\__CG__\App\Entity\Image {#13791 …}
    +email: "TCB13@lemmy.world"
    +username: "@TCB13@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: ""
    +lastActive: DateTime @1729518803 {#13613
      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 {#13788 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13786 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13784 …}
    +entries: Doctrine\ORM\PersistentCollection {#13782 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13780 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13778 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13776 …}
    +posts: Doctrine\ORM\PersistentCollection {#13774 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13772 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13770 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13768 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13766 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13764 …}
    +follows: Doctrine\ORM\PersistentCollection {#13762 …}
    +followers: Doctrine\ORM\PersistentCollection {#13760 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13758 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13756 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13754 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13752 …}
    +reports: Doctrine\ORM\PersistentCollection {#13750 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13748 …}
    +violations: Doctrine\ORM\PersistentCollection {#13746 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13744 …}
    +awards: Doctrine\ORM\PersistentCollection {#13742 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13740 …}
    +categories: Doctrine\ORM\PersistentCollection {#13738 …}
    -id: 43677
    -password: "$2y$13$67WvGuLt4FPbc4trvxnH0ODZHTvTlMWI7kaafAJZUzYiSsXw.KDqi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13736 …}
    +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 {#13794
      date: 2024-10-22 05:12:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1693492241 {#13792
      date: 2023-08-31 16:30:41.0 +02:00
    }
  }
  +asLink: true
}
related_categories App\Twig\Components\RelatedCategoriesComponent 14.0 MiB 9.85 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedCategoriesComponent {#13972
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "related"
  +title: "related_categories"
  +refreshedRandom: false
  -repository: App\Repository\CategoryRepository {#13973 …}
  -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 4.97 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedPostsComponent {#8371
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "magazine"
  +post: null
  +title: "related_posts"
  +refreshedRandom: false
  -repository: App\Repository\PostRepository {#8373 …}
  -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 18.41 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedEntriesComponent {#8423
  +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.32 ms
Input props
[]
Attributes
[]
Component
App\Twig\Components\SupportUsBlock {#11076
  +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 {#11030 …}
}
featured_magazines App\Twig\Components\FeaturedMagazinesComponent 14.0 MiB 0.93 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 {#12902
  +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 …}
}