Comments (9)
Hm, this is an interesting use case. Do you think this is something one could archive using Discovery/NetDisco? Could you try to find out the specifics?
from pymusiccast.
From my point of view discovery/netdisco would not help very much here. Because in my case I have configured these devices statically like this:
- platform: yamaha_musiccast
host: 192.168.178.xxx
name: Yamaha WX-030 Box
port: 5555 - platform: yamaha_musiccast
host: 192.168.178.yyy
name: Yamaha RX-V481 AVR
port: 5556
My implementation just assumed the device as STATE_OFF.
See line 126:
https://gist.github.com/runningman84/5464ec4dc39b10efd10828ca7cef25d0
from pymusiccast.
Well, actually I think this will not work here. pymusiccast queries Zone-information to setup the linked devices. Its also establishing a UDP-connection to receive live-events from your device. If the device is turned off, we can not establish the connection or finish the setup properly.
from pymusiccast.
yes but you could keep it in an offline state until it gets up?
from pymusiccast.
No, because I can't set it up properly. And my interpretation of good HASS-behaviour is that we shouldn't poll indefinitely to finish device setup.
from pymusiccast.
… and even if, how do I get notified that the device got up?
from pymusiccast.
hmm my device_tracker sensor could tell you...
from pymusiccast.
I think your request is getting a bit too far here. If you are able to provide a pull-request that solves this issue, I will be happy to accept it.
from pymusiccast.
@runningman84 FYI: home-assistant/core#10258 (comment)
from pymusiccast.
Related Issues (13)
- Media Player status limited HOT 8
- New Feature Request - Change Tuner Presets HOT 2
- Recent update has resulted in duplicate zones in HASS HOT 2
- [Errno 98] Address already in use HOT 1
- WX-010 not properly detected HOT 1
- Additional Zones not found using AV Controller with MultiZone MusicCast HOT 27
- Update README.md HOT 1
- Report Device/Zone-specific features HOT 1
- Seperate Network/USB from McDevice
- Report media_position
- Better updates to HASS
- Pause vs Stop using net radio HOT 1
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 pymusiccast.