LBS_19000001
Edomi | iTunes | Server
LBS create / edit / rules ...
Installation
Help
- EDOMI: http://www.edomi.de
- EDOMI-Support: https://knx-user-forum.de/forum/projektforen/edomi
- EDOMI-Wiki: http://www.knx-home.net/wiki/index.php?title=Hauptseite
Beschreibung
- Purpose ...
-
To be abele to communicate between Edomi-Server and iTunes.
In that current version only information receiving (from iTunes) is possible.
After implementation of UDP-lstener in Tune-Insturctor, sending of commands to iTunes will be possible, too.
Other version of LBS19000xxx is able to communicate between Edomi-Server and iTunes via Apple-Scripts, only.
Beside of that LBS (Server), other LBS are needed: "player", "track" and "airplay" - otional "playlist" and "eq". - Needed files ...
- Apache-WebServer am Mac aktivieren und konfigurieren ... Mac-User ist das Zielverzeichnis. Apple-Skripte - das Installationspaket ist unter folgendem Link zu finden: http://ipfelgruen.de/forum/software/skripte/eigene-tools-und-gadgets/2283-itunes-und-airplay-über-webserver-steuern Ursprünglich wurden die Skripte für den GIRA-HS4 und EibPC entwickelt/angepasst (Senden/Empfangen) - diser LBS 19000001 kann die Skripte zur Steuerung von iTunes verwenden, die Implementierung wird im LBS "Player" umgesetzt, als Rückmeldung werden die JSON-Dateien benötigt. Hier auch ein Danke an Michael für die großartige Unterstützung und Perfektionierung der Aplle-Skripte sowie der einfachen Installationsroutine. Für die Generierung benötigte JSON-Dateien bitte entweder eine individuelle Lösung entwickeln ODER den Tune?Instructor installieren (www.tune-instructor.de). An dieser Stelle noch mein Dank an Tibor, den Entwickler von Tune?Instructor der das EXPORT (JSON-Dateien) implementiert hat. Beschreibung für die Konfiguration von Tune?Instructor liegt in der 19000001_lbs.ZIP-Datei im Downloadbereich.
- Inputs ...
-
E1: TRIGGER: system-time (KO 5) = 1 secound, other trigger if needed.
E2: DEBUG: standard = 4 (includes "emergency", "alert", "critical" and "error".
E3: IP-ASDRESS: the target address (IP) of the server where the files (.JSON) are stored (Mac itself, Edomi-, or other web- or file-server).
E4: PATH: the path were the files are saved.
E5: USER-name on Mac if the needed files are saved on Mac (especially if the web-server is on Mac in standard-path /sites).
E10: MODUS: http OR file (depends whether the files are storred on a web- or file-server).
E11: NAME of the JSON-file of "player".
E12: NAME of the JSON-file of "airplay".
E13: NAME of the JSON-file of "playlists".
E14: NAME of the JSON-file of "eq".
E15: NAME of the JSON-file of "track".
- Outputs ...
-
A1: LINK: bei Modus FILE ein SHARE und bei Modus HTTP ein URL.
A10: MODUS: darf nicht leer sein - entweder "file" oder "http".
A11: JSON-String für den LBS "Player".
A12: JSON-String für den LBS "Airplays".
A13: JSON-String für den LBS "Playlists".
A14: JSON-String für den LBS "eq".
A15: JSON-String für den LBS "Track".
- http/file ...
-
E10: if "file" than access to .JSON + .JPG via NFS-share in EDOMI (share need to be set up in advance).
E10: if "http" than access to .JSON + .JPG via WEB-share (server) on Mac (Apache).
- Logik ...
- blablablablabla ... see ...
- Log-Level ...
-
If you choise a log-level, than there will be only log-messages in the log-centre with lower level than the choised one.
Priority of the LOG-level according to the Un*x-Syslog levels:
0: Emergency
1: Alert
2: Critical
3: Error
4: Warning
5: Notice
6: Information
7: Debug
To-do
Following things are to be implemented next:
- sending UDP to UDP-listener
Warranty | Guarantee
NO in any cases