Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Wiredcharlie wrote: > > I couldn't get it to work, unfortunately. Looking at the debug log: > Hi Tony, I'm very sorry - what I wrote was wrong. The protocol has to go into the connection string, which for you should then read Code: udp:192.168.1.125:1 and the commands ON: Code: 6864001e636caccf238da92c2020202020202ca98d23cfac202020202020;686400176463accf238da92c20202020202001 OFF: Code: 6864001e636caccf238da92c2020202020202ca98d23cfac202020202020;686400176463accf238da92c20202020202000 Please try and let me know your findings ... Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 2 piCorePlayer (HifiMeDIY Sabre II DAC & HifiBerry DAC), 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Wiredcharlie wrote: > To be honest, I was hoping to avoid the automation server as the Orvibo > is directly controlled by wifi. > > ... > > Can SBNetIO send UDP packets? Sorry, for not answering quicker - I was on a easter holiday trip. My plugin should support udp - looking at the bauhn script, you can try Code: 'udp:686400176463%MAC%20202020202001' and Code: 'udp:686400176463%MAC%20202020202000' as turn on and off cmds, where %MAC% is the devices MAC adress and the rest is some magic strings as found by reverse engineering by the authors of provided links. The above, however, does not do the pairing. I don't know, whether the pairing has to be established once or with every request. You can send several commands - just separate them with a semi colon. The pairing command should look like Code: udp:6864001e636c%MAC%202020202020%REVERSEDMAC%202020202020' where %REVERSEDMAC% is the reversed MAC adress. From the netcat example you can see the reversal Code: MAC: accf532147e4 --> Reversed MAC:e4472153cfac I don't have an orvibo though, so I can not test. Günther Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 2 piCorePlayer (HifiMeDIY Sabre II DAC & HifiBerry DAC), 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Hi Tony, Wiredcharlie wrote: > > > Is there a way of running a VBScript file as the command? > > yes shouldn't be a problem. If the listening server is running on a windows box, the server should be able to run a vbscript. The server I use, and which can be downloaded from the info page is written in Java - so you can use it on the windows machine. Some lines would need to be adapted though, as the cmd related part is somewhat linux centric. But what script do you want to start - maybe its simpler to comunicate directly with the orvibo. Do you have the API documentation? cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
snoopy86 wrote: > I need some help. I want to send on turning on the sq this > "http://some_ip/cgi-bin/relay.cgi?on"; and on turning of > "http://some_ip/cgi-bin/relay.cgi?off";. > > What do i have to change? > > Is this ok? > > Yes, this looks OK. But I think you want the commands to be sent automatically - then you should check the 'switch automatically' option. Please let me know, if this solved the problem - otherwise we can dig deeper into that ... Happy new year! Günther Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 2 piCorePlayer (HifiMeDIY Sabre II DAC & HifiBerry DAC), 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: squeeze2upnp, a bridge between LMS and uPNP devices
Hi philippe_44, PastTim and whoever was involved, just wanted to thank you for this great software. Yesterday I tried your bridge - mainly just out of curiosity - and it all works great! Two remarks which may be helpful to others: 1) My server is a Win 7 32Bit machine and I first had problems because the LAN adapter is (was) configured to have 4 IP adresses. Having multiple on IP adresses causes lots of problems; server discovery won't work and even after I found the -s switch and set the relevant IP address manually the problems did not disappear completely. After removing the three extra addresses (were needed a time ago) all went as described in the manual. 2) For my Raumfeld S device the "0" parameter (default value is 1) seems to have been the magic switch. With the default value "Next Track", "Previous Track" and automatic change to next track after playback end did not work. The player hopped kind of arbitrarily between tracks, skipping trangs or kept repeating the current track. Navigation was not possible. With the help of Device Spy and your excellent manual (especially the info on that parameter in section 4.1) I sorted this out. This is the relevant part of my config file: Code: uuid:e4b9e3af-666f-4f19-96c4-9633f250f910 00:19:88:14:71:18 Arbeitszimmer pcm,flc,mp3 -3 0 1 Maybe this is worth to be added to the compatibility file. I keep testing - great work! Günther Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
touchstone wrote: > No, it works great... as documented. Sorry for the incompetence! Great - thank's for your feedback! Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Hi Touchstone, touchstone wrote: > So I made some changes to treat semicolons as marking separate > connections. I also added the ability to specify a delay between > connections by a comma (so the command for two IR codes with a > three-second delay is, "K 2822 2296 10FD... ,3;K 2422 21A1 ...") Thinking about it, I'm even more confused ... The semicolons shouldn't make it into your code, but should be stripped by the time the SocketSend-Method is called - so your -split(/;/,$Cmd) -should never actually split something. Your comma separated delay will make it there and is effective I guess. But your delay implementation by means of -sleep- will interrupt plugin execution whereas in my implementation a callback mechanism is used which is triggered after the specified time and does not interrupt the execution of the plugin. May I ask you to replace the comma (to indicate the delay) in your cmd-definition by a semicolon - then your changes would completely become uneffective - just to check my code works. If something is wrong with my implementation and it doesn't work for you, I'm more than happy to make it work. Kind regards Günther Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Hi Touchstone, touchstone wrote: > ... works great for my purposes. good to hear ... touchstone wrote: > So I made some changes to treat semicolons as marking separate > connections. I also added the ability to specify a delay between > connections by a comma (so the command for two IR codes with a > three-second delay is, "K 2822 2296 10FD... ,3;K 2422 21A1 ...") I'm a bit confused as I implemented this functionality already ... It is documented (see cmd syntax below): 17063 Or am I getting something wrong - was something wrong with my implementation? Günther +---+ |Filename: Commands.png | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=17063| +---+ Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
touchstone wrote: > Would you consider adding an option to have the socket connection via > UDP? Hi touchstone, I added udp support - please give it a try and report back your experience as I can not test. The plugin reads the protocol from the first (optional) portion of the connection string Code: [:]: Protocol may be 'tcp' or 'udp' - tcp is the default. So, valid settings include: Code: 192.168.1.3: Code: tcp:192.168.1.3: Code: udp:192.168.1.3: Get the latest sw from: http://www.specifica.de/public/sbnetio/download/V04/repo.xml Kind regards Günther Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)
Ah, the port - of course … Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=79706 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)
number6 wrote: > This is how I got this plugin working without issues with multi LMS > setup. Bingo! - Sometimes the solution is just too obvious ... Thanks for pointing me to my own writing. But how does it work with *multi* LMS setup? Did you activate Triodes Spotify plugin only for one server? Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=79706 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)
Triode wrote: > I'm afraid the plugin uses 127.0.0.1 to access the cli - if this doesn't > work on your machine then can you simplify your configuration to allow > this? Ah, thanks for the info Triode. I will try to verify this and report back. Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=79706 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Hi Christian, > > The issue I have: > Setting a "Turn on playback pause" other than 0 sets the volume of my > player to 0/mute. I have tried two general options for the player: > "Pause at power off/continue at poweron" and "Stop at power off/Restart > track after power on". > With zero delay this works as expected (volume keeps the last value). As > soon as I use a delay (6 seconds) it mutes the player at power on. > Yes, if a "Turn on playback pause" is configured, the plugin mutes the player temporariliy - otherwise it just sounds bad, when the track is suddenly rewound by a couple of seconds. The idea is that the player is muted for the period it takes the amps to become alive. So, what happens (or should happen) is that the the player is muted (without amp this does not hurt), the amps are fired off, after the specified time the track is rewound (typically to the begin of the track) and then the the player is unmuted - in the best case the track is just about to begin and you don't even get to know, that the player was muted. At least at my place, it works exactly this way. If it doesn't work this way for you, there is something wrong - I happy to help to find the reason. So please let me know your experience. > > My wish is (possibly it is simply misunderstanding): > As I understand your Zones layout (I know Zones from CasaTunes), and I > don't want to use it, if I have four players I cannot configure four > different On- and Off-Commands for these players? > So in my (zoneless setting) player 1 has to have Zone 1 enabled, player > 2 = Zone 2 and finally player 3 = Zone 3 (player 4 is not possible). > If this is as I explained, my wish from the Christkind would be to get > two or three more zones. > > Because, if I understood your Zones concept, if I configure Player 1 > using Zone 1 with On-/Off-Settings, and Player 2 using Zone 1 with > individual On-/Off settings, the plugin will always send both requests > if one of the players start? > I think your understanding of "zone" is wrong. Maybe you think of a too sophisticated concept - it is not. It is dead simple - I was just missing an appropriate name. I came up with the SBNetIO zone concept to support this scenario: *One* of my players is connected with *two* amps powering speakers on different levels of my house - and I want to be able to switch those two areas individually through the app UI. Each amp creates a zone; and if the player is started, the cmds for both zones are sent (synced Mode enabled) and both amps are turned on. But I'm always able to shut down (or turn on) this or the other amp through the App UI. But this is my special scenario - I guess in 99% of cases people have only one amp for each player, so there is only one zone necessary. There is no limitation regarding the number of players you are using - the plugin is configured for each player individually. So in the server settings dialog go through your players and configure *one* zone for each, i.e. one On and one Off cmd - that should be all you want to do. 16930 Please let me know, if I misunderstood what you want to achieve. Günther +---+ |Filename: sbnetio.png | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=16930| +---+ Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)
Triode wrote: > It does look like the plugin is not able to connect to the cli port of > LMS. Can you try changing the cli port on the server and restarting the > server? Hi Triode, thanks for your advice, but unfortunately I had no success yet. Before posting I read in the forum and learned from other posts that changing ports may help. So I already tried a couple of port settings ... I observed that telnetting into CLI with the specified port and explicit IP as Code: telnet 192.168.0.1 9097 works, whereas using the loopback adress like Code: telnet 127.0.0.1 9097 fails. In the log I see the loopback adress being used Code: [01:20:12.260] check_player:235 unable to create cli connection to 127.0.0.1:9097 Can this be the reason or am I beginning to see white mice? Any idea? Günther Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=79706 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)
Hi all, I can not seem to get the plugin to work. Browsing works, but no success to play a track. Same with the self test. All but the last test pass, then "Unable to authenticate player" In the log I see Code: [01:20:10.242] main:567 new connection [01:20:10.244] main:619 req: stream.flc res: spotify:track:1blo7jFYjDyBkD43T4cvjY par: player=c6%3A5d%3A6e%3A5f%3A4f%3A2e&start=0&sync=1&id=2 prot: SPOTSTREAM/1.0 auth: (null) [01:20:10.244] main:702 relogging in as user: XX [01:20:10.255] logged_in:54 logged in [01:20:10.255] credentials_blob_updated:119 credentials blob updated [01:20:11.255] main:813 newstream connection from 192.168.1.80 [01:20:11.255] main:849 streamid: 0 newid: 2 type: FLAC [01:20:11.285] log_message:81 log: 00:20:11.285 I [ap:1752] Connecting to AP ap.gslb.spotify.com:4070 [01:20:11.370] log_message:81 log: 00:20:11.370 I [ap:1226] Connected to AP: 194.132.162.18:4070 [01:20:12.260] check_player:235 unable to create cli connection to 127.0.0.1:9097 [01:20:12.260] main:871 unable to play on this player: -1 [01:20:12.281] credentials_blob_updated:119 credentials blob updated [01:20:12.281] metadata_updated:86 new meta [01:20:12.281] metadata_updated:86 new meta [01:20:12.801] log_message:81 log: 00:20:12.801 E [c:/Users/spotify-buildagent/BuildAgent/work/1e0ce8a77adfb2dc/client/core/network/proxy_resolver_win32.cpp:215] WinHttpGetProxyForUrl failed [01:20:22.281] log_message:81 log: 00:20:22.281 I [offline-mgr:2032] 0 files are locked. 0 images are locked [01:20:22.281] log_message:81 log: 00:20:22.281 I [offline-mgr:2058] 0 files unlocked. 0 images unlocked [01:20:44.560] main:567 new connection [01:20:44.560] main:619 req: status.json res: (null) par: (null) prot: HTTP/1.0 auth: (null) [01:20:44.560] process_status:1464 process status And in the debug console it says Code: [14-12-05 01:20:12.2702] Plugins::Spotify::ProtocolHandler::handleDirectError (366) stream failed - bad player: -1 I tried different CLI ports and disabled the firewall completely - no success. Win 7, 32Bit, LMS 7.8 Any idea where to look for the reason? Günther Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=79706 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin
Hi Simon, have a look at my Plugin - see my signature. Perhaps it's helpful for you. Regards Günther Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=60114 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
jwagner010 wrote: > I can confirm that when I set "Zone turn off delay" to 0, and then click > 'Apply' that the screen will show 0, however, if I navigate to another > settings screen and then come back to the same SBNetIO settings screen > the "Zone turn off delay" will show 30. Now this scenario should work as well ... Thanks Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Hi Jason, the BSF now points to V0.2 ... Guenther Thanks for testing Sent by Tapatalk Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
jwagner010 wrote: > Guenther, > > Works perfectly now. The only bug I can see now is you cannot set the > delay off time to zero. If you do, it reverts back to 30 seconds. I > just set it to 1 which is good enough for my application. > > Again thanks for building this plugin it has been something I have been > searching for. Hi Jason, hm - I wasn't able to reproduce this bug. If you keep the field empty - it reverts to the default value, but if you specify zero (0) it should work. Anyway, I looked into the settings part of the plugin and improved it slightly, hope it now works for you. I removed the turn on delay (as I came to the conclusion, that it doesn't make too much sense) but added a turn on pause. Just to let you know ... Older versions of the plugin missed some playback start/stop events - depending on the controller, the sent commands are different, and not all had been taken into account, which in worst case lead to not starting amps or amp shut down during playback. So update could be useful. Guenther Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
slartibartfast wrote: > This looks interesting. I might need to buy a Raspberry Pi to replace my > GoflexNet in order to use it. Only concern is that my amplifier has a > speaker mute delay at switch on, how can I avoid missing the first five > seconds of playback when using automatic switching? > > Sent from my Nexus 7 using Tapatalk Hi, I updated the plugin - now you can specify a time span to pause playback during amp start up - now you should'nt miss a single tune ;-) Guenther Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Hi Jason, thank you very much for sorting this out. Your renaming got the plugin working; this proofs that case matters (not surprising really). The whole time I ask myself, how it could be that setting of preferences (which involves reading and writing) works whereas usage in the actual plugin code (which involves only reading) does not; I thought that this may be a permission thing, that the settings UI has more rights. Now, based on your finding, it followed that a) the pref name must be specified in the code, and b) that the specs are different in settings part and in the plugin part. I wasn't aware, that the name of the pref file is set in the code - it is not too obvious for a beginner what the respective line really does - I assumed the name is chosen automatically through LMS infrastructure. The pref-access is abstract - from the code one can not tell, that the prefs are stored file based. Anyway, from what we know now, it is clear that your renaming made the plugin run - but it must have broken preference setting functionality. So I checked in the code and found the lines which specify the settings name and changed them to be consistently "SBNetIO". I put the modified plugin (Ver. 0.2.4) on the download site (0.2 folder) - please update. Now both, running and preference setting, should work as expected. Again, thanks for sorting this out!! Good to hear the plugin works for you. Guenther Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
jwagner010 wrote: > Yes Prefs file shows enabled: > > _client:00:01:20:2b:8a:3e: > Zone1Active: 1 > ... > pref_Enabled: 1 > srvAddress: http://:xx@192.168.0.8:180 > _version: 0 What do you find in the log in the sequence when the players are registered; i.e. in the sequence wheer it is checked whether or not the plugin is enabled for that particular player? It should look a bit different with the newest SW version. Guenther Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
slartibartfast wrote: > This looks interesting. I might need to buy a Raspberry Pi to replace my > GoflexNet in order to use it. Only concern is that my amplifier has a > speaker mute delay at switch on, how can I avoid missing the first five > seconds of playback when using automatic switching? > My amplifiers also need some seconds before they are really turned on - I never saw this as a problem as it only occurs on first "Play" after a while of silence. I set a "turn of delay" of 5min - and I'm fine with the behaviour. But anyways, I think about halting the playback after amps were turned on - nice idea. Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
I looked into the code and changed a tiny bit, to be able to know, why the plugin thinks it needs not to be enabled. Please update and watch the log. Do you see a pref-file "sbnetio.pref" in the "prefs\plugin"-folder? (The prefs folder usually is next to the log folder.) Does it show the 'pref_enabled' attribute being set to "1" _client:00:04:20:22:a8:09: Zone1Active: 1 Zone1Auto: 1 Zone1Name: Wohnzimmer Zone2Active: 1 Zone2Auto: '1' Zone2Name: Galerie Zone3Active: 0 Zone3Auto: 0 Zone3Name: Zone 3 _ts_Zone1Active: 1384106260 _ts_Zone1Auto: 1387563543 _ts_Zone1Name: 1386180887 _ts_Zone2Active: 1386180887 _ts_Zone2Auto: 1386832866 _ts_Zone2Name: 1386180887 _ts_Zone3Active: 1384106260 _ts_Zone3Auto: 1386180887 _ts_Zone3Name: 1384106260 _ts_delayOff: 1386180887 _ts_delayOn: 1382731752 _ts_msgOff1: 1386189873 _ts_msgOff2: 1386189873 _ts_msgOn1: 1386189873 _ts_msgOn2: 1386189873 _ts_pref_Enabled: 1386180955 _ts_srvAddress: 1386180887 _version: 0 delayOff: '300' delayOn: '0' msgOff1: RCSend 1 1 0 msgOff2: RCSend 1 4 0 msgOn1: RCSend 1 1 1 msgOn2: RCSend 1 4 1 pref_Enabled: 1 srvAddress: 192.168.1.16:54321 _client:00:04:20:23:3d:7f: _ts_delayOff: 1374910134 _ts_delayOn: 1374910134 for the activated clients (i.e. players)? Guenther Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Stupid question - obviously you restarted the server ... Sent by Tapatalk Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
That's weird ... - You restarted the server, right? No idea what could be wrong. I'm leaving for today. Maybe one of the experts can give advice. I will think on the problem and let you know if I have another idea. Sent by Tapatalk Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
When I start LMS, in the order of appearance I see the following in the Log: DURING LOAD SEQUENCE: ... [14-01-11 20:05:28.4096] Slim::Utils::PluginManager::_loadPluginCache (564) Rescan [14-01-11 20:05:28.4101] Slim::Utils::PluginManager::_loadPluginCache (564) RhapsodyDirect [14-01-11 20:05:28.4106] Slim::Utils::PluginManager::_loadPluginCache (564) SBNetIO [14-01-11 20:05:28.4110] Slim::Utils::PluginManager::_loadPluginCache (564) SN [14-01-11 20:05:28.4114] Slim::Utils::PluginManager::_loadPluginCache (564) SavePlaylist ... ... [14-01-11 20:05:34.9354] Slim::Utils::PluginManager::load (239) Loading plugin: RhapsodyDirect [14-01-11 20:05:34.9535] Slim::Utils::PluginManager::load (329) Adding HTML directory: [C:\Program Files\Squeezebox\server\Slim\Plugin\RhapsodyDirect\HTML] [14-01-11 20:05:34.9541] Slim::Utils::PluginManager::load (239) Loading plugin: SBNetIO [14-01-11 20:05:34.9729] Slim::Utils::PluginManager::load (329) Adding HTML directory: [C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\SBNetIO\HTML] [14-01-11 20:05:34.9733] Slim::Utils::PluginManager::load (239) Loading plugin: SN ... When plugin load has finished, main init starts; here the plugin is initialized and the players are registered ... ... [14-01-11 20:10:16.3219] main::init (564) Server Jive init... [14-01-11 20:10:16.3228] main::init (567) Remote Metadata init... [14-01-11 20:10:16.3682] main::init (576) Server checkDataSource... [14-01-11 20:10:16.3725] main::init (586) Library Browser init... [14-01-11 20:10:16.3739] main::init (590) Server persist playlists... [14-01-11 20:10:17.8394] Slim::Plugin::InternetRadio::Plugin::generate (289) Creating radio plugin: Slim::Plugin::InternetRadio::Plugin::Search [14-01-11 20:10:17.8559] Plugins::SBNetIO::Plugin::newPlayerCheck (133) *** SBNetIO: Squeezebox Receiver is: Slim::Player::Receiver=ARRAY(0xa5a97bc) [14-01-11 20:10:17.8566] Plugins::SBNetIO::Plugin::newPlayerCheck (163) *** SBNetIO: Plugin Not Enabled for: Squeezebox Receiver [14-01-11 20:10:17.8570] Plugins::SBNetIO::Plugin::clearCallback (210) *** SBNetIO:Clearing command callback [14-01-11 20:10:17.8599] Plugins::SBNetIO::Plugin::newPlayerCheck (133) *** SBNetIO: SqueezeboxWork is: Slim::Player::SqueezePlay=ARRAY(0x88c5bf4) [14-01-11 20:10:17.8604] Plugins::SBNetIO::Plugin::newPlayerCheck (169) *** SBNetIO: Plugin Enabled: [14-01-11 20:10:17.8612] Plugins::SBNetIO::Plugin::newPlayerCheck (174) Calling the plugin menu register [14-01-11 20:10:17.8641] Plugins::SBNetIO::Plugin::newPlayerCheck (133) *** SBNetIO: ChrissiSqueeze is: Slim::Player::SqueezePlay=ARRAY(0x7ec4ddc) [14-01-11 20:10:17.8645] Plugins::SBNetIO::Plugin::newPlayerCheck (163) *** SBNetIO: Plugin Not Enabled for: ChrissiSqueeze [14-01-11 20:10:17.8647] Plugins::SBNetIO::Plugin::clearCallback (210) *** SBNetIO:Clearing command callback [14-01-11 20:10:17.8675] Plugins::SBNetIO::Plugin::newPlayerCheck (133) *** SBNetIO: JuliaSqueeze is: Slim::Player::SqueezePlay=ARRAY(0x7ed4244) [14-01-11 20:10:17.8680] Plugins::SBNetIO::Plugin::newPlayerCheck (163) *** SBNetIO: Plugin Not Enabled for: JuliaSqueeze [14-01-11 20:10:17.8685] Plugins::SBNetIO::Plugin::clearCallback (210) *** SBNetIO:Clearing command callback [14-01-11 20:10:17.8713] Plugins::SBNetIO::Plugin::newPlayerCheck (133) *** SBNetIO: Squeezebox Touch is: Slim::Player::SqueezePlay=ARRAY(0x7ee54bc) [14-01-11 20:10:17.8718] Plugins::SBNetIO::Plugin::newPlayerCheck (169) *** SBNetIO: Plugin Enabled: [14-01-11 20:10:17.8722] Plugins::SBNetIO::Plugin::newPlayerCheck (174) Calling the plugin menu register [14-01-11 20:10:18.3554] Slim::Utils::Strings::loadAdditional (208) Loading string file for additional language DE: C:\Program Files\Squeezebox\server\strings.txt [14-01-11 20:10:18.4724] Slim::Utils::Strings::storeString (386) Language DE using EN for SHN inC:\Program Files\Squeezebox\server\strings.txt ... If a player has registered (i.e. the plugin is enabled for that player) you should see something like that near the end of the startsequence: ... [14-01-11 20:10:19.0466] Plugins::SBNetIO::Plugin::commandCallback (229) *** SBNetIO: commandCallback() [14-01-11 20:10:19.0478] Plugins::SBNetIO::Plugin::commandCallback (230) *** SBNetIO: commandCallback() p0: power [14-01-11 20:10:19.0482] Plugins::SBNetIO::Plugin::commandCallback (231) *** SBNetIO: commandCallback() p1: [14-01-11 20:10:19.0486] Plugins::SBNetIO::Plugin::commandCallback (234) *** SBNetIO: power request Slim::Control::Request=HASH(0x76bd50c) [14-01-11 20:10:19.3364] Plugins::SBNetIO::Plugin::commandCallback (229) *** SBNetIO: commandCallback() [14-01-11 20:10:19.3369] Plugins::SBNetIO::Plugin::commandCallback (230) *** SBNetIO: commandCallback() p0: mixer [14-01-11 20:10:19.3373] Plugins::SBNetIO::Plugin::commandCallback (231) *** SBNetIO: commandCallback() p1: volume [14-01-11 20:10:20.9221] Plugins::SBNetIO::Plugin::commandCallback (229) *** SBNetIO: commandCallback() [14-01-11 20:10:20.9227] Plugins::SBNetIO::Plugin::c
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Hi Jason, Please go to 'LMS settings' > Advanced > Logging, select server in the dropdown list and set the log level of SBNetIO plugin to 'debug'. Then you can watch SBNetIO acting ... - in the log file (and in the console window - depending on how you start LMS) Just hit play and pause or whatever on your controller - the logging should give you hints or just sent the LOG .. Sent by Tapatalk Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - just another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Hi Jason, the plugin subscribes to LMS to be notified on the occurance of a set of events - so hibernation should still work :-) Gesendet von meinem MD_LIFETAB_P9516 mit Tapatalk Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - just another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Hi, I pm'd you on thursday that its available - hm, obviously you didn't get that message. Anyways, it is there - I did not announce it yet, because I wanted to wait on your experience. Please go to http//:code.google.com/p/sbnetio and grab Version 0.2. I updated the configuration section of the homepage; please take look there for info you may need. I checked functionality against a simple homebrewn java based http-server. Right now basic auth is only supported if the username and password are profided through the URL: e.g. http://:@:/some_path As far as I know from the universal devices forum, isy supports this. Please check and let me know your findings - have a nice weekend. Gesendet von meinem MD_LIFETAB_P9516 mit Tapatalk Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary System: Mobile Server based on SqueezePlug on RaspBerry PI Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - just another remote control plugin. cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Hi, thanks, - I already found that link, and also that there exist Perl libraries to interface with ISY. I looked into them and got the impression (I'm no Perl guy) that they (at least in part) at the end also rely on the REST http interface. So, for special wishes usage of those libraries could be needed - but if you are sure you only need things which are supported by RESt, fine. Thats why I asked ... However, addition of http support would be the first step anyways. Talk to you next year!! Gesendet von meinem MD_LIFETAB_P9516 mit Tapatalk 4 Primary: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary: Mobile Server based on SqueezePlug on RaspBerry PI cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
jwagner010 wrote: > > > 1) What version of LMS does this run / been tested on? > > I'm using LMS 7.7.2 - r33893 - this is the only version the plugin is tested for. jwagner010 wrote: > > > 2) Is python the only server option built today of are there other > languages to select from? > > I used python because there are plenty examples to start from. Python is very popular on RPi; there are libraries which make the access to the GPIO pins pretty simple. In my server I did not use them because I forward the commands to 433MHz devices, but another option would be to directly switch connected relays - in that case usage of Python would be more beneficial I think. Anyway, you can choose a server written in any language - obviously the plugin does not make any assumptions on the server implementation. On the SBNetIO Homepage I added a link to a simple server implemented in Java by the NetIO team: http://netio.davideickhoff.de/tutorials#pc This can be setup in minutes on a PC for test purposes. But I think the real problem is, that the plugin currently does only support TCP communication - so, to use it with your ISY device would require to setup a Pi (or whatever hardware) to launch wget/curl scripts to establich a REST based communication between the plugn and the ISY. I think best would be to enhance the plugin to also support http - then the plugin could directly communicate with your ISY device without the need of having a intermediate device. Support of http was on my roadmap anyway - but since I had no real use case I havn't done it yet. I would appreciate if you could give me some details on the REST cmds you want send, and the expected reaction. Then I will update the plugin accordingly. I will leave for ski vacation today and will be back on Jan. 6th. After my return I can do the needed changes. Primary: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary: Mobile Server based on SqueezePlug on RaspBerry PI cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
Hi Michael, mherger wrote: > (...) Or remove that section all together. (...) I removed that section - thanks for your comment. mherger wrote: > (...) but I could see some potential here for my own use! (...) Would be great if its useful for you - a tiny compensation for all your efforts. Günther Primary: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary: Mobile Server based on SqueezePlug on RaspBerry PI cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] Yet another Remote Control Plugin - SBNetIO
I just wanted to share a plugin I developed lately. I use it to switch my amps but it can potentially also be usefull for other scenarios as well. The project is hosted at code.google.com and I prepared a web page which contains all necessary information: http://code.google.com/p/sbnetio/ This is both, my first LMS plugin and my first perl project. In the course of development the Denon AVP Plugin was an invaluable source of information. Hope it is helpful for one or the other. Bug reports, ideas, questions, etc. are very welcome. Günther Primary: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer & HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng), Sony XPeria Mini & ION, Android Tablet (SqueezeControl, OrangeSqueeze, SqueezeCommander) -- Secondary: Mobile Server based on SqueezePlug on RaspBerry PI cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296 View this thread: http://forums.slimdevices.com/showthread.php?t=100514 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins