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
Copying (Pictory)-setup to other RevPIs
Re: Copying (Pictory)-setup to other RevPIs
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
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
-
- Posts: 20
- Joined: 25 Sep 2018, 10:17
Re: Copying (Pictory)-setup to other RevPIs
Excellent !!
Thank you so much.
That makes serial rollouts so much easier.
Alf.
Thank you so much.
That makes serial rollouts so much easier.
Alf.
-
- Posts: 20
- Joined: 25 Sep 2018, 10:17
Re: Copying (Pictory)-setup to other RevPIs
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"
As it is, I have to go in the webGUI and check "Enable/Disable Modbus Master"
Re: Copying (Pictory)-setup to other RevPIs
Hello Alf,
the linux command to directly ENABLE the modbus master service on your target devices would be:
likewise you can DISABLE the service by calling
Greetings
Frank
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
Code: Select all
sudo /usr/bin/revpi-config disable pimodbus-master
Frank