<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to MQTT</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7d38ce37f8/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7d38ce37f8/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/7d38ce37f8/</id><updated>2020-02-27T16:13:13.163000Z</updated><subtitle>Recent posts to MQTT</subtitle><entry><title>MQTT</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7d38ce37f8/?limit=25#87df" rel="alternate"/><published>2020-02-27T16:13:13.163000Z</published><updated>2020-02-27T16:13:13.163000Z</updated><author><name>TMT</name><uri>https://forge.codesys.com/u/tmt/</uri></author><id>https://forge.codesys.com03fb4fa34b0f7532f0fe26304f2606bc0540c02f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanx, I have a look of that.&lt;/p&gt;
&lt;p&gt;Actually after hours of banging my head against the wall, I managed to get this working, problem is that library uses string(255) variable for incoming messages and domoticzs messages are longer.&lt;/p&gt;
&lt;p&gt;Filthy getaway was to parse messages in nodered first and handle rest of the messages in codesys. There should be way to control what domoticz sends in mqtt messages...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MQTT</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7d38ce37f8/?limit=25#3373" rel="alternate"/><published>2020-02-27T16:13:12.365000Z</published><updated>2020-02-27T16:13:12.365000Z</updated><author><name>Ton</name><uri>https://forge.codesys.com/u/ton/</uri></author><id>https://forge.codesys.com83b012bcf40d11624a142959d6239856d5520cd7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Here a snippet of my Domoticz Mqtt program.&lt;/p&gt;
&lt;p&gt;I use my own Mqtt client.&lt;/p&gt;
&lt;p&gt;This project include some controls for Domoticz like Lamp, Dimmer, Lux, Pir, Blinds, ..&lt;br/&gt;
These are oop, not really for idiots or newbie but maybe you can use it.&lt;/p&gt;
&lt;p&gt;Groetjes Ton.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=4308" rel="nofollow"&gt;Domoticz_Mqtt.projectarchive &lt;span&gt;&lt;span&gt;[560.22 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MQTT</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7d38ce37f8/?limit=25#feca" rel="alternate"/><published>2020-02-27T16:13:10.067000Z</published><updated>2020-02-27T16:13:10.067000Z</updated><author><name>TMT</name><uri>https://forge.codesys.com/u/tmt/</uri></author><id>https://forge.codesys.com856f5e39cbbf78fcf1f554c1599721fda4e43cb2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;For being complete newbie to codesys and programming. I just cant get this to work. &lt;/p&gt;
&lt;p&gt;I have local broker running in raspberry and it works with examble within library.&lt;/p&gt;
&lt;p&gt;But I just cant understand that how I proceed with this.&lt;/p&gt;
&lt;p&gt;Waiting for tutorial for idiots...&lt;/p&gt;
&lt;p&gt;Im trying to use this library to communicate with domoticz so that I can control my lights from domoticz.&lt;/p&gt;
&lt;p&gt;Codesys raspberry controls lights thru beckhoff ethercat io.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MQTT</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7d38ce37f8/?limit=25#088e" rel="alternate"/><published>2020-02-27T16:13:09.272000Z</published><updated>2020-02-27T16:13:09.272000Z</updated><author><name>Stefan2</name><uri>https://forge.codesys.com/u/stefan2/</uri></author><id>https://forge.codesys.com35bebb12ee17faacc4603dc247a8861cfba39f82</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Zitat:&lt;/strong&gt;&lt;br/&gt;
I would like to see an string were i can give an name of an certificate installed with the Security Manager of CODESYS which then is used by the Connection. Take a look and tell me what you think&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;sorry, i meant that i would be happy if it can Beo solved this way…&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MQTT</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7d38ce37f8/?limit=25#1e49" rel="alternate"/><published>2020-02-27T16:13:07.016000Z</published><updated>2020-02-27T16:13:07.016000Z</updated><author><name>Stefan2</name><uri>https://forge.codesys.com/u/stefan2/</uri></author><id>https://forge.codesys.coma433b1e5e88f8883caef0c955d2413ff009476e1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;i forgot, please start here:&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://github.com/stefandreyer" rel="nofollow"&gt;https://github.com/stefandreyer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MQTT</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7d38ce37f8/?limit=25#c5a9" rel="alternate"/><published>2020-02-27T16:13:06.226000Z</published><updated>2020-02-27T16:13:06.226000Z</updated><author><name>Stefan2</name><uri>https://forge.codesys.com/u/stefan2/</uri></author><id>https://forge.codesys.com7f5af220c9bd9710dcdc891a51909a2ef8a7af4d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;now all needed Projects are on GitHub. TLS and MQTT are now splittet, i am going on to work on MQTT further.&lt;/p&gt;
&lt;p&gt;If you like to ad certificates, you Need to work on CommonTypesAndFunctions, there is an FB IP_CONTROL. This on supports TLS without certificates, take al look on testmqtttls in MQTT.libraray, this works with test.mosquitto.org.&lt;/p&gt;
&lt;p&gt;Changing the interface is not longer needed, just extend TLS_CONFIG in CommonTypesAndFunctions.&lt;br/&gt;
I would like to see an string were i can give an name of an certificate installed with the Security Manager of CODESYS which then is used by the Connection. Take a look and tell me what you think&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MQTT</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7d38ce37f8/?limit=100#7ad9" rel="alternate"/><published>2020-02-27T16:13:05.430000Z</published><updated>2020-02-27T16:13:05.430000Z</updated><author><name>aliazzz</name><uri>https://forge.codesys.com/u/aliazzz/</uri></author><id>https://forge.codesys.com0ce9e3d1a31cab8ea66072066284e753b3cb9fa1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Count me in if you post your code in github ..&lt;br/&gt;
The newly posted Crypto Example should help out also&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MQTT</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7d38ce37f8/?limit=25#b6f7" rel="alternate"/><published>2020-02-27T16:13:03.167000Z</published><updated>2020-02-27T16:13:03.167000Z</updated><author><name>Stefan2</name><uri>https://forge.codesys.com/u/stefan2/</uri></author><id>https://forge.codesys.come1579490daa0825cb544788747130bab93772e24</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Kevin,&lt;/p&gt;
&lt;p&gt;no, certification is not implemented yet. But should be no problem.&lt;/p&gt;
&lt;p&gt;when i am further with the lib i tell you. &lt;/p&gt;
&lt;p&gt;And i have a gibhub account now...&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MQTT</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7d38ce37f8/?limit=25#db52" rel="alternate"/><published>2020-02-27T16:13:02.347000Z</published><updated>2020-02-27T16:13:02.347000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com56e69b3cc555c3a0f892ea12f560f3bfb092b241</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; KevinR&lt;/p&gt;
&lt;p&gt;Hello Stefan,&lt;/p&gt;
&lt;p&gt;If TLS is already implemented is it possible to use also own registered cert? &lt;/p&gt;
&lt;p&gt;Let me know if you need some help. I also can do some tests. &lt;/p&gt;
&lt;p&gt;BR,&lt;br/&gt;
Kevin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MQTT</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7d38ce37f8/?limit=25#e5a0" rel="alternate"/><published>2020-02-27T16:13:00.075000Z</published><updated>2020-02-27T16:13:00.075000Z</updated><author><name>Stefan2</name><uri>https://forge.codesys.com/u/stefan2/</uri></author><id>https://forge.codesys.com4480ce38a416012b234010c5938672472fc2200c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Kevin,&lt;/p&gt;
&lt;p&gt;TLS implementation is already done, works fine to test.mosquitto.org.&lt;/p&gt;
&lt;p&gt;but i still improving the lib to be able to use Topics up to 64kB an Payloads up to 200MB....&lt;/p&gt;
&lt;p&gt;i am glad about your offer to help, i am going to think about it.&lt;/p&gt;
&lt;p&gt;for this i Need to have a github account, but this shouldn't be the Problem.&lt;/p&gt;
&lt;p&gt;Bye&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>