I found you're repo looking for some source code for the niko home control 2 with a hobby api key.
I'm planning on building a uwp app to host on a pi with windows iot core with a small toutch screen.
But i'm having problems connecting to my home control.
can't you explain how to install ca-chain.cert.pem correctly on my local dev machine (windows 10) and a a raspberry pi.
at the moment i'm getting a MQTTnet.Exceptions.MqttCommunicationException
"The certificate's CN name does not match the passed value. (Exception from HRESULT:0x800B010F)"
from
at MQTTnet.Adapter.MqttChannelAdapter.WrapException(Exception exception)
at MQTTnet.Adapter.MqttChannelAdapter.<ConnectAsync>d__32.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MQTTnet.Client.MqttClient.<ConnectAsync>d__33.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at MQTTnet.Client.MqttClient.<ConnectAsync>d__33.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
Hi
I found you're repo looking for some source code for the niko home control 2 with a hobby api key. I'm planning on building a uwp app to host on a pi with windows iot core with a small toutch screen. But i'm having problems connecting to my home control. can't you explain how to install ca-chain.cert.pem correctly on my local dev machine (windows 10) and a a raspberry pi.
at the moment i'm getting a MQTTnet.Exceptions.MqttCommunicationException
"The certificate's CN name does not match the passed value. (Exception from HRESULT:0x800B010F)"