Closed AkAPerryAkA closed 2 years ago
@AkAPerryAkA
many, many thanks for your ultra detailed report.
a quick question - with Panasonic TV Remote 2 and 3 can you turn TV on or off ? will get you with something to test later today.
thanks in advance!
Hi,
I can turn the TV off no problem, but on isn't supported. Thanks!
@AkAPerryAkA
plz install a debug version - npm i -g homebridge-vieramatic@debug
, and restart homebridge.
then please attach here the noisy contents from your homebridge logs when TV is ON.
in your case i'm specially interested in whatever pops surrounding after "X_ScreenState":
@AntonioMeireles
I did as you said and there were no more messages in the Homebridge log. I had the TV on when i reinstalled the plugin and restartert homebridge. I also tried turning the TV off and on, but no change in the logs. I even tried restart of the hb-service, but no luck there either. Am i doing something wrong?
This is all that show in the log event after 30 minutes of waiting:
[1/25/2022, 10:15:19 PM] Loaded plugin: homebridge-vieramatic@4.0.22-debug1
[1/25/2022, 10:15:19 PM] Registering platform 'homebridge-vieramatic.PanasonicVieraTV'
[1/25/2022, 10:15:20 PM] [PanasonicVieraTV] Initializing PanasonicVieraTV platform...
[1/25/2022, 10:15:20 PM] Loading 2 accessories...
[1/25/2022, 10:15:20 PM] [PanasonicVieraTV] handling '192.168.1.112' from config.json
[1/25/2022, 10:15:20 PM] [PanasonicVieraTV] found a 'Panasonic VIErA' TV (ET60) at '192.168.1.112' .
[1/25/2022, 10:15:20 PM] [PanasonicVieraTV] successfully loaded Living Room TV
[1/25/2022, 10:15:20 PM] Living Room TV BC04 is running on port 64211.
[1/25/2022, 10:15:20 PM] Please add [Living Room TV BC04] manually in Home app. Setup Code: XXX-XX-XXX
@AkAPerryAkA
with TV ON?!
@AntonioMeireles Yes, i really cant see why its not showing any more messages in the log. The TV is on right now and im watching the log constantly.
@AkAPerryAkA
update again to latest debug version. npm i -g homebridge-vieramatic@4.0.22-debug2
, and restart homebridge.
and tell please me if still nothing in logs
(thanks for the patience)
@AntonioMeireles
Same as before, tried restart of homebridge again and turning the tv off and then on again.
@AkAPerryAkA
i suspect issue is with ... windows. the UPnP subscription doesn't seem to be working at all. have you a way to try this on plain linux VM or host ?
@AntonioMeireles
Right, i was planning on moving my setup to a hyper-v instance. I can do that and report back tomorrow :)
@AkAPerryAkA
do plz... and thanks again!
@AntonioMeireles
I could not help myself and i have now moved too hyper-v linux. And the plugin startert to report without problem in the homebridge log:
isTurnedOn() {
"?xml": "",
"e:propertyset": {
"e:property": [
{
"X_InputMode": "rc-mode"
},
{
"X_KeyboardType": "default"
},
{
"X_ScreenState": "on"
},
{
"X_AppInfo": ""
}
]
}
}
isTurnedOn() [
{
"X_InputMode": "rc-mode"
},
{
"X_KeyboardType": "default"
},
{
"X_ScreenState": "on"
},
{
"X_AppInfo": ""
}
]
Also when i checked in apple home, the problem is solved! I updated it to the last version and still no problem. Even the UI settings for the plugin works great now.
So windows was the culprit all along as you though. Thank you so much for awesome work!
@AkAPerryAkA
glad it's all sorted out!
just come back if issues arise.
all the best!
Describe your issue
When setting up the TV i had some trouble using the gui wizard because it failed with "The Viera TV at 192.168.1.112 could not be edited.". I got it in with adding the json config manually with ip;
I later added the mac, customVolumeSlider and hdmiInputs too see if it made any difference. After this the homebridge gives me only good feedback from the plugin:
Then when i add it to the Home it appears as "Off", but i can still control it with the built inn apple remote on my phone by selecting the TV. Also when i go inn to the TV icon on Home and press the "View Settings TV" it opens the settings on the TV. I can also see all the apps the TV has available under inputs. When i press the TV to turn it on it spins with the loading icon for about 4 seconds and goes back to Off state 2 seconds later.
Issue Context
config.json
contents.accessories/vieramatic.json
(path is relative to homebridge's datadir)I can control the tv with the Panasonic TV Remote 2 and 3. I have not used this plugin, but have had no problem with another plugin "homebridge-panasonic-viera-tv v7.2.0".
I really wanted to use this plugin as it is verified and probably will run more smooth on the homebridge as the other plugin does not like when the TV is offline. It does not look like the TV supports to turn on remotely or with wake on lan (but not a big problem for me as i usually turn on the TV with the xbox.