Home

Awesome

baby_buddy_homeassistant

hacs_badge Ruff

This custom integration allows you to monitor Baby Buddy data for your child within Home Assistant. It also allows you to start timers and add data entries from within Home Assistant.

Installation

HACS

  1. Navigate to integrations section.
  2. Click "Explore & Add Repositories" in the bottom right corner.
  3. Search for "Baby Buddy".
  4. Click "INSTALL THIS REPOSITORY IN HACS".
  5. Click "Install".

Configuration

Adding BabyBuddy to your Home Assistant instance can be done via the user interface. The below parameters are required.

Parameters

NameOptionalDescription
addressnoHost URL for your instance of Baby Buddy, without sub path
portnoHost port (default = 8000)
pathnoSub path of your Baby Buddy instance (default = "")
api_keynoThe API key from the user settings page on your instance of Baby Buddy

Options

The following options are available:

Integration Entities

This integration provides the following entities.

Sensors

Switches

Timer notes

Feeding, Sleep, and Tummy time can be linked to a timer. If a timer is active you can add any of these entries and link it to the timer to automatically specify child, start time, and end time. It is important that the timer is active when the service is called.

Services

SERVICE ADD_CHILD

This service adds a new child. At least one child should be added to start seeing the different sensors and switches.

Service data attributeOptionalDescription
first_namenoBaby's first name
last_namenoBaby's last name
birth_datenoChild's birth date in YYYY-MM-DD format

SERVICE ADD_BMI

This service adds a BMI entry for your child.

Service data attributeOptionalDescription
entity_idnoentity_id for the child sensor
BMInoSpecify BMI value (float)
dateyesSpecify BMI recording date (YYYY-MM-DD format, else today() will be used)
notesyesAdd notes text to entry
tagsyesAdd tag(s) to entry

SERVICE ADD_DIAPER_CHANGE

This service adds a diaper change entry for your child.

Service data attributeOptionalDescription
entity_idnoentity_id for the child sensor
typeyesSpecify type of diaper. This can be Wet, Solid, or Wet and Solid.
timeyesSpecify diaper change time (must be in the past, else now() will be used)
coloryesSpecify diaper color. This can be Black, Brown , Green, or Yellow.
amountyesAdd number of diapers
notesyesAdd notes text to entry
tagsyesAdd tag(s) to entry

SERVICE ADD_FEEDING

This service adds a feeding entry for your child. Feeding start/end/child fields can be linked to an active timer.

Service data attributeOptionalDescription
entity_idnoentity_id for the timer switch linked to the child.
typenoSpecify type of feeding. Can be one of Breast milk, Formula, Fortified breast milk, or Solid food.
methodnoSpecify method of feeding. Can be one of Bottle, Left breast, Right breast, Both breasts, Self fed, or Parent fed.
timeryesSet to True to use the currently active timer
startyesSpecify start time (must be in the past, else now() will be used). This can be ignored if timer is used.
endyesSpecify end time (must be in the past, else now() will be used). This can be ignored if timer is used.
amountyesSpecify amount of feeding as an integer
notesyesAdd notes text to entry
tagsyesAdd tag(s) to entry

SERVICE ADD_HEAD_CIRCUMFERENCE

This service adds a head circumference entry for your child.

Service data attributeOptionalDescription
entity_idnoentity_id for the child sensor
head_circumferencenoSpecify head circumference value (float)
dateyesSpecify head circumference recording date (YYYY-MM-DD format, else today() will be used)
notesyesAdd notes text to entry
tagsyesAdd tag(s) to entry

SERVICE ADD_HEIGHT

This service adds a height entry for your child.

Service data attributeOptionalDescription
entity_idnoentity_id for the child sensor
heightnoSpecify height value (float)
dateyesSpecify height recording date (YYYY-MM-DD format, else today() will be used)
notesyesAdd notes text to entry
tagsyesAdd tag(s) to entry

SERVICE ADD_NOTE

This service adds a note entry for your child.

Service data attributeOptionalDescription
entity_idnoentity_id for the child sensor
notesyesAdd notes text to entry
timeyesSpecify notes recording time (must be in the past, else now() will be used)
tagsyesAdd tag(s) to entry

SERVICE ADD_PUMPING

This service adds a pumping entry for your child.

Service data attributeOptionalDescription
entity_idnoentity_id for the child sensor
amountnoSpecify amount of pumping as an integer
timeryesSet to True to use the currently active timer
startyesSpecify start time (must be in the past, else now() will be used). This can be ignored if timer is used.
endyesSpecify end time (must be in the past, else now() will be used). This can be ignored if timer is used.
notesyesAdd notes text to entry
tagsyesAdd tag(s) to entry

SERVICE ADD_SLEEP

This service adds a sleep entry for your child. Sleep start/end/child fields can be linked to an active timer.

Service data attributeOptionalDescription
entity_idnoentity_id for the timer switch linked to the child
timeryesSet to True to use the currently active timer
startyesSpecify start time (must be in the past, else now() will be used). This can be ignored if timer is used.
endyesSpecify end time (must be in the past, else now() will be used). This can be ignored if timer is used.
napyesSet to True to designate as nap.
notesyesAdd notes text to entry
tagsyesAdd tag(s) to entry

SERVICE ADD_TEMPERATURE

This service adds a temperature entry for your child.

Service data attributeOptionalDescription
entity_idnoentity_id for the child sensor
temperaturenoSpecify temperature value (float)
timeyesSpecify temperature recording time (must be in the past, else now() will be used)
notesyesAdd notes text to entry
tagsyesAdd tag(s) to entry

SERVICE ADD_TUMMY_TIME

This service adds a tummy time entry for your child. Tummy time start/end/child fields can be linked to an active timer.

Service data attributeOptionalDescription
entity_idnoentity_id for the timer switch linked to the child
timeryesSet to True to use the currently active timer
startyesSpecify start time (must be in the past, else now() will be used). This can be ignored if timer is used.
endyesSpecify end time (must be in the past, else now() will be used). This can be ignored if timer is used.
milestoneyesAdd milestone text to entry
tagsyesAdd tag(s) to entry

SERVICE ADD_WEIGHT

This service adds a weight entry for your child.

Service data attributeOptionalDescription
entity_idnoentity_id for the child sensor
weightnoSpecify weight value (float)
dateyesSpecify weight recording date (YYYY-MM-DD format, else today() will be used)
notesyesAdd notes text to entry
tagsyesAdd tag(s) to entry

SERVICE DELETE_LAST_ENTRY

This service will delete the last entry for specified child.

Service data attributeOptionalDescription
entity_idnoentity_id for the child who's last entry will be deleted

SERVICE START_TIMER

This service starts a new timer for specified child with optional starting time.

Service data attributeOptionalDescription
entity_idnoentity_id for the switch linked to the child
startyesSpecify start time (must be in the past, else now() will be used)
nameyesOptional name for new timer