Comments (4)
Assuming you are talking about Home Assistant events here. This is not part of the add-on, nor the responsibility of an add-on.
If you are interested in automating Spotify with Home Assistant, please take a look at the Spotify integration for Home Assistant.
from addon-spotify-connect.
Hi Frenck. I am indeed talking about Home Assistant events.
I am already automatisch the Spotify Addon, but when a guest plays music I have no media_players that update since his account isn’t integrated. The only reference I have is the Spotify Connect add on log.
Would it be possible for an add on to send out events?
from addon-spotify-connect.
See my previous answer
from addon-spotify-connect.
@davidrustingha If you still need this I have forked this addon and implemented simple events: https://github.com/pax0r/addon-spotify-connect
It uses on_song_change_hook
from spotifyd, but it will not send song names only IDs.
I wanted to automated changing audio source on my sound system to the input connected to the Home Assistant when playing music using this add-on. Spotify Integration was not an option as reaction was to slow for this use case (few seconds at least before changing state). With events directly from the addon works like a charm!
@frenck if you would change your mind about events sends by this add-on I can prepare PR with this change.
from addon-spotify-connect.
Related Issues (20)
- allow to use additional librespot runtime options like initial-volume and volume-ctrl HOT 10
- Add On Won't Start HOT 3
- WiFi speakers as HASS output HOT 1
- Fresh install, Addon Wont Start HOT 3
- not playing full playlist HOT 1
- No audio on Hass Blue / Odroid N2+ HOT 2
- Dependency Dashboard HOT 1
- Source/device disappears after not using it for some time HOT 3
- Addon stops working and never get reseted by watchdog HOT 1
- spotifyd crashed, halting add-on HOT 5
- Can not install 500 Server Error HOT 1
- Shutdown message is misleading and contains a typo HOT 1
- Source shown in Spotify App, but not in HA Integration / Spotify API HOT 1
- Connect integration to add-on HOT 5
- Error installing HOT 1
- Volume very low HOT 1
- Home Assistant Blue - No longer has the 3.5mm output option. HOT 6
- Pass through --zeroconf-port option to librespot from the HA addon UI? HOT 1
- librespot 0.4.2 UNKNOWN HOT 1
- Spotify Connect device not showing as media_player device? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addon-spotify-connect.