Hello,
I tried this plugin. I am using the http get feature. Power off seems to
work fine, but not power on.
Has anybody made the same experience? (LMS 7.9.4)
Any workaround for that?
Regards, Hotti
Hotti's Profile:
Hi, Is there any reason this would not work on a Synology (Intel based)
running LMS ?
richyboypalm's Profile: http://forums.slimdevices.com/member.php?userid=64686
View this thread:
Thanks, tschu. I'll go that way if we don't hear from the original
author.
BobSammers's Profile: http://forums.slimdevices.com/member.php?userid=66026
View this thread:
Hi,
You may want to check
https://github.com/TheAppService/sbnetio/tree/master/LMS_Plugin
/t
Gesendet von meinem KFSUWI mit Tapatalk
tschu's Profile: http://forums.slimdevices.com/member.php?userid=64462
View this
Hi,
I've been using this plugin for a couple of years now to switch an amp
on and off with one of my Squeezeboxes - very useful, thank you!
I'm suddenly getting the following message at the top of the "plugins"
page of LMS Settings:
Code:
Bad repository
Like to share my solution to control my Yamaha receiver.
SBNetIO running a bash sh script on my raspberry pi.
Yamaha Switches on on play (going to Scene 4), and shut off on stop.
Settings of SBNetIO
23558
Added files to my raspberry PI:
/home/pi/netio/on.sh
Code:
Nope, they are identical, I've checked again, where did you see
"volume-" in my logs... :) ?
Now that's a good question: I'm not following on the web based forum,
but am subscribed to the mailing list. And there I got that additional
dash. Though it doesn't make sense when looking at what
mherger wrote:
> > *** SBNetIO: commandCallback()p1 : volume
> > *** SBNetIO: commandCallback()p1 : volume-
> >
> > One is for volume UP and the other is for volume DOWN, but the logs
> show
> > identical, no way to know when is volume up and when is down :( ?
>
> They're not
Nevermind, I'm on it, getting back if I'm stuck again :)!
muntos's Profile: http://forums.slimdevices.com/member.php?userid=66265
View this thread: http://forums.slimdevices.com/showthread.php?t=100514
*** SBNetIO: commandCallback()p1 : volume
*** SBNetIO: commandCallback()p1 : volume-
One is for volume UP and the other is for volume DOWN, but the logs show
identical, no way to know when is volume up and when is down :( ?
They're not identical, are they? ;-)
--
Michael
Ok, I looked a little on the plugin, enable it and I see these entries
in the server.log file
-[16-11-24 13:47:17.6470] Plugins::SBNetIO::Plugin::commandCallback
(236) *** SBNetIO: commandCallback from client H80_DAC
[16-11-24 13:47:17.6475] Plugins::SBNetIO::Plugin::commandCallback (272)
***
Hello, I need to execute some actions (I don't know now exactly, maybe
running some scripts, maybe calling a REST service, whatever can be done
with this plugin) when volume changes (so the LMS receive a volume
UP/DOWN command from a client), is this possible with this plugin ?
I've installed the
All working reliably now.
Two changes to *SBNetIOSendMsg.pm*
>
>
> added:
>
> $CMD = PACK('H*', $CMD);
>
> and
>
> MY $REQUEST = $CMD . \"/N\";
>
> becomes
>
> *my $request = $Cmd; *
>
> linefeed removed
>
>
I send each control string three times with short intervals inbetween.
I found this:
http://stackoverflow.com/questions/27630789/convert-a-hex-string-in-ascii-to-the-same-hex-values-using-perl
So in SBNetIOSendMsg.pm I added
$Cmd = pack('H*', $Cmd);
And now my Orvibo S20 works!
Hi Günther
Thanks for your quick response!
Still doesn't work despite the log now looking right. I think it must be
a hex / ascii thing.
The working shell script pipes the command string through xxd -r -p ?
Thanks for all your help
Tony
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
Hi Günther
Thanks for your reply. I couldn't get it to work, unfortunately.
Looking at the debug log:
> [16-03-27 00:07:14.4762] Plugins::SBNetIO::Plugin::commandCallback (301)
> PLAYMODE play
> [16-03-27 00:07:14.4775] Plugins::SBNetIO::Plugin::RequestPowerOn (329)
> *** SBNetIO: Power ON
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
cadfish wrote:
>
>
> - maybe its simpler to comunicate directly with the orvibo. Do you have
> the API documentation?
To be honest, I was hoping to avoid the automation server as the Orvibo
is directly controlled by wifi. From what I can gather from the reverse
engineering that's been done,
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
Hi Günther
I'm very impressed by your work here!
I was looking at whether I could use your plugin to control the Orvibo
S20 WiFi controlled socket directly from my XP LMS.
Is there a way of running a VBScript file as the command?
Many Thanks
Tony
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?on;.
What do i have to change?
snoopy86's Profile:
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
hy,
thx günther! it's exactly what I was looking. I use the plugin to send
the status of my zones to my home control (loxone). However, I have more
than 3 zones and want the plugin expand to 10 zones. unfortunately I can
not program LMS plugins so i need your help. the next step I want to
send
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
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 ...)
cadfish wrote:
Thinking about it, I'm even more confused ...
That would be because I am an idiot who created a solution to a
non-existent problem. Before you posted your changes, I looked in
SBNetIOSendMsg to change the hardcoded protocol to UDP. I didn't see
any parsing of multiple
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
Thank you for adding that so quickly. Your plugin works to send a single
IR code to a KIRA, and with a few changes to SBNetIOSendMsg, works great
for my purposes.
I discovered that either the KIRA or my amp doesn't understand if two IR
codes into the same message. So I made some changes to
Thanks Guenther for your work and explanations. Would you consider
adding an option to have the socket connection via UDP? I'm using Keene
IR Anywhere (KIRA) modules, which will transmit IR based on a UDP text
packet. If SBNetIO implemented UDP connections, I could send on/off IR
codes directly
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
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
Thank you Günther for your explanation of the Zones. That zone concept
therefore is different from Casatunes' and is exactly what I was looking
for. (in Casatunes, the zone concept is - in LMS words - a
pre-configured layout of synchronization groups of players).
I'll retry the delay setting and
Servus Günther!
Playing around creating a settings dialog for my first-try plugin,
imagined to send http requests to my Smart Home, I especially was
hitting your SBNetIO plugin on a Google search.
I immediately installed it, configured it, tried it and it works. I
already deleted my own plugin
Ok I will test it this weekend. Is the latest version at
http://www.specifica.de/public/sbnetio/download/BSF/repo.xml
Or should I still be using 0.2?
jwagner010's Profile:
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,
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.
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
Ok this is fixed now. I will do further testing this weekend on the
plugin in general and let you know how things go.
On a side note, I personally think there is a need for both the 'Zone
turn on delay' and the ''Turn on playback pause parameters. It depends
how you are using the plugin. For
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?
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
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.
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
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?
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
Log now says:
Code:
[14-01-12 08:57:35.1860] Plugins::SBNetIO::Plugin::newPlayerCheck (133) ***
SBNetIO: Upstairs - Bathroom is: Slim::Player::Receiver=ARRAY(0xbce91e0)
[14-01-12 08:57:35.1869] Plugins::SBNetIO::Plugin::newPlayerCheck (162) ***
SBNetIO: Failed to
Ok so I figured out the issue. I noticed the prefs file was named
sbnetio.prefs but everywhere else you refer to the plugin as SBNetIO.
In Linux/Unix the file system is case sensitive. So I copied the
sbnetio.prefs to SBNetIO.prefs in the same directory. After this it
works like a charm. So
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
Cadfish,
Interested in when you think http REST support / functionality will be
available in your SBNetIO plugin?
Regards
Jason
jwagner010's Profile: http://forums.slimdevices.com/member.php?userid=29405
View this
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
Awesome, I will test it when back home tonight.
Just interested in how the plugin works. Does it continually poll the
LMS for status of players or does it subscribe to LMS and get
notifications of player changes only when they occur? The reason I ask
is this will impact if my unix server that
I tried the plugin but it isnt working for me in terms of updating my
ISY HA controller.
I installed the plugin from
http://www.specifica.de/public/sbnetio/download/V02/repo.xml I assume
this is correct location.
Then I configured it for a player as follows:
Enable Plugin: Checked
General
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
Plugin doesn't seem to do anything when I start playing music or turning
off the squeezebox. Set log to debug for the plugin and this is all I
get:
[14-01-11 12:53:16.8086] Slim::Utils::PluginManager::load (329) Adding
HTML directory:
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
It appears that the player is not enabling even though I have it set to
enable:
[14-01-11 15:23:40.7833] Plugins::SBNetIO::Plugin::newPlayerCheck (133)
*** SBNetIO: Upstairs - Bathroom is:
Slim::Player::Receiver=ARRAY(0xb90cb58)
[14-01-11 15:23:40.7843] Plugins::SBNetIO::Plugin::newPlayerCheck
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
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,
Yes restarted LMS. Also rebooted the Linux Server to make sure. I have
enabled all the players for SBNetIO in the UI, but all of them show as
not enabled in the log. I have attached the full log from boot up if
anyone can provide some insight on how to correct this.
15471
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
Yes Prefs file shows enabled:
_client:00:01:20:2b:8a:3e:
Zone1Active: 1
Zone1Auto: 1
Zone1Name: Update ISY
Zone2Active: 0
Zone2Auto: 0
Zone2Name: Zone 2
Zone3Active: 0
Zone3Auto: 0
Zone3Name: Zone 3
_ts_Zone1Active: 1389474625
_ts_Zone1Auto: 1389474667
_ts_Zone1Name: 1389474667
_ts_Zone2Active:
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
Thanks that would be awesome.
All calls to the ISY use the HTTP GET method with basic authentication
(ISY requires the AUTHBASIC header) using following format for the URL:
xxx.xxx.xxx.xxx:port/rest/vars/set/var-type/var-id/value
More details at:
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
This looks to be just what I need. I want to update my home automation
system (universal devices ISY) with the status of the players as they
change by updating a variable in the ISY using the REST interface of the
ISY. I think I can just build scripts for the server to execute curl /
wget
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
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
Just skimmed your page to get an idea what it was... 433MHz
communication via Pi... just got a new Pi from a pre-Christmas sale for
cheap... hmm... interesting! Haven't run the plugin yet, but I could see
some potential here for my own use!
http://code.google.com/p/sbnetio/
Please edit the
68 matches
Mail list logo