Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
0.23 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.04 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#1821
  +user: Proxies\__CG__\App\Entity\User {#1885 …}
  +magazine: App\Entity\Magazine {#316
    +icon: Proxies\__CG__\App\Entity\Image {#297 …}
    +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 {#326
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#288 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#284 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#273 …}
    +entries: Doctrine\ORM\PersistentCollection {#231 …}
    +posts: Doctrine\ORM\PersistentCollection {#189 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#251 …}
    +bans: Doctrine\ORM\PersistentCollection {#168 …}
    +reports: Doctrine\ORM\PersistentCollection {#154 …}
    +badges: Doctrine\ORM\PersistentCollection {#132 …}
    +logs: Doctrine\ORM\PersistentCollection {#122 …}
    +awards: Doctrine\ORM\PersistentCollection {#111 …}
    +categories: Doctrine\ORM\PersistentCollection {#98 …}
    -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 {#320
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#319
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#2416 …}
  +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 {#2445
    date: 2023-10-02 14:38:49.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#2402 …}
  +votes: Doctrine\ORM\PersistentCollection {#1911 …}
  +reports: Doctrine\ORM\PersistentCollection {#1855 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1395 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1890 …}
  +badges: Doctrine\ORM\PersistentCollection {#1935 …}
  +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 {#102
    date: 2023-09-29 13:24:56.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#1821
  +user: Proxies\__CG__\App\Entity\User {#1885 …}
  +magazine: App\Entity\Magazine {#316
    +icon: Proxies\__CG__\App\Entity\Image {#297 …}
    +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 {#326
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#288 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#284 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#273 …}
    +entries: Doctrine\ORM\PersistentCollection {#231 …}
    +posts: Doctrine\ORM\PersistentCollection {#189 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#251 …}
    +bans: Doctrine\ORM\PersistentCollection {#168 …}
    +reports: Doctrine\ORM\PersistentCollection {#154 …}
    +badges: Doctrine\ORM\PersistentCollection {#132 …}
    +logs: Doctrine\ORM\PersistentCollection {#122 …}
    +awards: Doctrine\ORM\PersistentCollection {#111 …}
    +categories: Doctrine\ORM\PersistentCollection {#98 …}
    -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 {#320
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#319
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#2416 …}
  +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 {#2445
    date: 2023-10-02 14:38:49.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#2402 …}
  +votes: Doctrine\ORM\PersistentCollection {#1911 …}
  +reports: Doctrine\ORM\PersistentCollection {#1855 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1395 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1890 …}
  +badges: Doctrine\ORM\PersistentCollection {#1935 …}
  +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 {#102
    date: 2023-09-29 13:24:56.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#1821
  +user: Proxies\__CG__\App\Entity\User {#1885 …}
  +magazine: App\Entity\Magazine {#316
    +icon: Proxies\__CG__\App\Entity\Image {#297 …}
    +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 {#326
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#288 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#284 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#273 …}
    +entries: Doctrine\ORM\PersistentCollection {#231 …}
    +posts: Doctrine\ORM\PersistentCollection {#189 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#251 …}
    +bans: Doctrine\ORM\PersistentCollection {#168 …}
    +reports: Doctrine\ORM\PersistentCollection {#154 …}
    +badges: Doctrine\ORM\PersistentCollection {#132 …}
    +logs: Doctrine\ORM\PersistentCollection {#122 …}
    +awards: Doctrine\ORM\PersistentCollection {#111 …}
    +categories: Doctrine\ORM\PersistentCollection {#98 …}
    -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 {#320
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#319
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#2416 …}
  +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 {#2445
    date: 2023-10-02 14:38:49.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#2402 …}
  +votes: Doctrine\ORM\PersistentCollection {#1911 …}
  +reports: Doctrine\ORM\PersistentCollection {#1855 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1395 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1890 …}
  +badges: Doctrine\ORM\PersistentCollection {#1935 …}
  +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 {#102
    date: 2023-09-29 13:24:56.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED edit
App\Entity\Magazine {#316
  +icon: Proxies\__CG__\App\Entity\Image {#297 …}
  +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 {#326
    date: 2024-10-20 10:40:08.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#288 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#284 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#273 …}
  +entries: Doctrine\ORM\PersistentCollection {#231 …}
  +posts: Doctrine\ORM\PersistentCollection {#189 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#251 …}
  +bans: Doctrine\ORM\PersistentCollection {#168 …}
  +reports: Doctrine\ORM\PersistentCollection {#154 …}
  +badges: Doctrine\ORM\PersistentCollection {#132 …}
  +logs: Doctrine\ORM\PersistentCollection {#122 …}
  +awards: Doctrine\ORM\PersistentCollection {#111 …}
  +categories: Doctrine\ORM\PersistentCollection {#98 …}
  -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 {#320
    date: 2024-09-25 09:01:54.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1687144409 {#319
    date: 2023-06-19 05:13:29.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details