Copying (Pictory)-setup to other RevPIs

Topics about the Software of Revolution Pi
Post Reply
alf@emcom.no
Posts: 20
Joined: 25 Sep 2018, 10:17

Copying (Pictory)-setup to other RevPIs

Post by alf@emcom.no »

I have a functional setup with a RevPi Connect where I have configured in Pictory a Modbus Master 150 that reads and exports values.
What is required to have the same config/setup on new RevPi connects I buy ?
Is it enough to copy the project files under /var/www/pictory ?

Alf
Frank
Posts: 65
Joined: 09 Jan 2017, 10:46

Re: Copying (Pictory)-setup to other RevPIs

Post by Frank »

Hello Alf,

you actually just need to copy the used project file from the directory '/var/www/pictory/projects'.
If you only used the Start-Configuration this would be '_config.rsc'. If you saved an individually named configuration with the 'File / Save As' menu option, simply copy the the file [your_chosen_name].rsc
IMPORTANT: this only copys the device configuration. Any settings you may have made to -PiCtory- itself, e.g. in 'Tools / User Settings' is NOT copied by this method. If you want to mirror the complete -PiCtory- installation to another RevPI Connect device you would have to do it the way you mentioned: by copying the entire 'pictory' directory.

Regards,
Frank
alf@emcom.no
Posts: 20
Joined: 25 Sep 2018, 10:17

Re: Copying (Pictory)-setup to other RevPIs

Post by alf@emcom.no »

Excellent !!
Thank you so much.
That makes serial rollouts so much easier.

Alf.
alf@emcom.no
Posts: 20
Joined: 25 Sep 2018, 10:17

Re: Copying (Pictory)-setup to other RevPIs

Post by alf@emcom.no »

Ahhh - ok - so one thing was missing - simply because I didn't think of it; the Modbus master service is not enabled by default - which file controls this ?
As it is, I have to go in the webGUI and check "Enable/Disable Modbus Master"
Frank
Posts: 65
Joined: 09 Jan 2017, 10:46

Re: Copying (Pictory)-setup to other RevPIs

Post by Frank »

Hello Alf,

the linux command to directly ENABLE the modbus master service on your target devices would be:

Code: Select all

sudo /usr/bin/revpi-config enable pimodbus-master
likewise you can DISABLE the service by calling

Code: Select all

sudo /usr/bin/revpi-config disable pimodbus-master
Greetings
Frank
Post Reply