Custom Components: Instagram for home assistant

Link for project: https://github.com/hudsonbrendon/sensor.instagram

Instagram Sensor Component

Custom component to get full name, posts, followers, following from Instagram for Home Assistant

Installation

HACS

Manual

  • Copy directory custom_components/instagram to your /custom_components directory.
  • Configure.
  • Restart Home-Assistant.

Configuration

- platform: instagram
  username: your-instagram-username
  password: your-instagram-password

Debugging

logger:
  default: info
  logs:
    custom_components.instagram: debug
2 Likes

I love it! Thanks so much!
Is possible to have multiple sensor, one sensor for every voice? thanks

Yes, it would look like this:

- platform: instagram
   username: your-instagram-username-1
   password: your-instagram-password-1

- platform: instagram
   username: your-instagram-username-2
   password: your-instagram-password-2

- platform: instagram
   username: your-instagram-username-3
   password: your-instagram-password-3

Thanks for putting this together!

I’m getting an error in the logs:

Logger: homeassistant.components.hassio
Source: components/hassio/__init__.py:552
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 4:13:25 PM (1 occurrences)
Last logged: 4:13:25 PM

The system cannot restart because the configuration is not valid: Platform error sensor.instagram - Integration 'instagram' not found.

I’ve tried reinstalling and restarting Home Assistant before adding the config. When I add the config with my IG username, it won’t let me restart because it says the config is invalid and the Platform Instagram is not valid.

Do you have any suggestions? :grinning:

The integration was having a problem with the instagram API, I refactored the whole integration and it doesn’t happen anymore. Locally update your component with HAC’s to the new version, and take a look at the project readme why the settings have changed…

1 Like

The link to GH is a 404 and repo does not exist for @hudsonbrendon anymore?

1 Like

Your Instagram Sensor Component is a game-changer for Home Assistant! I gave it a shot, and the seamless integration is a lifesaver. Thanks for sharing this gem! I would also like to share this tool with you getlikes.com - it’s perfect for promoting an account. Are there any other cool projects on the horizon?