I set up Home Assistant to integrate with BabyBuddy with the Baby Buddy Home Assistant Integration. I made a quick little keypad for adding data to baby buddy through a NodeMCU with ESPHome.
(see the BabyBuddy Bottle Scale integration here)
Its a simple 8 switch keypad. In my use case its used for 3 different lighting scenes (bright, medium, nightlight) and four baby buddy data points (solid diaper, wet diaper, start sleep, end sleep).
- 8 Key Switches
- 8 Key Caps
- a nodeMCU / ESP8266 board
- a HomeAssistant installation with an ESPHome integration
- some kind of enclosure - I just made a little wooden box with a table top CNC but theres some printable options on thingiverse too
- You'll need to be comfortable with ESPHome and loading that code onto your Esp8266. The included ESPHome code should work out of the box with just your wifi information.
- Add the Baby Buddy HA Integration if you haven't already.
- Add the Home Assistant YAML code to your HA configs. You'll need to add to automations.yaml
- You'll need to figure out your baby's entity ID number/name from HA for the automations to log correctly, and decide what notes will be helpful, and change the YAML as needed. You can figure this out by making a test service call from the HA developer section and see what the YAML shows you for entity_id
- Restart Home Assistant and you should be able to log data right away.