Hallo,
ich möchte gerne die Wecker meiner Squeezebox an Feiertagen abschalten, das geht per squeezebox CLI auf Port 9090.
Via Telnet funktioniert das auch, aber mit dem TCP Binding komme ich nicht weiter.
Auszug aus dem Log:
Das Binding sieht wie folgt aus:
Was mache ich falsch? Wäre prima, wenn mir wer einen Tipp geben könnte.
Viele Grüße
Michael
ich möchte gerne die Wecker meiner Squeezebox an Feiertagen abschalten, das geht per squeezebox CLI auf Port 9090.
Via Telnet funktioniert das auch, aber mit dem TCP Binding komme ich nicht weiter.
Auszug aus dem Log:
Code:
22:20:02.236 INFO o.o.b.t.AbstractSocketChannelBinding[:775]- The interval to retry connection setups will be set to the default value of 5 22:20:02.237 INFO o.o.b.t.AbstractSocketChannelBinding[:782]- The cron job to reset connections will be set to the default value of 0 0 0 * * ? 22:20:02.238 INFO o.o.b.t.AbstractSocketChannelBinding[:789]- The setting to queue write operation until a channel gets connected will be set to the default value of true 22:20:02.239 INFO o.o.b.t.AbstractSocketChannelBinding[:796]- The port to listen for incoming connections will be set to the default value of 0 22:20:02.240 INFO o.o.b.t.AbstractSocketChannelBinding[:803]- The setting to share channels within an Item will be set to the default value of true 22:20:02.241 INFO o.o.b.t.AbstractSocketChannelBinding[:810]- The setting to share channels between the items with the same direction will be set to the default value of true 22:20:02.242 INFO o.o.b.t.AbstractSocketChannelBinding[:817]- The setting to share channels between directions will be set to the default value of true 22:20:02.243 INFO o.o.b.t.AbstractSocketChannelBinding[:824]- The setting to use address masks for incoming connections will be set to the default value of true 22:20:02.255 INFO o.o.b.t.p.internal.TCPBinding[:156]- The maximum time out for blocking write operations will be set to the default vaulue of 3000 22:20:02.255 INFO o.o.c.s.AbstractActiveService[:169]- TCP Refresh Service has been started 22:21:33.028 ERROR o.o.b.t.AbstractSocketChannelBinding[:944]- there is no channel that services [itemName=sq_galerie_alarm, command=ON] 22:24:52.210 ERROR o.o.b.t.AbstractSocketChannelBinding[:944]- there is no channel that services [itemName=sq_galerie_alarm, command=OFF] 22:25:08.979 ERROR o.o.b.t.AbstractSocketChannelBinding[:944]- there is no channel that services [itemName=sq_galerie_alarm, command=ON]
Code:
Switch sq_galerie_alarm "Alarm" <alarm> (gPlayerGalerie) { tcp=">[ON:192.168.2.3:9090:'00%3A04%3A20%3A1e%3Ae7%3A12 playerpref alarmsEnabled 1'], >[OFF:192.168.2.3:9090:'00%3A04%3A20%3A1e%3Ae7%3A12 playerpref alarmsEnabled 0']" }
Viele Grüße
Michael
Kommentar