[RELEASE] cast-web v1.2.1 - Chromecast Integration (EDGE Driver discussion begins in post 1668)

Your preset generator adds square brackets. I took out those brackets, and everything works

1 Like

Ok getting closer it comes up with an address that starts with 127.x.x.x:3000 but no devices pull up on that address

Ok If I get an address that’s 127.x.x.x:3000 if I put that in an address bar on raspian (127.x.x.x:3000/devices) the devices show up but doing the same on any other computer or on smartthings brings up nothing when doing this on windows I came up with a 195 number I believe

Was able to fix my issue by reading an older post with a similar problen

1 Like

Sorry mate, that bug is already fixed in the next version, which hopefully goes live soon.

1 Like

Nice, glad to see you are still working on this!

1 Like

Working fine, thank you. How does the crontab work. I tried to google that statement, and can’t find any results.

It was with CLI, desktop install does not work. I have never got google-assistant to work on any armv6. I don’t think it is possible.

no command: upstart
I’m try:
sudo npm install pm2@latest -g
pm2 save

after reboot, cast-web-api-cli auto start

Hi,

When trying to add my devices I get : “Error - bad state”

In the IDE log :

11:30:13 PM: error grails.validation.ValidationException: Validation Error(s) occurred during save():
Field error in object ‘physicalgraph.device.Device’ on field ‘deviceNetworkId’: rejected value [B827EB103812]; codes [physicalgraph.device.Device.deviceNetworkId.unique.error.physicalgraph.device.Device.deviceNetworkId,physicalgraph.device.Device.deviceNetworkId.unique.error.deviceNetworkId,physicalgraph.device.Device.deviceNetworkId.unique.error.java.lang.String,physicalgraph.device.Device.deviceNetworkId.unique.error,device.deviceNetworkId.unique.error.physicalgraph.device.Device.deviceNetworkId,device.deviceNetworkId.unique.error.deviceNetworkId,device.deviceNetworkId.unique.error.java.lang.String,device.deviceNetworkId.unique.error,physicalgraph.device.Device.deviceNetworkId.unique.physicalgraph.device.Device.deviceNetworkId,physicalgraph.device.Device.deviceNetworkId.unique.deviceNetworkId,physicalgraph.device.Device.deviceNetworkId.unique.java.lang.String,physicalgraph.device.Device.deviceNetworkId.unique,device.deviceNetworkId.unique.physicalgraph.device.Device.deviceNetworkId,device.deviceNetworkId.unique.deviceNetworkId,device.deviceNetworkId.unique.java.lang.String,device.deviceNetworkId.unique,unique.physicalgraph.device.Device.deviceNetworkId,unique.deviceNetworkId,unique.java.lang.String,unique]; arguments [deviceNetworkId,class physicalgraph.device.Device,B827EB103812]; default message [{0} must be unique]
@line 126 (addDevices)
11:30:13 PM: debug No cast-web-api installed
The node js is running on port 3000 and test connection results 200 OK

Hi there!

I have device handler, api and app installed both by gui and command line. I have set host address and port, but no matter what I get Connection error: HTTP response code:404.

019-07-28T23:35:47.490Z interpretArguments(): {"_":["/prefetch:1"],“sandbox”:false,“enable-features”:“SharedArrayBuffer”,“service-pipe-token”:9931780507134202000,“lang”:“en-US”,“app-user-model-id”:“electron.app.cast-web-api-desktop”,“app-path”:“C:\Users\ian\AppData\Local\Programs\cast-web-api-desktop\resources\app”,“node-integration”:“true”,“webview-tag”:“true”,“background-color”:"#fff",“device-scale-factor”:1,“num-raster-threads”:4,“enable-main-frame-before-activation”:true,“service-request-channel-token”:9931780507134202000,“renderer-client-id”:33,“mojo-platform-channel-handle”:4080}
cast-web-api v1.2.1
2019-07-28T23:35:47.792Z getNetworkIp(): addresses: 192.168.1.182
cast-web-api running at http://192.168.1.182:3222
2019-07-28T23:36:40.095Z 18d674e58f303a59a783e637feff8cf3 CastDevice.constructor(): autoConnect
2019-07-28T23:36:40.095Z 18d674e58f303a59a783e637feff8cf3 CastDevice.connect(): connecting
2019-07-28T23:36:40.095Z 18d674e58f303a59a783e637feff8cf3 CastReceiver.connect(): host: 192.168.1.254, port: 8009
deviceUp: {“id”:“18d674e58f303a59a783e637feff8cf3”,“name”:“SHIELD”,“address”:{“port”:8009,“host”:“192.168.1.254”,“rejectUnauthorized”:false},“groups”:}
2019-07-28T23:36:40.107Z 18d674e58f303a59a783e637feff8cf3 addDevice():
2019-07-28T23:36:40.113Z fc8d78f8bee6357e29ed792924e070a7 CastDevice.constructor(): autoConnect
2019-07-28T23:36:40.113Z fc8d78f8bee6357e29ed792924e070a7 CastDevice.connect(): connecting
2019-07-28T23:36:40.113Z fc8d78f8bee6357e29ed792924e070a7 CastReceiver.connect(): host: 192.168.1.230, port: 8009
deviceUp: {“id”:“fc8d78f8bee6357e29ed792924e070a7”,“name”:“Basement Speaker”,“address”:{“port”:8009,“host”:“192.168.1.230”,“rejectUnauthorized”:false},“groups”:}
2019-07-28T23:36:40.114Z fc8d78f8bee6357e29ed792924e070a7 addDevice():
2019-07-28T23:36:40.115Z 29DB88E3-689C-47E4-BBA6-C8875524FFDC CastDevice.constructor(): autoConnect
2019-07-28T23:36:40.116Z 29DB88E3-689C-47E4-BBA6-C8875524FFDC CastDevice.connect(): connecting
2019-07-28T23:36:40.116Z 29DB88E3-689C-47E4-BBA6-C8875524FFDC CastReceiver.connect(): host: 192.168.1.230, port: 42851
deviceUp: {“id”:“29DB88E3-689C-47E4-BBA6-C8875524FFDC”,“name”:“All speakers”,“address”:{“port”:42851,“host”:“192.168.1.230”,“rejectUnauthorized”:false},“groups”:}
2019-07-28T23:36:40.116Z 29DB88E3-689C-47E4-BBA6-C8875524FFDC addDevice():
2019-07-28T23:36:40.123Z 82ab609c7892f23ba12fe634ec346257 CastDevice.constructor(): autoConnect
2019-07-28T23:36:40.124Z 82ab609c7892f23ba12fe634ec346257 CastDevice.connect(): connecting
2019-07-28T23:36:40.124Z 82ab609c7892f23ba12fe634ec346257 CastReceiver.connect(): host: 192.168.1.105, port: 8009
deviceUp: {“id”:“82ab609c7892f23ba12fe634ec346257”,“name”:“Living room Speaker”,“address”:{“port”:8009,“host”:“192.168.1.105”,“rejectUnauthorized”:false},“groups”:}
2019-07-28T23:36:40.124Z 82ab609c7892f23ba12fe634ec346257 addDevice():
2019-07-28T23:36:40.127Z 329fc0fbb6085e5e69d022b20e3b08f6 CastDevice.constructor(): autoConnect
2019-07-28T23:36:40.127Z 329fc0fbb6085e5e69d022b20e3b08f6 CastDevice.connect(): connecting
2019-07-28T23:36:40.127Z 329fc0fbb6085e5e69d022b20e3b08f6 CastReceiver.connect(): host: 192.168.1.104, port: 8009
deviceUp: {“id”:“329fc0fbb6085e5e69d022b20e3b08f6”,“name”:“Master bedroom Speaker”,“address”:{“port”:8009,“host”:“192.168.1.104”,“rejectUnauthorized”:false},“groups”:}
2019-07-28T23:36:40.127Z 329fc0fbb6085e5e69d022b20e3b08f6 addDevice():
2019-07-28T23:36:40.130Z 18d674e58f303a59a783e637feff8cf3 ReconnectionManager.evaluate(): this._device.link: connecting, _interval: null
2019-07-28T23:36:40.131Z 18d674e58f303a59a783e637feff8cf3 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.131Z CallbackManager.send(): status: {“id”:“18d674e58f303a59a783e637feff8cf3”,“name”:“SHIELD”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.254”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:0,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.132Z 6345BF56-5F99-4545-BCED-915A9D9D7773 CastDevice.constructor(): autoConnect
2019-07-28T23:36:40.132Z 6345BF56-5F99-4545-BCED-915A9D9D7773 CastDevice.connect(): connecting
2019-07-28T23:36:40.132Z 6345BF56-5F99-4545-BCED-915A9D9D7773 CastReceiver.connect(): host: 192.168.1.104, port: 42662
deviceUp: {“id”:“6345BF56-5F99-4545-BCED-915A9D9D7773”,“name”:“Upstairs Speakers”,“address”:{“port”:42662,“host”:“192.168.1.104”,“rejectUnauthorized”:false},“groups”:}
2019-07-28T23:36:40.133Z 6345BF56-5F99-4545-BCED-915A9D9D7773 addDevice():
2019-07-28T23:36:40.166Z 82ab609c7892f23ba12fe634ec346257 ReconnectionManager.evaluate(): this._device.link: connecting, _interval: null
2019-07-28T23:36:40.166Z 82ab609c7892f23ba12fe634ec346257 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.166Z CallbackManager.send(): status: {“id”:“82ab609c7892f23ba12fe634ec346257”,“name”:“Living room Speaker”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.105”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:0,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
message broadcast: false
2019-07-28T23:36:40.174Z 18d674e58f303a59a783e637feff8cf3 CastReceiver.parse(): receiverStatus: {“requestId”:1,“status”:{“isActiveInput”:false,“isStandBy”:true,“userEq”:{},“volume”:{“controlType”:“attenuation”,“level”:0.3333333432674408,“muted”:true,“stepInterval”:0.06666667014360428}},“type”:“RECEIVER_STATUS”}
2019-07-28T23:36:40.174Z 18d674e58f303a59a783e637feff8cf3 CastReceiver.parse(): resetting
2019-07-28T23:36:40.174Z 18d674e58f303a59a783e637feff8cf3 castReceiver.setSessionId: null
2019-07-28T23:36:40.174Z 18d674e58f303a59a783e637feff8cf3 CastDevice.isGroupPlaybackLocked(): key: volume, status[key]: 33, lock: false
2019-07-28T23:36:40.175Z 18d674e58f303a59a783e637feff8cf3 CastDevice.isGroupPlaybackLocked(): key: muted, status[key]: true, lock: false
2019-07-28T23:36:40.175Z 18d674e58f303a59a783e637feff8cf3 CastGroup.syncStatus(): used to be group, remove & reset
2019-07-28T23:36:40.175Z CallbackManager.send(): status: {“id”:“18d674e58f303a59a783e637feff8cf3”,“name”:“SHIELD”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.254”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:33,“muted”:true,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.175Z 18d674e58f303a59a783e637feff8cf3 ReconnectionManager.evaluate(): this._device.link: connected, _interval: null
2019-07-28T23:36:40.175Z 18d674e58f303a59a783e637feff8cf3 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.176Z CallbackManager.send(): status: {“id”:“18d674e58f303a59a783e637feff8cf3”,“name”:“SHIELD”,“connection”:“connected”,“address”:{“port”:8009,“host”:“192.168.1.254”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:33,“muted”:true,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.177Z fc8d78f8bee6357e29ed792924e070a7 ReconnectionManager.evaluate(): this._device.link: connecting, _interval: null
2019-07-28T23:36:40.177Z fc8d78f8bee6357e29ed792924e070a7 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.177Z CallbackManager.send(): status: {“id”:“fc8d78f8bee6357e29ed792924e070a7”,“name”:“Basement Speaker”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.230”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:0,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.182Z 29DB88E3-689C-47E4-BBA6-C8875524FFDC ReconnectionManager.evaluate(): this._device.link: connecting, _interval: null
2019-07-28T23:36:40.182Z 29DB88E3-689C-47E4-BBA6-C8875524FFDC ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.182Z CallbackManager.send(): status: {“id”:“29DB88E3-689C-47E4-BBA6-C8875524FFDC”,“name”:“All speakers”,“connection”:“connecting”,“address”:{“port”:42851,“host”:“192.168.1.230”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:0,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
message broadcast: false
2019-07-28T23:36:40.207Z 82ab609c7892f23ba12fe634ec346257 CastReceiver.parse(): receiverStatus: {“requestId”:2,“status”:{“userEq”:{“high_shelf”:{“frequency”:4500,“gain_db”:0,“quality”:0.707},“low_shelf”:{“frequency”:150,“gain_db”:1.5,“quality”:0.707},“max_peaking_eqs”:0,“peaking_eqs”:},“volume”:{“controlType”:“master”,“level”:0.30000001192092896,“muted”:false,“stepInterval”:0.019999999552965164}},“type”:“RECEIVER_STATUS”}
2019-07-28T23:36:40.207Z 82ab609c7892f23ba12fe634ec346257 CastReceiver.parse(): resetting
2019-07-28T23:36:40.209Z 82ab609c7892f23ba12fe634ec346257 castReceiver.setSessionId: null
2019-07-28T23:36:40.209Z 82ab609c7892f23ba12fe634ec346257 CastDevice.isGroupPlaybackLocked(): key: volume, status[key]: 30, lock: false
2019-07-28T23:36:40.209Z 82ab609c7892f23ba12fe634ec346257 CastGroup.syncStatus(): used to be group, remove & reset
2019-07-28T23:36:40.209Z CallbackManager.send(): status: {“id”:“82ab609c7892f23ba12fe634ec346257”,“name”:“Living room Speaker”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.105”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:30,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.209Z 82ab609c7892f23ba12fe634ec346257 ReconnectionManager.evaluate(): this._device.link: connected, _interval: null
2019-07-28T23:36:40.209Z 82ab609c7892f23ba12fe634ec346257 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.209Z CallbackManager.send(): status: {“id”:“82ab609c7892f23ba12fe634ec346257”,“name”:“Living room Speaker”,“connection”:“connected”,“address”:{“port”:8009,“host”:“192.168.1.105”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:30,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.220Z 329fc0fbb6085e5e69d022b20e3b08f6 ReconnectionManager.evaluate(): this._device.link: connecting, _interval: null
2019-07-28T23:36:40.222Z 329fc0fbb6085e5e69d022b20e3b08f6 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.222Z CallbackManager.send(): status: {“id”:“329fc0fbb6085e5e69d022b20e3b08f6”,“name”:“Master bedroom Speaker”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.104”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:0,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
message broadcast: false
2019-07-28T23:36:40.223Z fc8d78f8bee6357e29ed792924e070a7 CastReceiver.parse(): receiverStatus: {“requestId”:3,“status”:{“userEq”:{“high_shelf”:{“frequency”:4500,“gain_db”:2.5,“quality”:0.707},“low_shelf”:{“frequency”:150,“gain_db”:-2,“quality”:0.707},“max_peaking_eqs”:0,“peaking_eqs”:},“volume”:{“controlType”:“master”,“level”:0.4000000059604645,“muted”:false,“stepInterval”:0.019999999552965164}},“type”:“RECEIVER_STATUS”}
2019-07-28T23:36:40.223Z fc8d78f8bee6357e29ed792924e070a7 CastReceiver.parse(): resetting
2019-07-28T23:36:40.223Z fc8d78f8bee6357e29ed792924e070a7 castReceiver.setSessionId: null
2019-07-28T23:36:40.223Z fc8d78f8bee6357e29ed792924e070a7 CastDevice.isGroupPlaybackLocked(): key: volume, status[key]: 40, lock: false
2019-07-28T23:36:40.224Z fc8d78f8bee6357e29ed792924e070a7 CastGroup.syncStatus(): used to be group, remove & reset
2019-07-28T23:36:40.224Z CallbackManager.send(): status: {“id”:“fc8d78f8bee6357e29ed792924e070a7”,“name”:“Basement Speaker”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.230”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:40,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.224Z fc8d78f8bee6357e29ed792924e070a7 ReconnectionManager.evaluate(): this._device.link: connected, _interval: null
2019-07-28T23:36:40.224Z fc8d78f8bee6357e29ed792924e070a7 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.224Z CallbackManager.send(): status: {“id”:“fc8d78f8bee6357e29ed792924e070a7”,“name”:“Basement Speaker”,“connection”:“connected”,“address”:{“port”:8009,“host”:“192.168.1.230”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:40,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
message broadcast: false
2019-07-28T23:36:40.226Z 29DB88E3-689C-47E4-BBA6-C8875524FFDC CastReceiver.parse(): receiverStatus: {“requestId”:4,“status”:{“userEq”:{“high_shelf”:{“frequency”:4500,“gain_db”:2.5,“quality”:0.707},“low_shelf”:{“frequency”:150,“gain_db”:-2,“quality”:0.707},“max_peaking_eqs”:0,“peaking_eqs”:},“volume”:{“controlType”:“master”,“level”:0.37727272510528564,“muted”:false,“stepInterval”:0.05000000074505806}},“type”:“RECEIVER_STATUS”}
2019-07-28T23:36:40.226Z 29DB88E3-689C-47E4-BBA6-C8875524FFDC CastReceiver.parse(): resetting
2019-07-28T23:36:40.226Z 29DB88E3-689C-47E4-BBA6-C8875524FFDC castReceiver.setSessionId: null
2019-07-28T23:36:40.226Z 29DB88E3-689C-47E4-BBA6-C8875524FFDC CastDevice.isGroupPlaybackLocked(): key: volume, status[key]: 38, lock: false
2019-07-28T23:36:40.226Z 29DB88E3-689C-47E4-BBA6-C8875524FFDC CastGroup.syncStatus(): used to be group, remove & reset
2019-07-28T23:36:40.226Z CallbackManager.send(): status: {“id”:“29DB88E3-689C-47E4-BBA6-C8875524FFDC”,“name”:“All speakers”,“connection”:“connecting”,“address”:{“port”:42851,“host”:“192.168.1.230”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:38,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.226Z 29DB88E3-689C-47E4-BBA6-C8875524FFDC ReconnectionManager.evaluate(): this._device.link: connected, _interval: null
2019-07-28T23:36:40.226Z 29DB88E3-689C-47E4-BBA6-C8875524FFDC ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.226Z CallbackManager.send(): status: {“id”:“29DB88E3-689C-47E4-BBA6-C8875524FFDC”,“name”:“All speakers”,“connection”:“connected”,“address”:{“port”:42851,“host”:“192.168.1.230”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:38,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.230Z 6345BF56-5F99-4545-BCED-915A9D9D7773 ReconnectionManager.evaluate(): this._device.link: connecting, _interval: null
2019-07-28T23:36:40.230Z 6345BF56-5F99-4545-BCED-915A9D9D7773 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.230Z CallbackManager.send(): status: {“id”:“6345BF56-5F99-4545-BCED-915A9D9D7773”,“name”:“Upstairs Speakers”,“connection”:“connecting”,“address”:{“port”:42662,“host”:“192.168.1.104”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:0,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
message broadcast: false
2019-07-28T23:36:40.261Z 329fc0fbb6085e5e69d022b20e3b08f6 CastReceiver.parse(): receiverStatus: {“requestId”:5,“status”:{“userEq”:{“high_shelf”:{“frequency”:4500,“gain_db”:0,“quality”:0.707},“low_shelf”:{“frequency”:150,“gain_db”:0,“quality”:0.707},“max_peaking_eqs”:0,“peaking_eqs”:},“volume”:{“controlType”:“master”,“level”:0.30000001192092896,“muted”:false,“stepInterval”:0.019999999552965164}},“type”:“RECEIVER_STATUS”}
2019-07-28T23:36:40.261Z 329fc0fbb6085e5e69d022b20e3b08f6 CastReceiver.parse(): resetting
2019-07-28T23:36:40.261Z 329fc0fbb6085e5e69d022b20e3b08f6 castReceiver.setSessionId: null
2019-07-28T23:36:40.261Z 329fc0fbb6085e5e69d022b20e3b08f6 CastDevice.isGroupPlaybackLocked(): key: volume, status[key]: 30, lock: false
2019-07-28T23:36:40.261Z 329fc0fbb6085e5e69d022b20e3b08f6 CastGroup.syncStatus(): used to be group, remove & reset
2019-07-28T23:36:40.261Z CallbackManager.send(): status: {“id”:“329fc0fbb6085e5e69d022b20e3b08f6”,“name”:“Master bedroom Speaker”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.104”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:30,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.263Z 329fc0fbb6085e5e69d022b20e3b08f6 ReconnectionManager.evaluate(): this._device.link: connected, _interval: null
2019-07-28T23:36:40.263Z 329fc0fbb6085e5e69d022b20e3b08f6 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.263Z CallbackManager.send(): status: {“id”:“329fc0fbb6085e5e69d022b20e3b08f6”,“name”:“Master bedroom Speaker”,“connection”:“connected”,“address”:{“port”:8009,“host”:“192.168.1.104”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:30,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
message broadcast: false
2019-07-28T23:36:40.273Z 6345BF56-5F99-4545-BCED-915A9D9D7773 CastReceiver.parse(): receiverStatus: {“requestId”:6,“status”:{“userEq”:{“high_shelf”:{“frequency”:4500,“gain_db”:0,“quality”:0.707},“low_shelf”:{“frequency”:150,“gain_db”:0,“quality”:0.707},“max_peaking_eqs”:0,“peaking_eqs”:},“volume”:{“controlType”:“master”,“level”:0.33181819319725037,“muted”:false,“stepInterval”:0.05000000074505806}},“type”:“RECEIVER_STATUS”}
2019-07-28T23:36:40.273Z 6345BF56-5F99-4545-BCED-915A9D9D7773 CastReceiver.parse(): resetting
2019-07-28T23:36:40.273Z 6345BF56-5F99-4545-BCED-915A9D9D7773 castReceiver.setSessionId: null
2019-07-28T23:36:40.273Z 6345BF56-5F99-4545-BCED-915A9D9D7773 CastDevice.isGroupPlaybackLocked(): key: volume, status[key]: 33, lock: false
2019-07-28T23:36:40.275Z 6345BF56-5F99-4545-BCED-915A9D9D7773 CastGroup.syncStatus(): used to be group, remove & reset
2019-07-28T23:36:40.275Z CallbackManager.send(): status: {“id”:“6345BF56-5F99-4545-BCED-915A9D9D7773”,“name”:“Upstairs Speakers”,“connection”:“connecting”,“address”:{“port”:42662,“host”:“192.168.1.104”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:33,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.275Z 6345BF56-5F99-4545-BCED-915A9D9D7773 ReconnectionManager.evaluate(): this._device.link: connected, _interval: null
2019-07-28T23:36:40.275Z 6345BF56-5F99-4545-BCED-915A9D9D7773 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.275Z CallbackManager.send(): status: {“id”:“6345BF56-5F99-4545-BCED-915A9D9D7773”,“name”:“Upstairs Speakers”,“connection”:“connected”,“address”:{“port”:42662,“host”:“192.168.1.104”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:33,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.291Z 06d288929ab40531c9e6406be99b292b CastDevice.constructor(): autoConnect
2019-07-28T23:36:40.291Z 06d288929ab40531c9e6406be99b292b CastDevice.connect(): connecting
2019-07-28T23:36:40.291Z 06d288929ab40531c9e6406be99b292b CastReceiver.connect(): host: 192.168.1.143, port: 8009
deviceUp: {“id”:“06d288929ab40531c9e6406be99b292b”,“name”:“Upstairs Hallway Speaker”,“address”:{“port”:8009,“host”:“192.168.1.143”,“rejectUnauthorized”:false},“groups”:}
2019-07-28T23:36:40.291Z 06d288929ab40531c9e6406be99b292b addDevice():
2019-07-28T23:36:40.293Z f45969c72249dcca2931ea5e5759e846 CastDevice.constructor(): autoConnect
2019-07-28T23:36:40.293Z f45969c72249dcca2931ea5e5759e846 CastDevice.connect(): connecting
2019-07-28T23:36:40.293Z f45969c72249dcca2931ea5e5759e846 CastReceiver.connect(): host: 192.168.1.159, port: 8009
deviceUp: {“id”:“f45969c72249dcca2931ea5e5759e846”,“name”:“Kitchen Speaker”,“address”:{“port”:8009,“host”:“192.168.1.159”,“rejectUnauthorized”:false},“groups”:}
2019-07-28T23:36:40.293Z f45969c72249dcca2931ea5e5759e846 addDevice():
2019-07-28T23:36:40.294Z 0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4 CastDevice.constructor(): autoConnect
2019-07-28T23:36:40.294Z 0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4 CastDevice.connect(): connecting
2019-07-28T23:36:40.294Z 0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4 CastReceiver.connect(): host: 192.168.1.159, port: 42178
deviceUp: {“id”:“0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4”,“name”:“Main level”,“address”:{“port”:42178,“host”:“192.168.1.159”,“rejectUnauthorized”:false},“groups”:}
2019-07-28T23:36:40.296Z 0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4 addDevice():
2019-07-28T23:36:40.296Z 6ef0927c92006599137a4884518e67b2 CastDevice.constructor(): autoConnect
2019-07-28T23:36:40.296Z 6ef0927c92006599137a4884518e67b2 CastDevice.connect(): connecting
2019-07-28T23:36:40.296Z 6ef0927c92006599137a4884518e67b2 CastReceiver.connect(): host: 192.168.1.227, port: 8009
deviceUp: {“id”:“6ef0927c92006599137a4884518e67b2”,“name”:“Soundbar”,“address”:{“port”:8009,“host”:“192.168.1.227”,“rejectUnauthorized”:false},“groups”:}
2019-07-28T23:36:40.296Z 6ef0927c92006599137a4884518e67b2 addDevice():
2019-07-28T23:36:40.329Z 6ef0927c92006599137a4884518e67b2 ReconnectionManager.evaluate(): this._device.link: connecting, _interval: null
2019-07-28T23:36:40.329Z 6ef0927c92006599137a4884518e67b2 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.330Z CallbackManager.send(): status: {“id”:“6ef0927c92006599137a4884518e67b2”,“name”:“Soundbar”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.227”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:0,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.332Z 06d288929ab40531c9e6406be99b292b ReconnectionManager.evaluate(): this._device.link: connecting, _interval: null
2019-07-28T23:36:40.332Z 06d288929ab40531c9e6406be99b292b ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.332Z CallbackManager.send(): status: {“id”:“06d288929ab40531c9e6406be99b292b”,“name”:“Upstairs Hallway Speaker”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.143”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:0,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.349Z 0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4 ReconnectionManager.evaluate(): this._device.link: connecting, _interval: null
2019-07-28T23:36:40.351Z 0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.351Z CallbackManager.send(): status: {“id”:“0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4”,“name”:“Main level”,“connection”:“connecting”,“address”:{“port”:42178,“host”:“192.168.1.159”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:0,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.354Z f45969c72249dcca2931ea5e5759e846 ReconnectionManager.evaluate(): this._device.link: connecting, _interval: null
2019-07-28T23:36:40.354Z f45969c72249dcca2931ea5e5759e846 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.354Z CallbackManager.send(): status: {“id”:“f45969c72249dcca2931ea5e5759e846”,“name”:“Kitchen Speaker”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.159”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:0,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
message broadcast: false
2019-07-28T23:36:40.371Z 6ef0927c92006599137a4884518e67b2 CastReceiver.parse(): receiverStatus: {“requestId”:7,“status”:{“userEq”:{“high_shelf”:{“frequency”:4500,“gain_db”:0,“quality”:0.707},“low_shelf”:{“frequency”:150,“gain_db”:0,“quality”:0.707},“max_peaking_eqs”:0,“peaking_eqs”:},“volume”:{“controlType”:“master”,“level”:0.5999999046325684,“muted”:false,“stepInterval”:0.019999999552965164}},“type”:“RECEIVER_STATUS”}
2019-07-28T23:36:40.371Z 6ef0927c92006599137a4884518e67b2 CastReceiver.parse(): resetting
2019-07-28T23:36:40.371Z 6ef0927c92006599137a4884518e67b2 castReceiver.setSessionId: null
2019-07-28T23:36:40.372Z 6ef0927c92006599137a4884518e67b2 CastDevice.isGroupPlaybackLocked(): key: volume, status[key]: 60, lock: false
2019-07-28T23:36:40.372Z 6ef0927c92006599137a4884518e67b2 CastGroup.syncStatus(): used to be group, remove & reset
2019-07-28T23:36:40.372Z CallbackManager.send(): status: {“id”:“6ef0927c92006599137a4884518e67b2”,“name”:“Soundbar”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.227”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:60,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.372Z 6ef0927c92006599137a4884518e67b2 ReconnectionManager.evaluate(): this._device.link: connected, _interval: null
2019-07-28T23:36:40.372Z 6ef0927c92006599137a4884518e67b2 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.372Z CallbackManager.send(): status: {“id”:“6ef0927c92006599137a4884518e67b2”,“name”:“Soundbar”,“connection”:“connected”,“address”:{“port”:8009,“host”:“192.168.1.227”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:60,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
message broadcast: false
2019-07-28T23:36:40.378Z 06d288929ab40531c9e6406be99b292b CastReceiver.parse(): receiverStatus: {“requestId”:8,“status”:{“userEq”:{“high_shelf”:{“frequency”:4500,“gain_db”:3.5,“quality”:0.707},“low_shelf”:{“frequency”:150,“gain_db”:0,“quality”:0.707},“max_peaking_eqs”:0,“peaking_eqs”:},“volume”:{“controlType”:“master”,“level”:0.3636363744735718,“muted”:false,“stepInterval”:0.019999999552965164}},“type”:“RECEIVER_STATUS”}
2019-07-28T23:36:40.378Z 06d288929ab40531c9e6406be99b292b CastReceiver.parse(): resetting
2019-07-28T23:36:40.378Z 06d288929ab40531c9e6406be99b292b castReceiver.setSessionId: null
2019-07-28T23:36:40.378Z 06d288929ab40531c9e6406be99b292b CastDevice.isGroupPlaybackLocked(): key: volume, status[key]: 36, lock: false
2019-07-28T23:36:40.378Z 06d288929ab40531c9e6406be99b292b CastGroup.syncStatus(): used to be group, remove & reset
2019-07-28T23:36:40.378Z CallbackManager.send(): status: {“id”:“06d288929ab40531c9e6406be99b292b”,“name”:“Upstairs Hallway Speaker”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.143”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:36,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.378Z 06d288929ab40531c9e6406be99b292b ReconnectionManager.evaluate(): this._device.link: connected, _interval: null
2019-07-28T23:36:40.378Z 06d288929ab40531c9e6406be99b292b ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.379Z CallbackManager.send(): status: {“id”:“06d288929ab40531c9e6406be99b292b”,“name”:“Upstairs Hallway Speaker”,“connection”:“connected”,“address”:{“port”:8009,“host”:“192.168.1.143”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:36,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
message broadcast: false
2019-07-28T23:36:40.389Z 0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4 CastReceiver.parse(): receiverStatus: {“requestId”:9,“status”:{“userEq”:{“high_shelf”:{“frequency”:4500,“gain_db”:3,“quality”:0.707},“low_shelf”:{“frequency”:150,“gain_db”:3,“quality”:0.707},“max_peaking_eqs”:0,“peaking_eqs”:},“volume”:{“controlType”:“master”,“level”:0.44999995827674866,“muted”:false,“stepInterval”:0.05000000074505806}},“type”:“RECEIVER_STATUS”}
2019-07-28T23:36:40.389Z 0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4 CastReceiver.parse(): resetting
2019-07-28T23:36:40.389Z 0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4 castReceiver.setSessionId: null
2019-07-28T23:36:40.390Z 0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4 CastDevice.isGroupPlaybackLocked(): key: volume, status[key]: 45, lock: false
2019-07-28T23:36:40.390Z 0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4 CastGroup.syncStatus(): used to be group, remove & reset
2019-07-28T23:36:40.390Z CallbackManager.send(): status: {“id”:“0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4”,“name”:“Main level”,“connection”:“connecting”,“address”:{“port”:42178,“host”:“192.168.1.159”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:45,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.390Z 0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4 ReconnectionManager.evaluate(): this._device.link: connected, _interval: null
2019-07-28T23:36:40.390Z 0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.390Z CallbackManager.send(): status: {“id”:“0E0F2E3F-0568-4AB3-A1A1-B5BDDF62FED4”,“name”:“Main level”,“connection”:“connected”,“address”:{“port”:42178,“host”:“192.168.1.159”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:45,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
message broadcast: false
2019-07-28T23:36:40.399Z f45969c72249dcca2931ea5e5759e846 CastReceiver.parse(): receiverStatus: {“requestId”:10,“status”:{“userEq”:{“high_shelf”:{“frequency”:4500,“gain_db”:3,“quality”:0.707},“low_shelf”:{“frequency”:150,“gain_db”:3,“quality”:0.707},“max_peaking_eqs”:0,“peaking_eqs”:},“volume”:{“controlType”:“master”,“level”:0.30000001192092896,“muted”:false,“stepInterval”:0.019999999552965164}},“type”:“RECEIVER_STATUS”}
2019-07-28T23:36:40.399Z f45969c72249dcca2931ea5e5759e846 CastReceiver.parse(): resetting
2019-07-28T23:36:40.399Z f45969c72249dcca2931ea5e5759e846 castReceiver.setSessionId: null
2019-07-28T23:36:40.401Z f45969c72249dcca2931ea5e5759e846 CastDevice.isGroupPlaybackLocked(): key: volume, status[key]: 30, lock: false
2019-07-28T23:36:40.401Z f45969c72249dcca2931ea5e5759e846 CastGroup.syncStatus(): used to be group, remove & reset
2019-07-28T23:36:40.401Z CallbackManager.send(): status: {“id”:“f45969c72249dcca2931ea5e5759e846”,“name”:“Kitchen Speaker”,“connection”:“connecting”,“address”:{“port”:8009,“host”:“192.168.1.159”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:30,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}
2019-07-28T23:36:40.401Z f45969c72249dcca2931ea5e5759e846 ReconnectionManager.evaluate(): this._device.link: connected, _interval: null
2019-07-28T23:36:40.401Z f45969c72249dcca2931ea5e5759e846 ReconnectionManager.evaluate(): this._device.link !== disconnected
2019-07-28T23:36:40.401Z CallbackManager.send(): status: {“id”:“f45969c72249dcca2931ea5e5759e846”,“name”:“Kitchen Speaker”,“connection”:“connected”,“address”:{“port”:8009,“host”:“192.168.1.159”},“sessionId”:null,“status”:{“groupPlayback”:false,“volume”:30,“muted”:false,“application”:"",“status”:"",“title”:"",“subtitle”:"",“image”:""},“groups”:,“members”:}

Update : reading past posts, I see that network ID must be unique.

I have a MQTT bridge running on the same raspberry PI.

Any workaround ? I was using v0.2 before

Thanks,

A little Docker help, anyone?

I have been running 1.0 for a while, and updated tonight…
Created a fresh 1.2 docker container on Container Station on a QNAP…

I can enter the container and run cast-web-api-cli start just fine, and it just simply tells me it started the service and shows me a little table with the ip address, etc. Never lists out all the devices and stuff like it used to, but I don’t know that it matters, because the devices all work fine…

THE PROBLEM: I can’t get this container to autostart cast-web. I’ve tried the “startup” command, but it definitely doesn’t cause this docker to start cast-web on the next restart. I’ve also tried setting the setpoint or the command to run the start command, and it starts it right up, but then the container stops instantly. My understanding is because it kills the container after the command is complete. --So even though it’s supposed to be running the daemon, the container simply sees the STARTING of the daemon to be the task it needs to complete.

Can anyone help me get this container autostarting? Thank you.

That’s not really what this was designed for.

Do you have the container auto-starting?

Yes, it’s auto-starting, but via the setting in Container Station.
When I start up just a regular node container and send it a terminal command to start up cast-web, it does it and exits with code 0.
It seems I just need to find a way to have the container keep running, because there’s, I guess, no foreground task associated with this the way it’s set up.

I just went with the standard cast-web-api instead of the -cli version…the standard version runs in the foreground and keeps the container alive. All good. Though I’d still love to hear if anyone has a solution to that, just to satisfy my curiosity. :slight_smile:

I found a solution to my problem, and will post a solution to it in a bit

So I’m running into some problems again with this. I had my system setup like in this video (which I made) https://www.youtube.com/watch?v=WYdvZVI7KFA

The problem started after the most recent update. On the Pi it’s stuck at starting cast-web-api. (I couldn’t get the GUI to show up)
So I figure I might as well try Windows to see if I can at least get my system to run off of that until this gets figured out. I was able to get the GUI to run on that, but I’m getting errors.

A simple http://127.0.0.1:3000/getDevices gets me Cannot GET /getDevices
Where before it would’ve shown the known devices it could broadcast to (as shown in the video). Going into the debug logs it shows it knows the devices.

Anyways, when I try to run the link used to get the Google Home to tell me if someone is at the front door, I’m once again getting a Cannot GET error. I’m not sure if this is because I’m running the GUI on Windows or maybe some change.

The link btw is (just replace the deviceid with the Google Home device ID you want to broadcast to) http://127.0.0.1:3000/device/deviceID/playMediaGet/[{%20"mediaTitle":“mediaTitle”,%20"mediaSubtitle":%20"mediaSubtitle",%20"mediaType":“audio/mp3”,%20"mediaUrl":“http://techreviewsandhelp.com/wp-content/uploads/2018/06/Someone-is-at-the-front-door-1.mp3”,%20"mediaStreamType":“BUFFERED”,%20"mediaImageUrl":“mediaImageUrl”%20}]

For anyone who has their system up and running. Can you test if it works on your system? You just need to replace the deviceid with the device ID of whatever speaker, and obviously the IP address.

After this I tried to just doing it through command prompt on Windows, and it’s again stuck and spinning at Starting cast-web-api

Trying the following http://{The IP address for the computer}:3000/setMediaPlayback?address={The IP address for the Google Home device}&mediaType=audio/mp3&mediaUrl= I’m getting the following error

Cannot GET /setMediaPlayback

So with this I figure maybe there was a fix made where I can just use Smartthings and not use IFTTT. I’m getting the following error when following the instructions here. https://vervallsweg.github.io/cast-web/installation-service-manager-and-device-type/

No signature of method: script_app_metadata_1702aa64_e1ec_4a3b_a1ae_583c31100eff.metadata() is applicable for argument types: (script_app_metadata_1702aa64_e1ec_4a3b_a1ae_583c31100eff$_run_closure2) values: [script_app_metadata_1702aa64_e1ec_4a3b_a1ae_583c31100eff$_run_closure2@daeb375] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

Does anyone know how to fix this?

Note: when I say it’s getting stuck on the pi. I mean it’s sitting at Starting cast-web-api and spinning. Doing a status shows all - in the table. So I’m kinda at a lost on this one.

Just discovered glitch.com which was recommended for some other smart home stuff I was investigating. The author of a plugin for a different ecosystem offers it as a way to host his nodejs application.

Can’t figure out how to properly clone this git to make it work, but if someone smarter could figure it out, that may save a lot of users a lot of headache - both users and those offering tech support.

I just made an updated how to on how to convert your motion sensor or garage door sensor to a doorbell/alert through Google Home https://youtu.be/d1oVazk9KFk