Pilight will not work with HA

I have installed Pilight on a second Raspberry Pi.
On my other Pi i have write in the configuration.yaml:

pilight:
  host: 192.168.1.107
  port: 5000

But it dont works :frowning:
Pilight will not find in Home Assistant.

When i write in the /etc/pilight/config.json file

„port“: 5000

and then rebooting the Pi is it always delete.

This is the log:

Logger: homeassistant.setup
Source: components/pilight/init.py:69
First occurred: 14:50:15 (1 occurrences)
Last logged: 14:50:15

Error during setup of component pilight
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 175, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/pilight/init.py”, line 69, in setup
pilight_client = pilight.Client(host=host, port=port)
File “/usr/local/lib/python3.7/site-packages/pilight/pilight.py”, line 93, in init
answer_1 = json.loads(self.receive_socket.recv(1024).decode())
File “/usr/local/lib/python3.7/json/init.py”, line 348, in loads
return _default_decoder.decode(s)
File “/usr/local/lib/python3.7/json/decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/local/lib/python3.7/json/decoder.py”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)