Home of the Squeezebox™ & Transporter® network music players.
Page 4 of 28 FirstFirst ... 2345614 ... LastLast
Results 31 to 40 of 275
  1. #31
    Senior Member
    Join Date
    Oct 2013
    Posts
    108
    Just to report that I have installed Squezebuttonpi and wiringpi etc successfully but not getting any response from twiddling the rotary encoder. Setting up verbose reporting I get the 'discovery' messages too. The encoder in on GPIO 23 and 24 and I have used those numbers in the sbpd command. Same hardware config that works with Moode.

    Sent from my SM-N9005 using Tapatalk

  2. #32
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    14,656
    Just to be sure: this means that the encoder is connected to pins (physical pins) 16 and 18 and ground (the center pin)?
    Or are you pulling down against 3.3V?
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  3. #33
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    14,656
    Quote Originally Posted by ralphy View Post
    Agreed. Then we can move sbpd.tcz into the repo with the next update.
    I'll play around with some more configurations over the weekend, maybe I'll add another option to use encoders and buttons pulling down from 3.3V
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  4. #34
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,276
    Quote Originally Posted by paul- View Post
    I tried both the PLAY and POWR command. But I'm getting tired, I may have done something else stupid. Let me take a fresh look at everything tomorrow.
    Found my problem, I sent you a pull request. If you mac address has a leading 0 in a segment, it was not auto setting the mac properly. If your mac looks like this, b8:27:eb:0a:dd:0d it is being sent to the LMS server as b8:27:eb:a:dd:d

    Until things get merged and recompiled You can hard set your mac on the command line with --mac=b8:27:eb:0a:dd:0d

    Note: do not use capital letters in your mac address, LMS does not like that.
    Last edited by paul-; 2017-03-03 at 17:34.

  5. #35
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    14,656
    Quote Originally Posted by paul- View Post
    Found the problem, I sent you a pull request.
    Ah, LMS needs leading zeroes, I remember.
    How does this work in SqueezeLite? Does it correct the MAC when using it?

    Because that code is actually taken from SqueezeLite so I'd expect it to behave the same way as there.... (that's the idea behind that).

    Edit: merged.
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  6. #36
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,276
    Quote Originally Posted by pippin View Post
    Ah, LMS needs leading zeroes, I remember.
    How does this work in SqueezeLite? Does it correct the MAC when using it?

    Because that code is actually taken from SqueezeLite so I'd expect it to behave the same way as there.... (that's the idea behind that).
    Is it the JSON interface that needs it?

  7. #37
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    14,656
    Quote Originally Posted by paul- View Post
    Is it the JSON interface that needs it?
    Yes, but I thought anything that uses the MAC as playerID. I always convert them before sending in iPeng, that's probably why I forgot about it here.
    But isn't it the same in SlimProto? Or does that use network-format MAC addresses? Have to look it up...
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  8. #38
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,276
    Quote Originally Posted by ralphy View Post
    I've respun the sbpd.tcz in post #5 to support the pi0W which was added to libwiringpi v2.42 released on March 1st.

    It's untested at this point. Don't have a pi0W yet.
    Ralphy, wiringPi is already up to 2.44 lol.

    There is a fix for the ZeroW.

  9. #39
    Senior Member
    Join Date
    Oct 2013
    Posts
    108
    Quote Originally Posted by pippin View Post
    Just to be sure: this means that the encoder is connected to pins (physical pins) 16 and 18 and ground (the center pin)?
    Or are you pulling down against 3.3V?
    Yes, physical pins 16 and 18 but against 3.3v. Not right?

    Sent from my SM-N9005 using Tapatalk

  10. #40
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    14,656
    Quote Originally Posted by kingswindsor View Post
    Yes, physical pins 16 and 18 but against 3.3v. Not right?

    Sent from my SM-N9005 using Tapatalk
    No, right now sbpd expects you to pull up (from ground).
    It's just a configuration option, I'll update it over the weekend to support both varieties.

    Is there no longer a risk of frying the GPIO chip when pulling down from 3.3V is the software enabled pull-up resistors are not yet enabled and you use the encoder/button?
    I read in some articles that this was a problem with at least some Pi models so that people recommended to still use hardware resistors with such a setup.
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •