{"id":427,"date":"2021-10-27T11:37:50","date_gmt":"2021-10-27T09:37:50","guid":{"rendered":"https:\/\/jbsoft.nl\/site\/?p=427"},"modified":"2021-11-01T15:50:32","modified_gmt":"2021-11-01T14:50:32","slug":"mqtt-tls-support-new-solarman-api","status":"publish","type":"post","link":"https:\/\/jbsoft.nl\/site\/mqtt-tls-support-new-solarman-api\/","title":{"rendered":"MQTT TLS support &#8211; new Solarman API"},"content":{"rendered":"\n<p>The last release of Omnikdatalogger will have MQTT TLS support and implements the new Solarman API.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">MQTT TLS support<\/h2>\n\n\n\n<p>The MQTT output client and mqtt_proxy plugin for the localproxy client now can use TLS. The use of client certificates and the use of an alternative ca is supported now.<\/p>\n\n\n\n<p>Example of the new settings:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">output.mqtt:\n    tls: true\n    ca_certs: .\/.omnik\/ca\/mosquitto.org.crt\n    client_cert: .\/.omnik\/client.crt\n    client_key: .\/.omnik\/client.key<\/pre>\n\n\n\n<p>All new settings are optional.<\/p>\n\n\n\n<p>TLS support was also added to Omnikdatalogger proxy.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">new Solarman API<\/h2>\n\n\n\n<p>The last solarmanpv client does not work any more, because it was based on an old API that has been taken down. A brand new implementation of the solarmanpv client is now available. The client needs credentials to work. Visit <a rel=\"noreferrer noopener\" href=\"https:\/\/home.solarmanpv.com\" target=\"_blank\">https:\/\/home.solarmanpv.com<\/a> to register. You can request customer support to migrate your previous collected data. The new portal and API has assigned a different <code>plant_id<\/code>, assigning a serial number is no longer needed.<\/p>\n\n\n\n<p>The new API it self performs well and is secured, but data collection and processing is still buggy and slow.  Hopefully this will improve shortly.<\/p>\n\n\n\n<p>Big advantage is that you will regain access to your historical data. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"549\" src=\"https:\/\/jbsoft.nl\/site\/wp-content\/uploads\/2021\/10\/afbeelding-1-1024x549.png\" alt=\"\" class=\"wp-image-428\" srcset=\"https:\/\/jbsoft.nl\/site\/wp-content\/uploads\/2021\/10\/afbeelding-1-1024x549.png 1024w, https:\/\/jbsoft.nl\/site\/wp-content\/uploads\/2021\/10\/afbeelding-1-300x161.png 300w, https:\/\/jbsoft.nl\/site\/wp-content\/uploads\/2021\/10\/afbeelding-1-768x411.png 768w, https:\/\/jbsoft.nl\/site\/wp-content\/uploads\/2021\/10\/afbeelding-1-1536x823.png 1536w, https:\/\/jbsoft.nl\/site\/wp-content\/uploads\/2021\/10\/afbeelding-1-18x10.png 18w, https:\/\/jbsoft.nl\/site\/wp-content\/uploads\/2021\/10\/afbeelding-1-1568x840.png 1568w, https:\/\/jbsoft.nl\/site\/wp-content\/uploads\/2021\/10\/afbeelding-1.png 1695w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The last release of Omnikdatalogger will have MQTT TLS support and implements the new Solarman API. MQTT TLS support The MQTT output client and mqtt_proxy plugin for the localproxy client now can use TLS. The use of client certificates and the use of an alternative ca is supported now. Example of the new settings: output.mqtt: &hellip; <a href=\"https:\/\/jbsoft.nl\/site\/mqtt-tls-support-new-solarman-api\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;MQTT TLS support &#8211; new Solarman API&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,14],"tags":[],"class_list":["post-427","post","type-post","status-publish","format-standard","hentry","category-anouncements","category-omnik-datalogger"],"_links":{"self":[{"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/posts\/427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/comments?post=427"}],"version-history":[{"count":4,"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/posts\/427\/revisions"}],"predecessor-version":[{"id":438,"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/posts\/427\/revisions\/438"}],"wp:attachment":[{"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/media?parent=427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/categories?post=427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jbsoft.nl\/site\/wp-json\/wp\/v2\/tags?post=427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}