hassio-addons / addon-aircast Goto Github PK
View Code? Open in Web Editor NEWAirCast - Home Assistant Community Add-ons
Home Page: https://addons.community
License: MIT License
AirCast - Home Assistant Community Add-ons
Home Page: https://addons.community
License: MIT License
Hello
Could you please tell me if an addon exist for AirPlay to chromecast (the reverse of addon-aircast)
Thanks
Hi, very cool add-on!
I was wondering whether photo, video and screen casting are planned to be supported or are they completely out?
Thanks!
(Why the issue was filed)
(What you expected to happen)
(What actually happened)
(How can someone else make/see it happen)
(If you have a proposed change, workaround or fix,
describe the rationale behind it)
Looks like it's an exact duplicate of #126 which was locked by a bot
Audio is playing on a phone/laptop instead of airplay device, even though the device is selected as active.
Audio is played on a chromecast device
Audio stays on the source macbook/iphone
Set up AirCast with default settings and launch it. Select created nest mini mirror device in safari/youtube airplay dropdown.
[14:29:56.602967] main:974 Starting aircast version: v0.2.51.2 (Nov 1 2021 @ 23:31:02)
[14:29:56.603703] Start:732 Binding to 192.168.1.3
[14:30:30.022624] AddCastDevice:669 [0x40d2f30]: adding renderer (Living Room speaker)
[14:30:30.026710] bind_socket:791 socket binding 7 on port 48605
[14:30:30.028810] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[14:30:30.048802] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[14:30:31.026821] MRThread:278 [0x40d2f30]: Cast thread timer 1000 10000
[14:30:41.027295] MRThread:278 [0x40d2f30]: Cast thread timer 10000 10000
[14:30:41.122957] rtsp_thread:347 got RTSP connection 8
[14:30:41.126557] http_parse:1147 sock: 8, received CSeq: 0
[14:30:41.127991] http_parse:1147 sock: 8, received DACP-ID: B614A2B7E2874AA9
[14:30:41.128984] http_parse:1147 sock: 8, received Active-Remote: 1975221709
[14:30:41.130010] http_parse:1147 sock: 8, received User-Agent: AirPlay/615.12.1
Hi, thanks for your work, I am having an issue with the addon.
The addon doesn't start
normal behavior
Add-on: AirCast
AirPlay capabilities for your Chromecast devices.
-----------------------------------------------------------
Add-on version: 3.1.0
You are running the latest version of this add-on.
System: Home Assistant OS 5.13 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2021.5.0b5
Home Assistant Supervisor: 2021.04.3
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums, or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] aircast.sh: executing...
[cont-init.d] aircast.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[12:27:03] INFO: Starting the AirCast server...
[12:27:04.069798] main:974 Starting aircast version: v0.2.50.4 (Mar 13 2021 @ 17:28:49)
[12:27:04.070093] Start:732 Binding to 192.168.1.237
recv setsockopt(IP_PROTO_IP): Cannot assign requested address
unable to create recv socket
[12:27:04.079528] main:1015 Cannot start
Unexpected high load to system.
While running the add-on, I´d expect to see a slight increase in load while not playing any audio, possibly more when actually playing audio using the add-on.
As soon as the add-on is started, the CPU load skyrockets from approximately 2%-4% to a steady 25%-27%. This is without playing any audio.
Install and start the add-on while monitoring the system load.
Raspberry Pi 3
As seen in the attached image, for most of the last 24 hours I've been running both the AirCast and the AirSonos add-ons. At about 19:30 tonight I stopped the AirSonos add-on, and then at around 23:00 I stopped the AirCast add-on. Behavior is the same for both add-ons.
When I restart HA while sonos was streaming from airconnect, update for sonos fails
Sonos updates
Update for media_player.keuken fails
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 201, in async_update_ha_state
yield from self.async_device_update()
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 324, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/media_player/sonos.py", line 511, in update
track_info = self._player.get_current_track_info()
File "/usr/lib/python3.6/site-packages/soco/core.py", line 1219, in get_current_track_info
index = trackinfo.find(' - ')
AttributeError: 'NoneType' object has no attribute 'find'
restart HA while airconnect is streaming
There are several reasons for this:
Infinite number of groups are added for dynamic speaker groups created via nest display. A new one each time you create a group.
The ability to disable auto add of speaker groups.
No way to disable auto add of speaker groups.
using a nest display or Google home app add/remove speakers to currently playing music.
A config that either disables auto add of speaker groups or even better just disables auto add of dynamic groups.
Chromecast devices not detected when mdns repeater is used to bridge such traffic over multiple vlans.
Chromecast devices detected, shown in log, and shown in aircast.xml
No devices are reported in the log or recorded in aircast.xml
Run hassio in a separate vlan to Chromecast device.
Configure router to repeat mdns traffic over both vlans.
Configure router firewall to allow mdns traffic between both vlans.
Confirm that Chromecast devices are detectable from other vlan. Androids built in screen cast, or BBC iPlayer cast button, or Samsung printer app, or Nvidia shield remote app. Are all examples of applications that will fail if mdns traffic is not exposed, and will show devices if mdns traffic is exposed.
(These apps are showing devices as expected).
I don't know. I wondered if perhaps the coding was written to expect these devices to be in the same network segment, and perhaps exclude them if they are not.
I will try to look into the code this weekend.
I don't think this an unrealistic expectation, as repeating mdns traffic works for the other applications (listed above). But I do appreciate it wouldn't be required for most users.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Hass.io Add-on: AirCast
AirPlay capabilities for your Chromecast devices.
-----------------------------------------------------------
Add-on version: 2.0.1
You are running the latest version of this add-on.
System: Debian GNU/Linux 9 (stretch) (amd64 / qemux86-64)
Home Assistant version: 0.91.2
Supervisor version: 160
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] aircast.sh: executing...
[cont-init.d] aircast.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[23:22:22] INFO: Starting the AirCast server...
[23:22:22.678368] main:902 Starting aircast version: v0.2.8.0 (Mar 17 2019 @ 17:47:26)
[23:22:22.678509] Start:677 Binding to 10.10.10.16
Hi Guys,
I am very pleased with this addon. Thank for that!
I've been wondering if it is possible to give us an option to exclude some speakers from this addon. I do have more than couple google mini and every single one is discovered as airplay device.
I mean... this is great, but I am not using it anyway, as I have cool ass 40 years old speakers with google chromecast audio and all music is streaming into this speakers.
Also additional options on airplay devices list makes my Girl all confused. Please do not let ma girl to get lost in the Home Automatization World ;)
I recently re-discovered that I had the AddOn installed and was really happy to be able to easily play my audible audiobooks through my speaker group using AirCast, when I connect my phone (iOS 15.2) to one of the AirCast devices it looks like it’s connected but no matter which App I try to play audio from, it just plays it on my phone, instead of the AirCast device and ultimately on my Nest Audio/Google Home Mini
When connected to an AirCast device it should act like a normal AirPlay Device and take over the audio.
as mentioned above my phone’s UI acts like it is connected (blue AirPlay Symbol, indicating a connection to an AirPlay device, the Volume Control in the control center also has the appropriate Symbol depicting a AirPlay speaker in it) but any App I tried, and “System Sounds” coming from my phone do not come through the connected Device but instead just my phone as if nothing was conncted.
i already tried changing the Settings for the Latency and set it from 0 to 500/100 with no luck on either setting
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: AirCast
AirPlay capabilities for your Chromecast devices.
-----------------------------------------------------------
Add-on version: 3.2.0
You are running the latest version of this add-on.
System: Home Assistant OS 7.1 (armv7 / raspberrypi3)
Home Assistant Core: 2021.12.8
Home Assistant Supervisor: 2021.12.2
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to DEBUG
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] aircast.sh: executing...
[cont-init.d] aircast.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[12:28:17] INFO: Starting the AirCast server...
[12:28:19.640510] main:974 Starting aircast version: v0.2.51.2 (Nov 1 2021 @ 23:30:44)
[12:28:19.641020] Start:732 Binding to 10.0.0.36
[12:28:19.738309] mDNSsearchCallback:405 ----------------- round ------------------
[12:28:19.738461] mDNSsearchCallback:409 [ACTIVE] host 10.0.0.148, srv 10.0.0.148, name MiProjA1-25bb126d60eef86e1c0e03513c51ab7d._googlecast._tcp.local
[12:28:19.738610] AddCastDevice:669 [0x129aad8]: adding renderer (Living Room TV)
[12:28:19.739872] bind_socket:791 socket binding 7 on port 35937
[12:28:19.740422] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[12:28:19.742687] mDNSsearchCallback:405 ----------------- round ------------------
[12:28:19.742768] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 10.0.0.148, name MiProjA1-25bb126d60eef86e1c0e03513c51ab7d._googlecast._tcp.local
[12:28:19.742810] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[12:28:19.747480] mDNSsearchCallback:405 ----------------- round ------------------
[12:28:19.747562] mDNSsearchCallback:409 [ACTIVE] host 10.0.0.67, srv 10.0.0.67, name Google-Home-Mini-1bac585f587f84d453381b6e0d20d7e6._googlecast._tcp.local
[12:28:19.748391] AddCastDevice:669 [0x129b450]: adding renderer (Schlafzimmer)
[12:28:19.749659] bind_socket:791 socket binding 8 on port 48303
[12:28:19.751247] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[12:28:19.753417] mDNSsearchCallback:405 ----------------- round ------------------
[12:28:19.753489] mDNSsearchCallback:409 [ACTIVE] host 10.0.0.67, srv 10.0.0.67, name Google-Cast-Group-40503470F8A0478CAF40C8053070C3A5-1._googlecast._tcp.local
[12:28:19.753589] AddCastDevice:669 [0x129bdc8]: adding renderer (Felix SpeakerGroup)
[12:28:19.755412] bind_socket:791 socket binding 11 on port 42039
[12:28:19.757174] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[12:28:19.759384] mDNSsearchCallback:405 ----------------- round ------------------
[12:28:19.759459] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 10.0.0.67, name Google-Home-Mini-1bac585f587f84d453381b6e0d20d7e6._googlecast._tcp.local
[12:28:19.759501] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[12:28:19.761828] mDNSsearchCallback:405 ----------------- round ------------------
[12:28:19.761888] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 10.0.0.67, name Google-Cast-Group-40503470F8A0478CAF40C8053070C3A5-1._googlecast._tcp.local
[12:28:19.761926] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[12:28:40.112387] mDNSsearchCallback:405 ----------------- round ------------------
[12:28:40.112463] mDNSsearchCallback:409 [ACTIVE] host 10.0.0.170, srv 10.0.0.170, name Nest-Audio-46b693f5e537b9f066c24b128176d144._googlecast._tcp.local
[12:28:40.112564] AddCastDevice:669 [0x129c740]: adding renderer (Felix Speaker)
[12:28:40.113493] bind_socket:791 socket binding 13 on port 36679
[12:28:40.113943] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[12:28:45.937162] mDNSsearchCallback:405 ----------------- round ------------------
[12:28:45.937434] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 10.0.0.170, name Nest-Audio-46b693f5e537b9f066c24b128176d144._googlecast._tcp.local
[12:28:45.937745] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[12:28:48.254517] rtsp_thread:347 got RTSP connection 15
[12:28:48.255930] http_parse:1147 sock: 15, received CSeq: 0
[12:28:48.256575] http_parse:1147 sock: 15, received DACP-ID: 3648A4016AA50412
[12:28:48.256866] http_parse:1147 sock: 15, received Active-Remote: 1377025890
[12:28:48.257136] http_parse:1147 sock: 15, received User-Agent: AirPlay/600.8.1
[12:29:58.913163] read_line:1219 disconnected on the other end 15
[12:29:58.913451] rtsp_thread:362 RTSP close 15
[12:29:58.952381] rtsp_thread:347 got RTSP connection 12
[12:29:58.954156] http_parse:1147 sock: 12, received CSeq: 0
[12:29:58.955191] http_parse:1147 sock: 12, received DACP-ID: 2E2D68CBBAC12CA
[12:29:58.956019] http_parse:1147 sock: 12, received Active-Remote: 561009629
[12:29:58.956573] http_parse:1147 sock: 12, received User-Agent: AirPlay/600.8.1
Originally posted by @frenck in #8 (comment)
Problem still persists on v2.0.2
All details appear to be identical
Essentially re-opening issue 50. It used to be that aircast would discover the chromecast audio devices more or less immediately, now it seems not to find them until aircast is restarted. This makes it far less effective than it once was. I’m not sure when behaviour changed.
(Why the issue was filed)
When chromecast audio Is powered on and joins the network, Aircast should quickly discover this
And make it available to airplay
(What you expected to happen)
Chromecast is not discovered until aircast is restarted
(What actually happened)
Power cycle chromecast audio
Hello,
I have a problem, I downloaded your Aircast module on Home-Assistant but when I start it this happens in the console
-----------------------------------------------------------
Add-on: AirCast
AirPlay capabilities for your Chromecast devices.
-----------------------------------------------------------
Add-on version: 3.2.0
You are running the latest version of this add-on.
System: Home Assistant OS 6.6 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2021.11.3
Home Assistant Supervisor: 2021.10.8
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] aircast.sh: executing...
[cont-init.d] aircast.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[18:52:44] INFO: Starting the AirCast server...
[18:52:45.570814] main:974 Starting aircast version: v0.2.51.2 (Nov 1 2021 @ 23:31:02)
[18:52:45.571178] Start:732 Binding to 10.0.4.140
[18:52:46.204133] AddCastDevice:669 [0x31fa9270]: adding renderer (KD-55AF8)
[18:52:49.022750] rtsp_thread:347 got RTSP connection 8
[18:52:49.026106] rtsp_thread:362 RTSP close 8
I would love to use what the module does
Thanks
(Why the issue was filed)
(What you expected to happen)
(What actually happened)
(How can someone else make/see it happen)
(If you have a proposed change, workaround or fix,
describe the rationale behind it)
Add-on does not start.
Normal Operation
`[02:12:33] INFO: #33[32mStarting the AirCast server...#33[0m
[02:12:33.797370] main:974 Starting aircast version: v0.2.51.2 (Nov 1 2021 @ 23:31:36)
[02:12:33.797521] Start:732 Binding to 10.10.10.208
recv setsockopt(IP_PROTO_IP): Cannot assign requested address
unable to create recv socket
`
aircast releases 3.2.1, and 3.3.0
core-2022.3.5
supervisor-2022.03.4
Debian GNU/Linux 11 (bullseye)
AMD Ryzen 5 PRO 4650GE
As this has been brought up a couple of times, and they've been closed with inactivity, I assume either they lost interest in the addon, or found the problem. Any assistance to get this working would be fantastic, and can be logged here in case it is a specific port that's being blocked.
Logs spam PROT�INFO: Starting the AirCast server
It successfully starting
Not starting and spamming PROT�INFO: Starting the AirCast server
in the logs
Start it
Rock64 (it's armv8 so it's supported I think)
(Why the issue was filed)
(What you expected to happen)
(What actually happened)
(How can someone else make/see it happen)
(If you have a proposed change, workaround or fix,
describe the rationale behind it)
Hi,
This add-on works except that all my devices show up as audio devices.
I have a Google TV, and another TV with a built-in chrome cast and all of them are showing up as audio devices.
When I connect to them through airplay, I only get the audio through them.
I have a google home mini on the same network, and it's working perfectly when I use it through this add-on (I don't know if this would help identify the issue).
my add-on current version: 3.1.1
Home Assistant OS version: 6.0
Home Assistant core version: 2021.6.5
Home Assistant supervisor version: 2021.06.3
I'm not able to cast anything to my TV (Philips 55OLED804/12+) via aiplay from the iphone7 and iphone 11 pro. There is empty list of devices or sometimes "Aiplay is unavailable" when I click on share with Airplay on any media item.
Logs:
19:08:54] TRACE: bashio::var.true: true
[19:08:54.491604] main:952 Starting aircast version: v0.2.28.2 (Oct 24 2020 @ 13:22:52)
[19:08:54.491862] Start:716 Binding to 192.168.1.145
[19:08:54.616644] AddCastDevice:653 [0x17d6798]: adding renderer (55OLED804/12)
[19:08:54.618085] mDNSsearchCallback:535 Updating configuration /config/aircast.xml
[19:08:54.620674] mDNSsearchCallback:535 Updating configuration /config/aircast.xml
There are no any errors in aircast logs.
Should be able to cast to TV with chromecast
Not working
Share with Airplay from Iphone 7 or Iphone 11 pro.
My configuration:
IOS version 14.0.1
Home Assistant 0.116.4
Aircast version: v0.2.28.2
Aircast config:
address: ''
latency_rtp: 5000
latency_http: 0
drift: true
log_level: trace
I have updated my iphone to the latest version 15.0.2 and the addon does not work. I have another device with ios 15.0 and it works. I have checked the logs but I don't see any kind of error message.
I would like to know if by any chance this add-on will update to AirPlay 2 and leave behind the old AirPlay.
Thank you !
First time trying this awesome addon (thanks, already!) music fails to playback on Chromecast, even though setup looks fine, all devices find and interact with each other.
Unable to playback music, Chromecast opens streaming app
Streaming appears to start (on both sides (iPhone and Chromecast), no music playback.
With buffer overrun several times. Sorry for no text logs, this was captured with the server and client 2000km away, unable to run the tests again at the moment.
Home Assistant 6.4 as a VM in ESXi 6.5, pfSense firewall with Avahi and firewall rules configured
I will gladly help debugging.
This plugin seems so good!
Is possible to install it on a HomeAssistant installation based on Docker? 🙏
Hello. After using the addon for a while, when I changed from device ha server (previously it was on a rasp pi and now it's on a nuc) I can't get the addon to work like it used to and I get this error constantly:
[12:47:54] INFO: Starting the AirCast server...
[12:47:55.106693] main:974 Starting aircast version: v0.2.51.2 (Nov 1 2021 @ 23:31:36)
[12:47:55.106781] Start:732 Binding to xxx.xxx.x.xx
recv setsockopt(IP_PROTO_IP): Cannot assign requested address
unable to create recv socket
My system:
Home Assistant SO v7.1
supervisor-2022.01.1
If someone could give me a hand I would be very grateful
Is this based on the AirConnect or AirCast project?
Is possible to add screen mirroring feature to mirror from iOS to androidTV devices ?
This is "nice to have".
In the Add-Ons settings page, the indicator whether an Add-Ons is running or not is that it has color or is greyscale. AirCast's active icon is black and white, so its state can't be inferred without taking additional steps (hoover or entering Add-On page).
Add some color to the icon :)
News is that AirPlay2 with multi-room is working now. Since it has been reverse engineered, is it possible that AirCast will see it added?
Originally posted by @invano in mikebrady/shairport-sync#535 (comment)
Hi Franck,
First of all, thx for creating this amazing add-on!
I was wondering if it is possible to display cover-art in hassio’s (default) media player.
When I stream music from Apple Music to a Google Home Mini (using AirCast), it won’t show any covers for example.
I'm trying to cast a photo or a video from iOS photos app.
The ChromeCast device is listed as a AirPlay cabable device
Nothing is shown
1- Open iOS photos app
2- Click on a photo/video
3- Click on share icon
4- Select AirPlay from the menu
5- An empty list of devices is shown
iPhone cannot connect to Aircast devices
Connect and play successfully
In the logs I get this:
[08:14:42.598461] rtsp_thread:351 got RTSP connection 32
[08:14:47.461219] handle_rtsp:399 [0xb52179c0]: challenge dOLOqhKzw1hKkLjjGhxrew==
[08:14:47.489435] handle_rtsp:392 [0xb52179c0]: received ANNOUNCE
[08:14:47.504442] handle_rtsp:591 [0xb52179c0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 4
[08:14:47.520407] handle_rtsp:392 [0xb52179c0]: received SETUP
[08:14:47.525402] handle_rtsp:591 [0xb52179c0]: responding:
RTSP/1.0 200 OK
Transport: RTP/AVP/UDP;unicast;mode=record;control_port=35976;timing_port=42420;server_port=42014
Session: DEADBEEF
Audio-Jack-Status: connected; type=analog
CSeq: 5
[08:14:47.533143] handle_rtsp:392 [0xb52179c0]: received RECORD
[08:14:48] INFO: Starting the AirCast server...
[08:14:48.652824] main:952 Starting aircast version: v0.2.28.2 (Oct 24 2020 @ 13:22:52)
[08:14:48.653393] Start:716 Binding to 192.168.1.184
And then the normal startup procedure.
Cast to any Aircast device
(If you have a proposed change, workaround or fix,
describe the rationale behind it)
To allow speakers with both Airplay and Chromecast built in to be excluded so it doesnt create duplicate airplay destinations for the same device in Aircast
enable renaming and excluding speakers, also set other settings in the config file
cannot edit config file
align the addon with the regular application which allows config file modification
align the addon with the regular application which allows config file modification
Sorry to ask here but I've scoured the internet and all I can find is that hass.io and home assistant are a bit different? Is there no way to make use of this if I don't have an add-on panel?
Thanks!
(Why the issue was filed)
(What you expected to happen)
(What actually happened)
(How can someone else make/see it happen)
(If you have a proposed change, workaround or fix,
describe the rationale behind it)
I see references to being able to edit the config file in order to limit the number of device you wish to make available but I have not been successful in doing that. Is it possible to comment out the specific devices? Whenever I do that, upon starting the add-on it just re-writes the xml file to the previous state. Any help would be greatly appreciated!
Will this also work for airplay to sonos, like this https://github.com/philippe44/AirConnect
When connecting to a Google Home, etc and playing an Audible audiobook, the cast "ding" seems to happen and volume controls work, but no audio is played.
Audio to play.
Volume control seems to work, but no audio is played.
Logs:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: AirCast
AirPlay capabilities for your Chromecast devices.
-----------------------------------------------------------
Add-on version: 3.1.0
You are running the latest version of this add-on.
System: Home Assistant OS 5.13 (amd64 / qemux86-64)
Home Assistant Core: 2021.4.6
Home Assistant Supervisor: 2021.04.3
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] aircast.sh: executing...
[cont-init.d] aircast.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[09:15:25] INFO: Starting the AirCast server...
[09:15:25.285895] main:974 Starting aircast version: v0.2.50.4 (Mar 13 2021 @ 17:29:25)
[09:15:25.285986] Start:732 Binding to 10.60.0.101
[09:15:25.290227] AddCastDevice:669 [0x7f08f0]: adding renderer (REDACTED Bedroom TV)
[09:15:25.291141] AddCastDevice:669 [0x7f1288]: adding renderer (Bathroom speaker)
[09:15:25.294856] AddCastDevice:669 [0x7f1c20]: adding renderer (Main Group)
[09:15:25.296059] AddCastDevice:669 [0x7f25b8]: adding renderer (Main Group)
[09:15:25.364276] AddCastDevice:669 [0x7f2f50]: adding renderer (REDACTED-2 Bedroom speaker)
[09:15:25.366019] AddCastDevice:669 [0x7f38e8]: adding renderer (REDACTED-2 Bedroom TV)
[09:15:25.372334] AddCastDevice:669 [0x7f4280]: adding renderer (Kitchen speaker)
[09:15:25.376785] AddCastDevice:669 [0x7f4c18]: adding renderer (REDACTED Bedroom clock)
Logs:
Audio-Jack-Status: connected; type=analog
CSeq: 17
[09:04:15.001545] handle_rtsp:388 [0x7f5e3801e390]: received SET_PARAMETER
[09:04:15.001575] handle_rtsp:555 [0x7f5e3801e390]: SET PARAMETER volume -10.624999
[09:04:15.001639] CastSetDeviceVolume:326 [0x810c18]: Immediate VOLUME (id:12)
[09:04:15.001647] raop_cb:239 [0x810c18]: Volume[0..1] 0.6458
[09:04:15.001660] handle_rtsp:592 [0x7f5e3801e390]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 18
[09:04:15.439663] handle_rtsp:388 [0x7f5e3801e390]: received SET_PARAMETER
[09:04:15.439691] handle_rtsp:555 [0x7f5e3801e390]: SET PARAMETER volume -8.749999
[09:04:15.439751] CastSetDeviceVolume:326 [0x810c18]: Immediate VOLUME (id:14)
[09:04:15.439760] raop_cb:239 [0x810c18]: Volume[0..1] 0.7083
[09:04:15.439775] handle_rtsp:592 [0x7f5e3801e390]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 19
[09:04:17.720590] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1024
[09:04:17.728219] buffer_put_packet:648 [0x7f5e200061e0]: fill [level:962] [W:58035 R:57074]
[09:04:18.217462] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:18.730302] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:19.243542] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:19.756517] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:20.269440] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:20.782385] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:21.295208] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:21.808033] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:21.815341] buffer_put_packet:648 [0x7f5e200061e0]: fill [level:962] [W:58547 R:57586]
[09:04:22.304844] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:22.322421] handle_rtsp:388 [0x7f5e3801e390]: received SET_PARAMETER
[09:04:22.322439] handle_rtsp:572 [0x7f5e3801e390]: received metadata
artist: F. Scott Fitzgerald
album: The Great Gatsby
title: Chapter 1
[09:04:22.322457] handle_rtsp:592 [0x7f5e3801e390]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 24
[09:04:22.326648] handle_rtsp:388 [0x7f5e3801e390]: received SET_PARAMETER
[09:04:22.326666] handle_rtsp:592 [0x7f5e3801e390]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 25
[09:04:22.817710] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:23.330601] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:23.843476] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:24.356403] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:24.869331] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:25.382216] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:25.879165] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:25.901176] buffer_put_packet:648 [0x7f5e200061e0]: fill [level:962] [W:59059 R:58098]
[09:04:26.392506] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:26.654875] handle_rtsp:388 [0x7f5e3801e390]: received SET_PARAMETER
[09:04:26.654899] handle_rtsp:555 [0x7f5e3801e390]: SET PARAMETER volume -20.000000
[09:04:26.654976] CastSetDeviceVolume:326 [0x810c18]: Immediate VOLUME (id:16)
[09:04:26.654982] raop_cb:239 [0x810c18]: Volume[0..1] 0.3333
[09:04:26.654994] handle_rtsp:592 [0x7f5e3801e390]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 28
[09:04:26.873469] handle_rtsp:388 [0x7f5e3801e390]: received SET_PARAMETER
[09:04:26.873493] handle_rtsp:572 [0x7f5e3801e390]: received metadata
artist: F. Scott Fitzgerald
album: The Great Gatsby
title: Epigraph
[09:04:26.873513] handle_rtsp:592 [0x7f5e3801e390]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 29
[09:04:26.905612] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:27.418582] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:27.931596] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:28.444642] _buffer_get_frame:946 [0x7f5e200061e0]: Buffer overrun 1025
[09:04:28.690728] handle_rtsp:388 [0x7f5e3801e390]: received TEARDOWN
[09:04:28.701178] http_thread_func:1243 [0x7f5e200061e0]: terminating
[09:04:28.737798] rtp_thread_func:853 [0x7f5e200061e0]: terminating
[09:04:28.738030] raop_cb:192 [0x810c18]: Stop
[09:04:28.738037] CastStop:254 [0x810c18]: Queuing STOP
[09:04:28.738053] handle_rtsp:592 [0x7f5e3801e390]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 31
[09:04:28.742505] rtsp_thread:362 RTSP close 22
More logs, some from another device:
[09:08:50.576988] hairtunes_flush:495 [0x7f5e1c0043a0]: FLUSH ignored as same as RECORD (49891 - 2727093022)
[09:08:50.576989] hairtunes_flush:511 [0x7f5e1c0043a0]: flush 49891 2727093022
[09:08:50.577015] handle_rtsp:592 [0x7f5e3800ffa0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 8
[09:08:50.578085] flac_init:220 [0x7f5e1c0043a0]: Using FLAC-0 (0x7f5e0c000b20)
[09:08:50.578124] buffer_put_packet:648 [0x7f5e1c0043a0]: fill [level:1] [W:49891 R:49891]
[09:08:50.599925] raop_cb:213 [0x80d288]: Play
[09:08:50.637955] CastConnect:365 [0x80d288]: SSL connection opened [0x7f5e38012460]
[09:08:50.638020] CastLoad:175 [0x80d288]: Queuing LOAD
[09:08:50.638024] CastSimple:212 [0x80d288]: Queuing PLAY
[09:08:50.638025] CastSetDeviceVolume:336 [0x80d288]: Queuing SET_VOLUME
[09:08:50.683647] CastSocketThread:758 [0x80d288]: Launching receiver 1
[09:08:50.829544] CastSocketThread:786 [0x80d288]: Receiver launched
[09:08:50.829634] ProcessQueue:582 [0x80d288]: Processing VOLUME (id:3)
[09:08:51.074850] ProcessQueue:608 [0x80d288]: Processing LOAD (id:4)
[09:08:52.281269] http_thread_func:1087 [0x7f5e1c0043a0]: got HTTP connection 30 (silent frames 0)
[09:08:52.287247] handle_http:1272 [0x7f5e1c0043a0]: received GET HTTP/1.1
Host: 10.60.0.101:55357
Connection: keep-alive
User-Agent: Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.188 Safari/537.36 CrKey/1.54.250118
Range: bytes=0-
Accept-Encoding: identity;q=1, *;q=0
Accept: */*
CAST-DEVICE-CAPABILITIES: {"audio_assistant":true,"bluetooth_supported":true,"display_supported":false,"hi_res_audio_supported":false,"remote_control_input_supported":false,"touch_input_supported":false}
Accept-Language: en-US,en;q=0.9
[09:08:52.287270] handle_http:1318 [0x7f5e1c0043a0]: responding: HTTP/1.0 200 OK
Server: HairTunes
Content-Type: audio/flac
Connection: close
[09:08:52.457918] handle_rtsp:388 [0x7f5e3800ffa0]: received SET_PARAMETER
[09:08:52.457940] handle_rtsp:592 [0x7f5e3800ffa0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 9
[09:08:52.462962] handle_rtsp:388 [0x7f5e3800ffa0]: received SET_PARAMETER
[09:08:52.462981] handle_rtsp:592 [0x7f5e3800ffa0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 10
[09:08:52.467059] handle_rtsp:388 [0x7f5e3800ffa0]: received SET_PARAMETER
[09:08:52.467089] handle_rtsp:572 [0x7f5e3800ffa0]: received metadata
artist: F. Scott Fitzgerald
album: The Great Gatsby
title: Chapter 1
[09:08:52.467117] handle_rtsp:592 [0x7f5e3800ffa0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 11
[09:08:54.118193] search_remote_cb:638 [0x7f5e3800ffa0]: found ActiveRemote for A20A10762E354665 at 10.0.0.238:49699
[09:08:54.678409] buffer_put_packet:648 [0x7f5e1c0043a0]: fill [level:513] [W:50403 R:49891]
[09:08:58.730295] _buffer_get_frame:946 [0x7f5e1c0043a0]: Buffer overrun 1024
[09:08:58.750747] buffer_put_packet:648 [0x7f5e1c0043a0]: fill [level:962] [W:50915 R:49954]
[09:08:59.243192] _buffer_get_frame:946 [0x7f5e1c0043a0]: Buffer overrun 1025
[09:08:59.756065] _buffer_get_frame:946 [0x7f5e1c0043a0]: Buffer overrun 1025
[09:09:00.269112] _buffer_get_frame:946 [0x7f5e1c0043a0]: Buffer overrun 1025
[09:09:00.781926] _buffer_get_frame:946 [0x7f5e1c0043a0]: Buffer overrun 1025
[09:09:01.294898] _buffer_get_frame:946 [0x7f5e1c0043a0]: Buffer overrun 1025
[09:09:01.807848] _buffer_get_frame:946 [0x7f5e1c0043a0]: Buffer overrun 1025
[09:09:02.304801] _buffer_get_frame:946 [0x7f5e1c0043a0]: Buffer overrun 1025
[09:09:02.732808] handle_rtsp:388 [0x7f5e3800ffa0]: received SET_PARAMETER
[09:09:02.732834] handle_rtsp:572 [0x7f5e3800ffa0]: received metadata
artist: F. Scott Fitzgerald
album: The Great Gatsby
title: Chapter 1
[09:09:02.732849] handle_rtsp:592 [0x7f5e3800ffa0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 18
[09:09:02.817768] _buffer_get_frame:946 [0x7f5e1c0043a0]: Buffer overrun 1025
[09:09:02.836197] buffer_put_packet:648 [0x7f5e1c0043a0]: fill [level:962] [W:51427 R:50466]
[09:09:03.330657] _buffer_get_frame:946 [0x7f5e1c0043a0]: Buffer overrun 1025
[09:09:03.843665] _buffer_get_frame:946 [0x7f5e1c0043a0]: Buffer overrun 1025
[09:09:04.231974] handle_rtsp:388 [0x7f5e3800ffa0]: received TEARDOWN
[09:09:04.244387] http_thread_func:1243 [0x7f5e1c0043a0]: terminating
[09:09:04.279264] rtp_thread_func:853 [0x7f5e1c0043a0]: terminating
[09:09:04.279370] raop_cb:192 [0x80d288]: Stop
[09:09:04.279403] CastStop:254 [0x80d288]: Queuing STOP
[09:09:04.279424] handle_rtsp:592 [0x7f5e3800ffa0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 19
[09:09:04.283560] rtsp_thread:362 RTSP close 10
[09:09:28.878173] MRThread:336 [0x810c18]: Cast peer closed connection
No workaround known.
The Google Nest Mini device is discovered automatically when the aircast service is started and I'm able to send audio from multiple devices. It works correctly for some hours and suddenly it disappears for the AirPlay devices list and it doesn't get back until I restart the Aircast service.
I expect the device to be automatically discovered and be available while executing the Aircast service.
The device suddenly becomes unavailable.
Tested with multiple google home devices, both 1st and 2nd generation: Connect the google home to wifi network while Aircast service is running. It quickly becomes available as "nameOfTheDevice+" speaker in AirPlay and you're able to play music on it. After a while (in terms of hours) it becomes unavailable and doesn't show again unless I restart the AirCast service. The restart starts the behaviour loop again.
Workaround: Restarting the AirCast seems to do the trick... for some hours.
Add-on: AirCast
AirPlay capabilities for your Chromecast devices.
-----------------------------------------------------------
Add-on version: 3.0.0
You are running the latest version of this add-on.
System: Ubuntu 20.04.2 LTS (amd64 / intel-nuc)
Home Assistant Core: 2021.1.5
Home Assistant Supervisor: 2021.03.4
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] aircast.sh: executing...
[cont-init.d] aircast.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[16:33:17] INFO: Starting the AirCast server...
[16:33:17.699018] main:966 Starting aircast version: v0.2.43.1 (Jan 14 2021 @ 22:17:01)
[16:33:17.699725] Start:727 Binding to 192.168.1.52
[16:33:17.781838] AddCastDevice:664 [0xa470a0]: adding renderer (Habitación)
[02:11:08.685339] mDNSsearchCallback:535 [0xa470a0]: removing renderer (Habitación+) 176
[02:11:08.686678] DeleteCastDevice:512 [0xa470a0]: Cast device stopped
[02:11:45.289985] AddCastDevice:664 [0xa470a0]: adding renderer (Habitación)
[02:11:45.291668] mDNSsearchCallback:535 [0xa470a0]: removing renderer (Habitación+) 176
[02:11:45.293994] DeleteCastDevice:512 [0xa470a0]: Cast device stopped
[02:11:45.295082] AddCastDevice:664 [0xa470a0]: adding renderer (Habitación)
[02:11:45.295207] mDNSsearchCallback:535 [0xa470a0]: removing renderer (Habitación+) 176
[02:11:45.295700] DeleteCastDevice:512 [0xa470a0]: Cast device stopped
[12:00:01.113077] AddCastDevice:664 [0xa470a0]: adding renderer (Habitación)
[12:00:01.113765] mDNSsearchCallback:535 [0xa470a0]: removing renderer (Habitación+) 176
I have a delay of about 1 second between audio and video using Netflix on my iPad and a google home mini like an airplay audio speaker
I want to watch video on my iPad and use google home mini like an audio speaker
but audio and video are not synchronized
Is there a way to adjust audio and video synchronization?
I installed hass.io 5 Beta version on a Raspberry PI 4 with 8GB (arm64 version). Aircast add-on is installed no "virtual" airplay device will be found by my Mac. What could be the problem?
Add-on version: 2.3.2
You are running the latest version of this add-on.
System: HassOS 5.0 (aarch64 / raspberrypi4-64)
Home Assistant Core: 0.113.2
Home Assistant Supervisor: 229
Tried two add-on configurations:
address: ''
latency_rtp: 5000
latency_http: 0
drift: true
log_level: trace
and
address: '0.0.0.0'
latency_rtp: 5000
latency_http: 0
drift: true
log_level: trace
Streaming audio via Airplay from iOS devices to Google Cast groups causes Cast devices' volumes to be limited to the 0-50% range (as controllable by the Airplay source device)
Individual Chromecast devices (incl. Google Home and Chromecast Audio) appear to have the volume level from the Airplay source device mapped to the Chromecast's full 0-100% output range, as expected. Changing the volume on the source (iOS) device with either in-app or physical controls causes the Chromecast device to match the volume level accordingly.
Using the same devices that individually acted as expected, but added into a Cast group, causes the Airplay source volume range to be mapped to 0-50% of the group's output.
Using the volume controls on the Airplay source (iOS) device does adjust the output volume of the Chromecast group accordingly, where 50% on the Airplay device corresponds to a 25% volume level on the Chromecast group.
Also, while the Chromecast group's volume can be temporarily set higher with the Google Home app -independently of the Airplay device's set volume level - any change in the Airplay device's volume level, source selection incl track changes, muting, or device notifications that duck the audio level, resets the Chromecast group's volume to that of the Airplay device (between 0-50%)
Identify why the Airplay volume range is mapped differently for groups than individual devices, and correct it to match
Chromecast devices are recognized upon system startup, but are shortly purged
Find chromecast devices in the network and keep them available
cont-init.d] 00-banner.sh: executing...
Add-on: AirCast
AirPlay capabilities for your Chromecast devices.Add-on version: 3.1.1
You are running the latest version of this add-on.
System: Home Assistant OS 6.0 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2021.6.6
Home Assistant Supervisor: 2021.06.3Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to DEBUG
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] aircast.sh: executing...
[cont-init.d] aircast.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[07:48:50] INFO: Starting the AirCast server...
[07:48:50.592570] main:974 Starting aircast version: v0.2.50.5 (May 24 2021 @ 15:12:31)
[07:48:50.593241] Start:732 Binding to 192.168.7.75
[07:48:50.620783] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.621130] mDNSsearchCallback:409 [ACTIVE] host 192.168.7.13, srv 192.168.7.13, name SHIELD-Android-TV-9d754fd9d6c7de031d6b31d34a03ec65._googlecast._tcp.local
[07:48:50.621257] AddCastDevice:669 [0x330db280]: adding renderer (Weasel)
[07:48:50.621426] AddCastDevice:675 [0x330db280]: creating MAC 330db28a
[07:48:50.622819] bind_socket:791 socket binding 8 on port 53879
[07:48:50.623715] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:48:50.625319] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.625627] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.7.13, name SHIELD-Android-TV-9d754fd9d6c7de031d6b31d34a03ec65._googlecast._tcp.local
[07:48:50.625742] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:48:50.627381] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.627794] mDNSsearchCallback:409 [ACTIVE] host 192.168.7.12, srv 192.168.7.12, name SHIELD-Android-TV-dbddcacf75ea25d62841ace6b4bb88bf._googlecast._tcp.local
[07:48:50.627912] AddCastDevice:669 [0x330dbc20]: adding renderer (Roci)
[07:48:50.628042] AddCastDevice:675 [0x330dbc20]: creating MAC 330dbc2a
[07:48:50.628898] bind_socket:791 socket binding 11 on port 56769
[07:48:50.629729] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:48:50.631961] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.632293] mDNSsearchCallback:409 [ACTIVE] host 192.168.7.11, srv 192.168.7.11, name SHIELD-Android-TV-c4715e2167d52a82b1e9ede31dc8ed5d._googlecast._tcp.local
[07:48:50.632440] AddCastDevice:669 [0x330dc5c0]: adding renderer (Boogle)
[07:48:50.632590] AddCastDevice:675 [0x330dc5c0]: creating MAC 330dc5ca
[07:48:50.633673] bind_socket:791 socket binding 14 on port 38853
[07:48:50.634678] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:48:50.636723] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.637062] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.7.12, name SHIELD-Android-TV-dbddcacf75ea25d62841ace6b4bb88bf._googlecast._tcp.local
[07:48:50.637192] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:48:50.638472] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.638655] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.7.11, name SHIELD-Android-TV-c4715e2167d52a82b1e9ede31dc8ed5d._googlecast._tcp.local
[07:48:50.638736] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:48:50.640194] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.640477] mDNSsearchCallback:409 [ACTIVE] host 192.168.7.5, srv 192.168.7.5, name Google-Nest-Hub-Max-4e0821518f14a17b044cb992966936a2._googlecast._tcp.local
[07:48:50.640585] AddCastDevice:669 [0x330dcf60]: adding renderer (Master Bedroom Display)
[07:48:50.640713] AddCastDevice:675 [0x330dcf60]: creating MAC 330dcf6a
[07:48:50.642129] bind_socket:791 socket binding 17 on port 37255
[07:48:50.642946] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:48:50.645011] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.645183] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.7.5, name Google-Nest-Hub-Max-4e0821518f14a17b044cb992966936a2._googlecast._tcp.local
[07:48:50.645261] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:48:50.646740] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.646974] mDNSsearchCallback:409 [ACTIVE] host 192.168.7.195, srv 192.168.7.195, name Google-Home-Max-3a44e1c82a468275ef13f22e0f76e35c._googlecast._tcp.local
[07:48:50.647117] AddCastDevice:669 [0x330dd900]: adding renderer (Living room speaker 2)
[07:48:50.647300] AddCastDevice:675 [0x330dd900]: creating MAC 330dd90a
[07:48:50.648352] bind_socket:791 socket binding 20 on port 42993
[07:48:50.656423] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:48:50.658507] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.658881] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.7.195, name Google-Home-Max-3a44e1c82a468275ef13f22e0f76e35c._googlecast._tcp.local
[07:48:50.659016] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:48:50.660397] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.661103] mDNSsearchCallback:409 [ACTIVE] host 192.168.7.155, srv 192.168.7.155, name Google-Home-Max-6f0cd8b04c65e74d9d86475afd3fe085._googlecast._tcp.local
[07:48:50.661338] AddCastDevice:669 [0x330de2a0]: adding renderer (Living room speaker)
[07:48:50.661492] AddCastDevice:675 [0x330de2a0]: creating MAC 330de2aa
[07:48:50.668888] bind_socket:791 socket binding 23 on port 38663
[07:48:50.669998] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:48:50.672240] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.672570] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.7.155, name Google-Home-Max-6f0cd8b04c65e74d9d86475afd3fe085._googlecast._tcp.local
[07:48:50.672687] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:48:50.679870] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.680430] mDNSsearchCallback:409 [ACTIVE] host 192.168.7.155, srv 192.168.7.155, name Google-Cast-Group-e362d2966eff443ba903d86cba05d2a1._googlecast._tcp.local
[07:48:50.680618] AddCastDevice:669 [0x330dec40]: adding renderer (Living room pair)
[07:48:50.682052] bind_socket:791 socket binding 25 on port 54661
[07:48:50.683288] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:48:50.691325] mDNSsearchCallback:405 ----------------- round ------------------
[07:48:50.691643] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.7.155, name Google-Cast-Group-e362d2966eff443ba903d86cba05d2a1._googlecast._tcp.local
[07:48:50.691760] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:53:53.678252] mDNSsearchCallback:405 ----------------- round ------------------
[07:53:53.678330] mDNSsearchCallback:409 [EXPIRED] host 172.30.32.1, srv 192.168.7.155, name Google-Cast-Group-e362d2966eff443ba903d86cba05d2a1._googlecast._tcp.local
[07:53:53.678360] mDNSsearchCallback:539 [0x330dec40]: removing renderer (Living room pair+) -1907533208
[07:53:53.680868] DeleteCastDevice:512 [0x330dec40]: Cast device stopped
[07:53:53.681002] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[07:53:53.682574] mDNSsearchCallback:405 ----------------- round ------------------
[07:53:53.682633] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.7.155, name Google-Cast-Group-e362d2966eff443ba903d86cba05d2a1._googlecast._tcp.local
[07:53:53.682699] mDNSsearchCallback:409 [EXPIRED] host 172.30.32.1, srv 192.168.7.155, name Google-Cast-Group-e362d2966eff443ba903d86cba05d2a1._googlecast._tcp.local
[07:53:53.682912] AddCastDevice:669 [0x330dec40]: adding renderer (Living room pair)
[07:53:53.683808] bind_socket:791 socket binding 25 on port 42319
[07:53:53.684341] mDNSsearchCallback:539 [0x330dec40]: removing renderer (Living room pair+) -1907533208
Start add-on on a Raspberry Pi4 with Home Assistant OS. My network is formed by a dd-wrt router with eeros in bridge mode (tried all configuration changes I could think of, from disabling the SPi Firewall/messing with UPnP. Ports... nothing
Is it possible to change it from airplay to multiroom Airplay 2 via this GitHub project? Also can you add a way to individually adjust the audio sync with a milisecond offset slider?
Aircast does not show that its finding any cast devices
The log file should show some information related to what its finding and airplay apps should show google cast devices
Aircast starts up and binds to address but nothing happens after.
Just click start.
Starting service -> log says that 4 devices were found (TV + 2 speakers + 1 group of speakers) -> after few minutes speakers (HK Citation with Google Assistant) are disconnected with mDNS error.
Restarting service starts everything from the beginning.
Tried with AirSonos, but HK speakers cannot be found.
Is there any option to solve this?
Log file:
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] aircast.sh: executing...
[cont-init.d] aircast.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[13:11:43] INFO: Starting the AirCast server...
[13:11:43.695656] main:945 Starting aircast version: v0.2.21.3 (Oct 4 2019 @ 14:01:55)
[13:11:43.696318] Start:712 Binding to 192.168.1.30
[13:11:43.922327] AddCastDevice:649 [0x84138]: adding renderer (Citation TWO)
[13:11:44.015539] AddCastDevice:649 [0x84aa8]: adding renderer (Citation ONE)
[13:11:44.021581] AddCastDevice:649 [0x85418]: adding renderer (Citation BOTH)
[13:12:59.944173] AddCastDevice:649 [0x85d88]: adding renderer (TV)
[13:14:05.230160] mDNSsearchCallback:452 [0x84aa8]: removing renderer (Citation ONE+) 0
[13:14:05.233315] DeleteCastDevice:512 [0x84aa8]: Cast device stopped
How can I install this plugin for Home assistant docker container? I don't have an add-on store.
Using 0.64.3
I get the following logs when starting AirCast:
worker [700] terminated by signal 9 (Killed)
worker [701] terminated by signal 9 (Killed)
worker [707] did not accept message -1 (Operation not permitted), kill it
worker [704] did not accept message -1 (Operation not permitted), kill it
worker [709] did not accept message -1 (Operation not permitted), kill it
worker [703] terminated by signal 9 (Killed)
worker [704] terminated by signal 9 (Killed)
worker [710] did not accept message -1 (Operation not permitted), kill it
worker [708] did not accept message -1 (Operation not permitted), kill it
worker [711] did not accept message -1 (Operation not permitted), kill it
worker [707] terminated by signal 9 (Killed)
worker [708] terminated by signal 9 (Killed)
I am using the standard values in the configuration.
How can I fix this?
My Chromecast devices are cut from electricity and only turned on when needed. Unfortunately, I need to restart the Aircast add-on before the devices are recognized and displayed in my Apple devices.
Devices are immediately shown once connected to the network OR after a predefined time
Devices only appear after restart
Turn on device after Aircast is running already
Increase discovery frequency
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.