Pilight - Don't receive anything, sending to Outlets O.K

Hello,

I tried all the evening to receive any values from my pilight installation on an different device (rpi3)
Sending Commands to Outlets is functioning 100%, but receiving signals from my remotes, weatherstation, onewire sensor has no success.
The Webinterface from Pilight shows signals and states, also pilight-receive in the running docker-container with pilight on the pi shows the values.

Here are my config snippets:

configuration.yaml

pilight:
  host: IP
  port: 5051
  send_delay: 0.5
  whitelist:
    protocol:
    - elro_800_switch
    - elro_800_contact
    - alecto_ws1700

switch.yaml

 - platform: pilight
     switches:
       og_pi_sw_s1_ka:
         on_code:
            protocol: elro_800_switch
            systemcode: 1
            unitcode: 1
            'on' : 1
       off_code:
          protocol: elro_800_switch
          systemcode: 1
          unitcode: 1
          'off' : 1
      on_code_receive:
         protocol: elro_800_switch
        systemcode: 1
        unitcode: 1
        state: 'on'
     off_code_receive:
        protocol: elro_800_switch
        systemcode: 1
        unitcode: 1
        state: 'off'

sensor.yaml

- platform: pilight
  name: Temperatur
  variable: temperature
  payload:
    uuid: 0000-b8-27-eb-ace688
    protocol: alecto_ws1700
  unit_of_measurement: '°C'

- platform: pilight
  name: Temperatur_Flur
  variable: 'temperature'
  payload:
    uuid: 0000-b8-27-eb-ace688
    protocol: ds18b20
    id: '0000076ac9de'
  unit_of_measurement: '°C'

automation.yaml

 - alias: og_pi_fb_s1_ka
   trigger:
     platform: event
     event_type: pilight_received
     event_data:
       uuid: '0000-b8-27-eb-ace688'
       protocol: 'elro_800_switch'
       systemcode: 1
       unitcode: 1
       state: 'on'
   action:
     - service: switch.turn_on
       entity_id: switch.og_pi_sw_s1_ka

But i didn’t get any sensor data or reactions on remote presses

The home-assistant logs shows now errors, but also no events

Greetings
Sven

UPDATE INFORMATION:

Running System is an Hass.Io Install in an virtual Environment on a Proxmox Server.

All ready tried to update pilight in the homeassistant docker container with

pip3 install --upgrade pilight

It says it is the latest Version

Pilight is running as an selfmade Hassio Addon with Host Network as Master Node
Pilight in Version 7 on Raspberry Pie with connected Receivers/Senders as Client Node
Hassio ist Connected to Master Node

Hass.Io Version 0.69.1
Pilight Version: 7

Pilight Web Interfaces shows actual Values/States of the Switchable Socket / Weatherstation / OneWire Temperature

I use the following Configration:

configuration.yaml --> Pilight Config

pilight:
  host: 192.168.XXX.XXX
  port: 5051
  send_delay: 0.5
  whitelist:
    protocol:
      - elro_800_switch
      - elro_800_contact
      - brennenstuhl
      - alecto_ws1700
      - ds18b20

configuration.yaml --> Logging Config

logger:
  default: warning
  logs:
    homeassistant.components.pilight: info
    homeassistant.components.sensor.pilight: info
    homeassistant.components.switch.pilight: info

switch.yaml --> switch Config (one switchable socket Example)

- platform: pilight
  switches:
    og_pi_sw_s1_ka:
      on_code:
        protocol: elro_800_switch
        systemcode: 1
        unitcode: 1
        'on' : 1

      off_code:
        protocol: elro_800_switch
        systemcode: 1
        unitcode: 1
        'off' : 1
          
      on_code_receive:
        protocol: elro_800_switch
        systemcode: 1
        unitcode: 1
        state: 'on'
        echo: true

      off_code_receive:
        protocol: elro_800_switch
        systemcode: 1
        unitcode: 1
        state: 'off'
        echo: true

sensor.yaml --> Sensor configuration

- platform: pilight
  name: og_fl_pi_temperatur
  variable: temperature
  payload:
    id: '0000076ac9de'
    protocol: ds18b20
    uuid: 0000-b8-27-eb-ace688
  unit_of_measurement: '°C'

- platform: pilight
  name: og_te_pi_temperatur
  variable: temperature
  payload:
    id: '1308'
    protocol: alecto_ws1700
    uuid: 0000-b8-27-eb-ace688
  unit_of_measurement: '°C'

- platform: pilight
  name: og_te_pi_luftfeuchte
  variable: humidity
  payload:
    protocol: alecto_ws1700
    id: '1308'
    uuid: 0000-b8-27-eb-ace688
  unit_of_measurement: '%'

Pilight Config: Snippet for Config File

"settings": {
	"port": 5051,
	"log-level": 6,
	"pid-file": "/var/run/pilight.pid",
	"log-file": "/var/log/pilight.log",
	"webserver-enable": 1,
	"webserver-root": "/usr/local/share/pilight/",
	"webserver-http-port": 5052,
	"webserver-cache": 1
},

Pilight Log One-Wire:

[May 23 07:04:46:129703] pilight-daemon: DEBUG: broadcasted: {"message":{"id":"0000076ac9de","temperature":24.500},"origin":"receiver","protocol":"ds18b20","uuid":"0000-b8-27-eb-ace688"},
[May 23 07:04:46:129696] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":"0000076ac9de","temperature":24.500},"origin":"receiver","protocol":"ds18b20","uuid":"0000-b8-27-eb-ace688"}

Pilight Log: Weather Station

[May 23 07:04:20:174091] pilight-daemon: DEBUG: broadcasted: {"message":{"id":1308,"temperature":18.5,"humidity":20.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-ace688","repeats":2},
[May 23 07:04:20:273010] pilight-daemon: DEBUG: socket recv: {"message":{"id":1308,"temperature":18.5,"humidity":20.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-ace688","repeats":3,"action":"update"}

Situation:

I can send the Commands to my Switchable Socket with the Switches, so the Communication seems to be O.K.
But i don’t receive anything on the Sensor side / Signal from Switchable Socket Remote.
Sometimes, when I restart Home-Assistant in case of Configration changes I get one Signal, but nothing more.

  1. I don’t see anything in the Logfile (I am new to Hassio) --> is my logging setup correct?
  2. Can someone check my configs, maybe there’s an typo i don’t see.

If you need more Information, please let me know

Greetings
Sven

Helllo, “der-brumm-baer”, I am quite new to Home Assistant. But after a week of trying to connect to my pilight-setup on another raspberry pi and searching for a solution I came accross this post of yours. I have got the same problem. Sending commands to the remote pilight is working great but I don’t receive any messages from it so I cannot get any info on the state of the devices. Did you ever solve this problem? I am very curious.

Hello,

I solved this by using NodeRed as software in the middle to read/write states from/to PiIight and send them to an MQTT Topic.

best regards
Sven

Thanks.I am not at all familiar with MQTT nor NodeRed. Still strange that HA cannot receive pilight messages by itself. I guess I will have to leave HA and will try OpenHab in order to be able to keep using Pilight with my 433 MHz devices.

Here the same.
HA does control all my 433MHz switches well.
But HA pilight hub is not able to detect changes
made on the 433MHz ‘bus’ by other controllers (e.g. by the hand operated controllers).

No response to these posts? So pilight is dead in HomeAssistant.
Why does nobody has the guts to state this on the configuration page?

I have 10+ switches controlled with pilight. And it is very stable. Since years.
I will not dump them.
Is the NodeRed/MQTT patch really the only answer (thanks der-brumm-baer!) ?
I am reluctant to reverse engineer on my own the HA code and try a fix.

(By the way my 433MHz thermostats info is appearing in HA. )