pictory I/O config

Topics about the Software of Revolution Pi
Post Reply
volz
Posts: 30
Joined: 22 May 2018, 12:27

pictory I/O config

Post by volz »

Hi,

I have written my own application in c++/js and now would like to move away from using. pictory to setup and assign the IO. How is pictory assigning names to the IO ? Is this information kept in a file somewhere that can read/modify and make?


cheers
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: pictory I/O config

Post by dirk »

The configuration form PiCtory is stored in the file in JSON format "/var/www/pictory/projects/_config.rsc". There is also a symbolic link to this file on "/etc/revpi/config.rsc" just to round it up.
This file is read during startup and on each reset of the PiControl driver i.e. by the command "piTest -x". Please be careful about the user permissions of the file as "www-data" is the Webservers´ user which i.e. is used by PiCtory.
volz
Posts: 30
Joined: 22 May 2018, 12:27

Re: pictory I/O config

Post by volz »

Awesome thanks for help!
Post Reply