-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Remote loosing connection to NZ8 after latest update #42
Comments
first confirm you are putting in the right info entity name (same as your old entity name like nz8 or whatever) If that doesnt work turn on debug logs and send me that
|
Entity names are correct. :) |
When you first go through the UI config, it attemps to connect to the PJ. If that fails, it should not add the integration. So if it added, it should be working. It usually takes up to a minute to refresh all the attributes. Can you post any logs that you see to make sure there are no errors on adding? And you are running 4.2.0? |
4.2.1 should hopefully fix any outstanding issues. If you have any more feel free to reopen this |
Thanks very much for the prompt response and your work on this integration!! Running on 4.2.0 i guess. |
I still have massive issues using the integration not quite sure if these are the correct logs:
|
Can you try 4.2.3? You will have to show beta versions in hacs. |
I have used 4.2.3 now and it shows online right now but i have had this several times before. I will see and let you know. |
So it happened again i was able to turn on the projector using the integration but afterwards the projector is kind of dead. Not reacting to any command neither using ip nor IR with the regular remote. While its still showing a picture you cant even turn it off. The only way is cutting power... weird. Logs show:
After powering it on again the remote (IR) is working again, the integration is not. |
I am working on another rewrite to fix these issues. 2.4.3 has been stable for me but seems there are edge cases. Should be out this week or sooner |
Ok thanks very much, i ll take a look then. |
Right now i am on Beta 2.4.6 i guess and it seems that the remote can turn on the projector but does not get any feedback if the projector is on or not. So it shows offline while the projector is on. Don`t know if its related but its shows a timeout now:
After reloading the integration, its shows the correct values. |
please try 2.4.7 that should fix issues with attributes |
Seems that it switches to online for a second, but its showing offline immediately again. After a few more seconds it shows all values correct. Hopefully its solved now :) |
how about 4.2.9? Just had to rewrite a lot more logic but it seems to be stable for me now |
I am at work right now, but i will update this afternoon and let you know. |
By the way not related to this issue but might be usefull: for the NZ series you can now (software version 3) adjust laserpower from 0 to 100 not only in low/mid/high. Your approach is still working though.... |
yeah I implemented that a few version ago as laser_value I still have to do an overhaul of the readme |
Ok so it seems to work fine fow now. But after turning on the projector it still shows on for second and the switched back to offline until (i guess) the jvc is polled again. After that its shows the correct values (i can live with that :) ) and it seems to be more responsive than the last versions. |
Having the same issue as this was working before the update and now for the life of me I can’t get it to connect to the projector at all. It always just says false with no updates even on 4.2.9. Did you have to do anything else to get it to work? |
No i have always been able to connect/configure (if i understood your issue correctly) the integration but it was not working anymore. Setup itself has more or less never been an issue for me. I have had issues that my projector kind of crashed hence not reacting to any command be it ip or ir. But that seem to be solved. You could try to deinstall the integration completely and check wether there are still files left. Reboot HA and start over. |
Nope, this doesn't work. It was a red herring. If you use the plugin to turn on the projector, then it will eventually display the status, but if anything else turns the projector on, such as the IR remote or a Harmony remote, then the plugin never detects the projector is on. It's as if the entire plugin is gated behind it sending the power on command, otherwise it doesn't poll the projector? |
Thats the same i described ealier on but i think one can live with it. Just did another test i turned on the projector using IR but the RemoteIntegration never reported the change its just stayed on showing offline.... |
Hmm yes in my testing last night I was only doing it with the plugin but my normal setup is for my harmony remote to turn on the projector via IR. I’ll test that this morning to see if it’s the same for me. As that is what my issue was the first time is the projector was turned on via the harmony and the plugin never recognized it being on. If that’s the case, then it seems like the plugin only works if it has exclusive control and either the projector doesn’t report the status correctly depending on whether it’s controlled by IP or IR, or the plugin has some initialization logic that only fires when it sends the power on command vs just reporting what the projector is doing if it’s turned on via another source, which is my setup. |
Yea....I spoke to soon. Doesn't work if you power on the projector via IR. So for some reason, the most recent updates (whenever it switched from YAML config to UI config) it no longer works if the plugin doesn't seemingly have complete control and initiates the power on. It's as if the entire plugin is gated behind it sending the power on command, otherwise it doesn't poll the projector? |
Are you using the latest beta version? It should detect if its on, regardless of how its turned on as long as the integration has a connection open |
Yep, using 4.2.9. That's what I see in HACS for the current version when I click "redownload". I don't see a place on the actual integration page to check the installed version there, but I don't see why they'd be different. |
Exactly the same for me. |
I recognized that as well, i cant turn on low latency as well. |
I have had the following error last nigh i don`t know if its related:
This morning i recognized the integration showing the NZ8 on while it was definitely off. |
Can you try 4.4.03 please |
I will check it out as soon as possible. |
4.4.04 now, or whatever the latest is at the time. I am actively developing stuff |
Looks good so far. (4.4.04) Powered on immediately and showing the states as well as it seems. I will go on testing. |
Cool I am working on fixing some other edge cases too (one person reported it). It seems that for some reason if you make custom sensors based on these attributes it somehow breaks stuff. Not sure why but I can't replicate it |
4.4.05 fixes a potential issue with queues |
Must correct myself, just turned off the projector using the remote. The integration still shows it running. Will do further testing tomorrow. |
yeah the latest version should fix that |
I am on 4.4.0.4. Just tried to turn off the integration but it stays on no matter how often i press the switch off button of the integration. |
4.4.05 is the latest version as of now |
Got it. Thanks! |
I was able turn on and off the Projector once using the integration. A second time it did just nothing - unfortunately. |
Reloading the integration now shows the correct values. |
Next short update. After a while the integration switches to show offline again while the projector is on. |
Is this on the latest version? There have been newer ones since then that issue should have been fixed already. If you encounter issues please send me debug logs because I dont encounter these issues with my setup. Only difference I see is I have an nz7, you have nz8, and another person reporting issues has nz9. I wonder if theres something different with the nz7 model because otherwise, I have no idea why some users have issues But anyway try the latest version and let me know |
I've got an nz7, I'll get the latest version and report back after tonight's watching. |
Ran with 4.4.0.7, no hangs or restarts needed. I didn't check low latency, but other attributes looked correct (like laser level and installation mode). |
I was finally able to replicate the issues. It was a result of sending commands and shifting the queue position. v4.4.08 fixes it for me |
I rewrote this with sync code primarily because the JVC protocol is highly fragile and synchronous and I was fighting an uphill battle doing it async. I added the new features like laser value (0-100) and other stuff, let me know if something is missing. Please try the latest 3.7.x beta in HACS which is now v3.7.34 Keep in mind this removes config flow so you will need to add it to your configuration.yaml again (see readme) The alternative is to use the integration that is in the official repo but that is lacking a lot of features. I am focusing my efforts on writing a home assistant like thing focused on theaters and theater devices Let me know if this version has any major issues. I have tested it for over a week now and it has been fine for me. |
Running 4.2.1. I am having issues with the projector being turned Off by IR and it showing as On. It is resolved if I restart HA. Also is it possible to test for the standby state etc. Seems the power_state is only true or false.
EDIT: Crash resolved, running 3.7.3 ?.4 But it won't load entity. |
You will need to add a new one via config yaml or remove the old one and change the new name to match the old one |
Unfortunately I am not able to get the beta working. I don’t seem to be able to correctly understand how to add it to the configuration.yaml as it never works. The 4.2.1 version works but regularly loses connection with the projector and all sensors stay stuck in their last state until the integration is reloaded. Even upon reload I see pipe errors. Here is an error log before the reload if that helps in any way. Please excuse this if it has already been dealt with in the beta rewrites.
|
Install the file editor add on Install the latest beta from HACS & restart HA In configuration.yaml add this remote:
- platform: jvc_projectors
name: nz7 (or whatever name you want)
password: (your password you set if NZ model)
host: (your ip address of the unit) Disable the existing integration (don't delete yet) Restart HA You should see remote.nz7 now If everything works, you can delete the existing integration and rename entities in your automations if needed Yes those issues are fixed in the latest beta. I probably won't add config flow to this because there is already an official integration but maybe one day if I have free time. |
I am going to close this issue if you have further issues please open a new one. I will probably release the latest beta as official soon. |
Hi all,
since the latest update the integration that has been setup through the HA UI seems to loose connection to my NZ8. (setup using yaml is not accepted anymore?)
All sensors showing unavailable and the remote is not able to turn on/off the device. Its only working after the initial setup (for a few seconds). At least its seems so...
Any Idea what i could/should check ?
BR
The text was updated successfully, but these errors were encountered: