[BETA] Family Pulse - The Social Network Running On Hubitat "Feel Your Familys Heart Beat"

The Story Behind the Project I originally built this with a single goal in mind: to create a digital space for my daughter and her cousins to connect and play that was 100% safe. I wanted an environment completely under the user's control—no worries about bad actors, no data collection, and no privacy trade-offs.

But as I developed it, I realized this could be more than just a game; it was a new way for the family to interact with our home. By bridging this safe gaming environment with Hubitat, we are opening doors to smart home control that haven't been opened before. With features like Family Pulse Feed tracking mood and feelings, the future roadmap includes using that data to let the house react to the family's emotional state, not just their physical presence.


Overview: The Social & Family Connection

At its heart, this is a platform designed to keep the household connected, organized, and in sync with the home itself.

  • Family Pulse: This is the core social engine. It allows family members to log their current mood and overall experience. This isn't just data; it's a way for the family to communicate how they are feeling, and eventually, for the house to respond (e.g., soothing lighting if the collective mood is stressed).
  • Centralized Organization:
    • Smart Grocery Lists: A shared system to manage needs, with options to view the master list or break it down by individual stores for easier shopping.
    • Family Calendar: Full ability to view and edit upcoming events, ensuring everyone knows the schedule directly from the dashboard.
  • Safe Socializing: A completely private network for your children and family to chat and interact without the risks associated with public social platforms.

The Game Layer

To make the interaction fun and engaging for kids (and adults), the dashboard is wrapped in a fully functional RPG layer.

  • Loot & Equipment: Players can find and equip items, such as the "Chicken Sword," which provide real stat bonuses.
  • Stats & Scaling: The system tracks stats like Attack Power and Crit Chance (e.g., +10%). Enemies and bosses in the system scale based on the player's power to keep the challenge balanced.
  • Visual Feedback: Arcade-style combat text (damage numbers, crits) makes the interaction feel responsive and alive.
2 Likes

Reserve



Github Link:

Download the two .Json files located in the Family Pulse Pro folder. These allow the daily question, and daily scripture to work.

:heartbeat: Family Pulse Pro: The Ultimate Gamified Social Feed

Family Pulse Pro is a private social network for your household that runs entirely on Hubitat. It combines a Facebook-style feed with a full RPG "Tamagotchi" style game where every family member raises a digital chicken, battles bosses, and manages an economy.

Here is the complete breakdown of every feature, mechanic, and secret in the app.


:iphone: 1. The Social Core

At its heart, this is a communication tool.

  • The Feed: A scrolling timeline of user statuses, system events, and game updates.
  • Interactions:
    • Post: Share updates with the family (+20 XP).
    • Reply: Threaded conversations on any post (+10 XP).
    • Reactions: React with emojis (:+1:, :heart:, :joy:, :cry:, :rage:).
    • Like Economy: Reacting to someone else gives them +5 Coins (and notifies them!). Reacting to yourself is blocked.
  • Moods: Set your current status (Happy :smile:, Excited :star_struck:, Tired :sleeping:, Sad :cry:, Sick :nauseated_face:, Relaxed :relieved:, Angry :rage:, Silly :crazy_face:). This updates your avatar on the story bar.
  • Pinned Bulletins: Admins can "Pin" a post to the top of the feed (e.g., "Dinner is at 6pm").
  • Daily Question: At 9:00 AM (configurable), the system posts a question from a local JSON file to spark conversation.

:hatching_chick: 2. Your Companion: The Chicken

Every user gets a digital pet that evolves and grows based on their activity.

  • Evolution Stages:
    • Lvl 1-2: :egg: Egg (Eggbert)
    • Lvl 3-7: :hatched_chick: Chick
    • Lvl 8-10: :chicken: Chicken
  • Leveling Up: You gain XP for almost everything (Posting, Battling, Farming).
    • Cap: The max level is 10.
    • Rewards: Leveling up grants full HP restoration, +3 Stat Points to allocate, and stat boosts.
  • Stats:
    • HP (Health): How much damage you can take before passing out.
    • ATK (Attack): How hard you hit.
    • DEF (Defense): Damage mitigation.
    • CRIT: Chance to deal double damage.
  • Status Effects:
    • :face_with_head_bandage: Unconscious: If you lose 2 battles in a day (PvP or PvE), you pass out. You cannot Battle, Farm, or Forage until you heal at the Hospital.
    • :sleeping: Tired: If you battle too much in one day, you become tired and cannot fight until the next daily reset.

:crossed_swords: 3. Adventure Mode & Combat

The RPG layer. Use Energy (:zap:) to explore zones. You have a max of 6 Energy (upgrades to 8 at Lvl 5, 10 at Lvl 10). Energy regenerates daily.

The Zones

Zone Cost Unlock Req Enemies Rewards
:evergreen_tree: The Wilds 1 :zap: None Snake :snake:, Fox :fox_face:, Grub :bug: Low XP/Coins. Win 3x to unlock Spooky Farm.
:derelict_house: Spooky Farm 1 :zap: Lvl 5+ Mouse :mouse:, Spider :spider:, Bat :bat: Med XP/Coins. Win 3x to unlock Owl Boss.
:tractor: Crazy House 1 :zap: Lvl 10 Barn Rat :rat:, Cat :cat2:, Guard Dog :dog2: High XP/Coins. Win 6x to unlock Farmer Boss.

The Bosses (Daily Boss Raids)

Bosses have huge HP pools and massive damage.

  1. :eagle: The Raven: Unlocks after 3 Wilds wins. (+50 XP / +50 Coins)
  2. :owl: Spooky Owl: Unlocks after 3 Spooky wins. (+50 XP / +50 Coins)
  3. :skull: Skeleton: Unlocks after defeating Raven & Owl. (+100 XP / +100 Coins)
  4. :man_farmer: Crazy Farmer (Endgame):
  • Requirement: Must have 6 wins at Crazy House AND defeat all 3 sub-bosses (Raven, Owl, Skeleton) that day.
  • Reward: +200 XP, +200 Coins, +2 Feed, and a "Barn Box" (Chance for another 200XP/200c).

:shopping_cart: 4. The Economy & Shop

The Shop is open from Sunrise to 8:00 PM. If you visit at night, the shopkeeper is asleep!

Inventory Items:

  • :corn: Chicken Feed (20 Coins): 50% chance to revive with full HP during battle. (Max 2/day).
  • :star2: Super Feed (200 Coins): 100% chance to revive during a Boss Battle. (Max 2/day, Hold limit 4).
  • :zap: Energy Drink (15 Coins): Restores all Adventure Energy tokens. (Max 2/day).
  • :syringe: Steroid Shot (50 Coins): Permanently adds +5 Stat Points to your chicken. (Max 2/day).
  • :dna: Growth Hormone (100 Coins): Instantly grants +100 XP. (Max 5/day, disabled at Lvl 10).
  • :bacon: Boss Lure (150 Coins): Resets your daily attempt counters for Bosses (allows you to fight them again).
  • :package: Cardboard Box (150 Coins): A mystery box.
    • 25% Chance: Big Prize (+200 XP, +200 Coins).
    • 75% Chance: Small Prize (+10 XP, +10 Coins).

Legendary Gear (Level 10 Only):

  • :crossed_swords: Chicken Sword (1000 Coins): Adds +100 ATK and +10% Crit Chance.
  • :shield: Chicken Shield (1000 Coins): Adds +100 DEF.

:hospital: 5. The Hospital & Church

Locations to manage health and karma.

:ambulance: The Hospital

If your chicken is Unconscious (from losing 2 battles), you have two options:

  1. Wait: It takes 6 hours to auto-revive.
  2. Pay: Pay 20 Coins for an instant revive.

:church: The Church

A place to read the "Daily Scripture" (from a local JSON file) and Tithe.

  • Tithe (50💰): You can give 50 coins to the church (Max 2/day).
    • 5% Chance: Receive Super Feed (Divine Blessing).
    • 10% Chance: Receive Chicken Feed.
    • 85% Chance: Receive nothing but spiritual peace (+5 XP).

:leaves: 6. Foraging & Farming

Ways to earn loot without fighting.

  • Foraging: Costs 1 Adventure Energy. Pure RNG.
    • 60%: Herbs (+25 XP).
    • 30%: Coins stash (+25 Coins).
    • 6%: Find Chicken Feed.
    • 3%: Find Steroid Shot (+5 Stats).
    • 1%: Treasure Chest (+100 XP, +100 Coins, 2 Feed, 2 Steroids).
  • The Farm: Send your chicken to work.
    • Effect: Chicken is busy for 24 Hours (cannot battle).
    • Result: 50% chance to succeed (+50 XP, +10 Coins). 50% chance to "slack off" (No reward).

:game_die: 7. Random Events

The system runs checks periodically to trigger random world events.

  • :dog2: The Farmer's Dog: Can chase a random user.
    • Bad Outcome: User drops coins (loses ~25c).
    • Good Outcome: User plays fetch (+40 XP).
  • :older_woman: The Farmer's Wife: Randomly visits a "healthy" chicken.
    • Reward: Gifts Chicken Feed or Super Feed.
  • :man_farmer: The Farmer: Randomly throws out feed (System post).
  • :birthday: Birthdays: If today matches a user's birthday setting, they get a shoutout and a gift (+200 XP / +200 Coins).
  • :jack_o_lantern: Holidays: Special bonuses on Halloween, Thanksgiving, and Christmas.

:trophy: 8. Leaderboards & Dailys

  • Daily Habits: A checklist of tasks (Post, Reply, Like, Battle, Shop, Login, Hospital, Adventure, Tithe).
    • Completion Reward: +100 XP and +20 Coins.
  • Leaderboards: Tracks:
    • Coop Leaders (Level/Wins)
    • Wealthiest (Coins)
    • Weekly Pulse (Social activity count)
    • Adventure Legends (PvE Wins)
  • Polls: Admins can open a community poll (up to 4 options). Voting gives +10 XP and +5 Coins.

:gear: 9. Admin & Technical Features

  • User Management: Supports up to 8 Users.
  • Timeouts: Admins can put a user in "Timeout" (blocks access to the app with a jail screen).
  • Wipes:
    • Master Wipe: Resets the entire game.
    • Single User Wipe: Resets just one person (useful if they go bankrupt or want to restart).
  • Files: Reads FamilyPulse_Questions.json and FamilyPulse_Scriptures.json from your Hubitat File Manager for dynamic content.
  • Day/Night Cycle: The app header changes icons based on Hubitat's sunrise/sunset, and the Shop closes at night.
  • External Links: Buttons to link to your Dashboards and Calendar apps directly from the header.

(post deleted by author)

:rocket: The Future of the Suite Two additional applications are currently in development to expand this ecosystem: a dedicated Calendar and a Sports Tracker. These three apps will function as a unified suite, designed to transform Hubitat into a truly interactive smart home hub.

My goal is to move beyond simple automation and create a system that makes predictions based on user habits, offering a fun and engaging interface for the whole family—spouses and kids included. Best of all, it remains 100% local and private.

:test_tube: Beta Testers Needed! Please give the application a try! Since this is a passion project, I rely heavily on community feedback. If you have recommendations, ideas, or run into any issues, please let me know. Your input helps shape the future of this project.

Installation Guide for Family Pulse Pro

1. Install the App Code

  • Log in to your Hubitat Web Interface.
  • Go to Apps Code in the side menu.
  • Click + New App in the top right.
  • Paste the Family Pulse Pro Groovy code into the editor.
  • Click Save in the top right corner.
  • Important: Click the OAuth button in the editor toolbar and enable OAuth for this app.

2. Create Required Files (File Manager) This app requires two local JSON files to function correctly for the "Daily Question" and "Scripture" features.

  • Go to Settings -> File Manager in your Hubitat menu.
  • Create a new file named FamilyPulse_Questions.json.
    • Content Example: ["What is your favorite movie?", "What are you grateful for today?"]
  • Create a new file named FamilyPulse_Scriptures.json.
    • Content Example: ["Love one another.", "Be kind to your neighbor."]

3. Install the App Instance

  • Go to Apps in the side menu.
  • Click + Add User App.
  • Select Family Pulse Pro from the list.

4. Configuration The app setup will walk you through several pages:

  • General Settings:
    • Hub ID Override : Leave as default unless you have specific cloud needs.
    • External App Links (Optional) : If you have a Family Hub dashboard or a Calendar app, enter their App IDs and Access Tokens here to create shortcut buttons in the Family Pulse header.
    • Timers : Set the hour (0-23) for the "Daily Question" and "Birthday Check".
    • File Name : Ensure the "Question JSON File" name matches exactly what you created in step 2.
  • Feed & Engagement:
    • Polls : Enable if you want to run a community poll and enter your question/answers.
  • User Management:
    • Enable up to 8 Users.
    • For each user, enter a Display Name , Avatar Emoji , Birthday (MM-DD format), and optional Password.
    • Note: You can also use "Timeout" to temporarily block a user.

5. Web Access

  • Once installed, go to the main app page. You will see links for Local Access and Cloud Access.
  • Use these links on your phone or tablet. The app is designed to be added to your home screen as a Progressive Web App (PWA).

6. Final Steps

  • Open the app on your device.
  • You will see a login screen with the users you created.
  • Tap your user to enter the feed!

Troubleshooting

  • Files Not Loading: If questions or scriptures don't appear, check the File Manager names against the settings. They must match exactly (case-sensitive) and be valid JSON format ["Item 1", "Item 2"].
  • Shop Closed : Remember the shop is only open between Sunrise and 8:00 PM.

Interesting, but I don't think my wife would be into it. Nor I. But it is interesting. Looking to see where this goes.

1 Like