homebridge-samsung-tizen: Art Mode toggle errors with new Frame
Using a 2022 Samsung Frame, the plugin works properly to send power on and power off, but runs into issues when trying to use the “Art Mode” toggle.
For the Advanced Configuration options in the config UI, I left Type set to “None” and it appears to be correctly identifying as a Frame (have a distinct art mode toggle as an accessory). I increased the Command Delay Interval to 1500. Initial connection appears correct in logs:
[4/22/2022, 2:03:45 PM] Samsung Frame TV 4B71 is running on port 53044.
[4/22/2022, 2:03:45 PM] Please add [Samsung Frame TV 4B71] manually in Home app. Setup Code: 272-45-117
[4/22/2022, 2:03:45 PM] [Samsung Frame TV] [DEBUG] {
data: { clients: [ [Object] ], id: 'af283b74-a79e-544e-94d7-5b1613ty6ee5' },
event: 'ms.channel.connect'
If the TV is on (either in Art Mode or displaying an HDMI input) the power accessory will correctly turn on/off the display and restores the previous state (Art Mode or HDMI input).
But if the TV is on and set to HDMI, using the Art Mode toggle does not properly switch. Related, if the TV was turned off when last set to HDMI input, there is no way to power on to Art mode.
Logs sent when trying to setting the art mode toggle on when the TV is powered on to HDMI input:
[4/22/2022, 2:07:46 PM] [Samsung Frame TV] [DEBUG] { value: 'on', request: 'set_artmode_status' }
[4/22/2022, 2:07:46 PM] [Samsung Frame TV] [DEBUG] {
data: {
attributes: { name: 'U2Ftc3VuZyBGcmFtZSBUVg==' },
connectTime: 1650650856664,
deviceName: 'U2Ftc3VuZyBGcmFtZSBUVg==',
id: '7b67e82-89c2-46d5-beb4-5498cc4212aa',
isHost: false
},
event: 'ms.channel.clientDisconnect'
}
}
[4/22/2022, 2:07:52 PM] [Samsung Frame TV] [DEBUG] { request: 'get_artmode_status' }
[4/22/2022, 2:07:54 PM] [Samsung Frame TV] [DEBUG] {
data: {
attributes: { name: 'U2Ftc3VuZyBGcmFtZSBUVg==' },
connectTime: 1650650867536,
deviceName: 'U2Ftc3VuZyBGcmFtZSBUVg==',
id: 'ab878499-e455-5a3-8f5c-1f2a21ab687',
isHost: false
},
event: 'ms.channel.clientConnect'
}
[4/22/2022, 2:07:57 PM] [Samsung Frame TV] [DEBUG] {
data: {
attributes: { name: 'U2Ftc3VuZyBGcmFtZSBUVg==' },
connectTime: 1650650867536,
deviceName: 'U2Ftc3VuZyBGcmFtZSBUVg==',
id: 'ab878499-e455-5a3-8f5c-1f2a21ab687',
isHost: false
},
event: 'ms.channel.clientDisconnect'
}
With homebridge debug on, the logs continuously cycle between ‘ms.channel.clientConnect’ and ‘ms.channel.clientDisconnect’ like above.
When trying to configure earlier, I was getting Failed to open art socket similar to #443. But no longer see this.
Hoping to help troubleshoot further, can put TV in developer mode.
Thanks, excited to get this working since this seems like the only path to some type of programmatic control over art mode.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 46 (20 by maintainers)
I sent a request in the developer portal yesterday. Will let you know if I get a response.
With firmware 1622, the art WebSocket api is back! Looks like some calls may need to be renamed. And you can check ArtMode status!
https://www.reddit.com/r/TheFrame/comments/1c2lgbs/art_mode_api_is_back/