add plc_nodeid and plc_siteid to history records so that the web templates can