tim-hellhake / chromecast-adapter Goto Github PK
View Code? Open in Web Editor NEWChromecast device adapter for WebThings Gateway
License: MIT License
Chromecast device adapter for WebThings Gateway
License: MIT License
Simple one - when using Chromecast add-on the on off options appear to have the reverse effect. On switches device off and visa versa
Geoff Lane
Now when the TV is turned off, I see errors in the log.
It seems that you just need to write that the TV was not found. For example, with the level of INFO.
2020-05-26 16:02:58.704 ERROR : Failed to get property volume: getProperty: device: globe-675aabd2b12ef90f71df12efdb405ad3._googlecast._tcp.local. not found.
2020-05-26 16:02:58.705 ERROR : Failed to get property on: getProperty: device: globe-675aabd2b12ef90f71df12efdb405ad3._googlecast._tcp.local. not found.
2020-05-26 16:02:58.705 ERROR : Failed to get property playing: getProperty: device: globe-675aabd2b12ef90f71df12efdb405ad3._googlecast._tcp.local. not found.
2020-05-26 16:02:58.706 ERROR : Failed to get property muted: getProperty: device: globe-675aabd2b12ef90f71df12efdb405ad3._googlecast._tcp.local. not found.
2020-05-26 16:02:58.706 ERROR : Failed to get property app: getProperty: device: globe-675aabd2b12ef90f71df12efdb405ad3._googlecast._tcp.local. not found.
Not sure if there's even an API endpoint for this yet, but it would be nice for Chromecast devices to show up with the characteristic icon (outlined/filled depending on state) instead of the default on/off icon in the Things dashboard without having to upload a custom icon.
When the iot gateway and the chromecast are on a different network the mdns discovery wouldn't work. As a workaround it would be nice if you could add a chromecast manually.
I'm on version 0.4.2. When I load the add-ons page, I see that there is an update available for the chromecast add-on. When I click "Update", it says "Updating..." but then nothing happens after that. This was in my logs:
2020-05-25 08:48:29.163 INFO : Fetching add-on https://s3-us-west-2.amazonaws.com/mozilla-gateway-addons/chromecast-adapter-0.4.3.tgz as /tmp/dre1K6/chromecast-adapter.tar.gz
2020-05-25 08:48:30.012 INFO : Expanding add-on /tmp/dre1K6/chromecast-adapter.tar.gz
2020-05-25 08:48:30.661 INFO : Unloading ChromecastAdapter
2020-05-25 08:48:30.667 ERROR : chromecast-adapter: /home/pi/mozilla-iot/gateway/node_modules/gateway-addon/lib/addon-manager-proxy.js:321
2020-05-25 08:48:30.668 ERROR : chromecast-adapter: adapter.unload().then(() => {
2020-05-25 08:48:30.669 ERROR : chromecast-adapter: ^
2020-05-25 08:48:30.670 ERROR : chromecast-adapter:
2020-05-25 08:48:30.671 ERROR : chromecast-adapter: TypeError: Cannot read property 'then' of undefined
2020-05-25 08:48:30.671 ERROR : chromecast-adapter: at AddonManagerProxy.onMsg (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/lib/addon-manager-proxy.js:321:25)
2020-05-25 08:48:30.672 ERROR : chromecast-adapter: at PluginClient.onMsg (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/lib/plugin-client.js:48:25)
2020-05-25 08:48:30.673 ERROR : chromecast-adapter: at IpcSocket.onData (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/lib/ipc.js:94:10)
2020-05-25 08:48:30.674 ERROR : chromecast-adapter: at WebSocket.emit (events.js:198:13)
2020-05-25 08:48:30.674 ERROR : chromecast-adapter: at Receiver.receiverOnMessage (/home/pi/mozilla-iot/gateway/node_modules/ws/lib/websocket.js:801:20)
2020-05-25 08:48:30.675 ERROR : chromecast-adapter: at Receiver.emit (events.js:198:13)
2020-05-25 08:48:30.676 ERROR : chromecast-adapter: at Receiver.dataMessage (/home/pi/mozilla-iot/gateway/node_modules/ws/lib/receiver.js:436:14)
2020-05-25 08:48:30.677 ERROR : chromecast-adapter: at Receiver.getData (/home/pi/mozilla-iot/gateway/node_modules/ws/lib/receiver.js:366:17)
2020-05-25 08:48:30.677 ERROR : chromecast-adapter: at Receiver.startLoop (/home/pi/mozilla-iot/gateway/node_modules/ws/lib/receiver.js:142:22)
2020-05-25 08:48:30.678 ERROR : chromecast-adapter: at Receiver._write (/home/pi/mozilla-iot/gateway/node_modules/ws/lib/receiver.js:77:10)
2020-05-25 08:48:30.680 INFO : Plugin: chromecast-adapter died, code = 1 restarting after 0
2020-05-25 08:48:31.496 INFO : chromecast-adapter: Opening database: /home/pi/.mozilla-iot/config/db.sqlite3
2020-05-25 08:48:31.904 INFO : chromecast-adapter: Loading add-on chromecast-adapter from /home/pi/.mozilla-iot/addons/chromecast-adapter
2020-05-25 08:48:32.609 INFO : chromecast-adapter: setCachedValueAndNotify for property volume from 100 to 89.99999761581421 for Chromecast-Ultra-c927bb1b96505ac4d3e437915029e943._googlecast._tcp.local.
2020-05-25 08:48:32.614 INFO : chromecast-adapter: setCachedValueAndNotify for property app from undefined to Backdrop for Chromecast-Ultra-c927bb1b96505ac4d3e437915029e943._googlecast._tcp.local.
Chromecast 3 didn't seem to work.
From the add-ons page, I clicked "x Remove" and nothing happened. So I checked out the logs and saw this:
2020-05-21 11:23:48.729 INFO : Unloading ChromecastAdapter
2020-05-21 11:23:48.738 ERROR : chromecast-adapter: /home/pi/mozilla-iot/gateway/node_modules/gateway-addon/lib/addon-manager-proxy.js:321
2020-05-21 11:23:48.739 ERROR : chromecast-adapter: adapter.unload().then(() => {
2020-05-21 11:23:48.746 ERROR : chromecast-adapter: ^
2020-05-21 11:23:48.747 ERROR : chromecast-adapter:
2020-05-21 11:23:48.748 ERROR : chromecast-adapter: TypeError: Cannot read property 'then' of undefined
2020-05-21 11:23:48.750 ERROR : chromecast-adapter: at AddonManagerProxy.onMsg (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/lib/addon-manager-proxy.js:321:25)
2020-05-21 11:23:48.751 ERROR : chromecast-adapter: at PluginClient.onMsg (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/lib/plugin-client.js:48:25)
2020-05-21 11:23:48.753 ERROR : chromecast-adapter: at IpcSocket.onData (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/lib/ipc.js:94:10)
2020-05-21 11:23:48.754 ERROR : chromecast-adapter: at WebSocket.emit (events.js:198:13)
2020-05-21 11:23:48.755 ERROR : chromecast-adapter: at Receiver.receiverOnMessage (/home/pi/mozilla-iot/gateway/node_modules/ws/lib/websocket.js:801:20)
2020-05-21 11:23:48.756 ERROR : chromecast-adapter: at Receiver.emit (events.js:198:13)
2020-05-21 11:23:48.758 ERROR : chromecast-adapter: at Receiver.dataMessage (/home/pi/mozilla-iot/gateway/node_modules/ws/lib/receiver.js:436:14)
2020-05-21 11:23:48.759 ERROR : chromecast-adapter: at Receiver.getData (/home/pi/mozilla-iot/gateway/node_modules/ws/lib/receiver.js:366:17)
2020-05-21 11:23:48.760 ERROR : chromecast-adapter: at Receiver.startLoop (/home/pi/mozilla-iot/gateway/node_modules/ws/lib/receiver.js:142:22)
2020-05-21 11:23:48.761 ERROR : chromecast-adapter: at Receiver._write (/home/pi/mozilla-iot/gateway/node_modules/ws/lib/receiver.js:77:10)
2020-05-21 11:23:48.770 INFO : Plugin: chromecast-adapter died, code = 1 restarting after 0
Originally from WebThingsIO/gateway#1694 (via @clockbrain)
My whole system has become unresponsive with only a few of the devices working. Some will work for a short time after removing and adding again but some refuse to work at all. I have about 20 devices, some are wifi and some are zigbee.
One possible clue is my log file has 17 repeats of this error:
2019-03-06 09:50:15.636 ERROR : chromecast: Re-creating client after Error: Device timeout
2019-03-06 09:50:15.639 ERROR : chromecast: at fn.ontimeout (/home/pi/.mozilla-iot/addons/chromecast-adapter/node_modules/castv2-client/lib/senders/platform.js:56:26)
2019-03-06 09:50:15.641 ERROR : chromecast: at Object.onceWrapper (events.js:313:30)
2019-03-06 09:50:15.642 ERROR : chromecast: at emitNone (events.js:106:13)
2019-03-06 09:50:15.643 ERROR : chromecast: at fn.emit (events.js:208:7)
2019-03-06 09:50:15.645 ERROR : chromecast: at Timeout.ontimeout [as _onTimeout] (/home/pi/.mozilla-iot/addons/chromecast-adapter/node_modules/castv2-client/lib/controllers/heartbeat.js:44:10)
2019-03-06 09:50:15.646 ERROR : chromecast: at ontimeout (timers.js:498:11)
2019-03-06 09:50:15.647 ERROR : chromecast: at tryOnTimeout (timers.js:323:5)
2019-03-06 09:50:15.648 ERROR : chromecast: at Timer.listOnTimeout (timers.js:290:5)
immediately followed by this in the log file:
2019-03-06 09:50:50.962 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.965 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.966 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.967 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.969 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.970 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.972 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.973 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.975 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.976 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.977 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.978 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.980 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.981 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.983 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.984 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:50.985 INFO : chromecast: Adapter: ChromecastAdapter id ChromecastAdapter removeThing( Chromecast-ec591b84d19b2957ba33d5844aabb9ef._googlecast._tcp.local. ) started
2019-03-06 09:50:51.139 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.140 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.141 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.143 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.144 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.145 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.146 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.147 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.151 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.152 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.153 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.154 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.155 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.157 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.157 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.159 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.160 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.161 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.164 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.165 ERROR : chromecast: Device: Google-Home-130b7c70bc769ee08f13f1a25e3e9ce1._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.166 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.167 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.169 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.170 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.171 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.172 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.173 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.174 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.175 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.176 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.177 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.178 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.179 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.180 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.181 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.182 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.183 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.184 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.185 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.186 ERROR : chromecast: Device: Google-Home-Mini-7683b2d0eb36490a4ca981378bdbf011._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.187 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.188 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.189 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.190 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.191 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.192 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.193 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.194 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.195 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.196 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.197 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.198 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.199 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.200 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.201 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.202 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.203 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.204 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.205 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:50:51.206 ERROR : chromecast: Device: Google-Cast-Group-25a3a7482b6246eba57186af9fbc7900._googlecast._tcp.local. already exists.
2019-03-06 09:53:56.123 ERROR : (node:780) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 propertyChanged listeners added. Use emitter.setMaxListeners() to increase limit
2019-03-06 09:53:57.580 ERROR : (node:780) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 actionStatus listeners added. Use emitter.setMaxListeners() to increase limit
The chromecast is turned off for most of each day but even so I wouldn't expect failed connections to clog up the gateway.
Any suggestions on how to reset or clear my system?
I'm on version 0.7 of the gateway.
trying to update to 0.4.3 but it seem to failed log:
2020-05-21 13:29:03.636 INFO : Fetching add-on https://s3-us-west-2.amazonaws.com/mozilla-gateway-addons/chromecast-adapter-0.4.3.tgz as /tmp/fACpdH/chromecast-adapter.tar.gz
2020-05-21 13:29:05.557 INFO : Expanding add-on /tmp/fACpdH/chromecast-adapter.tar.gz
2020-05-21 13:29:06.442 INFO : Unloading ChromecastAdapter
2020-05-21 13:29:06.454 ERROR : chromecast-adapter: /home/pi/mozilla-iot/gateway/node_modules/gateway-addon/lib/addon-manager-proxy.js:321
2020-05-21 13:29:06.455 ERROR : chromecast-adapter: adapter.unload().then(() => {
2020-05-21 13:29:06.457 ERROR : chromecast-adapter: ^
2020-05-21 13:29:06.458 ERROR : chromecast-adapter:
2020-05-21 13:29:06.459 ERROR : chromecast-adapter: TypeError: Cannot read property 'then' of undefined
2020-05-21 13:29:06.460 ERROR : chromecast-adapter: at AddonManagerProxy.onMsg (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/lib/addon-manager-proxy.js:321:25)
2020-05-21 13:29:06.462 ERROR : chromecast-adapter: at PluginClient.onMsg (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/lib/plugin-client.js:48:25)
2020-05-21 13:29:06.464 ERROR : chromecast-adapter: at IpcSocket.onData (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/lib/ipc.js:94:10)
2020-05-21 13:29:06.465 ERROR : chromecast-adapter: at WebSocket.emit (events.js:198:13)
2020-05-21 13:29:06.475 ERROR : chromecast-adapter: at Receiver.receiverOnMessage (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/node_modules/ws/lib/websocket.js:801:20)
2020-05-21 13:29:06.477 ERROR : chromecast-adapter: at Receiver.emit (events.js:198:13)
2020-05-21 13:29:06.478 ERROR : chromecast-adapter: at Receiver.dataMessage (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/node_modules/ws/lib/receiver.js:436:14)
2020-05-21 13:29:06.479 ERROR : chromecast-adapter: at Receiver.getData (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/node_modules/ws/lib/receiver.js:366:17)
2020-05-21 13:29:06.481 ERROR : chromecast-adapter: at Receiver.startLoop (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/node_modules/ws/lib/receiver.js:142:22)
2020-05-21 13:29:06.482 ERROR : chromecast-adapter: at Receiver._write (/home/pi/mozilla-iot/gateway/node_modules/gateway-addon/node_modules/ws/lib/receiver.js:77:10)
2020-05-21 13:29:06.485 INFO : Plugin: chromecast-adapter died, code = 1 restarting after 0
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.