Page 1 of 1

MQTT Directory enable disable syntax

Posted: Wed Feb 14, 2024 2:07 pm
by arrior
Can someone please help me? I feel like I should be able to figure this out but cannot. I'm trying to use MQTT to enable and disable directories for images. I have the MQTT setup and working for the commands without payloads. Can someone help me understand how to enable a specific directory and disable all others? That do the numbers mean? So for example:

I:DA,E0,E1 (Means disable all, enable 0 and enable 1 for images)
I thought the numbers were weights but that doesn't seem to work. Then I thought maybe order on the list but not that either.

Thanks in advance and sorry if I am missing something obvious.

Re: MQTT Directory enable disable syntax

Posted: Wed Feb 14, 2024 2:19 pm
by gpb
Hello,
the number is the index in Images Folders list. For example, you if have 3 items:
c:\mypics_2021
c:\mypics_2022
c:\mypics_2023

I:DA,E0,E1
means, disable all. Enable c:\mypics_2021 and c:\mypics_2022 (item 0 and item 1)

Re: MQTT Directory enable disable syntax

Posted: Wed Feb 14, 2024 2:43 pm
by arrior
Awesome thanks. I think I messed up counting the first one as zero which was making me think it wasn't working. Really appreciate the help!