Jump to content
IHC-User.dk
  • 0
Sign in to follow this  
StenKrog

ihc og mqtt

Question

hei alle

jeg forsøger at få ihc til at publishe vi mqtt  formålet er at få temperaturer til mqtt og videre til grafana

til dette har jeg fundet Dingus gateway men kan simpelthen ikke få den til at virke  min brooker virker fint og jeg kan logge på den med mqtt explorer uden problener

når jeg kører ihcmqttgateway får jeg denne fejl:

for mig ligner det at brookerens ip eller usr/password er forkert men det virker fint i mqtt explorer 


Ikke-afviklet undtagelse: System.Net.Sockets.SocketException: Værten kendes ikke
   ved System.Net.Dns.GetAddrInfo(String name)
   ved System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
   ved System.Net.Dns.GetHostEntry(String hostNameOrAddress)
   ved uPLibrary.Networking.M2Mqtt.MqttNetworkChannel..ctor(String remoteHostName, Int32 remotePort, Boolean secure, X509Certificate caCert, X509Certificate clientCert, MqttSslProtocols sslProtocol, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback)
   ved uPLibrary.Networking.M2Mqtt.MqttClient.Init(String brokerHostName, Int32 brokerPort, Boolean secure, X509Certificate caCert, X509Certificate clientCert, MqttSslProtocols sslProtocol, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback)
   ved IhcMqttGateway.Program.Main(String[] args)

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Jeg foreslår, at du stiller spørgsmålet direkte til Jens på dingus.dk for bedste svar.

Selv har jeg ikke brugt dette modul - kun Home Assistant integrationen fra ham, og det virker fint. Via enten Home Assistant eller openHAB kan du aktivere mqtt beskeder fra IHC, og det virker fint i begge systemer. Dog er der lidt indlæring, man skal igennem.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

Privacy Policy og We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.