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

Could not get Device by id #19

Open
KvDaalen opened this issue Mar 13, 2023 · 28 comments
Open

Could not get Device by id #19

KvDaalen opened this issue Mar 13, 2023 · 28 comments

Comments

@KvDaalen
Copy link

Hi,

Moved to the 1.03 version to be able to migrate to hp23. I get the following error in a toast: Could not get Device by ID. And "dit type apparaat word in de toekomst wellicht niet meer ondersteund."

It is a Pioneer sc-lx57

Report created:
e116cc67-ea03-4c6c-bf68-6e2b559143e3

Could you take a look at it? This is my last app that prevents me from starting the migration. A big thank you in advance

@KvDaalen
Copy link
Author

Just tried to read a new device and deleting the old one and that works.
So problem fixed. However that the consequence of updating means removing and creating your device is not documented and might be unwanted behavior. For that reason, and to help others out, I keep the issue open.

@KvDaalen
Copy link
Author

Also found out that the cards are quite different and now can deal with multi zone. That's great.
Missing however is the set volume then card. Could you add that?

@rinwinte
Copy link
Owner

rinwinte commented Mar 13, 2023 via email

@KvDaalen
Copy link
Author

Hi, I do not use the multi zone, but do use the old set volume card. Is it possible to keep the same functionality as the 0.4.1 version on the hp23?

@langa64
Copy link

langa64 commented Jan 6, 2024

I have a VSX-S510.
After installing the new version, I had to add my receiver again. The original receiver reported the error could not get device by id. The newly added receiver works.
However, the set volume and then the tab are missing. Could you please add that? Or can't the volume be set using the custom command?
Thank You and have a nice day
Alex

@rinwinte
Copy link
Owner

rinwinte commented Jan 6, 2024 via email

@langa64
Copy link

langa64 commented Jan 7, 2024

Hello,
I meant on the then tab in the flow the function of setting the volume to ...... as in the old version (could not get device by id), see picture.
Where do i find the custom commands? I will try to test this function.
Will the app also work in Homey 2023 pro?
newreceiver
oldreceiver

@rinwinte
Copy link
Owner

rinwinte commented Jan 7, 2024

The set volume card should be visible in 1.04. I did not add the set volume relative.

The communication manual including most commands accepted by receivers can be found here: https://github.com/rinwinte/com.pioneer.avr/tree/rinwinte/com.pioneer.avr/manual

Although I am not able to test whether the apps works on Homey 2023 pro, I think it should.

@langa64
Copy link

langa64 commented Jan 8, 2024

Thank You for answer,
I have test version 1.04 and I don't see in flow on card Then "set volume to.". Only mute and unmute in terms of volume.
Where am I doing wrong please?
Thank You for advice and have a nice day from Czech republic

Alex

@rinwinte
Copy link
Owner

rinwinte commented Jan 8, 2024

Hi,

I am not sure what is different. My language setting is Dutch. Not sure whether that’s a problem.

I have four When cards. Of which one is … volume changed.

I have two And cards.

And 11 Then cards. Of which volume related are

  • unmute
  • Mute
  • set … volume to volume.

How many cards do you have of each?

@langa64
Copy link

langa64 commented Jan 8, 2024

Hi,
thanks for the quick response.
I have English language set.
In the Then menu I have 11 items but no volume settings. Image in Attachment
and
then
when

@rinwinte
Copy link
Owner

rinwinte commented Jan 8, 2024

Thanks!

I see.. I made a copy paste error in the English language. You have to use the switch the .. to volume card. I will fix the error soon.

@langa64
Copy link

langa64 commented Jan 8, 2024

Hello, I tested the switch the ... to volume card and found that the volume starts to fluctuate irregularly between different values. Cannot switch inputs or use mute. Various values ​​flash on the receiver display. The solution is to restart the application, but as soon as I use sound editing, the situation repeats itself. Here is the code to generate the log function if it helps: 04164c53-ae75-4ab6-bc0d-390000171da6

@rinwinte
Copy link
Owner

rinwinte commented Jan 9, 2024

Hi, I looked at the logs. But I have no clue why it is fluctuating. Some devices (like mine) support the SL command, which directly sets the volume to a certain level. Some devices, do not support that. So, for those devices, I implemented a looping function that increments/decrements one level until it reaches the required setting. In the logs I see your device uses the loop instead of the SL, so probably SL is not supported by your device.

Could you tell me what happens when you manually set the volume using the slider in the app? If you make a big increment, does it display the new value directly on the pioneer screen? Or do you see it is incrementing until the setting is reached? (or does it fluctuate as well)

@langa64
Copy link

langa64 commented Jan 10, 2024

Hi,
If I set the value higher, it slowly and continuously increases on the receiver display, sometimes it is in order, sometimes it fluctuates by 1. ( 10-11-10-11) In case of fluctuation by 1, it is not possible to use mute. If I set the volume back to a lower value, the volume starts to fluctuate between low and the last high.. The display slowly drops to 10 and then slowly to 40 and so it keeps repeating.

@rinwinte
Copy link
Owner

It is hard to help with this issue as I cannot replicate it on my device. Could you try te create another diagnostic report directly after you see the first fluctuation. The log snippets are limited in length so I hope to get some more relevant info.

@langa64
Copy link

langa64 commented Jan 11, 2024

Halo,
I am sending the diagnostic report created immediately after using the set volume to... 27% of the time, the volume started to fluctuate

8c831f38-38bf-4773-be73-6e0c04d5deae

Thank you for your help in solving the problem

Alex

@rinwinte
Copy link
Owner

Thanks!

can you tell me your volume range? How many dB is displayed when (almost) off en loudest. My range is -80.0dB until +25.0dB.

also tell me what your step size is. My device has 0.5dB per time. I think yours might be 1.0dB

@langa64
Copy link

langa64 commented Jan 12, 2024

On the receiver's display, the range is 0-80, the step is 1. I don't know if it's in dB

@rinwinte
Copy link
Owner

Probably I know the problem for your device. In order to solve it I need some details. Can you try the following:

  • note your pioneer IP. (From pioneer app settings)
  • remove pioneer device from homey
  • Install termius from the google or apple store
  • login in termius, go to hosts, press the + sign, new host
  • Hostname is your pioneer IP. Deselect SSH. On the bottom select Use Telnet. Press save.
  • make sure the pioneer is on
  • Now press the added host ip. If things done right a terminal will pop up.
  • use the remote to set the volume all the way up. Note the VOLxxx value displayed at the terminal. Do the same for the lowest volume. Also note whether the VOL numbers change by 1 each volume change.

@langa64
Copy link

langa64 commented Jan 13, 2024

I can't connect using telnet either from the phone or from the computer. I don't know where I'm doing wrong. Should there be a username or password? I also disconnected the receiver from the power supply for a while and reconnected it. The IP address is correct. Where can I go wrong?
IMG_7184
IMG_7185

@rinwinte
Copy link
Owner

Hi it could be that port 23 is not accepted for your device. Try 8102. Username and password are not required

@langa64
Copy link

langa64 commented Jan 13, 2024

This port is ok. With the original remote control (I normally use harmony) there in telnet is a step of 2, the first step is 3. Example: 0-3-5-7-9-11.... max 151. The receiver display shows a range of 0-75.

@rinwinte
Copy link
Owner

To be sure: Are u using zone1 (mainzone) or also zone2?
Could you try sending 015VL and 014VL using the terminal? And check the response?

@langa64
Copy link

langa64 commented Jan 14, 2024

I use mainzone
015VL response R15VL
014VL response R14VL
I don't know what I'm doing wrong, The vol up, vol down and mute function (VU VD MO MF) works but the vol setting (***VL) does not respond.
I don't know what's wrong with them.

@langa64
Copy link

langa64 commented Jan 14, 2024

in the attached printscreen command MO MF VD VU VL and the volume on the control down and up. The VL command doesn't work for me and I don't know why
IMG_7188

@rinwinte
Copy link
Owner

i think it is just not supported. Sadly I could not find any documentation about supported commands for your device

@rinwinte
Copy link
Owner

Try the new 1.05 version. In the settings you can change the volume range to 0 and 151. Check whether that works for you

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

No branches or pull requests

3 participants