Wine cellar integration for Cellarion

Hi all,

Me and a couple of friends have been building a wine cellar app for a while called Cellarion.app Since my house runs on Home Assistant it was only a matter of time before the two had to talk to each other, so I wrote a custom integration for it, and after using it at home for a while I think it’s ready to share.

Full disclosure: we’re the team behind Cellarion, and the integration is mine. Everything is open source, the integration is MIT and Cellarion itself is AGPL. The easiest way is the hosted service at cellarion.app (free account), but if you prefer to keep everything at home you can run Cellarion in your own Docker, the integration works the same against both.

What you get in HA:

  • Sensors for the whole collection: bottle count, value, drink window buckets (at peak, declining, not ready and so on), health score, how many years your cellar will last at current pace
  • A dashboard card that comes bundled with the integration, no separate install. It shows a “Ready to drink” list sorted by which window closes first, and a “Drink soon” list for bottles on their way down. Every bottle has a small consume button, so when you grab one from the rack you tap it and it’s logged
  • A cellarion.consume_bottle action for automations. I have NFC tags on some rack slots, scan when I take the bottle and it’s logged without touching a screen
  • Updates are close to realtime. The integration keeps an SSE connection open to the server, so when you add or drink a bottle the sensors update after a few seconds. Nothing to configure, no ports to open, and it falls back to normal polling if the server doesn’t support it
  • Login is done with a scoped API token, your password is never stored in HA. Older setups migrate to a token automatically

Install: HACS → custom repositories → add https://github.com/jagduvi1/ha-cellarion as Integration, then add Cellarion under Settings → Devices & Services.

Repo with docs: GitHub - jagduvi1/ha-cellarion: Home Assistant integration for Cellarion (cellarion.app) — wine cellar stats, drink windows, maturity alerts, and consume-from-dashboard for the Cellarion wine cellar SaaS · GitHub

It’s tested against HA 2024.4 and up (CI runs hassfest, the HACS checks and a test suite on every change). Would be happy to hear what you think, and if you have ideas for automations around wine I’m all ears.

/Johan

2 Likes

Thanks for the share, looks really nice :slight_smile: Would be cool to add the Cellarion app itself as an app in HA so it could be easily installed in HA if you use HAOS :smiling_face_with_sunglasses:

I think it is better to have them apart. The wine Cellar app in its own docker (if you want to host it your self) else and easier is to use the cellarion.app (it is total free). And then just get the alert and some layout in ha with the custom component.

That is how we designed it. Cellarion is primary a wine cellar app and we opened up so we can use it for a custom component and the user self in ha can script and do stuff with the data if they like.

1 Like

Agreed keep it separated.

The way you did it may even invite someone to come along and write an LLM plug-in for thier system for your integration and the modularity works… Just sayin…

Its just special case inventory and we already do that so… :smiling_face_with_sunglasses::smiling_face_with_horns: :wine_glass:

1 Like

We are just now building a MCP in Cellarion, so in the future you should be able to handle your cellar with your preferred AI.

1 Like

For anyone that cares, now Cellarion have a nice MCP up and running, so take a look if you like.

That is so cool! have you considered environmental sensors for the cellar to ensure it is staying inside of the temperature, humidity and other important tolerances? I built an integration called Asset Intelligence and it is intended for assets that require the proper environment, including wine! tom-tagmdl/asset_intelligence: Asset-centric Home Assistant integration for environmental stewardship, risk evaluation, provenance, and explainable home intelligence. Look it up! I’m definitely adding your app to my list! Nice work!

1 Like

Nice, we released a interface for temperature and humidity. You can read about it here in the blog. Cellarion — Track & Manage Your Wine Collection | Free Open-Source Wine Cellar App

1 Like

That is amazing! I’m headed to Sonoma for a week in a couple of months with a several close friends - I will point them towards your app! this is right up their alley!

1 Like

Nice to hear, hopefully they will like it :slight_smile:

1 Like