Wilson Mar bio photo

Wilson Mar


Email me Calendar Skype call

LinkedIn Twitter Gitter Instagram Youtube

Github Stackoverflow Pinterest

The annoying mobile-IoT-cloud mash-up we actually need

US (English)   Norsk (Norwegian)   Español (Spanish)   Français (French)   Deutsch (German)   Italiano   Português   Estonian   اَلْعَرَبِيَّةُ (Egypt Arabic)   中文 (简体) Chinese (Simplified)   日本語 Japanese   한국어 Korean


Our annoyance/problem

It’s a hassle to start your day with a dead battery.

This is especially relevant to owners of iPhones, iPads, and other devices which do not have replaceable batteries.

But even though many Samsung and other Android phones batteries are replaceable, some of us still need help remembering to plug them in to charge.


This project provides several ways to be reminded so that we don’t go to sleep while battery-dependent devices are left to drain overnight.


We designed our solution for people who don’t have a lot of technical experience.

So we made it easy to setup and use even though we use advanced security techniques (XMPP and SPARQL with PKI security certificates).

With our package, you don’t need to have your laptop running all the time.

Nevertheless, we can arrange for local technical experts to travel to you for installation.

If you want one for your team or company, let me know and I’ll come to set it up in your office.

Scenario story

Let’s now look at elements of the cloud offering:

  1. Our iOS app is downloaded and installed from the Apple Store onto each individual user’s iPhone or iPad.

  2. From the Google Play Store each user downloads and installs our Android app.

  3. On either platform, open the mobile app and it begins to collect battery conditions and calculate usage patterns to project remaining time and, if plugged in, when a full charge will be achieved.

    If the app can predict when you’ll unplug for usage, it projects charge levels for the rest of your day. ***

  4. The app stores this information until it connects with the same Wi-Fi router used by the receiver program that retrieves battery information from mobile phones.

  5. For security, register your credentials on the same website that sends you the Black Box you’ll be using to manage your “things” – sensors that listen and actuators that do things.

  6. That website also automatically keeps software in your Box up to date.

  7. Several antennas in the Black Box talk to devices that communicate using a variety of technologies (Wi-Fi, BTLE, ZigBee, 3G, LTE, LoRa).

  8. The Black Box has a web page for you to secure communication with each device and to specify settings such as how often measurements are processed, and other preferences.

    Because of this, you won’t need to plug a monitor to the box even though it has a HDMI port. ***

  9. Unlike a laptop or mobile phone, your Black Box is intended to be constantly plugged into an electrical outlet. And ideally through an Uninteruptable Power Supply containing a battery.

  10. When conditions and preferences allow, the Dispatcher program sends out a signal to devices it can communicate with.

  11. Notification can start with a text message to the phone, which is ideal because the owner would then be able to take immediate action of plugging the phone in.

    The sound of text message tones on phones are usually too low to hear, so that’s one reason people wear a smart watch. But that can also run out of battery as well. ***

  12. That’s the reason the Dispatcher may call the phone with a recorded message.

  13. Alternately, a speaker device may emit a recorded sound, recorded speech, or text-to-speech artificial voice. ***

  14. If a response is not received within a set time, an annoying (attention grabbing) siren (alarm) could sound. ***

  15. Individual preferences for being alerted, and the sequence of escalation preferred, are set in the dispatch web page.

  16. For example, those hard of hearing may prefer that a smart bulb be lit up with a color and pattern of lighting set by the owner.

    This owner personal control of notifications is what provides great value from this solution.

  17. Additional actuators may be added, such as devices that vibrate.

  18. Since the condition of the mobile device continues to be monitored, simply plugging the device in for charging would stop alerting. ***

  19. Optionally, press a Flic, Amazon Dash, or other button to have the Dispatcher program alter alerting.

    • One press to remind me again in 10 minutes (a kind of snooze button)
    • Two presses to call the phone (so I can find it), or a
    • Long press and hold to ignore (let the battery drain)

    Thus, a button can control the lights, the speakers, and the alarm.

  20. For even more convenience, if there is a microphone (such as Sonos) listening for spoken commands, Natural Language Processing software would understand what needs to be done.

    Inside the Black box

    Now let’s look further into components of the Sentry box.

  21. Data retrieved is stored in a database containing trend information over time.

    The receiver program also manages the archival and deletion of data to stay within storage limits.

    The box comes with 64 GB of fast Solid-State storage. ***

  22. Trends are calculated and displayed by an analysis program.

  23. A long-running alerting program determines when actions</strong> need to be triggered, based on a set of logical rules.

    For example, the program determines whether the battery is steadily declining or is being charged, and notifies the Dispatch program listening for trigger requests.


    An evaluation of this solution should include how well it can be extended.

  24. One extension of this system would interact with various calendars associated with the user.

    This design is classified among “Health and Medicine” offerings because it can also be applied to remind people to take pills before going to bed.

  25. Optionally, the GPS location of the device, if available, can be sent so the machine knows if you leave your house without doing what needs to be done.

  26. Rather than risk exposing a connection to the public internet, which some home internet providers do not allow, some may prefer to have data be collected by cloud servers in locations around the world, then retrieved (or pulled into) the local machine.

  27. Use of an external cloud also allows inclusion of external sensor data beyond mobile phones, such as nearby weather conditions, road conditions, water utility usage, or other “smart city” feeds.

    A low-battery alert is one in a whole set of use cases for individually customizable physical alerting.

    We’ve come tothe ultimate reason for a personal Black Box.

  28. When configured with an API (Application Programming Interface) to receive messages from Jenkins, Zapier, or other external system, the Box ensures you receive the appropriate urgency depending on what it knows about the sender, the subject, and how you prefer to be notified. For example, you’ll get more immediate attention and repeated notice for fire alarms or freezers not having power anymore.

    Industrial team extensions

    We can imagine several other uses for a generalized physical reminder system like this to ensure that important tasks get done.

    This solution can also be useful in a team environment where each person may think it’s another person’s responsibility.

    This is for almost any task that must be done by a certain time.

    NOTE: The more general solution is called a Dead man’s snitch, as in “a copy of this will be released to the press if my people don’t hear back from me the end of this hour”.

If you want this for yourself, let me know and I’ll get one to your home or office.

More on IoT

This is one of a series on IoT:

  1. IoT Acronymns and Abbreviations on Quizlet

  2. IoT Home Assistant system

  3. IoT Apprentice school curriculum
  4. IoT use cases
  5. IoT reminders prevent dead mobile battery
  6. IoT barn feeder

  7. IoT text to speech synthesis
  8. IoT AWS button
  9. Intel IoT
  10. IoT Raspberry hardware
  11. IoT Raspberry installation

  12. IoT Clouds
  13. Samsung IoT Cloud

NOTE: Pages about GE’s Predix have been removed.

and whether the battery is plugged in for charging.