Custom Integration - Control christmas lights show in HA (FPP and xLights)

Can’t get this to work properly. Media card shows everything “unknown”

Installed using HACS

FPP is setup with the homeassistant plugin.

My Config file:

media_player:

############################################

FPP

############################################

  • platform: falcon_pi_player
    name: Falcon Pi Player
    host: 192.168.1.154

username: xxxxx #optional
password: xxxxxxxxxx #optional

port: PORT #optional

Checked all files in:
custom_components/falcon_pi_player/
init.py
manifest.json
media_player.py

Verified USERNAME and PASSWORD to FPP is correct.
FPP - Capture

Please check this link on your fpp http://“ip”:“port”/api/fppd/status , you should see a lot of information about fpp

I’m not sure what I am doing wrong. I installed it through HACS. I added the yaml lines to the config file and rebooted HA. I was able to see the FPP media player in my entities but it says it is unavailable. I looked in the logs and there was an error message about the port. I did not add one in the yaml since it showed it was optional. So, I entered the port for my MQTT mosquito broker. Then I rebooted again but the media player still shows as unavailable.

If I go to http://10.0.0.58/api/fppd/status, it does show me information about my FPP. The MQTT section says configured is true but connected and bridging are false. I don’t know if that means anything.

Once I get this working, will it give me an entity for each start, stop, etc…? I use node red to automate different things and I would like to use node red to start and stop the playlists.

Thank you for any help.

Edit: It appears the Port is not optional as the line says. If I remove the port number, the add-on fails to start and give the following error message in HA.

"Logger: homeassistant.config
Source: config.py:1300
First occurred: 8:19:47 AM (1 occurrences)
Last logged: 8:19:47 AM

Invalid config for ‘media_player’ from integration ‘falcon_pi_player’ at configuration.yaml, line 127: string value is None for dictionary value ‘port’, got None, please check the docs at GitHub - Aleks130699/ha-fpp: Integrates a Falcon Pi Player (FPP) as a Media Player in HomeAssistant"

If I enter a number for the port, the add-on loads but it is unavailable. What port do I need to use? I don’t think I use a port when accessing FPP.

Good afternoon, the default port number is 80, the “port” parameter is optional, but if you don’t specify it, you should either completely remove this line from the yaml, or specify it as the number 80

1 Like

Thank you for your response. I removed the optional lines (port, username, password) from the yaml and it works now.

1 Like