liver64 / php-sonos-and-loxone Goto Github PK
View Code? Open in Web Editor NEWa PHP Script to integrate Sonos Speakers into Home Automation systems like Loxone
a PHP Script to integrate Sonos Speakers into Home Automation systems like Loxone
Hi!
Is there anything I can do to improve the response time?
Currently it takes about 2 seconds to get the HTTP response.
Thus, things like starting/stopping the player s relatively slow.
I knkow that there are other sonos control solutions which have some background code running all the time. Those solutions provide much quicker responses to action requests.
(e.g. new OpenHAB2 or node-sonos-http-api)
The script is running on a Celeron [email protected] and not a Raspberry Pi.. Should not be the issue though.
Ich habe Version 2.0.6
Wenn ich folgende Funktion ausführe, bekomme ich einen Fehler:
http://DEINE_IP/DEIN_VERZEICHNIS/index.php?zone=DEINE_ZONE&action=addmember&member=ANDERE_ZONE
Fehlermeldung im Log:
2016-11-06 17:19:12 - USER WARNING error: [2], Invalid argument supplied for foreach() in /volume1/web/home/sonos2.php in line 1527,
2016-11-06 17:19:12 - USER WARNING error: [2], Invalid argument supplied for foreach() in /volume1/web/home/sonos/sonos2.php in line 1532,
2016-11-06 17:19:12 - USER defined WARNING error: [8], Undefined variable: members in /volume1/web/home/sonos/sonos2.php in line 1540,
2016-11-06 17:19:12 - USER defined WARNING error: [8], Undefined index: in /volume1/web/home/sonos/sonos2.php in line 500,
2016-11-06 17:19:12 - USER WARNING error: [2], fsockopen(): php_network_getaddresses: gethostbyname failed. errno=0 in /volume1/web/home/sonos/System/PHPSonos.php in line 2632,
2016-11-06 17:19:12 - USER WARNING error: [2], fsockopen(): unable to connect to :1400 (php_network_getaddresses: gethostbyname failed. errno=0) in /volume1/web/home/sonos/System/PHPSonos.php in line 2632,
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.