I just updated my test system to the latest Stretch and Pictory 1.4.3 via apt-get update && apt-get upgrade
I wanted to see if some export bugs were fixed and was astonished to find all MODBUS related settings missing in the export and actually also in the Pictory.
After throwing the _config.rsc file into JSON Validator from https://jsonformatter.curiousconcept.com/ to make it better readable (can't that actually be stored more human readable formatted, I think the few extra kb it's worth it...) the config is actually there, but the JSON Names have some version information looking like a timestamp coded into the member names, something like:
Code: Select all
"data":{ "ActionId_01_ModbusRTUMaster_20180122_1_1":"1",
"SlaveAddress_01_ModbusRTUMaster_20180122_1_1":"1",
"SlaveIP_01_ModbusRTUMaster_20180122_1_1":"",
"SlavePort_01_ModbusRTUMaster_20180122_1_1":"",
"FunctionCode_01_ModbusRTUMaster_20180122_1_1":"3",
"RegisterAddress_01_ModbusRTUMaster_20180122_1_1":"33",
"QuantityOfRegisters_01_ModbusRTUMaster_20180122_1_1":"2",
"ActionInterval_01_ModbusRTUMaster_20180122_1_1":"200",
"DeviceValue_01_ModbusRTUMaster_20180122_1_1":"Reading_ID1",
"ModbusActionStatus_01_ModbusRTUMaster_20180122_1_1":"Modbus_Action_Status_1",
"ActionStatusReset_01_ModbusRTUMaster_20180122_1_1":"Action_Status_Reset_1",
"ActionId_02_ModbusRTUMaster_20180122_1_1":"2",
"SlaveAddress_02_ModbusRTUMaster_20180122_1_1":"2",
"SlaveIP_02_ModbusRTUMaster_20180122_1_1":"",
"SlavePort_02_ModbusRTUMaster_20180122_1_1":"",
"FunctionCode_02_ModbusRTUMaster_20180122_1_1":"3",
"RegisterAddress_02_ModbusRTUMaster_20180122_1_1":"33",
"QuantityOfRegisters_02_ModbusRTUMaster_20180122_1_1":"2",
"ActionInterval_02_ModbusRTUMaster_20180122_1_1":"200",
"DeviceValue_02_ModbusRTUMaster_20180122_1_1":"Reading_ID2",
"ModbusActionStatus_02_ModbusRTUMaster_20180122_1_1":"Modbus_Action_Status_2",
"ActionStatusReset_02_ModbusRTUMaster_20180122_1_1":"Action_Status_Reset_2",
Shouldn't the old JSON be converted to the new format on apt-get upgrade update then?
At least a warning would be good. Other people may get confused, too.
Markus
P.S. My old V1.4.2 config is here: https://keeper.mpdl.mpg.de/f/9dbc7353876c4926a253/?dl=1