Willkommen im Loxone Community Forum. Um alle Funktionen nutzen und sehen zu können, registriere dich bitte zuerst. Dies gilt auch für das herunterladen von Dateien.
Bitte im Titel immer zuerst den Namen des Plugins hinschreiben
Hi guys,
I'm working on Chromecast control plugin. I'd like to start short private round of alpha/beta testing before releasing it into the wild. So I'm looking for volunteers, enthusiasts who use Chromecast and would like to control it also from Loxone.
I resumed the development and started to work on support of multiple chromecast devices
Plus I switched to a new "driver" (which handles the Cast API communication) hence some more features may be possible (like real pause + resume, skip to next song, ...)
Anybody knows if we can get a string into loxone UI? If yes, I could expose the name of currently played song as well.
Loxberry is quite new to me and I have trouble getting the Plugin to work.
I use the newest release of the Loxberry (v3.0.0.6).
Here the Chromecaste status:
Code:
Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /opt/loxberry/webfrontend/htmlauth/plugins/chromecast-4lox/status_exec.php on line 22
and the log when I try to send a pause command:
Code:
DEBUG:root:2023-10-11 11:28:01 RECEIVED: PAUSE for Chromecast 192.168.1.228
/opt/loxberry/bin/plugins/chromecast-4lox/cast.sh: line 14: /opt/loxberry/bin/plugins/chromecast-4lox/: Is a directory
ERROR:root:2023-10-11 11:28:01 Error executing: /opt/loxberry/bin/plugins/chromecast-4lox/cast.sh --host 192.168.1.228 media pause *** return code 126 *** OUTPUT: |
DEBUG:root:2023-10-11 11:28:01 REPLY to 192.168.1.201 port 7651: *PAUSE_NACK;
DEBUG:root:2023-10-11 11:28:01 REPLY to 192.168.1.201 port 7651: *STATUS_OFFLINE;
Would be grade if someone could help me solve this problem.
do you have made any progress on the Chromecast Control plugin? I'm looking for a way to control multiple chromecast devices from one loxberry.
Thanks anyway!
Hi MaximilianHWL and dj82atwork
do you both suffer from this problem? I'm still using the old trustworthy version on Loxberry 3.0.0.6 and it works for me.
The error logs indicate the chromecast utility (a binary bundled with the plugin) is not working. What platform are you? I'm running LoxBerry on Raspberry (ARM)...
Aleq I was planning on implementing your Loxberry Chromecast plugin to turn on the lights once an application is started.
If I send GET_STATUS to the Loxberry, I receive the correct reply in Loxone's UDP monitor.
However, I would like to have the application that is currently active displayed in a virtual UDP input but I can't get this to work.
It could also just be a binary value where 0 means no applications running and 1 means that an application is running.
Is this possible?
I am having trouble using this plugin. I installed Loxberry and the Plugin on a RaspberryPi. Now when I configure the Chromecast, I enter the Loxberry UDP port (I guess can be anything as long as it's not used yet, right? I choose 1001), the Chromecast IP (according to Discover section), Miniserver IP and UDP port (also here I chose 1001). When I save the configuration, I then click on "Overview" and it says:
LoxBerry Chromecast 4 Lox server not running.
Check your configuration and try restarting LoxBerry
I restarted but again nothing.
I checked the Log page and it says:
/usr/bin/env: ‘python2’: No such file or directory
I tried to install python2 to no avail, as it is not found.
Hi guys,
I'll consider that 0/1 (application running/not) in future versions.
Regarding python2 - apparently upgraded loxberries still have python2 but fresh installations not. And the plugin is based on python2.
I have early version of python3 plugin in works, but it is extremely experimental. It's unfinished, untested. No support. Still, I'm attaching it to the message.
If the odds (and gods) are in my favour, I might get some time to work on it during christmas holidays...
Wir verarbeiten personenbezogene Daten über Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen, Werbung zu personalisieren und Websiteaktivitäten zu analysieren. Wir können bestimmte Informationen über unsere Nutzer mit unseren Werbe- und Analysepartnern teilen. Weitere Einzelheiten finden Sie in unserer Datenschutzrichtlinie.
Wenn Sie unten auf "Einverstanden" klicken, stimmen Sie unserer Datenschutzrichtlinie und unseren Datenverarbeitungs- und Cookie-Praktiken wie dort beschrieben zu. Sie erkennen außerdem an, dass dieses Forum möglicherweise außerhalb Ihres Landes gehostet wird und Sie der Erhebung, Speicherung und Verarbeitung Ihrer Daten in dem Land, in dem dieses Forum gehostet wird, zustimmen.
Kommentar