Hi @vwieczorek,
I haven’t yet. I’ll get to it once I’m back to my computer early in July. Shouldn’t take long at all.
Very cool, thank you
I’m getting stuck setting up this component. Hoping this group could help!
My amp and home assistant box are not located close to each other. So I bought a pi zero w, configured it with ser2net, and made a proxy of the port with socat on my hass server.
I can successfully run other monoprice python scripts that query the device. Those work fine.
In home assistant I’m getting an error saying cannot connect to monoprice controller. This is in a docker container.
original thinking was permissions but i give access to other devices in docker no problem (zwave usb dongle)
Now im wondering if the python code would behave differently on a proxy port vs. a physical one.
Any thoughts or things to try would helpfup. I have not tried to simply “cat /device” from within the docker. That will be my next step…
Thanks!
Hi Etsinko, just checking in again on the monoprice PA functionality since it’s been a few months. I’d love to be able to take advantage of it if you have it working.
Would love to know about the status of the PA feature also.
Thinking about buying this AMP and would love to see how some of you have it set up in Lovelace. I like the way the mini-media-player card has speaker select for Sonos and would love to do that with this amp
.Also this AMP is currently 17% off on Monoprice until 1/6/19 which made my decision even easier!
hey @dginney I’m thinking about getting the Monoprice amp and I’m also running HA on a Rpi3 (Hass.io install), just wanted to ask how difficult it was to get everything setup / see how you’re enjoying it. Thanks!
Hello @garrettshannon. I have had zero issues with Monoprice 6 channel amp. It is also branded by Dayton on Partsexpress for another reference. My only initial problem was in the beginning, I was using the wrong serial cable. Was easy to setup and would recommend it. Been in use over a year and used everyday.
Awesome. You don’t happen to remember which cable you got did you? I know you had some trouble which ended up being an extension cable you were using with your adapter right? I saw someone reference getting a sable with an FTDI chipset which led me here FTDI Usb to Serial but a google search for Usb to Serial RS232 gave a wide range of amazon options such as this: Amazon USB to RS232
Don’t know enough about chipsets to know what is or isn’t compatible but a 3’ cable seems a little more convenient than a 4" cable. Thanks.
Hey all. Been watching this thread for a long time and was wondering if you all could help me out. We have finally moved into our new home and I wired the whole house based on this thread with the monoprice 6-zone unit.
More of a general question. I am just really getting going with things in HA. Was wondering if anyone was willing to share some ideas of how you use your monoprice unit and maybe some code. Again I am somewhat of a newb. But did get the unit hooked up in docker via the serial cable on my synology NAS. Now I would love to start learning more with it. Your thoughts are much appreciated.
I had mine for 5 months, works great. I did a pretty neat thing (I think):
I had two sources going into the Monoprice: zone 2 from a Denon receiver, and a direct hookup to Sonos (it has two outputs).
Now, the Monoprice supports 6 inputs. In my setup, input 1 and 2 play the input as noted above. If I select 3, 4, 5, or 6, then plays a particular Sonos play list and switches immediately back to input 2. I thus can pick from 4 playlists from the Monoprice’s keyboards. Also, I can run the house sound without the receiver being on.
All done with Karl’s mini-media-player, great stuff. Have fun.
Love the source automation idea.
I run HA in docker in windows so I have been focusing on getting the RS232 connectivity working. The problem is you cannot map a serial port though. So I have resulted in getting a TCP/RS232 device and using socat to map a serial port.
When it works it is great. However the serial drops after a day or so so I need to restart HA to get it working again. Need help with the socat command to make it more stable OR maybe the component needs a refresh or retry option?
In case people are intrested, here is my socat config
socat pty,link=/dev/ttyV0,waitslave tcp:192.168.160.149:10000,keepalive,keepidle=10,keepintvl=10 &
I looked at using IP2SER from iTach. Gave up. Then I used a USB-Serial adapter with a PI, worked just fine.
I now run HA on a HP Z220S with an I5 CPU, cheap and solid. And all the ports you need…, it uses about 15 Watts.
This sounds pretty awesome. Can you share how you accomplished this?
I setup a automation for each keyboard and each of the 6 options (that part can probably be reduced to less code), if the input is in the range of 3-6, the script starts Sonos with the appropriate playlist, then sets the Monoprice input back to 2, where the Sonos is connected.
If input 1 is selected, or turned on, it leaves it at that (Denon Zone 2), if the input is 2, then is starts Sonos (previously selected playlist).
I only have one Sonos, thus the last requested playlist plays. I only turns on the speaker(s) for the respective keyboard. This is from configuration.yaml:
- platform: monoprice
port: /dev/ttyS0
zones:
11:
name: Kitchen Speakers
12:
name: Deck Speakers
13:
name: Bedroom Speakers
14:
name: Bathroom Speakers
15:
name: Library Speakers
16:
name: Spare Speakers
sources:
1:
name: House Audio
2:
name: Sonos
3:
name: Sonos Piano
4:
name: Sonos Chill
5:
name: Sonos Lounge
6:
name: Sonos Energetic
This is one of the automations:
- id: '1553157703280'
initial_state: true
alias: Monoprice play Kitchen Sonos Piano
trigger:
platform: template
value_template: "{{ is_state_attr('media_player.kitchen_speakers', 'source', 'Sonos Piano') }}"
action:
- service: script.do_monoprice_play
data_template:
entity: media_player.kitchen_speakers
source: 'Piano'
This is the script:
> do_monoprice_play: # entity and source variables
> sequence:
> - service: media_player.select_source
> data_template:
> source: "{{ source }}"
> entity_id: media_player.house_sonos
> - service: media_player.select_source
> data_template:
> source: 'Sonos'
> entity_id: "{{ entity }}"
Awesome work everyone. I definitely haven’t done anything with Automations or scripts yet as my programming knowledge is rather limited. I did get a lovelace card setup using Spotify which lets me choose the source input (in my case a echo dot plugged into the Monoprice Unit) Then using the miniplayer group card in order to display the Controller in each room. I can then choose to turn on or off each room and control the volume level all from the HA interface.
entities:
- artwork: cover
entity: media_player.spotify
group: true
hide:
power: true
volume: false
shortcuts:
columns: 4
buttons:
- name: Country Mix
type: playlist
id: 'spotify:user:spotify:playlist:37i9dQZF1DX1lVhptIYRda'
- name: Classic Rock
type: playlist
id: 'spotify:user:spotify:playlist:37i9dQZF1DWXRqgorJj26U'
info: short
source: icon
type: 'custom:mini-media-player'
- entity: media_player.back_porch
group: true
hide:
controls: true
type: 'custom:mini-media-player'
- entity: media_player.office
group: true
hide:
controls: true
type: 'custom:mini-media-player'
- entity: media_player.garage
group: true
hide:
controls: true
type: 'custom:mini-media-player'
- entity: media_player.kitchen_speaker
group: true
hide:
controls: true
type: 'custom:mini-media-player'
type: entities
Have been learning a lot from you all and would love to do more. keep em coming!!
I wish there was a better way to have spotify inside HA. The api seems a little unstable sometimes. Like if I hit play sometimes it will work and sometimes not. I also had to manually setup my playlist quick links as an example. Has anyone messed with iFraming the whole spotify web interface into a tab??
Anybody knows how to enable wall pads when I am connecting to rs232 port?
When I add integration with HA through RS232 port, wall pads have become inactive…they just showiung volume,treble, bass, but I cant control direct on wall pads anything.
How to enable control on my wall pads? thanks
You may want to check your wiring. RS232 does not touch the wall pads at all.
Thanks. Maybe I need to restart HA or Monoprice…