-
Notifications
You must be signed in to change notification settings - Fork 41
Unable to Pair #274
Comments
I will need the full log. |
i`ve taken the log... and removed it because it was too long. |
First error : Did you edit the settings files manually ? the AllonTT has a limit of an int16 and 4294967295 is an automatic overflow because it's bigger that 32767. The second one I have seen with old version of the bridge or ha-bridge. Do you have an older round version of the bridge or ha-bridge running in your network ? |
Nope. only one. the newer version. No i did not change anything |
And i got a Problem by Huertro during creating a scene, it won't save |
you can edit the WinHueSettings.set file manually and remove the AllonTT or change it to 65530. What is the version of your bridge api ? This might be the issue as well. If the version is too old you will have those kind of issues. Nevermind I just saw it in the bug report. I'll try to take a look at the log again see if anything is odd. |
2019-12-17 11:26:39,235 [1] DEBUG WinHue3.Functions.Application_Settings.Settings.WinHueSettings [LoadBridges:319] ==> Trying to open bridge settings file... |
Didn't notice any change |
Nah it's my bad it's not 65000 but 32000 it's a int16 and 2^16 is 65535 but int is also negative so it's -32768 to 32768 but this value cannot be negative for a transition time so it's 0 to 32765. WinhueSettings.set is in your appdata folder. under %appdata%\WinHue if you paste this in Windows explorer address bar you will be directly inside the folder. I will try to have a version for you to test today. |
Here you go. You can try this version and let me know what happens. |
2020-01-12 17:05:29,673 [1] DEBUG WinHue3.Functions.Application_Settings.Settings.WinHueSettings [LoadBridges:320] ==> Trying to open bridge settings file... |
This seems to me that there are some files missing in your .net version System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http This is not normal and not a bug in WinHue. System.Net.Http is part of the .net framework. I suggest you try reinstalling .net framwork from the microsoft website. You need .net framework 4.7.2. |
Im having the same issue... Gonna try reinstalling winhue |
Not a problem with WinHue. This a problem with .net framework. Even if you reinstall WinHue you will not fix this. You need to reinstall .Net Framework. This is... if this is related in any way. |
.net framework already installed on 4.7.2, using Windows 10 Pro with all latest updates. Any more steps on how we can debug? :) |
Yes I need a log file from WinHue in order to find the problem. It's located in the appdata\roaming\winhue\log folder |
Got it you can remove it. This is not related to the current issue. Can you open a new issue and fill the form I will see what I can do. |
Hi, I had the same issue as was mentioned above:
Then after trying WinHue 3.0.4804 the error changed to:
Log file is attached, pairing keys removed. The bridge that is causing this issue is
Software on the bridge is 1939070020. Let me know if you need anything else; absolutely love this app! |
you can try updating your bridge with the hue app. Otherwise you can also try deleting the WinHueBridges.set file present in you appdata roaming folder. Unfortunately I'm not really into this app anymore. Compiled app are not really a thing anymore and I have plenty of alternative to control the philips hue bulb. I'm not even using the bridge anymore as I have transitioned to HomeAssistant with a conbee ( can control philips hue bulb better than the bridge itself) . Every aspect of the bridge the conbee can do better and fast. Where I had to push multiple times on the hue tap button I barely have to press it now to get it working for example. |
WinHue version : 3.0.4773.0
Bridge api version : 1.35.0 firmaware 1935144020
Light model :
Unable to Pair
While pairing WinHue to Hue Bridge following Message appears
Error message : Version string portion was too short or too long.
Source : mscorlib
Data : System.Collections.ListDictionaryInternal
Stack : at System.Version.VersionResult.SetFailure(ParseFailureKind failure, String argument)
at System.Version.TryParseVersion(String version, VersionResult& result)
at System.Version.Parse(String input)
at System.Version..ctor(String version)
at WinHue3.Philips_Hue.BridgeObject.Bridge.CreateUser(String deviceType, Nullable`1 generatesteamkey) in C:\Program Files (x86)\Jenkins\workspace\WinHue Dev\WinHue3\Philips Hue\BridgeObject\Bridge_Settings.cs:line 219
at WinHue3.Functions.BridgePairing.BridgePairingViewModel._pairTimer_Tick(Object sender, EventArgs e) in C:\Program Files (x86)\Jenkins\workspace\WinHue Dev\WinHue3\Functions\BridgePairing\BridgePairingViewModel.cs:line 121
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.Show()
at System.Windows.Window.ShowDialog()
at WinHue3.MainForm.MainFormViewModel.DoBridgePairing() in C:\Program Files (x86)\Jenkins\workspace\WinHue Dev\WinHue3\MainForm\MainFormViewModel_Bridge.cs:line 309
at WinHue3.MainForm.MainFormViewModel.<get_DoBridgePairingCommand>b__179_0(Object param) in C:\Program Files (x86)\Jenkins\workspace\WinHue Dev\WinHue3\MainForm\MainFormViewModel_Commands.cs:line 288
at WinHue3.Utils.RelayCommand.Execute(Object parameter) in C:\Program Files (x86)\Jenkins\workspace\WinHue Dev\WinHue3\Utils\RelayCommand.cs:line 44
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
at WinHue3.App.Main()
The text was updated successfully, but these errors were encountered: