-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Errors trying to use Remote API feature with Philips Hue #826
Comments
@MarcusBluestein are you still having this issue? |
Yes I am. If you want logs and for me to try anything let me know.
And if it matters, I am trying to run the application on Windows 365 VM for work and have it talk to my home lights.
Marcus Bluestein | Kraft & Kennedy, Inc.
+1 (212) 692-5602 | ***@***.***
On Jan 17, 2024, at 1:08 PM, Isaac Levin ***@***.***> wrote:
@MarcusBluestein<https://github.com/MarcusBluestein> are you still having this issue?
—
Reply to this email directly, view it on GitHub<#826 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AX7S2HVBWQ7UZYJST5FX4KTYPAHN3AVCNFSM6AAAAAA2Z76KQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGMZTENZUGY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Can you try the nightly version? I made some changes and published a new version |
Nothing seemed different after I installed the nightly version. Here are the logs: {"Timestamp":"2024-01-18T06:51:46.6774570-05:00","Level":"Information","MessageTemplate":"Load Settings Initialized - MainWindow.xaml:LoadSettings Line: 127","Properties":{"SourceContext":"PresenceLight.MainWindow","LineNumber":127,"FilePath":"D:\a\presencelight\presencelight\src\DesktopClient\PresenceLight\MainWindow.xaml.cs","MemberName":"LoadSettings","Application":"PresenceLight"}} |
ok try now :) |
It works! Thank you so much for fixing it and creating such an awesome application.
Marcus Bluestein | Kraft & Kennedy, Inc.
+1 (212) 692-5602 | ***@***.***
…________________________________
From: Isaac Levin ***@***.***>
Sent: Thursday, January 18, 2024 5:30 PM
To: isaacrlevin/presencelight ***@***.***>
Cc: Bluestein, Marcus ***@***.***>; Mention ***@***.***>
Subject: Re: [isaacrlevin/presencelight] Errors trying to use Remote API feature with Philips Hue (Issue #826)
Reopened #826<#826>.
—
Reply to this email directly, view it on GitHub<#826 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AX7S2HRBP7H4UTBSYXJL2YDYPGO7FAVCNFSM6AAAAAA2Z76KQWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGUZTANZSHEYDCNA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Great, I will close when it gets pushed to the Windows Store |
I am trying to run PresenceLight in a cloud virtual machine and have it control the lights in my home office. I am successful clicking the "Login to Hue Cloud" button, but nothing happens when I press either "Get Hue Lights" or "Get Hue Groups" buttons. I see the errors below in the logs. Is this a bug or am I doing something wrong?
{"Timestamp":"2023-07-27T08:00:57.8067245-04:00","Level":"Error","MessageTemplate":"Error Occured Processing Access Token for Remote Bridge - RemoteHueService:GetAccessToken Line: 109","Exception":"System.UnauthorizedAccessException: Access to the path 'C:\Program Files\WindowsApps\37828IsaacLevin.197278F15330A_5.6.11.0_x64__zfcjmmeb3zeaa\PresenceLight\huetoken.cache' is denied.\r\n at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)\r\n at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)\r\n at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)\r\n at System.IO.File.WriteToFileAsync(String path, FileMode mode, String contents, Encoding encoding, CancellationToken cancellationToken)\r\n at PresenceLight.Core.RemoteHueService.GetAccessToken()","Properties":{"SourceContext":"PresenceLight.Core.RemoteHueService","LineNumber":109,"FilePath":"D:\\a\\presencelight\\presencelight\\src\\PresenceLight.Core\\Lights\\RemoteHueServices\\RemoteHueService.cs","MemberName":"GetAccessToken","Application":"PresenceLight"}} {"Timestamp":"2023-07-27T08:00:57.8269236-04:00","Level":"Error","MessageTemplate":"Error Occured Registering Remote Bridge - RemoteHueService:RegisterBridge Line: 182","Exception":"System.UnauthorizedAccessException: Access to the path 'C:\\Program Files\\WindowsApps\\37828IsaacLevin.197278F15330A_5.6.11.0_x64__zfcjmmeb3zeaa\\PresenceLight\\huetoken.cache' is denied.\r\n at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)\r\n at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)\r\n at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)\r\n at System.IO.File.WriteToFileAsync(String path, FileMode mode, String contents, Encoding encoding, CancellationToken cancellationToken)\r\n at PresenceLight.Core.RemoteHueService.GetAccessToken()\r\n at PresenceLight.Core.RemoteHueService.RegisterBridge()","Properties":{"SourceContext":"PresenceLight.Core.RemoteHueService","LineNumber":182,"FilePath":"D:\a\presencelight\presencelight\src\PresenceLight.Core\Lights\RemoteHueServices\RemoteHueService.cs","MemberName":"RegisterBridge","Application":"PresenceLight"}}{"Timestamp":"2023-07-27T08:00:57.8292437-04:00","Level":"Error","MessageTemplate":"Error Occured Getting Cloud Hue Api Key","Exception":"System.UnauthorizedAccessException: Access to the path 'C:\Program Files\WindowsApps\37828IsaacLevin.197278F15330A_5.6.11.0_x64__zfcjmmeb3zeaa\PresenceLight\huetoken.cache' is denied.\r\n at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)\r\n at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)\r\n at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)\r\n at System.IO.File.WriteToFileAsync(String path, FileMode mode, String contents, Encoding encoding, CancellationToken cancellationToken)\r\n at PresenceLight.Core.RemoteHueService.GetAccessToken()\r\n at PresenceLight.Core.RemoteHueService.RegisterBridge()\r\n at PresenceLight.Core.RemoteHueServices.RegisterBridgeHandler.Handle(RegisterBridgeCommand command, CancellationToken cancellationToken)\r\n at PresenceLight.Razor.Pages.HueSetup.LoginRemoteApi()","Properties":{"SourceContext":"PresenceLight.Razor.Pages.HueSetup","Application":"PresenceLight"}}
The text was updated successfully, but these errors were encountered: