Page 1 of 1

Copying (Pictory)-setup to other RevPIs

Posted: 01 Jul 2019, 15:47
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

Re: Copying (Pictory)-setup to other RevPIs

Posted: 03 Jul 2019, 09:13
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

Re: Copying (Pictory)-setup to other RevPIs

Posted: 03 Jul 2019, 13:55
by alf@emcom.no
Excellent !!
Thank you so much.
That makes serial rollouts so much easier.

Alf.

Re: Copying (Pictory)-setup to other RevPIs

Posted: 04 Jul 2019, 10:44
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"

Re: Copying (Pictory)-setup to other RevPIs

Posted: 04 Jul 2019, 11:41
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