# How to pull data from Home Assistant?

**URL:** <https://community.influxdata.com/t/how-to-pull-data-from-home-assistant/16464>\
**Category:** InfluxDB 2\
**Created:** [October 24, 2020, 5:30am UTC](https://community.influxdata.com/t/how-to-pull-data-from-home-assistant/16464 "2020-10-24T05:30:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FormBurden](https://avatars.discourse-cdn.com/v4/letter/f/43a26b/32.png) [@FormBurden](https://community.influxdata.com/u/FormBurden)\
**Post date:** [October 24, 2020, 5:30am UTC](https://community.influxdata.com/t/how-to-pull-data-from-home-assistant/16464/1 "2020-10-24T05:30:50Z")

</div>

So updating and using InfluxDB 2.0 is quite the challenge, a beautiful interface but changed up quite a lot on config files. I know in Telegraf you have to do different settings such as Org, your token, bucket; is there something similar when editing the config files in Home Assistant? [Following this tutorial](https://selfhostedhome.com/storing-home-assistant-sensor-data-in-influxdb/) all you really have to do is edit the _configuration.yaml_ file in Home Assistant, but of course the instructions state for influxdb 1.x not 2.0. How would I do 2.0 config settings so I can pull the data?

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [October 26, 2020, 6:52pm UTC](https://community.influxdata.com/t/how-to-pull-data-from-home-assistant/16464/2 "2020-10-26T18:52:02Z")

</div>

Hello @FormBurden,  
I’m sorry you’re having trouble. I’m not quite sure I’m not familiar with Home Assistant. This compatibility documentation might be useful to you though.

> **[InfluxDB 1.x compatibility API | InfluxDB OSS 2.6 Documentation](https://docs.influxdata.com/influxdb/v2.0/reference/api/influxdb-1x/)**
>
> The InfluxDB v2 API includes InfluxDB 1.x compatibility endpoints that work with InfluxDB 1.x client libraries and third-party integrations like Grafana and others.

If you’re still having trouble please let me know and I’ll forward this question to someone who can help you better.

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [April 4, 2024, 9:36pm UTC](https://community.influxdata.com/t/how-to-pull-data-from-home-assistant/16464/4 "2024-04-04T21:36:23Z")

</div>

Hello @ingoratsdorf thank you for sharing your solution and welcome! What are you using home assistant with influxdb for? The documentation has certainly improved since then
