INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Something We're Working On  (Read 5057 times)

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71427
  • Where did I put my teeth?
Something We're Working On
« on: July 22, 2017, 06:36:03 pm »

Call it Power Up (for now)

A few months ago, I said we'd like to have the ability to turn on AV equipment.  We're most of the way there now.

IR came up several times in that thread.  We've done IR receiving and sending for a number of years, as part of the Media Center Remote, which includes an IR transceiver.  We can send IR when needed.

The problem with that is that somebody has to push the right buttons.  Have you ever had a call or message that said "Honey, I turned it on, but there's no sound [or video]."  I've had a few.

The goal is to give someone a remote (physical or software), let them select what they want, then magically power up any equipment needed.  I think we may be there.

LOGIC
Before playing, MC checks the equipment, and sends Z-Wave and IR signals to power up the right combination and set the right input.

An upcoming build of MC will have a setup routine where you can set rules about what should happen.

Because we need to know what is powered up, we will require a Z-Wave power strip, the Zooz Zen20 or similar.  These resemble an ordinary power strip, but they can report power consumption, and they can be turned off and on remotely via Z-Wave (the whole strip, or individual outlets).

For example, if you're using a media player like the JRiver Id, you might need your receiver to be turned on (if not already on) and set to Video1 (a specific HDMI port on the receiver).  To do this, MC would ask the power strip whether outlet 1 was using more than 2 watts, and if not, send a Z-Wave command to the strip to power up that outlet.  Then MC would send an IR command to the receiver (via a transceiver) to select source Video1.  Then MC would delay a few seconds and begin playing.

Result?  No phone call or message.  It just works.

REQUIREMENTS
The not yet released version of MC23 that will have this feature.
An IdPi (includes Engen).
A Z-Stick and a Z-Wave power strip.
An IR transceiver.
One free Saturday morning.


Logged

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4877
Re: Something We're Working On
« Reply #1 on: July 22, 2017, 09:40:59 pm »

Many AVRs are network capable and able to come out of standby via web protocol controls like MCWS. Will this also be supported - it's more reliable than IR for changing inputs etc.?
Logged

robt

  • Galactic Citizen
  • ****
  • Posts: 313
Re: Something We're Working On
« Reply #2 on: July 23, 2017, 03:08:09 am »

I've just deleted a long response to your original post and I shall just replace it with three words.

Logitech Harmony One.

Had you considered this?
Logged

imugli

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1601
Re: Something We're Working On
« Reply #3 on: July 23, 2017, 05:02:35 am »

I've just deleted a long response to your original post and I shall just replace it with three words.

Logitech Harmony One.

Had you considered this?

This crossed my mind as well. I have one of these and it's awesome.

I think the JR idea is to power up these devices i.e the switch is off, JR switches it on, then sends IR to take from standby to powered on.

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71427
  • Where did I put my teeth?
Re: Something We're Working On
« Reply #4 on: July 23, 2017, 07:45:38 am »

Many AVRs are network capable and able to come out of standby via web protocol controls like MCWS. Will this also be supported - it's more reliable than IR for changing inputs etc.?
If they are network capable, they probably respond to Wake on Lan, which we already do.  You could start a thread with more details.  Maybe we're not sending WOL packets in some cases where we could.

I think the JR idea is to power up these devices i.e the switch is off, JR switches it on, then sends IR to take from standby to powered on.
Correct.  Turn on devices from a cold start, then set them to the correct input.

There are many ways this can be attempted, and I'm sure the Harmony remotes are satisfying to many people. 

Here's what we're trying to accomplish:

Minimal setup.   Engen, running on Windows or the Id, acts as an AV Hub.  It can detect the power states of the devices and it can communicate with remotes, both hardware and software.

It just works.  You or a family member just press play.  The rest happens.
Logged

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3019
Re: Something We're Working On
« Reply #5 on: July 23, 2017, 08:47:30 am »

What IR database are you using? How do you plan to handle a situation where the IR code is not in the database? How does the user specify the devices to use - like receiver and TV?

Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71427
  • Where did I put my teeth?
Re: Something We're Working On
« Reply #6 on: July 23, 2017, 09:29:50 am »

As with our current implementation for the Media Center Remote, MC can learn commands.
Logged

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3019
Re: Something We're Working On
« Reply #7 on: July 23, 2017, 09:52:54 am »

Many remotes do not have discrete power commands, so I guess you plan to use the power toggle, which should work as long as know the current power usage. So seems like it is limited it to very specific power strips and not as a more general purpose remote.

Also, many TV remotes do not have discrete commands for HDMI inputs. Not sure where you get those discretes without a database.
Logged

TheShoe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 785
Re: Something We're Working On
« Reply #8 on: July 25, 2017, 05:12:58 pm »

would be great if all the AV manufacturers had a standard command set and API where you could send commands over the network via tcp.

i've always wanted this from a remote such as JRemote which is what i use 99.9% of the time when interacting with JRiver.   i basically have to use three remote apps:

Marantz, JRemote, and LG to operate my equipment.   at least they are all apps on the ipad and not individual remotes as in the past...  now if i could split screen them that would be a nice compromise

i'd prefer a network based solution and not IR if possible.   or perhaps an IR blaster that can receive commands from an app and send IR out.  of course it would need to be programmable.
Logged
TV: LG OLED C1 83"
3D: LG OLED C6 65" (two) - madVR MVC->SBS
3D: Valve Index (using Media Center+MadVR) + Virtual Home Theater (Steam)
HTPC: Core i7, Win11, nVidia 3090RTX
Storage: 500TB Snapraid via SMB to Ubuntu 18 LTS server
Audio: exaSound e68 Multichannel USB DAC, Sonus Faber Speakers, REL Subx2
Video: HDMI 2.1/4K@120Hz, JRVR (2D), MadVR (3D), 7.1 Channel Audio into AMPs: Conrad Johnson 2/5 Channel Amps, Marantz av8805A PreAmp
Cables: Shotgun Interconnects, AudioQuest Cinnamon 48GB HDMI cables

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627
Re: Something We're Working On
« Reply #9 on: July 26, 2017, 11:34:03 am »

... or perhaps an IR blaster that can receive commands from an app and send IR out.  of course it would need to be programmable.
We support IR blasting using the MCE transceiver which also learns IR codes from your remotes.  We're looking at supporting another IR transmitter device such as https://www.amazon.com/gp/product/B01GIXZDKO, or possibly a Raspberry Pi add-on board.  An advantage of the Broadlink device is that it includes access to an on-line IR device database to address the problems mentioned above about lack of discrete power & source buttons on remotes.
Logged
John Thompson, JRiver Media Center

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627
Re: Something We're Working On
« Reply #10 on: July 26, 2017, 12:04:54 pm »

Many AVRs are network capable and able to come out of standby via web protocol controls like MCWS. Will this also be supported - it's more reliable than IR for changing inputs etc.?
We could pretty easily add an action type that would send a web request.
Logged
John Thompson, JRiver Media Center

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3019
Re: Something We're Working On
« Reply #11 on: July 26, 2017, 01:09:24 pm »

We could pretty easily add an action type that would send a web request.

Waking up a receiver may be relatively easy, but sending commands gets complicated. Each manufacturer has its own format for network commands. Some use hex numbers and others use ASCII formats and all are different.   And, for a given manufacturer, the actual function codes are often different between IR and network/RS232. All that makes supporting network commands for multiple manufactures a somewhat daunting task.
Logged

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3019
Re: Something We're Working On
« Reply #12 on: July 26, 2017, 01:13:17 pm »

The Broadlink looks like an interesting option. Any idea how extensive their database is?
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8009
Re: Something We're Working On
« Reply #13 on: July 26, 2017, 05:49:00 pm »

We support IR blasting using the MCE transceiver which also learns IR codes from your remotes.  We're looking at supporting another IR transmitter device such as https://www.amazon.com/gp/product/B01GIXZDKO, or possibly a Raspberry Pi add-on board.

What MC platforms support these?

Brian.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71427
  • Where did I put my teeth?
Re: Something We're Working On
« Reply #14 on: July 26, 2017, 07:58:01 pm »

I believe it only depends on what the hardware works with.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71427
  • Where did I put my teeth?
Re: Something We're Working On
« Reply #15 on: August 02, 2017, 11:17:11 am »

23.0.29 (only available on the beta board right now), has this feature partially working now.  It's set up under the Remotes section.  Engen needs to be installed and working with a Z-Stick.

It still has some bugs, but I was able to set up an automated procedure with the following steps:

1. Check the power being consumed by a Z-Wave outlet

    If it's on, skip the rest of the procedure

    If it's off, turn it on, and wait a few seconds.

2.  Wait a few seconds

3.  Check the power again.  If it is at a level that is less than full power, use an IR blast to bring the receiver out of standby.

4.  Play music

Once this was set, I could press the play button in MC's audio, and the outlet and receiver were turned on and the music played automatically.
Logged
Pages: [1]   Go Up