Server migration complete, Welcome to version 2.1.1



Welcome, Guest.
Please login or register.
Forgot your password?

+-Site Stats

Total Members: 15225
Latest: robj2022
New This Month: 14
New This Week: 1
New Today: 1
Total Posts: 124444
Total Topics: 15136
Most Online Today: 51
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 2
Guests: 38
Total: 40

Need some help with getting a falcon script to work properly in Home Assistant

Started by wtstreetglow, May 15, 2022, 04:38:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


@CaptainMurdoch Hello again and Hello all, hoping someone here can help me with a more than likely easy situation. I just don't understand enough about mqtt to make something work.

So, I'll start out by saying, I have Home Assistant connected to FPP and can start a script with some mqtt coding (I don't know if that's the proper terminology or not.) The problem I am running into is that I can't get the sequence to repeat for some reason. I think I have a syntax problem or something because I don't fully understand what I'm doing but I know what I want to do. Below is the code I am attempting to use. In my instance, the sequence runs once and then stops (doesn't repeat). Can someone here help me determine what I'm doing wrong? Thank you all in advance!!

  - service: mqtt.publish
      topic: albero/falcon/player/FPP/playlist/name/set
      payload: GYMSIGNPLAYLIST
  - delay:
      seconds: 1
  - service: mqtt.publish
      topic: albero/falcon/player/FPP/set/playlist/start
      payload: '1'
      retain: false
  - delay:
      seconds: 1
  - service: mqtt.publish
      topic: albero/falcon/player/FPP/set/playlist/$(PLAYLISTNAME)/repeat
      payload: '1'
      retain: false


Sorry now I realize the capitalized areas can be replaced with "ALLPLAYLIST" or your playlist name and they will repeat appropriately. I'll leave the original post in place for others learning about mqtt with Home Assistant/ Falcon Pi Player behind me. Thank you all for everything you have built!!


You can also do the same thing in one MQTT message by sending a FPP Command to the {prefix}/falcon/player/{hostname}/set/command topic.  The body of the message would be the JSON for the FPP Command as documented on the API Help page in FPP.  For the "Start Playlist" command, the body would look similar to this:

  "command": "Start Playlist",
  "args": [

The first 'false' is a true/false to indicate whether to start the playlist in repeat mode.  The second true/false indicates whether to only start the playlist if it is not already playing.  False would (re)start the playlist always, True would only start if not already playing.  All FPP Commands documented on the API Help page can be accessed over both the HTTP REST API and the MQTT interface.

Support FPP

+- Recent Topics

Touchscreen by breese
Today at 05:14:16 AM

Powering Falcon PiCap for DMX use only by danielr
August 13, 2022, 11:24:40 PM

Tester or oscilloscope on the data line?? by johndobbs
August 13, 2022, 10:39:12 PM

F8-B Cap and GPIO Pins by dkulp
August 13, 2022, 11:47:45 AM

PiCap Slow DMX output? by robj2022
August 13, 2022, 11:42:27 AM

Historical knowledge needed - Falcon Differential Remotes by algerdes
August 12, 2022, 09:47:34 PM

Issues with e-mail by CaptainMurdoch
August 12, 2022, 09:42:57 PM

Programmatic interface to make interactive messages/signs on LED Panel with FPP? by CaptainMurdoch
August 12, 2022, 10:38:50 AM

FPP v6.0 on separate subnet by jnealand
August 12, 2022, 09:22:09 AM

BBB Display by TracyDockter
August 11, 2022, 05:18:12 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod