Samsung AC binding configuration


I’m followed this instructions:

  1. I installed Samsung AC Binding.
  2. I created: /etc/openhab2/services/samsungac.cfg

Now in logs I see:

2018-03-24 18:21:52.379 [DEBUG] [.samsungac.internal.SamsungAcBinding] - There is no existing Samsung AC binding configuration => refresh cycle aborted!

In the manual is nothing about certficate?

What I should do to get working Samsung AC binding?

When i try to create samsungcert.crt file I get empty file and error:

root@raspberrypi:/var/log/openhab2# echo -n | openssl s_client -connect | sed -ne ‘/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p’ > samsungcert.crt
1996182944:error:0200206F:system library:connect:Connection refused:…/crypto/bio/b_sock2.c:108:
1996182944:error:2008A067:BIO routines:BIO_connect:connect error:…/crypto/bio/b_sock2.c:109:

correct ip address for your ac unit

IP is correct - I have DHCP static reservation for AC.

The next step on the link is:

Don’t mind the error message, it is part of the deal. Now we need to find the location of your Java cacerts:

Ignore the errors and carry on

I don’t worry about errors, but CRT file is empty.

try using port 8888 instead of 2878

It works with 8888 port!.

Now I’m stuck on step 2:

root@raspberrypi:/var# base64 -d < pasted.txt > cert.pem
base64: invalid input

file pasted.txt exists in var directory

You need to paste the text in the command itself
for example:

base64 -d sadkjlghlksdjh;sdhvjsdbfkjsbdhbsd cert.pem

Look there!
This is new

Bekomme immer diesen Fehler

Ich möchte den fronius wechselrichter und die klimaanlagen zusammen steuern nach energie Erzeugung der PV Anlage

Hi Guys,
Can someone whos successfully implemented this give me some guidance. I dont get the warning at the feedback when trying to capture the token. My unit is running on port 2878 (verified with port sniffer). Here is what my samsungac.cfg file looks like:

#Host and port of the first AC to control
MBed.mac=XXXXXXXXXXXX (hidden)

Here are my logs following a restart with debug turned on: