Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration of the popup function #43

Open
DanielHD80 opened this issue Jan 1, 2020 · 13 comments
Open

Integration of the popup function #43

DanielHD80 opened this issue Jan 1, 2020 · 13 comments

Comments

@DanielHD80
Copy link

Hi there,

is it possible to include the popup function? That would make a lot of sense for me (and certainly some others too), because you can then output messages from the ioBroker independently of the playback device. I currently have to check which source is active (Fire TV, satellite receiver, ...) and then generate the messages there (where possible). It would be nicer if you could always output them centrally on the AVR receiver! According to the EISCP overview, it shouldn't be anything great, since there is a command for it ...

Greetings daniel

@Eisbaeeer
Copy link
Collaborator

Hi Daniel
Are you able to give an example?
What do you mean with popup?
Greets Lars

@DanielHD80
Copy link
Author

Hi,

I mean a window that "pops up", if a message is received. Random example from the web:
https://forum.iobroker.net/assets/uploads/files/294_popup.jpg

I think the most important is to show infos (only with okay-button or without button showed for x seconds). If I read the EISCP-commands correct, you can even send messages with two or more buttons to the tv and work with the result (e.g. "somebody is on the door. should i open the door?" - yes, no).

Daniel

@Eisbaeeer
Copy link
Collaborator

Ah, OK. I don't know about this function. Very interesting. Do you have the eiscp command? You can test it with the raw object.

@DanielHD80
Copy link
Author

In the excel-sheet I found it with the command "pop" but there are soooooo many parameters, that I only got errors... :( I think there are many users that would like this function, but don't know how to use...

@Eisbaeeer
Copy link
Collaborator

Let's see, what I can do. ;-)

@Eisbaeeer
Copy link
Collaborator

Hi Daniel
I found the pop up command. One problem exists. Im not able to program and test this, because my receiver does not support that command. Perhaps there are some other guys who can add this and do a pull-request?

@DanielHD80
Copy link
Author

I can test on a TX-NR686. I think it should be able to show popups?

@Eisbaeeer
Copy link
Collaborator

Perhaps my receiver supports that. Actually Im not able to send a popup-message, because there is no example of the content of the command. Can you provide a simple message command who diplays eg. your screenshot?

@DanielHD80
Copy link
Author

Exactly that is my problem. The syntax is not clear to me, so I asked about the integration of the function in the adapter. Otherwise I could do it myself with the RAW command

@Eisbaeeer
Copy link
Collaborator

Found something. Can you test with RAW, please?
NCPX<?xml version="1.0" encoding="utf-8"?><popup title="Playback error" align="center" type="custom" time="0" uri="resource:///popup" ><label title="" align="center" total="1" uri="resource:///popup/label:0" ><line text="Connection Error. · The server connection could not be established or was terminated early. Please try again later." align="left" uri="resource:///popup/label:0/line:0" order="0" /></label><buttongroup title="" align="center" total="1" uri="resource:///popup/buttongroup:0" ><button text="Back" align="center" uri="resource:///popup/buttongroup:0/button:0" selected="false" index="0" order="1" /></buttongroup></popup>

@DanielHD80
Copy link
Author

DanielHD80 commented Jan 4, 2020

No popup... :(

I wonder why you use NCP? I can't find such a command? But also with POPX... no popup...

@Eisbaeeer
Copy link
Collaborator

Last try:
POPt----<popup title="Search" align="center" type="custom" time="0" uri="resource:///popup" /><textbox title="Enter your query" align="center" total="1" uri="resource:///popup/textbox:0" /><input text="Touch this bar to search" value="" align="left" type="plain" uri="resource:///popup/textbox:0"/input:0" /></textbox><buttongroup title="" align="" total="2" uri="resource:///popup/buttongroup:0" /><button text="Search" align="center" selected="false" uri="resource:///popup/buttongroup:0/button:0" /><button text="Back" align="center" selected="false" uri="resource:///popup/buttongroup:0/button:1" /></buttongroup></popup>

But Im pretty sure, that my receiver does not support that. Have never seen such popups.

@DanielHD80
Copy link
Author

Also nothing... I haven't seen one, too. But in die Excel-sheet is listed the TX-NR555, my AVR is newer and bigger (TX-NR686). I think it should can use it, too...

Thanks anyway for your efforts
Daniel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants