<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Akinniyi Marie</title>
    <description>The latest articles on DEV Community by Akinniyi Marie (@akinniyi_marie_0866c2d370).</description>
    <link>https://dev.to/akinniyi_marie_0866c2d370</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4257546%2F303001ac-05d6-4217-8e83-10f75b857bc4.png</url>
      <title>DEV Community: Akinniyi Marie</title>
      <link>https://dev.to/akinniyi_marie_0866c2d370</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/akinniyi_marie_0866c2d370"/>
    <language>en</language>
    <item>
      <title>Screen Rhythm: Stay in Your Rhythm.</title>
      <dc:creator>Akinniyi Marie</dc:creator>
      <pubDate>Sat, 21 Nov 2026 19:22:09 +0000</pubDate>
      <link>https://dev.to/akinniyi_marie_0866c2d370/screen-rhythm-stay-in-your-rhythm-1dmk</link>
      <guid>https://dev.to/akinniyi_marie_0866c2d370/screen-rhythm-stay-in-your-rhythm-1dmk</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/presage-2026-11-04"&gt;Presage SmartSpectra SDK Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Screen Rhythm&lt;/strong&gt; is a desktop screen-wellness companion designed to help people become more aware of their screen habits and take intentional breaks.&lt;/p&gt;

&lt;p&gt;When we spend long periods looking at screens, it is easy to lose track of time. I wanted to build something that makes one small part of that experience more visible: blinking.&lt;/p&gt;

&lt;p&gt;Using the Presage SmartSpectra SDK, Screen Rhythm tracks blink activity in real time and presents it through a simple dashboard.&lt;/p&gt;

&lt;p&gt;The application includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live blink tracking:&lt;/strong&gt; Displays the number of detected blink events during a session.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;60-second activity timeline:&lt;/strong&gt; Visualizes recent blink activity over time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Session tracking:&lt;/strong&gt; Keeps track of session duration and activity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Break reminders:&lt;/strong&gt; Provides reminders based on elapsed screen-session time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Camera diagnostics:&lt;/strong&gt; Shows useful information about the camera and processing session.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is to give users more awareness of their screen habits and encourage intentional breaks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Watch Screen Rhythm in action:&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/ykh4cyRdsKc" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Public GitHub repository:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/pitchmarie01/screen-rhythm" rel="noopener noreferrer"&gt;https://github.com/pitchmarie01/screen-rhythm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The repository contains the application source code, project dependencies, and setup instructions for running Screen Rhythm locally.&lt;/p&gt;

&lt;p&gt;The project is built with JavaScript, Electron, Node.js, and the Presage SmartSpectra Node.js SDK (&lt;code&gt;@smartspectra/node-sdk&lt;/code&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Responds to Human Signals
&lt;/h2&gt;

&lt;p&gt;Screen Rhythm uses the &lt;strong&gt;blink signal&lt;/strong&gt; provided through the Presage SmartSpectra SDK.&lt;/p&gt;

&lt;p&gt;The application integrates the SDK to process live camera frames and provide face-analysis metrics.&lt;/p&gt;

&lt;p&gt;The integration works as follows:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The SmartSpectra SDK processes camera frames and emits metrics packets.&lt;/li&gt;
&lt;li&gt;Screen Rhythm decodes those packets using &lt;code&gt;decodeMetrics&lt;/code&gt; from &lt;code&gt;@smartspectra/node-sdk/messages&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The application reads blink data from &lt;code&gt;metrics.face.blinking&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Each packet can contain multiple blink readings, so the complete array is passed to the application's custom &lt;code&gt;BlinkTracker&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The tracker identifies blink events using rising-edge detection. Consecutive &lt;code&gt;true&lt;/code&gt; readings are treated as one event, and a new &lt;code&gt;false&lt;/code&gt; reading is required before another blink can be counted.&lt;/li&gt;
&lt;li&gt;A minimum interval between counted events helps suppress potential flicker.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The resulting blink events update the live blink count and rolling 60-second activity timeline.&lt;/p&gt;

&lt;p&gt;Screen Rhythm also tracks session duration and provides break reminders based on elapsed time. These reminders are time-based, not triggered by blink frequency.&lt;/p&gt;

&lt;p&gt;This combines Presage's real-time face-analysis metrics with custom application logic to turn SDK readings into an understandable screen-awareness experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Best Thoughtful Real-World Use&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Screen Rhythm addresses a simple, everyday need: becoming more aware of our screen habits and remembering to take intentional breaks.&lt;/p&gt;

&lt;p&gt;It is designed for people who spend extended periods working, studying, or browsing on a computer.&lt;/p&gt;

&lt;p&gt;Rather than overwhelming users with technical data, it presents blink activity through a straightforward count and visual timeline, alongside session tracking and time-based reminders.&lt;/p&gt;

&lt;p&gt;I wanted to make the experience practical and approachable while respecting user consent and privacy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Consent and Data Handling
&lt;/h2&gt;

&lt;p&gt;Screen Rhythm is designed with user awareness and consent in mind.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Camera consent:&lt;/strong&gt; Before a session starts, the application explains why camera access is needed. Users can grant or decline permission.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Camera processing:&lt;/strong&gt; Live camera frames are processed locally by the application during the session. Screen Rhythm does not record or save camera footage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Session data:&lt;/strong&gt; Session summaries, such as session duration and blink counts, are stored locally.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No account required:&lt;/strong&gt; The application does not require users to create an account.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SDK telemetry:&lt;/strong&gt; SmartSpectra telemetry is disabled in the SDK configuration using &lt;code&gt;enableTelemetry: false&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API key handling:&lt;/strong&gt; The SDK API key is configured through a local &lt;code&gt;.env&lt;/code&gt; file, which is excluded from the public Git repository.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optional AI services:&lt;/strong&gt; Screen Rhythm does not send camera footage or session data to an optional AI service.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Screen Rhythm is an awareness tool, not a medical device. It does not diagnose, treat, or prevent any medical condition, and its blink readings should not be interpreted as a medical assessment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Agent Session
&lt;/h2&gt;

&lt;p&gt;This submission includes no agent session transcript.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>presagechallenge</category>
    </item>
  </channel>
</rss>
