For now, I've removed it all. Will look at this at some other time.Ewaldharmsen wrote: ↑Wednesday 12 December 2018 9:19Can you remove the hardware, and all user variables, restart domoticz and re-add it?EdwinK wrote: ↑Tuesday 11 December 2018 9:29Code: Select all
2018-12-11 09:28:57.518 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. 2018-12-11 09:28:57.540 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. 2018-12-11 09:28:57.561 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. 2018-12-11 09:28:57.585 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results.
Python Plugin: Chromecast Topic is solved
Moderator: leecollings
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Python Plugin: Chromecast
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 130
- Joined: Tuesday 07 February 2017 15:00
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Python Plugin: Chromecast
Nautilus wrote: ↑Wednesday 12 December 2018 22:51Thanks, tried this but now I'm not getting any devices created. Allow new hardware devices was on when I re-added it:Ewaldharmsen wrote: ↑Wednesday 12 December 2018 9:19Can you remove the hardware, and all user variables, restart domoticz and re-add it?EdwinK wrote: ↑Tuesday 11 December 2018 9:29Code: Select all
2018-12-11 09:28:57.518 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. 2018-12-11 09:28:57.540 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. 2018-12-11 09:28:57.561 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. 2018-12-11 09:28:57.585 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results.
Code: Select all
2018-12-12 23:46:48.500 Status: (Chromecasts) Started. 2018-12-12 23:46:50.220 Status: (Chromecasts) Entering work loop. 2018-12-12 23:46:50.220 Status: (Chromecasts) Initialized version 3.0.2, author 'Tsjippy' 2018-12-12 23:46:50.223 Status: (Chromecasts) Checking if images are loaded 2018-12-12 23:46:50.223 Status: (Chromecasts) Starting up 2018-12-12 23:46:50.242 Error: (Chromecasts) 'onStart' failed 'ConnectionError'. 2018-12-12 23:46:50.242 Error: (Chromecasts) ----> Line 560 in '/home/pi/domoticz/plugins/ChromecastPlugin/plugin.py', function onStart 2018-12-12 23:46:50.242 Error: (Chromecasts) ----> Line 272 in '/home/pi/domoticz/plugins/ChromecastPlugin/plugin.py', function onStart 2018-12-12 23:46:50.242 Error: (Chromecasts) ----> Line 502 in '/home/pi/domoticz/plugins/ChromecastPlugin/plugin.py', function updateDevices 2018-12-12 23:46:50.242 Error: (Chromecasts) ----> Line 75 in '/home/pi/domoticz/plugins/ChromecastPlugin/requests/api.py', function get 2018-12-12 23:46:50.242 Error: (Chromecasts) ----> Line 60 in '/home/pi/domoticz/plugins/ChromecastPlugin/requests/api.py', function request 2018-12-12 23:46:50.242 Error: (Chromecasts) ----> Line 533 in '/home/pi/domoticz/plugins/ChromecastPlugin/requests/sessions.py', function request 2018-12-12 23:46:50.242 Error: (Chromecasts) ----> Line 646 in '/home/pi/domoticz/plugins/ChromecastPlugin/requests/sessions.py', function send 2018-12-12 23:46:50.242 Error: (Chromecasts) ----> Line 516 in '/home/pi/domoticz/plugins/ChromecastPlugin/requests/adapters.py', function send 2018-12-12 23:47:02.580 Error: (Chromecasts) http://127.0.0.1:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. 2018-12-12 23:47:12.805 (Chromecasts) Connecting to available chromecasts 2018-12-12 23:47:12.805 Status: (Chromecasts) Checking for available chromecasts 2018-12-12 23:47:21.791 (Chromecasts) Found these chromecasts: Musiikkihuone TV 2018-12-12 23:47:21.792 (Chromecasts) Registering listeners for Musiikkihuone TV 2018-12-12 23:47:21.792 (Chromecasts) Done registering listeners for Musiikkihuone TV 2018-12-12 23:47:21.836 (Chromecasts) The app of 'Musiikkihuone TV' has changed to Backdrop 2018-12-12 23:47:21.836 (Chromecasts) Will set the domoticz devices to off. 2018-12-12 23:47:21.836 (Chromecasts) Updated volume to 50 2018-12-12 23:47:21.792 Status: (Chromecasts) Connected to Musiikkihuone TV 2018-12-12 23:47:31.337 Error: (Chromecasts) http://127.0.0.1:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. 2018-12-12 23:47:41.323 Error: (Chromecasts) http://127.0.0.1:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results.
I improved the code messaging in version 3.0.3.
Your variable can not be queried. If you use 3.0.3 it should give you the url on which it tries to get them.
-
- Posts: 117
- Joined: Tuesday 24 October 2017 18:32
- Target OS: Linux
- Domoticz version: 4.10159
- Contact:
Re: Python Plugin: Chromecast
Code: Select all
2018-12-19 01:20:28.209 Error: (Google Home) Could not get all variables. Used this url: http://192.168.1.58:8888/json.htm?type=command¶m=getuservariables
2018-12-19 01:20:28.214 Error: (Google Home) Could not create 'Bagno', result was ERR
2018-12-19 01:20:28.220 Error: (Google Home) Could not create 'Chromecast Luigi', result was ERR
2018-12-19 01:20:28.225 Error: (Google Home) Could not create 'Cameretta', result was ERR
2018-12-19 01:20:28.230 Error: (Google Home) Could not create 'Cucina', result was ERR
2018-12-19 01:20:28.235 Error: (Google Home) Could not create 'Tutta la casa', result was ERR
2018-12-19 01:20:28.241 Error: (Google Home) 'onStart' failed 'KeyError'.
2018-12-19 01:20:28.241 Error: (Google Home) ----> Line 569 in '/home/luigi/domoticz/plugins/ChromecastPlugin/plugin.py', function onStart
2018-12-19 01:20:28.241 Error: (Google Home) ----> Line 277 in '/home/luigi/domoticz/plugins/ChromecastPlugin/plugin.py', function onStart
2018-12-19 01:20:28.241 Error: (Google Home) ----> Line 648 in '/home/luigi/domoticz/plugins/ChromecastPlugin/plugin.py', function getVariables
Domoticz on AsRock j3455-ITX 8gb ram - Aeotec ZWave Usb Stick - RFLink 433Mhz
1x Fibaro Wall Plug
1x Fibaro Motion Sensor
x NeoCoolcam Wall Plug
Netatmo Weather Station - Netatmo Thermostat
Philips Hue Bridge
1x Fibaro Wall Plug
1x Fibaro Motion Sensor
x NeoCoolcam Wall Plug
Netatmo Weather Station - Netatmo Thermostat
Philips Hue Bridge
-
- Posts: 130
- Joined: Tuesday 07 February 2017 15:00
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Python Plugin: Chromecast
So what happens if you paste http://192.168.1.58:8888/json.htm?type= ... rvariables into your browser?
-
- Posts: 117
- Joined: Tuesday 24 October 2017 18:32
- Target OS: Linux
- Domoticz version: 4.10159
- Contact:
Re: Python Plugin: Chromecast
Code: Select all
{
"status" : "OK",
"title" : "GetUserVariables"
}
Domoticz on AsRock j3455-ITX 8gb ram - Aeotec ZWave Usb Stick - RFLink 433Mhz
1x Fibaro Wall Plug
1x Fibaro Motion Sensor
x NeoCoolcam Wall Plug
Netatmo Weather Station - Netatmo Thermostat
Philips Hue Bridge
1x Fibaro Wall Plug
1x Fibaro Motion Sensor
x NeoCoolcam Wall Plug
Netatmo Weather Station - Netatmo Thermostat
Philips Hue Bridge
-
- Posts: 113
- Joined: Sunday 14 July 2013 22:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: NL
- Contact:
Re: Python Plugin: Chromecast
Same issue here:
2018-12-20 08:10:57.757 Error: (Chromecast) http://127.0.0.1:8081/json.htm?type=com ... iable&idx= did not return any results.
2018-12-20 08:10:57.786 Error: (Chromecast) http://127.0.0.1:8081/json.htm?type=com ... iable&idx= did not return any results.
running latest beta and python plugin
2018-12-20 08:10:57.757 Error: (Chromecast) http://127.0.0.1:8081/json.htm?type=com ... iable&idx= did not return any results.
2018-12-20 08:10:57.786 Error: (Chromecast) http://127.0.0.1:8081/json.htm?type=com ... iable&idx= did not return any results.
running latest beta and python plugin
-
- Posts: 113
- Joined: Sunday 14 July 2013 22:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: NL
- Contact:
Re: Python Plugin: Chromecast
for me:Ewaldharmsen wrote: ↑Wednesday 19 December 2018 18:04 So what happens if you paste http://192.168.1.58:8888/json.htm?type= ... rvariables into your browser?
{
"result" : [
{
"LastUpdate" : "2018-12-16 09:19:49",
"Name" : "Huiskamer",
"Type" : "2",
"Value" : "",
"idx" : "1"
},
{
"LastUpdate" : "2018-12-16 09:19:49",
"Name" : "Badkamer",
"Type" : "2",
"Value" : "",
"idx" : "2"
},
-
- Posts: 102
- Joined: Tuesday 04 March 2014 10:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Surrey, UK
- Contact:
Re: Python Plugin: Chromecast
I too see the error
2018-12-20 08:41:05.974 Error: (ChromeCast) Could not create 'Office speaker', result was ERR
If I run http://xxx.xxx.xxx.xxx:8080/json.htm?ty ... rvariables
I get :-
{
"result" : [
{
"LastUpdate" : "2018-11-25 08:59:13",
"Name" : "Front bedroom speaker",
"Type" : "2",
"Value" : "",
"idx" : "1"
},
{
"LastUpdate" : "2018-11-25 08:59:13",
"Name" : "Office speaker",
"Type" : "2",
"Value" : "",
"idx" : "2"
},
{
"LastUpdate" : "2018-11-26 23:21:10",
"Name" : "Lounge display",
"Type" : "2",
"Value" : "",
"idx" : "3"
}
],
"status" : "OK",
"title" : "GetUserVariables"
}
Running Domoticz V4.10300 with plugin 3.0.4
2018-12-20 08:41:05.974 Error: (ChromeCast) Could not create 'Office speaker', result was ERR
If I run http://xxx.xxx.xxx.xxx:8080/json.htm?ty ... rvariables
I get :-
{
"result" : [
{
"LastUpdate" : "2018-11-25 08:59:13",
"Name" : "Front bedroom speaker",
"Type" : "2",
"Value" : "",
"idx" : "1"
},
{
"LastUpdate" : "2018-11-25 08:59:13",
"Name" : "Office speaker",
"Type" : "2",
"Value" : "",
"idx" : "2"
},
{
"LastUpdate" : "2018-11-26 23:21:10",
"Name" : "Lounge display",
"Type" : "2",
"Value" : "",
"idx" : "3"
}
],
"status" : "OK",
"title" : "GetUserVariables"
}
Running Domoticz V4.10300 with plugin 3.0.4
3 x Pi, 1 Master, 2 Slaves, 1x Aeotec Z-Stick S2, 4xSP103 PIR, 5xPowerNode 1, 1xSmart Energy Switch Gen5, 4xFGSS101 Smoke Sensor, 2xFGD212, 9xFGS212 , 7xFGS221/2, 1xAD142 , 1xTKB TZ68E , 2xAeotec Multi Sensor, 3 x NodOn CRC-3-1-00.
-
- Posts: 130
- Joined: Tuesday 07 February 2017 15:00
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Python Plugin: Chromecast
Can you all update to version 3.0.7?
git pull should work.
That should fix the variable problem or give better errors
git pull should work.
That should fix the variable problem or give better errors
-
- Posts: 102
- Joined: Tuesday 04 March 2014 10:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Surrey, UK
- Contact:
Re: Python Plugin: Chromecast
gut pull worked fine, no on 3.0.7
This time the errors I get are :-
2018-12-20 18:53:27.106 Error: (ChromeCast) Could not create 'Office speaker', result was ERR. Url used is http://192.168.1.20:8080/json.htm?type= ... ame=Office speaker&vtype=2&vvalue=
2018-12-20 18:53:27.185 Error: (ChromeCast) Could not create 'Front bedroom speaker', result was ERR. Url used is http://192.168.1.20:8080/json.htm?type= ... name=Front bedroom speaker&vtype=2&vvalue=
2018-12-20 18:53:27.265 Error: (ChromeCast) Could not create 'Lounge display', result was ERR. Url used is http://192.168.1.20:8080/json.htm?type= ... ame=Lounge display&vtype=2&vvalue=
I have tried
http://192.168.1.20:8080/json.htm?type= ... =2&vvalue=
and get
{
"status" : "ERR"
}
This time the errors I get are :-
2018-12-20 18:53:27.106 Error: (ChromeCast) Could not create 'Office speaker', result was ERR. Url used is http://192.168.1.20:8080/json.htm?type= ... ame=Office speaker&vtype=2&vvalue=
2018-12-20 18:53:27.185 Error: (ChromeCast) Could not create 'Front bedroom speaker', result was ERR. Url used is http://192.168.1.20:8080/json.htm?type= ... name=Front bedroom speaker&vtype=2&vvalue=
2018-12-20 18:53:27.265 Error: (ChromeCast) Could not create 'Lounge display', result was ERR. Url used is http://192.168.1.20:8080/json.htm?type= ... ame=Lounge display&vtype=2&vvalue=
I have tried
http://192.168.1.20:8080/json.htm?type= ... =2&vvalue=
and get
{
"status" : "ERR"
}
3 x Pi, 1 Master, 2 Slaves, 1x Aeotec Z-Stick S2, 4xSP103 PIR, 5xPowerNode 1, 1xSmart Energy Switch Gen5, 4xFGSS101 Smoke Sensor, 2xFGD212, 9xFGS212 , 7xFGS221/2, 1xAD142 , 1xTKB TZ68E , 2xAeotec Multi Sensor, 3 x NodOn CRC-3-1-00.
-
- Posts: 241
- Joined: Tuesday 16 May 2017 13:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Neterlands
- Contact:
Re: Python Plugin: Chromecast
do you have under settings > settings > system > local networks:mark.sellwood wrote: ↑Thursday 20 December 2018 19:57 gut pull worked fine, no on 3.0.7
This time the errors I get are :-
2018-12-20 18:53:27.106 Error: (ChromeCast) Could not create 'Office speaker', result was ERR. Url used is http://192.168.1.20:8080/json.htm?type= ... ame=Office speaker&vtype=2&vvalue=
2018-12-20 18:53:27.185 Error: (ChromeCast) Could not create 'Front bedroom speaker', result was ERR. Url used is http://192.168.1.20:8080/json.htm?type= ... name=Front bedroom speaker&vtype=2&vvalue=
2018-12-20 18:53:27.265 Error: (ChromeCast) Could not create 'Lounge display', result was ERR. Url used is http://192.168.1.20:8080/json.htm?type= ... ame=Lounge display&vtype=2&vvalue=
I have tried
http://192.168.1.20:8080/json.htm?type= ... =2&vvalue=
and get
{
"status" : "ERR"
}
192.168.1.*,127.0.0.*
otherwise it can not use the domoticz api because it needs a password but if you exclude your local network from requiring a password it will work
raspberry pi | xiaomi vacuum | yeelight | philips hue | zwave | ubiquiti unifi | harmony | sonoff | zigbee2mqtt | https://www.youtube.com/channel/UC2Zidl ... m1OLuNldfQ
-
- Posts: 113
- Joined: Sunday 14 July 2013 22:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: NL
- Contact:
Re: Python Plugin: Chromecast
Hmm after the update i've got:Ewaldharmsen wrote: ↑Thursday 20 December 2018 19:27 Can you all update to version 3.0.7?
git pull should work.
That should fix the variable problem or give better errors
2018-12-20 20:27:59.445 Error: (Chromecast) http://127.0.0.1:8081/json.htm?type=com ... iable&idx= did not return any results. ([0, Chromecast('192.168.2.15', port=8009, device=DeviceStatus(friendly_name='Badkamer', model_name='Google Home Mini', manufacturer='Google Inc.', uuid=UUID(xxxxxxxxxxxxxxxxxxxxx), cast_type='cast')), '', 'CONNECTED', 0])
local networks are set: 127.0.0.*;10.250.*.*;192.168.2.*
-
- Posts: 102
- Joined: Tuesday 04 March 2014 10:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Surrey, UK
- Contact:
Re: Python Plugin: Chromecast
My local networks are set to 192.168.1.*;127.0.0.*snellejellep wrote: ↑Thursday 20 December 2018 20:21do you have under settings > settings > system > local networks:mark.sellwood wrote: ↑Thursday 20 December 2018 19:57 gut pull worked fine, no on 3.0.7
This time the errors I get are :-
2018-12-20 18:53:27.106 Error: (ChromeCast) Could not create 'Office speaker', result was ERR. Url used is http://192.168.1.20:8080/json.htm?type= ... ame=Office speaker&vtype=2&vvalue=
2018-12-20 18:53:27.185 Error: (ChromeCast) Could not create 'Front bedroom speaker', result was ERR. Url used is http://192.168.1.20:8080/json.htm?type= ... name=Front bedroom speaker&vtype=2&vvalue=
2018-12-20 18:53:27.265 Error: (ChromeCast) Could not create 'Lounge display', result was ERR. Url used is http://192.168.1.20:8080/json.htm?type= ... ame=Lounge display&vtype=2&vvalue=
I have tried
http://192.168.1.20:8080/json.htm?type= ... =2&vvalue=
and get
{
"status" : "ERR"
}
192.168.1.*,127.0.0.*
otherwise it can not use the domoticz api because it needs a password but if you exclude your local network from requiring a password it will work
http://192.168.1.20:8080/json.htm?type= ... getversion
returns
{
"DomoticzUpdateURL" : "https://www.domoticz.com/download.php?c ... ine=armv7l",
"HaveUpdate" : false,
"Revision" : 10301,
"SystemName" : "linux",
"UseUpdate" : true,
"build_time" : "2018-12-20 18:46:47",
"dzvents_version" : "2.4.9",
"hash" : "b1521946",
"python_version" : "3.5.3 (default, Sep 27 2018, 17:25:39) \n[GCC 6.3.0 20170516]",
"status" : "OK",
"title" : "GetVersion",
"version" : "4.10301"
}
3 x Pi, 1 Master, 2 Slaves, 1x Aeotec Z-Stick S2, 4xSP103 PIR, 5xPowerNode 1, 1xSmart Energy Switch Gen5, 4xFGSS101 Smoke Sensor, 2xFGD212, 9xFGS212 , 7xFGS221/2, 1xAD142 , 1xTKB TZ68E , 2xAeotec Multi Sensor, 3 x NodOn CRC-3-1-00.
-
- Posts: 130
- Joined: Tuesday 07 February 2017 15:00
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Python Plugin: Chromecast
I think your user variable is somehow not created. I have released version 3.0.8 with better error logging.jeroenkl wrote: ↑Thursday 20 December 2018 20:30Hmm after the update i've got:Ewaldharmsen wrote: ↑Thursday 20 December 2018 19:27 Can you all update to version 3.0.7?
git pull should work.
That should fix the variable problem or give better errors
2018-12-20 20:27:59.445 Error: (Chromecast) http://127.0.0.1:8081/json.htm?type=com ... iable&idx= did not return any results. ([0, Chromecast('192.168.2.15', port=8009, device=DeviceStatus(friendly_name='Badkamer', model_name='Google Home Mini', manufacturer='Google Inc.', uuid=UUID(xxxxxxxxxxxxxxxxxxxxx), cast_type='cast')), '', 'CONNECTED', 0])
local networks are set: 127.0.0.*;10.250.*.*;192.168.2.*
Can you check if there is a user variable called "'Badkamer"?
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Python Plugin: Chromecast
Code: Select all
Chromecast('192.168.0.148', port=8009, device=DeviceStatus(friendly_name='Mini 1', model_name='Google Home Mini', manufacturer='Google Inc.', uuid=UUID('48cb0466-4ea8-35bb-30dc-1132f0bf4207'), cast_type='cast')), '', 'CONNECTED', 0])
2018-12-21 10:09:11.791 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. ([3, Chromecast('192.168.0.144', port=8009, device=DeviceStatus(friendly_name='Mini 2', model_name='Google Home Mini', manufacturer='Google Inc.', uuid=UUID('aac0e5b9-287d-4649-b58c-6f2dc684775e'), cast_type='cast')), '', 'CONNECTED', 0])
2018-12-21 10:09:11.812 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. ([1, Chromecast('192.168.0.142', port=8009, device=DeviceStatus(friendly_name='Cast 2', model_name='Chromecast', manufacturer='Google Inc.', uuid=UUID('f112c2a7-87dd-d729-82e9-279fa653cdee'), cast_type='cast')), '', 'CONNECTED', 0])
2018-12-21 10:09:11.833 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. ([0, Chromecast('192.168.0.109', port=8009, device=DeviceStatus(friendly_name='Cast 1', model_name='Chromecast', manufacturer='Google Inc.', uuid=UUID('92415db4-01bf-e7aa-54b5-aadfe0683937'), cast_type='cast')), '', 'CONNECTED', 0])
2018-12-21 10:09:21.794 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. ([2, Chromecast('192.168.0.148', port=8009, device=DeviceStatus(friendly_name='Mini 1', model_name='Google Home Mini', manufacturer='Google Inc.', uuid=UUID('48cb0466-4ea8-35bb-30dc-1132f0bf4207'), cast_type='cast')), '', 'CONNECTED', 0])
2018-12-21 10:09:21.815 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. ([3, Chromecast('192.168.0.144', port=8009, device=DeviceStatus(friendly_name='Mini 2', model_name='Google Home Mini', manufacturer='Google Inc.', uuid=UUID('aac0e5b9-287d-4649-b58c-6f2dc684775e'), cast_type='cast')), '', 'CONNECTED', 0])
2018-12-21 10:09:21.837 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. ([1, Chromecast('192.168.0.142', port=8009, device=DeviceStatus(friendly_name='Cast 2', model_name='Chromecast', manufacturer='Google Inc.', uuid=UUID('f112c2a7-87dd-d729-82e9-279fa653cdee'), cast_type='cast')), '', 'CONNECTED', 0])
2018-12-21 10:09:21.858 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. ([0, Chromecast('192.168.0.109', port=8009, device=DeviceStatus(friendly_name='Cast 1', model_name='Chromecast', manufacturer='Google Inc.', uuid=UUID('92415db4-01bf-e7aa-54b5-aadfe0683937'), cast_type='cast')), '', 'CONNECTED', 0])
2018-12-21 10:09:31.752 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. ([2, Chromecast('192.168.0.148', port=8009, device=DeviceStatus(friendly_name='Mini 1', model_name='Google Home Mini', manufacturer='Google Inc.', uuid=UUID('48cb0466-4ea8-35bb-30dc-1132f0bf4207'), cast_type='cast')), '', 'CONNECTED', 0])
2018-12-21 10:09:31.774 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. ([3, Chromecast('192.168.0.144', port=8009, device=DeviceStatus(friendly_name='Mini 2', model_name='Google Home Mini', manufacturer='Google Inc.', uuid=UUID('aac0e5b9-287d-4649-b58c-6f2dc684775e'), cast_type='cast')), '', 'CONNECTED', 0])
2018-12-21 10:09:31.795 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. ([1, Chromecast('192.168.0.142', port=8009, device=DeviceStatus(friendly_name='Cast 2', model_name='Chromecast', manufacturer='Google Inc.', uuid=UUID('f112c2a7-87dd-d729-82e9-279fa653cdee'), cast_type='cast')), '', 'CONNECTED', 0])
2018-12-21 10:09:31.816 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. ([0, Chromecast('192.168.0.109', port=8009, device=DeviceStatus(friendly_name='Cast 1', model_name='Chromecast', manufacturer='Google Inc.', uuid=UUID('92415db4-01bf-e7aa-54b5-aadfe0683937'), cast_type='cast')), '', 'CONNECTED', 0])
2018-12-21 10:09:41.761 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. ([2, Chromecast('192.168.0.148', port=8009, device=DeviceStatus(friendly_name='Mini 1', model_name='Google Home Mini', manufacturer='Google Inc.', uuid=UUID('48cb0466-4ea8-35bb-30dc-1132f0bf4207'), cast_type='cast')), '', 'CONNECTED', 0])
2018-12-21 10:09:41.782 Error: (PyCast) http://192.168.0.11:8080/json.htm?type=command¶m=getuservariable&idx= did not return any results. ([3, Chromecast('192.168.0.144', port=8009, device=DeviceStatus(friendly_name='Mini 2', model_name='Google Home Mini', manufacturer='Google Inc.', uuid=UUID('aac0e5b9-287d-4649-b58c-6f2dc684775e'), cast_type='cast')), '', 'CONNECTED', 0])
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Python Plugin: Chromecast
API saveuservariable has changed in V4.10298 to adduservariable.
Verstuurd vanaf mijn ONEPLUS A6003 met Tapatalk
Verstuurd vanaf mijn ONEPLUS A6003 met Tapatalk
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 117
- Joined: Tuesday 24 October 2017 18:32
- Target OS: Linux
- Domoticz version: 4.10159
- Contact:
Re: Python Plugin: Chromecast
i've same problem:
Code: Select all
2018-12-21 10:49:38.209 Error: (Chromecast) failed to load 'plugin.py', Python Path used was '/home/user/domoticz/plugins/ChromecastPlugin/:/usr/lib/python36.zip:/usr/lib/python3.6:/usr/lib/python3.6:/usr/lib/python3.6/lib-dynload'.
2018-12-21 10:49:38.209 Error: (Google Home) Module Import failed, exception: 'ModuleNotFoundError'
2018-12-21 10:49:38.209 Error: (Google Home) Module Import failed: ' Name: requests'
2018-12-21 10:49:38.209 Error: (Google Home) Error Line details not available.
Domoticz on AsRock j3455-ITX 8gb ram - Aeotec ZWave Usb Stick - RFLink 433Mhz
1x Fibaro Wall Plug
1x Fibaro Motion Sensor
x NeoCoolcam Wall Plug
Netatmo Weather Station - Netatmo Thermostat
Philips Hue Bridge
1x Fibaro Wall Plug
1x Fibaro Motion Sensor
x NeoCoolcam Wall Plug
Netatmo Weather Station - Netatmo Thermostat
Philips Hue Bridge
-
- Posts: 3
- Joined: Friday 21 December 2018 10:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10304
- Contact:
Re: Python Plugin: Chromecast
Similar problem here
Plugin ver 3.0.8
PyChromecast ver 2.3.0
Domoticz Version: 4.10301, Build Hash: b1521946
Code: Select all
2018-12-21 11:21:39.640 Status: (Chrome) Started.
2018-12-21 11:21:39.984 Error: (Chromecast) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/ChromecastPlugin/:/usr/lib/python3.4/:/usr/lib/python3.4/plat-arm-linux-gnueabihf:/usr/lib/python3.4/lib-dynload'.
2018-12-21 11:21:39.984 Error: (Chrome) Module Import failed, exception: 'ImportError'
2018-12-21 11:21:39.984 Error: (Chrome) Module Import failed: ' Name: requests'
2018-12-21 11:21:39.984 Error: (Chrome) Error Line details not available.
PyChromecast ver 2.3.0
Domoticz Version: 4.10301, Build Hash: b1521946
-
- Posts: 130
- Joined: Tuesday 07 February 2017 15:00
- Target OS: Linux
- Domoticz version:
- Contact:
-
- Posts: 113
- Joined: Sunday 14 July 2013 22:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: NL
- Contact:
Re: Python Plugin: Chromecast
I checked if the user variable are there, after a clean install: No they are not. Also not created with 3.0.9Ewaldharmsen wrote: ↑Friday 21 December 2018 8:41I think your user variable is somehow not created. I have released version 3.0.8 with better error logging.jeroenkl wrote: ↑Thursday 20 December 2018 20:30Hmm after the update i've got:Ewaldharmsen wrote: ↑Thursday 20 December 2018 19:27 Can you all update to version 3.0.7?
git pull should work.
That should fix the variable problem or give better errors
2018-12-20 20:27:59.445 Error: (Chromecast) http://127.0.0.1:8081/json.htm?type=com ... iable&idx= did not return any results. ([0, Chromecast('192.168.2.15', port=8009, device=DeviceStatus(friendly_name='Badkamer', model_name='Google Home Mini', manufacturer='Google Inc.', uuid=UUID(xxxxxxxxxxxxxxxxxxxxx), cast_type='cast')), '', 'CONNECTED', 0])
local networks are set: 127.0.0.*;10.250.*.*;192.168.2.*
Can you check if there is a user variable called "'Badkamer"?
To what string should badkamer set?
Who is online
Users browsing this forum: Bing [Bot] and 1 guest