Home Assistant Community Add-on: AirCast

I haven’t been using any version prior to 2.4.0, this is my first time using the platform.

That said, whilst I see the speakers, they are perfectly unusable for me. Clicking on them results in the “Unable to connect” message immediately.

1 Like

That is exactly what is happening on my setup. Looking through the log files I cannot see any errors, or logs entries that would hint towards an error. It’s a pity as I was using AirCast on a daily basis.

I have the same error… it started more or less five days ago

I’ve just tried installing it for the first time and I get this error too :frowning: @frenck what is the process for us raising this? Is there an issue log somewhere where we need to formally raise?

EDIT: Just seen that an issue has been raised here.

Hi @frenck, any chance to have it streaming to Amazon Echos, in addition to chromecasts?

Is there a video alternative to this? Just raspberry pi or h.a?

Thought I’d add this, but it’s not working for me??

Add-on version: 2.4.1
You are running the latest version of this add-on.
System: Home Assistant OS 5.10 (amd64 / qemux86-64)
Home Assistant Core: 2021.1.1
Home Assistant Supervisor: 2020.12.7

I am running HA on an i5 laptop if that makes any difference.

The addon starts and there are no errors. It finds all my chromecast devices, but when I try to screen mirror on my mac mini, there are no devices available (besides my one appleTV).

Any ideas?

1 Like

@Martin_Granger I’m having the same issue as you. No errors, but not showing up.

Hass.io Add-on: AirCast
 AirPlay capabilities for your Chromecast devices.
-----------------------------------------------------------
 Add-on version: 2.4.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 5.10  (amd64 / qemux86-64)
 Home Assistant Core: 2021.1.1
 Home Assistant Supervisor: 2020.12.7
-----------------------------------------------------------
 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 INFO
[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.
[14:21:10] INFO: Starting the AirCast server...
[14:21:10.339893] main:952 Starting aircast version: v0.2.28.3 (Oct 25 2020 @ 12:18:08)
[14:21:10.340164] Start:716 Binding to 192.168.5.171
[14:21:10.353193] AddCastDevice:653 [0x221f480]: adding renderer (Master Bedroom clock)
[14:21:10.355141] AddCastDevice:653 [0x221fe10]: adding renderer (Toy Room Speaker)
[14:21:10.356729] AddCastDevice:653 [0x22207a0]: adding renderer (Office Speaker)
[14:21:10.357948] AddCastDevice:653 [0x2221130]: adding renderer (Garage Speaker)
[14:21:10.359650] AddCastDevice:653 [0x2221ac0]: adding renderer (Sun Room TV)
[14:21:10.361047] AddCastDevice:653 [0x2222450]: adding renderer (Living Room Speaker)
[14:21:10.361954] AddCastDevice:653 [0x2222de0]: adding renderer (First Floor Speakers)
[14:21:10.364078] AddCastDevice:653 [0x2223770]: adding renderer (Guest Bathroom Speaker)
[14:21:10.366307] AddCastDevice:653 [0x2224100]: adding renderer (Master Bathroom Speaker)
[14:21:10.370558] AddCastDevice:653 [0x2224a90]: adding renderer (Kitchen Speaker)

Same problem here. No error, but no speakers showing up.

[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.4.1
 You are running the latest version of this add-on.
 System: Raspbian GNU/Linux 10 (buster)  (armv7 / raspberrypi4)
 Home Assistant Core: 2021.1.4
 Home Assistant Supervisor: 2021.01.5
-----------------------------------------------------------
 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.
[11:26:58] INFO: Starting the AirCast server...
[11:26:58.756351] main:952 Starting aircast version: v0.2.28.3 (Oct 25 2020 @ 12:17:33)
[11:26:58.757562] Start:716 Binding to 192.168.68.151
[11:26:58.777911] AddCastDevice:653 [0x11be470]: adding renderer (Cellar speaker)
[11:26:58.787568] AddCastDevice:653 [0x11bede0]: adding renderer (Bedroom speaker)

Is it also possible to use it as an AirPlay bridge to stream videos via dlna to devices that are not airplay compatible?

I’m finding that my iOS devices updated to 14.4 are no longer apple to see to my Google devices. I have one device I slacked and have at 14.3 that is still functioning fine. Has anyone else seen or experienced this?

1 Like

Any explanation why I cant find this addon?
Do I need to do anything more, like add a new repo?

I’m actually wondering if its related to a supervisor upgrade…it seems to come and go when i restart the aircast addon no matter the iOS version.

I have aircast setup but when I select the output on my iphone to play to a aircast google home speaker, it makes the initial sound as though it’s going to start outputting music but then never actually does. When this is happenning, adjusting the volume on the phone makes the clicking sound on the google home which means it is connected to the device. Also, the phone continues to show the song is playing and the seconds ticking.

The RPi is on a different VLAN, but I have IGMP snooping enabled and streaming to the same google home device without issues in other apps like youtube, etc

Hi Frenck, I’m impressed with the idea of this add-on and have recently installed and purchased a chromecast Gen 3. I have the correct IP address and have a unifi usg - I receive this error:

[23:49:50.278190] main:966 Starting aircast version: v0.2.43.1 (Jan 14 2021 @ 22:17:01)
recv setsockopt(IP_PROTO_IP): Cannot assign requested address
unable to create recv socket
[23:49:50.282900] main:1007 Cannot start

Thank you for any help, Daniel

Doesn’t work for me too, no errors in the addon log. iOS 14.4.2 doesn’t see devices (Google Home Mini, Android TV). macOS 11.1 sees the devices in iTunes but shows an error after an attempt to stream.
Addon version: 3.0.0
AirCast version: v0.2.43.1 (Jan 14 2021 @ 22:16:20)
Supervisor: supervisor-2021.04.0 (supervisor docker setup on RPi 3b+)

also i am stuck here without putting the ip

[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.0.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 5.13  (aarch64 / raspberrypi3-64)
 Home Assistant Core: 2021.4.6
 Home Assistant Supervisor: 2021.04.0
-----------------------------------------------------------
 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:49:15] INFO: Starting the AirCast server...
[18:49:15.374331] main:966 Starting aircast version: v0.2.43.1 (Jan 14 2021 @ 22:16:30)
[18:49:15.375349] Start:727 Binding to 192.168.68.26
[18:49:15.499913] AddCastDevice:664 [0xa214080]: adding renderer (Salotto)

also if i put the correct ip of the chromecast i get this

[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.0.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 5.13  (aarch64 / raspberrypi3-64)
 Home Assistant Core: 2021.4.6
 Home Assistant Supervisor: 2021.04.0
-----------------------------------------------------------
 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:56:32] INFO: Starting the AirCast server...
[18:56:33.061286] main:966 Starting aircast version: v0.2.43.1 (Jan 14 2021 @ 22:16:30)
[18:56:33.062028] Start:727 Binding to 192.168.68.18
recv setsockopt(IP_PROTO_IP): Cannot assign requested address
unable to create recv socket
[18:56:33.085674] main:1007 Cannot start

Hi. This is an amazing plugin. I’m wondering if through the configuration I can hide some of the found Chromecast entities since I have Groups that are just combinations of other speakers and by default the plugin created one interface for each speaker plus the groups.
I’ve read the documentation but I’m not sure if it’s possible to do this.

Thanks!

2 Likes

Hello. After installing the addon, my chromecast device is added and I can send it audio. I have a Yamaha AVR with Airplay (added with the musiccast integration in HA), any suggestions to send sound to the Yamaha avr?

Same problem as you and @tusculumgolfer @petrnomad
Devices are discovered and can see them shortly after restarting my RPi. If I quickly select one and stream, everything works, but all the devices will disappear a few seconds after being discovered. Something purges them as shown in the log below… Any ideas on how to fix this?

[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.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... 
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