Configure without Pictory

Topics about the Software of Revolution Pi
Post Reply
JanMakowski
Posts: 1
Joined: 18 May 2017, 08:40
Answers: 0

Configure without Pictory

Post by JanMakowski »

Hello,

we bought a RevPi with a DIO module for evaluation. We use the RevPi to analyse sensor signals and then send triggers to external components via the DIO module. We plan to ship the system as a solution. So far I've not been able to interface with the DIO module. With piTest, I can find the DIO module but it says that it's not configured. When reading values from the input section of the DIO module, I always get zeros regardless of the signals at the inputs. How can I configure the piControl module without Pictory. When we deploy our solution, we don't want to configure each shipped device manually. We either want to copy a configuration file or - preferred solution - do some API calls to configure the RevPi.

Jan
User avatar
volker
Posts: 1046
Joined: 09 Nov 2016, 15:41
Answers: 1

Re: Configure without Pictory

Post by volker »

Hi Jan,
actually that is quite simple: if you have done the configuration by PiCtory ans saved it you have created the JSON file which during boot time is read by PiControl. So for deployment all you need is to copy that file on every system which needs it.
The file can be found here:
/var/www/pictory/projects/_config.rsc
Unser RevPi Motto: Don't just claim it - make it!
Post Reply